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,