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

PO Upload through BAPI_PO_CREATE1 - problem in Acc. Assignment

Former Member
0 Likes
502

Dear All,

I am using BAPI_PO_CREATE1 for PO upload. I am facing problem in account assignment. I am supplying following:

wa_POACCOUNT-PO_ITEM = '00010'.

wa_POACCOUNT-GL_ACCOUNT = '7234676'.

wa_POACCOUNT-COSTCENTER = '1001'.

Append wa_POACCOUNT To itab_POACCOUNT.

wa_POACCOUNTX-PO_ITEM = '00010'.

wa_POACCOUNTX-GL_ACCOUNT = 'X'.

wa_POACCOUNTX-COSTCENTER = 'X'.

Append wa_POACCOUNTX To itab_POACCOUNTX.

It gives me error "Account 7234676 does not exist in chart of accounts 1000". Although it exists in this chart of account. Please tell me what is wrong.

Regards

Nadeem

Dear All,

I am using BAPI_PO_CREATE1 for PO upload. I am facing problem in account assignment. I am supplying following:

wa_POACCOUNT-PO_ITEM = '00010'.

wa_POACCOUNT-GL_ACCOUNT = '7234676'.

wa_POACCOUNT-COSTCENTER = '1001'.

Append wa_POACCOUNT To itab_POACCOUNT.

wa_POACCOUNTX-PO_ITEM = '00010'.

wa_POACCOUNTX-GL_ACCOUNT = 'X'.

wa_POACCOUNTX-COSTCENTER = 'X'.

Append wa_POACCOUNTX To itab_POACCOUNTX.

It gives me error "Account 7234676 does not exist in chart of accounts 1000". Although it exists in this chart of account. Please tell me what is wrong.

Regards

Nadeem

2 REPLIES 2
Read only

Former Member
0 Likes
463

Muhammad,

Were you able to figure of the problem? We are also having the same issue.

Really appreaciate if you can help us.

Thanks,

Gopi.

Read only

0 Likes
463

Pad the field to the left with the correct number of zeroes. You can use FM CONVERSION_EXIT_ALPHA_INPUT to do this.

Rob