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