Skip to Content
Oct 05, 2022 at 03:38 PM

Populating Material and Valuation Class in Profit Center table


Hi Gurus,

We are using BAPI "BAPI_ACC_DOCUMENT_POST" to post Accounting document using a custom program

We need to populate the Material and Valuation class so that Profit Center document is generated with these values

However since the BAPI consolidates the Line items in BSEG by Valuation Class how do we enter multiple materials against a single BSEG line item?

Expected result is that the GLPCA table is populated with line item details (as is the case with VF01 and other programs in the logistics side)

Please respond ASAP as we have to finalize design tomorrow

Thanks Alec