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

Code help CJR2

Former Member
0 Likes
915

Hi Gurus

can anyone help me with me code.i am uploading the data from txt file and i need to post the to CJR2 .i got the data in one internal table .my question is how can i post the data in to CJR2.

6 REPLIES 6
Read only

Sandra_Rossi
Active Contributor
0 Likes
827

I think you'll have the answer here: http://www.sdn.sap.com/irj/scn/advancedsearch?query=cjr2

Read only

0 Likes
827

i do found the BAPI but its not posting the data in to SAP. 'BAPI_COSTACTPLN_POSTPRIMCOST'

Read only

0 Likes
827

Do you call BAPI_TRANSACTION_COMMIT?

I just added this wiki for you: http://wiki.sdn.sap.com/wiki/display/ABAP/BAPI_COSTACTPLN_POSTPRIMCOSTconsistencycheck (and for other people of course ). This method checks the parameters you pass to the BAPI. I didn't test all of them, but these checks were useful for me and it may help you too.

Read only

0 Likes
827

Hi Sandhya,

The functon modules posted by is Normal standard function module used to upload data related to Cost elements ,revenues and activity input of CJR2 Transaction.

These function modules are not related to any BAPI.

So can't do any bapi_transaction_commit if you use above funtion modules while UPLOAD.

Regards,

Venkat.

Read only

Former Member
0 Likes
827

Hi,

Use Std function modules:

CALL FUNCTION 'K_COSTS_PLAN_INTERFACE_PERIOD' for cost elements and revenues upload.

CALL FUNCTION 'K_ACT_INPUT_INTERFACE_PERIOD' for activity inputs.

Regards,

Venkat.

Read only

Former Member
0 Likes
827

thanks