Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

G/L document post through fb01

Former Member
0 Kudos
210

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.

2 REPLIES 2

Former Member
0 Kudos
92

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

Former Member
0 Kudos
92

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