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

Using BAPI_ACC_ACTIVITY_ALLOC_POST

Former Member
0 Likes
2,661

Hi guys: I am using the above BAPI in my custom program to post a manual activity allocation document. I am populating the header & items structures correctly and i am putting the sender and receiver cost centers correctly, however when i debug, i see that a message in the return table that "Cost Center 91 doesnt exist as of 01/31/2008".

I have tested the BAPI manually via SE37 and it works fine. I am entering the same fields in the BAPI as in the program and getting a document number.

I dont know what the issue is....

please please help

thanks

Brian

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,640

Give the Cost center as 0091 .. or do the ALPHA Conversion.. to make it as 4 digit number..

this will work..

3 REPLIES 3
Read only

Former Member
0 Likes
1,641

Give the Cost center as 0091 .. or do the ALPHA Conversion.. to make it as 4 digit number..

this will work..

Read only

0 Likes
1,640

>

> Give the Cost center as 0091 .. or do the ALPHA Conversion.. to make it as 4 digit number..

>

> this will work..

Probably best to extend it to the full length of the field (10 characters).

Rob

Read only

0 Likes
1,640

Once again - while I appreciate the blue star, it was actually Balasubramani Lakshmipathy who did most of the work and should get most of the credit.

Rob