2005 Nov 16 10:25 AM
Hi Gurus,
i am using bapi : BAPI_ACC_DOCUMENT_POST for posting G/l document.
In the flat file i am using G/l account, posting key,amount,costcenter, profit center, customer, distch# etc.
For this bapi i am filling Criteria internal table for
all the line items, i am getting error that profit center not determined or not entered.
while i am skipping criteria internal table for some line items accounting document is created successfully.
pls guide me how to decide either criteria internal table
needs to fill for that line item or not
Thanks & Regards,
Radhakrishna.
2005 Nov 16 10:48 AM
Hi,
If u have to fill the <b>profitability segment data</b> then u need to fill the criteria internal table .In FB01 transaction while we r creating document this profit. Segment button appears just above the quantity field. The <b>profitability segment data</b> appears based on G/L. It wont be available for all G/L's.
It should be configured. If it is not clear still plz revert back.
Regards,
savitha
2005 Nov 16 10:52 AM
This Criteria table is used for CO-PA Account assignment. And it is optional also. So you can very well skip this.
But, The contents of the parameter must be sorted before being transferred(as per SAP help) or else it will throw the error message..this might be your case.
Hope that helps