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 error

Former Member
0 Likes
463

Dear experts,

I am using bapi_goodsmvt_create in one program .

my problem is when i pass one G/L account i am not getting the error but

while for another i am getting error msg like " G/L Account is not included in the chart of accounts" but the g/l account is included in the chart of account. i checked with the fico person.

the above said bapi is throing this error. could any body find out and tell me what would be wrong in this case

thanks in advance

karthik

3 REPLIES 3
Read only

Former Member
0 Likes
405

Hi Karthik,

Please check the version of BAPI. May be a newer version has the bugs(?) fixed.

Please check for OSS notes for that BAPI. May be some solutions will be there.

Regards,

Arun Mohan

Read only

0 Likes
405

Hi there,

Did you try to use the GL account number when u are doing the goods movent manually via a tcode? You have two options then:

1. it works through the manual transaction, meaning that u are giving the number in the wrong format to the bapi. (you can check this in debug when u execute the bapi)

2. it doesnt work in the manual transaction, meaning that the account number isn't customized correctly.

Kind regards.

J.

Read only

aaron_morden2
Contributor
0 Likes
405

Karthik,

Make sure the GL Account you are passing is a 10 byte field and has leading zeros.

For example, if your GL Account Number is 123456, pass it like this:

GL_ACCOUNT = '0000123456'.

If you are doing this already, make sure that the GL Account exists in the same company code you are passing.