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

problem executing bapi_acc_manual_alloc_post (manual cost allocation)

Former Member
857

hi,

I have written a code for uploading manual cost allocation using bapi_acc_manual_alloc_post. when i tested the BAPI in SE37 with the test data its working fine... but when i call bapi in se38 with the same data (uploaded using GUI_UPLOAD) it is giving an error "create account xxxxxxxx from 04/30/2007 as a cost element in controlling area zzzz".but the cost element (xxxxxxxx) is already created for the controlling area. I am not able to understand the reason why i am getting this error. Please help me out. i will give points for the correct answer.

thanks and regards,

Gautham

2 REPLIES 2
Read only

Former Member
0 Likes
559

Gautham:

I am writing this letter which is related to your problem. I wonder if you could help me with this:

I am uploading SAP system from 4.6 to 6.0 and there is a Z development that I can not create.

The bapi BAPI_ACC_MANUAL_ALLOC_POST is giving me the following messages:

Error=El objeto inmueble no se puede determinar

Error= CN 000 0000 no existe(n)

Información = Dimensión FM no activa: Se ignora la entrada de Fondo

It is in Spanish. Is it possible that it were relationing the internal orders with another module as Fixed assets management or found management?

I am sorry that I am using this media to make a question but I do not know how can I make a question at the forum.

Your sincerely.

Leonardo Lopez

Read only

Former Member
0 Likes
559

The problem while posting using BAPI occurs normally because of the different formats in the source and the target(BAPI here). Any mismatch may not be accepted by the BAPI and the message is thrown.

I suggest that in the debugger mode try to find out the values of cost element, or controlling area or sending and receiving cost centre.

Hopefully u need to add some conversion exist as conversion_exit_alpha_input in order that the leading zeroes may be suppressed of these variables can be suppressed.

Check the formats of each variable carefully.

Prabhas.