Ansicht
Dokumentation

FM_RPWT_FIND_RWPTDOCS_CLRIT - Find RPWT docs related to one cleared item

FM_RPWT_FIND_RWPTDOCS_CLRIT - Find RPWT docs related to one cleared item

rdisp/max_wprun_time - Maximum work process run time   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module can be used to get a list of RPWT revenue documents related to cleared document. As input you have to specify the key of the cleared document, and as a result you get an internal table containing the headers of the RPWT revenue documents posted based on that payment. Please note that RPWT clearing documents are not listed. They can be looked up based on the clearing relationship between the revenue document debitor line and the clearing document.

The lookup is based on the following algorithm: For every cleare line item in the original document, the payment clearing (payment) document is determined. The RPWT revenue postings relate to these payments ara loaded. This list is then filtered by the XREF1_HD field to select only thosed RPWT documents which belong the specified cleared document.

If you set the I_NO_REVERSED flag, reversed RPWT documents are not taken into account.

Example

Notes

Further information





Parameters

ET_DOCUMENTS
I_BELNR
I_BUKRS
I_GJAHR
I_NO_REVERSED

Exceptions

BUKRS_NOT_FOUND
DOC_NOT_FOUND
OTHER_ERROR

Function Group

FMRPWTADDWL

RFUMSV00 - Advance Return for Tax on Sales/Purchases   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 1356 Date: 20240523 Time: 104143     sap01-206 ( 54 ms )