Ansicht
Dokumentation

/ISDFPS/CHANGE_LASTC - BAdI: Overwrite Last Change Date

/ISDFPS/CHANGE_LASTC - BAdI: Overwrite Last Change Date

ABAP Short Reference   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

You can use enhancement spot /ISDFPS/CHANGE_LAST_CHANGED to overwrite the change date provided by the master data or the standard function Field - Change Datein the mapping tables. Within the framework of the delivered methods, you can implement your own logic to adjust the last changed date. This might be necessary, if you make updates in your customer table and want to deploy them to your decentral system. Usually the “last changed” date is determined by the master data (e.g. “Changed On” field) and is the decision basis for a potential deployment. If the change date is not in the master data or anywhere in the customer table, you can determine the last change date from another location in the system with this BAdI.

Remark: Make sure not to use or determine a date like 31.12.9999 via BAdI. If an undefined date like this is copied into the replication table, the distribution of the corresponding object will never be triggered again!

This includes:

Method,,,,,,,,,,Description

ET_LAST_CHANGED_DATE,,,,Equipment: Last change date of customer table

MP_LAST_CHANGED_DATE ,,,,Maintenance plan: Last change date of customer table

WO_LAST_CHANGED_DATE ,,,,Maintenance notification: Last change date of customer table

FL_LAST_CHANGED_DATE,,,,Functional location: Last change date of customer table

TC_LAST_CHANGED_DATE,,,,Confirmation: Last change date of customer table

NO_LAST_CHANGED_DATE,,,,Maintenance order: Last change date of customer table

MR_LAST_CHANGED_DATE,,,,Measuring point: Last change date of customer table

MD_LAST_CHANGED_DATE,,,,Measurement document: Last change date of customer table

The new last change date is then shown in the replication table.

This method offers two import variables and one change variable. The import variable OBJID provides the master data key. The import variable OBJVAL provides the object validty - although this import variable is not always filled. The change variable OBJDAT includes the already determined date, which you can change to a date of your choosing. The OBJDAT is then shown in the replication table and corresponds to the last change date of the master data.






rdisp/max_wprun_time - Maximum work process run time   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 2545 Date: 20240419 Time: 095616     sap01-206 ( 52 ms )