‎2009 Oct 12 3:58 AM
Hi
I have created new report to post document using bapi BAPI_ACC_DOCUMENT_POST.
When I test bapi, document was posted successfully.
In report I got 2 errors.
Vendor abc is not defined in company code 123. (when i check xk03, vendor abc is already defined in CC 123)
G/L account 60000000 is not defined in chart of accounts HMRP .
I didnt get any errors in BAPI. Error is coming in Report only. Pls help me out.
Thanks
‎2009 Oct 12 4:46 AM
Hello Kumar
I assume that you have tested your BAPI using SE37. Since you are working then with the SAPGUI any alpha-conversion (= leading zeros are added by default) is done automatically. This may explain the problem with the vendor when running the report (Where are the data coming from for the report? File?).
Regards
Uwe
‎2009 Oct 12 4:46 AM
Hello Kumar
I assume that you have tested your BAPI using SE37. Since you are working then with the SAPGUI any alpha-conversion (= leading zeros are added by default) is done automatically. This may explain the problem with the vendor when running the report (Where are the data coming from for the report? File?).
Regards
Uwe
‎2009 Oct 12 5:06 AM
Hi Uwe
Thanks for your reply.
Data is coming from excel file.
I am passing the data same as se37 testing.
Thanks
Kumar
‎2009 Oct 12 5:09 AM
Uwe meant to see if abc should not be passed but should be passed like 0000000abc, alpha convertion, before sending to BAPI
‎2009 Oct 12 5:12 AM