cancel
Showing results for 
Search instead for 
Did you mean: 

PDS change in cost data

former_member566355
Participant
0 Kudos

hi,

What are the parameters to be passed into the mentioned BAPI.

I have passed following parameters to change single level costs but not working.

LOGICAL_SYSTEM

BUSINESS_SYSTEM_GROUP

SAVE_OPTIONS = 'X'

PDS_HEAD

PDS_NAME

PDS_USAGE

PLANNING_VERSION

PRODUCT

PRODUCT_BSG

PLANNING_LOCATION

PDS_TYPE

SINGLE_LEVEL_COSTS_VAR

Only the cost data should get updated...rest of the data should remain as it is.

Regards,

RS

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member209769
Active Contributor
0 Kudos

Hi RS,

Sorry. what is teh name of the BAPI?

During CIF, are you trying to update costs? What is teh scenario - creation or change or both?

Thanks - Pawan

former_member566355
Participant
0 Kudos

Hi Pawan,

We are trying to mantain the costs by changing the PDS in APO using the mentioned BAPI.

LSMW and BDC idoes not work in this case.

Is there any way to achieve this ? Can we do it during CIF.. if yes, how that can be achieved?

Regards,

RS

Former Member
0 Kudos

Hi RS,

The following BADI can be used to change PDS data (ciffed from R/3) and also update cost fields during CIFFfing of PDS.

BADI : /SAPAPO/CURTO_SNP

Method : FILL_COST_FIELDS - This method can be used to update costs

Method: CIF_IMPORT - This method can be used to change the other Data Transferred via CIF...

Regards,

Ashok

former_member209769
Active Contributor
0 Kudos

Hi RS,

Ashok already gave the name of the BADI for SNP PDS.

From your post, it's not clear if you are talking about SNP PDS or PPDS PDS.

If you have to take care for PPDS PDS, then implement the Badi /SAPAPO/CURTO_CREATE.

Method name is the same: FILL_COST_FIELDS.

Parameter CT_COST_FIELDS has the fields which you could possibly use.

COST1 - Single-Level Costs (Variable)

COST2 - Single-Level Costs (Fixed)

COST_VAR - Costs: Multi-Level (Variable)

COST_FIX - Costs: Multi-Level (Fixed)

Similar fields also exist in the SNP BADI which you can update during the transfer as per your requirement.

Thanks - Pawan