Ansicht
Dokumentation
/CPD/PWS_RCB_DLI_PROCESS_ST - Get Processing Status
ROGBILLS - Synchronize billing plans ROGBILLS - Synchronize billing plansThis documentation is copyright by SAP AG.
Functionality
When a billing document is created against a sales item, there is an entry created in the AD01DLI table, with a unique DLI number. Note that this DLI number is not the same as the Unique DLI ID).
Pass OBJNRas VB
If the logic to set the processing status is based on FKDAT_ACTIVE and DOPEN, there could be several entries in the AD01DLIEFtable for each DMR. The final status for each sales document item can be calculated by looping all entries in the AD01DLIEFtable and finding any of the following combinations:
Rejected,,,,Deleted,,,,Billed from DMR,,,,Billed
DOPEN = 'X' ,,DOPEN = 'D',,FKDAT_ACTIVE = 'X',,DOPEN = space,,RESULT
No,,,,,,No,,,,,,No,,,,,,,,No,,,,,,Open
Yes,,,,,,No,,,,,,No,,,,,,,,No,,,,,,Open
Yes,,,,,,Yes,,,,,,No,,,,,,,,No,,,,,,Open
Yes,,,,,,Yes,,,,,,Yes,,,,,,,,No,,,,,,Closed
No,,,,,,No,,,,,,Yes,,,,,,,,No,,,,,,Closed
Yes,,,,,,Yes,,,,,,Yes,,,,,,,,Yes,,,,,,Processed
Yes,,,,,,No,,,,,,Yes,,,,,,,,Yes,,,,,,Processed
No,,,,,,Yes,,,,,,No,,,,,,,,No,,,,,,Processed
No,,,,,,Yes,,,,,,Yes,,,,,,,,No,,,,,,Processed
No,,,,,,Yes,,,,,,Yes,,,,,,,,Yes,,,,,,Processed
No,,,,,,No,,,,,,Yes,,,,,,,,Yes,,,,,,Processed
No,,,,,,No,,,,,,No,,,,,,,,Yes,,,,,,Processed
Example
Notes
Further information
Parameters
EV_OBJNREV_STATUS
IV_BILL_DATE
IV_DLIID
IV_EVENT_TYPE
IV_POSNR
IV_VBELN
Exceptions
NOT_FOUNDFunction Group
/SAPLPWS_RCBCPI1466 during Backup RFUMSV00 - Advance Return for Tax on Sales/Purchases
This documentation is copyright by SAP AG.
Length: 2703 Date: 20240511 Time: 045129 sap01-206 ( 43 ms )