‎2006 Dec 08 11:54 AM
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
‎2006 Dec 08 12:22 PM
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
‎2006 Dec 08 1:45 PM
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.
‎2006 Dec 08 1:44 PM
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.