on 03-02-2023 9:08 AM
Hi Experts,
When VF01 posts the Accounting Document, we would like to fetch the Bill Of Lading (LIKP-BOLNR) from its Delivery Document header and substitute the BOL to Payment Reference (BSEG-KIDNO) of the Accounting Document AR line item.
We are developing logic in BTE 00001120 to identify Delivery Document from table VBFA through the Billing Document number. Still, we found it difficult because the table is updated after the Accounting Document posting.
Please help us to identify the Delivery Document number before posting the accounting document to fetch the Bill Of Lading. (Any method is acceptable, including Function module, User exit, etc.)
Thanks,
Hidehiro
One easy option would be setting Posting Block so that, once the billing document is saved, you have the corresponding delivery reference. Also, no need to fetch the delivery reference from VBFA. From VBRP-VGBEL itself, you can take the delivery reference and pass it on to LIKP from where you can fetch the BOLNR. Via VF02 or VFX3, you can release the billing document by which time, via user exit, you can pass the BOLNR to BSEG table
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
10 | |
9 | |
5 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.