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

bapi help

Former Member
0 Likes
1,076

hi there all

i am looking for help about BAPI_PDTRANSCO_POSTPRIMCOST where can i find it?

thanks

amit

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
813

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.

4 REPLIES 4
Read only

Former Member
0 Likes
814

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.

Read only

Former Member
0 Likes
813

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

Read only

piyush_mathur
Active Participant
0 Likes
813

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

Read only

Former Member
0 Likes
813

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 =

.