2007 Jul 25 11:45 AM
Hi all,
I want to post Cost Centers with the BAPI equivalent to KB15N. BAPI_ACC_MANUAL_ALLOC_CHECK and BAPI_ACC_MANUAL_ALLOC_POST.
I use ...CHECK first to check if there is any error. I fill DOC_ITEMS with Cost Centers, but the Message Errors look like from Fund Management and Real State, something weird to me.
I'm filling this fields of DOC_HEADER:
CO_AREA
DOCDATE
POSTGDATE
PERIOD
DOC_HDR_TX
TRANS_CURR
USERNAME
and this fields in DOC_ITEMS:
SEND_CCTR
COST_ELEM (Secondary Cost Element - Assesment)
VALUE_TCUR
REC_CCTR
and the content of RETURN:
TYPE ID NUMBER MESSAGE
I KAFF 101 FM dimension not active - entry of Fund will be ignored
E 63 511 Real Estate object cannot be found
E 60 263 CN 000 00000 does not exist
E 63 511 Real Estate object cannot be found
E 60 263 CN 000 00000 does not exist
...
...
...
As you can see, it looks like messages from Fund Management and Resl State although I'm using Cost Centers. Also, the ID of the first one is KAFF when this BAPI belongs to a Sub-module KIMB.
Thanks in advance for your help.
Points are here for you.
Jose Pinedo
Madrid
Hi all,
I want to post Cost Centers with the BAPI equivalent to KB15N. BAPI_ACC_MANUAL_ALLOC_CHECK and BAPI_ACC_MANUAL_ALLOC_POST.
I use ...CHECK first to check if there is any error. I fill DOC_ITEMS with Cost Centers, but the Message Errors look like from Fund Management and Real State, something weird to me.
I'm filling this fields of DOC_HEADER:
CO_AREA
DOCDATE
POSTGDATE
PERIOD
DOC_HDR_TX
TRANS_CURR
USERNAME
and this fields in DOC_ITEMS:
SEND_CCTR
COST_ELEM (Secondary Cost Element - Assesment)
VALUE_TCUR
REC_CCTR
and the content of RETURN:
TYPE ID NUMBER MESSAGE
I KAFF 101 FM dimension not active - entry of Fund will be ignored
E 63 511 Real Estate object cannot be found
E 60 263 CN 000 00000 does not exist
E 63 511 Real Estate object cannot be found
E 60 263 CN 000 00000 does not exist
...
...
...
As you can see, it looks like messages from Fund Management and Resl State although I'm using Cost Centers. Also, the ID of the first one is KAFF when this BAPI belongs to a Sub-module KIMB.
Thanks in advance for your help.
Points are here for you.
Jose Pinedo
Madrid
2007 Jul 25 2:46 PM
Hi all,
The problema was because of the DOC_ITEMS structure.
I was using an old one, and should use the same as the structure that appears in the FM of the BAPI.
Points to me.
Thanks.
Jose Pinedo
2010 Apr 06 2:36 PM
hey
I am getting the same problem but couldnt understand your reply . am trying in the BAPI only passing the sender cost centre receiver cost centre , cost element , amount .
Should i need to pass some other value in the document item
Please suggest
Thanks