‎2010 Jan 29 1:15 AM
Hi Experts,
I am using BAPI 'BAPI_COSTACTPLN_POSTPRIMCOST' to insert planned cost (t-code:KP06).
But, I want to return CO document number that created after execute BAPI'BAPI_COSTACTPLN_POSTPRIMCOST'.
How do I know CO document number?
Thanks.
‎2010 Jan 29 2:58 AM
Hi,
Please check the return table if the bapi runs sucesfully it should return the number in return table.
Hope it helps.
Regards
Hiren K.Chitalia
‎2010 Jan 29 2:58 AM
Hi,
Please check the return table if the bapi runs sucesfully it should return the number in return table.
Hope it helps.
Regards
Hiren K.Chitalia
‎2010 Jan 29 5:28 AM
Hi, K.Chitalia.
Thanks to reply.
Well, I already checked the return table.
It seems that a related parameter have not in this BAPI
Is there any other way you?
‎2010 Jan 29 5:43 AM
Hi,
Try using this function module K_COSTS_PLAN_INTERFACE_TOTAL.
Or else use BDC for Kp06.
Hope it helps.
Regards
Hiren K.Chitalia
‎2010 Feb 01 2:02 AM
I executed after develop BDC. But CO Document Number did not return.
Anyway, Thanks to reply.