Ansicht
Dokumentation
/FRE/DB_DIF_WRITE - Write DIF Occurrence application object (def., occ., ass.)
General Data in Customer Master General Material DataThis documentation is copyright by SAP AG.
Functionality
Write function (insert, update, delete) for DIF Occurrence application objects, including DIF Occurrences, assignment and memo.
Features:
- Supports different write options by table:
- Insert records
- Update records
- Delete records
- Updates values of system fields . (Since occurrence fields can be updated by the function before saving the data, they are passed to the function as changing parameter.)
- Set insert user and time stamp for new occurrences, set update user and time stamp for changed occurrences (this applies as well, if only the memo or assignment records of an occurrence were changed).
- Set the correct values for the assignment status and the memo flag of the occurrence depending on whether assignment and occurrence exist, if requested. It is also possible to pass the right values to the function and skip the check.
- The insert mode must be set by the calling application.
- Deletes all assignment records and the memo for deleted occurrence records implicitly (complete DIF Occurrence application object is deleted).
- Returns error records for all entries that could not be inserted because of duplicate keys.
- Optionally updates DIF delta records (should be normally done).
Example
Notes
Further information
Parameters
CT_DIF_OCCURRET_DIF_ASSIGN_ERROR
ET_DIF_MEMO_ERROR
ET_DIF_OCCURR_ERROR
ET_DIF_OCC_TXT_ERROR
IT_DIF_ASSIGN
IT_DIF_ASSIGN_ORIG
IT_DIF_MEMO
IT_DIF_OCCURR_ORIG
IT_DIF_OCC_TXT
I_CALL_IN_BACKGROUND
I_CALL_IN_PARALLEL
I_CHECK_ASSIGNED
I_CHECK_MEMO_FLAG
I_DELTA_HANDLING
Exceptions
/FRE/CX_DBCX_STATIC_CHECK
Function Group
/SAPLDB_DIF_ACCESSGeneral Data in Customer Master BAL Application Log Documentation
This documentation is copyright by SAP AG.
Length: 2440 Date: 20240423 Time: 162022 sap01-206 ( 23 ms )