cancel
Showing results for 
Search instead for 
Did you mean: 

Subcontracting rate in costing

bhaskar_basam
Contributor
0 Kudos

Hi Experts,

I have a requirement where a sub-con material is costed, the price should be picked based on the qty structure date mentioned during cost estimate instead of latest price in purchase info record.

For e.g.,

Sub con material A- Info record:

Valid from   Valid To      Amount

01092016   15092016      100

16092016    30092016      120.

When i run cost estimate for this material with qty structure date as 15092016, system will always pick the latest valid price from info record. But my requirement is the price should be pick based on the qty structure date mentioned during cost estimate.

Bhaskar

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member198692
Active Contributor
0 Kudos

Hi,

Check my below link

Regards

Prasad Patil

bhaskar_basam
Contributor
0 Kudos

Hi Prasad

As per your comment, system will alway pick latest info record price. But in my case, user maintains different prices as per validity. And user want to pick the price based on qty structure date.

Refer my original comment, user is trying to run the cost estimate 28.09.2016 but Qty strucute date and valuation date as 15.09.2016. In this case, system should pick the price valid as on this date, where system is always picking the latest info record price.

Bhaskar

OwenLiu
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Bhaskar,

I think User Exit COPCP005 could be an option.

Regards,

Owen

bhaskar_basam
Contributor
0 Kudos

Hi Owen,

I think this user exit will work only for material valuation for components.

Can you please confirm, if i write a code in this user exit to get the prices of info record as per qty structure date,

Will this work during cost estimate?

Also do i need to change the strategy sequence to add the material valuation as per user exit.

Regards

Bhaskar

OwenLiu
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Bhaskar,


Yes, you can.


With User Exit, it's according to your coding logic.

You can call me_search_of_supply and me_read_inforecord with your own logic.


Regards,

Owen

bhaskar_basam
Contributor
0 Kudos

Hi Owen

I had given a breakpoint in include ZXCKAU08 which is used in user exit COPCP005 to check whether this user exit works or not but it is not stopped during cost estimate.


Also i have tried with other user exits (COPCP001, COPCP002, COPCP003, COPCP004), but none of them triggering the breakpoint. Can you pls check and help on this.

Regards

Bhaskar

OwenLiu
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Bhaskar,

You need to choose strategy

"Valuation Price with User Exit"

Regards,

Owen

SanjayChavan
Explorer
0 Kudos

Hi Owen

I have given above strategy in valuation variant. But system still not checking the user exit.

Regards

Bhaskar

OwenLiu
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Bhaskar,

Is the strategy with the first priority?

Regards,

Owen

bhaskar_basam
Contributor
0 Kudos

I have used only 1 val strategy with the above. But its still not working.

former_member198686
Active Participant
0 Kudos

Hi Bhaskar,

Pls check below links for your information.

SAP Library

Regards,

KRK