‎2008 Jan 16 8:43 AM
hi there all
i am looking for help about BAPI_PDTRANSCO_POSTPRIMCOST where can i find it?
thanks
amit
‎2008 Jan 16 8:48 AM
Hi,
This method checks
then updates them.
You can find in transaction se37. There refer to the function module documentation.
Pls reward points if solved your issue.
Regards,
Renjith Michael.
‎2008 Jan 16 8:48 AM
Hi,
This method checks
then updates them.
You can find in transaction se37. There refer to the function module documentation.
Pls reward points if solved your issue.
Regards,
Renjith Michael.
‎2008 Jan 16 8:50 AM
Hi,
FU BAPI_PDTRANSCO_POSTPRIMCOST
____________________________________________________
Short text
Transfer of Planning Data: Post Primary Costs
Functionality
This method checks whether primary costs can be planned correctly. It
then updates them.
Example
You want to plan primary costs on cost center 4210, on cost center 4220,
activity type 110 and on business process 1004210.
You plan each time using cost element 400000 (the cost centers each with
$2400 fixed and $100 variable, the business process with $3000 fixed
(controlling area currency)
The table is filled as follows:
INDEXSTRUCTURE:
OBJECT_INDEX VALUE_INDEX ATTRIB_INDEX
1 1 0
2 1 0
3 2 0
The zeros indicate that no values were transferred. Instead, the system
takes the planned values values or the default value from the master
data.
COOBJECT:
OBJECT_INDEX COSTCENTER ACTTYPE ORDERID WBS_ELEMENT CO_BUSPROC
1 4210
2 4220 110
3 1004210
TOTVALUE:
VALUE_INDEX COST_ELEM ... TRANS_CURR ... FIX_VALUE ... VAR_VALUE DK ...
1 400000 2400 100
2 400000 3000
DK is the relevant DIST_KEY_XXXX (distribution key)
TRANS_CURR does not need to be specified in this case. You only need to
set the PLAN_CURRTYPE field in the HEADERINFO to "C" (Controlling area
currency).
The records are then checked and updated by the system.
Cheers,
Vasanth
‎2008 Jan 16 9:05 AM
Check the Help Document in SE37:
FU BAPI_PDTRANSCO_POSTPRIMCOST
____________________________________________________
Short Text
Transfer of Planning Data: Post Primary Costs
Functionality
This method checks whether primary costs can be planned correctly. It then updates them.
Example
You want to plan primary costs on cost center 4210, on cost center 4220, activity type 110 and on business process 1004210.
You plan each time using cost element 400000 (the cost centers each with $2400 fixed and $100 variable, the business process with $3000 fixed (controlling area currency)
The table is filled as follows:
INDEXSTRUCTURE:
OBJECT_INDEX | VALUE_INDEX | ATTRIB_INDEX
1 | 1 | 0
2 | 1 | 0
3 | 2 | 0
The zeros indicate that no values were transferred. Instead, the system takes the planned values values or the default value from the master data.
COOBJECT:
OBJECT_INDEX|COSTCENTER|ACTTYPE|ORDERID|WBS_ELEMENT|CO_BUSPROC
1 | 4210 | | | |
2 | 4220 | 110 | | |
3 | | | | | 1004210
TOTVALUE:
VALUE_INDEX|COST_ELEM|...|TRANS_CURR|...|FIX_VALUE|...|VAR_VALUE|DK|...
1 | 400000 | | | | 2400 | | 100 | |
2 | 400000 | | | | 3000 | | | |
DK is the relevant DIST_KEY_XXXX (distribution key)
TRANS_CURR does not need to be specified in this case. You only need to set the PLAN_CURRTYPE field in the HEADERINFO to "C" (Controlling area currency).
The records are then checked and updated by the system.
Parameters
HEADERINFO
INDEXSTRUCTURE
COOBJECT
PERVALUE
TOTVALUE
CONTRL
RETURN
Exceptions
Function Group
6031
‎2008 Jan 16 9:40 AM
Hi armit,
This method checks whether primary costs can be planned correctly. It then updates them.
[edit]Example
You want to plan primary costs on cost center 4210, on cost center 4220, activity type 110 and on business process 1004210. You plan each time using cost element 400000 (the cost centers each with $2400 fixed and $100 variable, the business process with $3000 fixed (controlling area currency) The table is filled as follows: INDEXSTRUCTURE: OBJECT_INDEX | VALUE_INDEX | ATTRIB_INDEX 1 | 1 | 0 2 | 1 | 0 3 | 2 | 0 The zeros indicate that no values were transferred. Instead, the system takes the planned values values or the default value from the master data. COOBJECT: OBJECT_INDEX|COSTCENTER|ACTTYPE|ORDERID|WBS_ELEMENT|CO_BUSPROC 1 | 4210 | | | | 2 | 4220 | 110 | | | 3 | | | | | 1004210 TOTVALUE: VALUE_INDEX|COST_ELEM|...|TRANS_CURR|...|FIX_VALUE|...|VAR_VALUE|DK|... 1 | 400000 | | | | 2400 | | 100 | | 2 | 400000 | | | | 3000 | | | | DK is the relevant DIST_KEY_XXXX (distribution key) TRANS_CURR does not need to be specified in this case. You only need to set the PLAN_CURRTYPE field in the HEADERINFO to "C" (Controlling area currency). The records are then checked and updated by the system.
[edit]Import
Contrl
Coobject
Headerinfo
Indexstructure
Pervalue
Totvalue
[edit]Export
Return
[edit]Changing
[edit]Pattern
CALL FUNCTION 'BAPI_PDTRANSCO_POSTPRIMCOST'
EXPORTING
HEADERINFO =
TABLES
INDEXSTRUCTURE =
COOBJECT =
" PERVALUE =
" TOTVALUE =
" CONTRL =
RETURN =
.