Ansicht
Dokumentation

J_2GLPUPDATELEGALDOCS - Update SAP documents according to J_2GLPLEGDOC

J_2GLPUPDATELEGALDOCS - Update SAP documents according to J_2GLPLEGDOC

ABAP Short Reference   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Description

This program updates all necessary SAP documents according to table J_2GLPLEGDOC. Those documents that have not been updated (field XBLNRUPDT is empty) and SAP document has been assigned a legal document number (field LEGALDOC).
You can narrow down the range by document category, posting date and document numbers.
Document categories :
B : SD Billing --- updates the FI(SD)-XBLNR
D : SD Delivery --- updates the FI(MM)-XBLNR if the FI(MM) exists
updates the MM-XBLNR
M : MM document --- updates the FI(MM)-XBLNR if the FI(MM) exists
updates the MM-XBLNR
F : FI document --- updates the FI-XBLNR

Requirements

If any validations exist and will fail during the update of documents the program will get into an infinite loop and then you will have to kill it with SM50 and cancel without core.
Therefore you should either avoid such a situation or make the activation level of the validation 2 ( active except batch input ).

It is recommended that you run this program in background during of peak hours if possible and schedule it to run periodically at least every day. Otherwise the SAP database may be inconsistent.

Output

Example






BAL Application Log Documentation   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 1382 Date: 20240520 Time: 091434     sap01-206 ( 32 ms )