Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

For KP06 Updating plan fixed costs and plan fixed consumption Using BAPI BAPI_COSTACTPLN_POSTACTINPUT

Hi,

I am trying to upload data to KP06 using the bapi  BAPI_COSTACTPLN_POSTACTINPUT . I had filled the index, header , totvalue parameters as below. But can any one plz tell me where and how to update the plan fixed costs and pla fixed consumption available in KP06.

** FILL THE DATA TO PARAMETERS FROM THE RECORD.

       EX_HEADERINFO-CO_AREA = 'CTKL' .

       EX_HEADERINFO-FISC_YEAR = RECORD-FISC_YEAR .

       EX_HEADERINFO-PERIOD_FROM = RECORD-PER_FRM .

       EX_HEADERINFO-PERIOD_TO = RECORD-PER_TO.

       EX_HEADERINFO-VERSION = RECORD-VERSION .

** fill the proposed object indexes to index structure and try to fill the given input record numbers.

       IT_INDEXSTRUCTURE-OBJECT_INDEX = RECORD-REC_NO_INPUT.

       IT_INDEXSTRUCTURE-VALUE_INDEX = RECORD-REC_NO_INPUT.

       APPEND IT_INDEXSTRUCTURE.

*** FILL THE COOBJECT TABLE.

       IT_COOBJECT-OBJECT_INDEX = RECORD-REC_NO_INPUT.

       IT_COOBJECT-COSTCENTER = RECORD-KOSTL.

       APPEND IT_COOBJECT.


** FILL TOT VALUE TABLE.

       IT_TOTVALUE-VALUE_INDEX = RECORD-REC_NO_INPUT.

       IT_TOTVALUE-ORDER_CELEM = RECORD-COST_ELEMENT.

       IT_TOTVALUE-UNIT_OF_MEASURE = RECORD-UOM.

       APPEND IT_TOTVALUE.




Could you plz any body input me about the parameters to be filled for those marked two fields.

Regards,

P Ch.

Tags:
Former Member
Former Member replied

It is done..!!!!!!!!!!!!.

The above mentioned bapi (BAPI_COSTACTPLN_POSTACTINPUT) is used to upload the cost center activity input with activity group and actual , varaible data. But to use without activity group and variable input we have to use the bapi BAPI_COSTACTPLN_POSTPRIMCOST. Now everything is working fine.

Thank you Felipe for your co-ordination.

Regards,

Praveen CHITTURI.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question