Application Development and Automation 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: 
Read only

BAPI_ACC_GL_POSTING_POST - Post to Customer Number

Former Member
0 Likes
1,149

I am trying to work on the above BAPI in XI 3.0 and R/3 Enterprise.

We wish to pass a customer number instead off a GL Account for one line of the posting, but I get the following error:

Required field GL_ACCOUNT was not transferred in parameter ACCOUNTGL

If I use the Customer GL Account, I get this error:

Account 2840 in company code 1000 cannot be directly posted to

Is it possible to change the posting key so we can post to Customer number without a GL Account?

If you need any further information, do not hesitate to ask!

I am trying to work on the above BAPI in XI 3.0 and R/3 Enterprise.

We wish to pass a customer number instead off a GL Account for one line of the posting, but I get the following error:

Required field GL_ACCOUNT was not transferred in parameter ACCOUNTGL

If I use the Customer GL Account, I get this error:

Account 2840 in company code 1000 cannot be directly posted to

Is it possible to change the posting key so we can post to Customer number without a GL Account?

If you need any further information, do not hesitate to ask!

5 REPLIES 5
Read only

Former Member
0 Likes
908

Barry - I think you have to fill the structure accountreceivable for the customer items.

Rob

Read only

0 Likes
908

Rob

Thnaks for your response. That structure relates to a different BAPI and it is now looking like I will need to use that one instead.

Regards

Barry

Read only

0 Likes
908

Sorry - I guess I missed that. I think BAPI_ACC_DOCUMENT_POST is more general.

Rob

Read only

0 Likes
908

Hi,

You can use BAPI_ACC_BILLING_POST too.

Regards

PabloX.

Read only

Tammie
Participant
0 Likes
908

Hi Barry,

How do you determine the Customer GL Account? Are you reading it from the customer master (table KNB1), or are you calling function module FI_SPECIAL_GL_TRANSACT_DATA?

Regards,

Tammie