cancel
Showing results for 
Search instead for 
Did you mean: 

Pricing Condition in scheduling agreement

Former Member
0 Kudos

Hi Gurus,

I'm working with scheduling agreements and I figured that whenever I create scheduling agreements, pricing condition PB00 gets defaulted to the scheduling agreement,

Can you guys be kind enough to tell me what configuration is driving this?? How can we make changes to the config settings so that I can have a condition type of my choice assinged to the scheduling agreenment??

More over I have a requirement to have a tiered pricing in scheduling agreement. I do know that this is driven by SCALES in SAP however as per my requirements I need to have SCALES per formulas. In the condition type configuration we do have a field for SCALES where we can assign the formulas but whenever I click on this field a screen pops up with some ROUTINES.

Can someone tell me how can I define the ROUTINES and the ABAP formula for this ROUTINE so that I can have my tiered pricing conditions accomplished??

Any feedback on this will be highly appreciated!!

Thanks folks,

Dhaval Joshi

Accepted Solutions (1)

Accepted Solutions (1)

former_member210560
Active Contributor
0 Kudos

Dear Dhaval,

You check your pricing procedure used via transaction M/08.

From they you can see how your pricing PB00 was set. Normally

in customizing at least PB00 or PBXX need to be determined.

PB00 -automatic gross price

PBXX- manual gross price

This means you must at least a gross price(master condition) in your pricing condition.

First the system will try to determine PB00 in case any valid pricing condition for example

info records, if not than PBXX will get determine which you can enter the price manually.

Best Regards,

Loke Foong

Former Member
0 Kudos

Hi Ian,

I looked into M/08, however I could only find the config related to the Procedures and not the actaul condition type. My question was more around the configuration that DRIVES the PB00 or PBXX whenever you create a scheduling agreement or a purchase order respectively.

The M/08 configuration has a control screen for procedures where you can enter the condition type(s) and set up different indicators, however I'm not sure which part of this configuration drives the propoal of the condition types in the purchasing documents.

I wud apprecaite if you can be a little bit more specific to this.

Thanks a ton for your response,

Cheers,

Dhaval

Answers (5)

Answers (5)

former_member182673
Active Contributor
0 Kudos

Again you are trying to capture a functionality through scale prices for which it is not designed. If the GR qty is 1100 Hrs, then SAP will recognize that the price bracket as per scales will be 1000 Hrs and more. Over on top of that as I had confirmed earlier scale price doesn't work in SAs.

Scale prices will work perfectly only on POs and mostly used for MRP runs where-in each order qty can be different and the vendor will give a discount when more is ordered.

I suggest you seriously look at Rebate agreements to achieve your requirement.

Former Member
0 Kudos

HI Ramesh,

I totally concur with your comments, however as I mentioned above we have applied a USER exit (EXIT_SAPLEINR_003) and we have changed the field reference from the TARGET quantity ( EKKO - KTMNG) to the quantity posted in MIGO (ERFMG). And once the coding was done it's working fine for the normal scenario for FROM (Base) Scale. However I'm having problem as mentioned above when I try it for D Scale ( Graduated to scale).

I think if we get this working then I can reach out to my abapers to code accordingly and pick the correct price at the time of posting MIRO.

Cheers,

Dhaval

Former Member
0 Kudos

HI Dhaval,

I'm very interested on your solution and it seems also not so complex as development.

Just one question: GR quantity (field ERFMG) is not one of the declared data in the EXIT_SAPLEINR_003. How you could get that value on-line in the user exit and pass it to the filed reference?

Thanks,

Vincenzo

Former Member
0 Kudos

Hi Dhaval ,

Were you able to get a solution for the issue discussed in this topic.

Thanks in advance.

former_member182673
Active Contributor
0 Kudos

Now I understand the issue you are facing, it has got nothing to do with the pricing procedure.

You are facing the classic case of non-applicability of scale prices in case of SAs. Since by definition SAs have a target quantity which will be received over a period of time as parts with n deliveries through a delivery schedule, the scale price doesn't work here. At the time of GR for an SA even though the material document is valuated at the GR qty the price picked up is as per the target quantity which will always fall in the lowest price bracket as per the scale prices you have defined. There is no ready made solution for this scenario.

So if you want to get scale price functionality, then it cannot be an SA only a PO. Otherwise you have to find a way to change the price picked for GR valuation through user-exit which is pretty tough.

Former Member
0 Kudos

Hi Ramesh,

I do understand your perspective as well and we also have an OSS note 401941 to fix this BUG. However I'm still trying to find ways to get around this as this was working absoulutely fine in my DEV environment and all of a sudden it stopped working.

Let me try to find some more avenues if I could on this.

Reallly appreciate your feedback on this though.

Cheers,

Dhaval

Former Member
0 Kudos

Hi Ramesh,

I've done my side of investigation and you were absoulutely right. We're planning to use a USER Exit to accomplish this. However I would like to thank you for your heads on on this.

Much appreciate and on a side note I would appreciate if you can answer a relevant question of mine on pricing.

Here's the exmple how we would like the pricing to work for different tiers,

Pricing Condition PB00 will be created with the following SCALES

To Quantity 1 HR - 10$

Quantity 500 HR - 9$

Quantity 1000 HR - 8$

If the delivery schedule line is created for 1100 Hours then the price calculation should be : 500 x10$ + 500 x 9$+ 100 x 8$ = 10300$

Please correct me if I'm wrong but I think we can accomplish this by "Graduated To" scales. I've tried changing the standard condition type PB00 with the scale type D, but the problem is whenever I create a scheduling agreement it's getting created with condition type PB00 with scale type "A" ( From scale)

If I delete this condition and create a new one I get SCALE D.

Any heads up on this will be highly appreciated.

Cheers,

Dhaval

former_member182673
Active Contributor
0 Kudos

The pricing procedure / calculation schema you ding in M/08 is determined automatically on SA creation through schema determination config. The schema determination happens through a matrix of POrg Schema and Vendor schema. For each POrg Schema and Vendor Schema the pricing procedure is assigned in the config and that is how it gets picked when you create the SA.

So look at your vendor schema in the POrg view of the vendor master and the POrg that is defined, and then go this config, you will fing the calculation schema that is assigned to this combination

With regard to scale prices, it can be assigned to any condition type, all you need to do is to double click on the line in the info-record or SA item conditions and then enter the quantity and the corresponding price delta

Former Member
0 Kudos

Hi Ramesh,

Thanks for the heads up. I looked at the config for the schema dtermination and I see that the pricing procedure RM0002 has not been assinged to any vendor POrg schema in this configuration.

I then looked at the config for the condition type PB00 --> pricing procedure RM0002 has been assigned to the condition type PB00 and since we don't have any entries maintained for RM0002 in the schema determination config I was just wondering if this is what is influencing the automatic proposal of the condition type PB00 in my scheduling agreement.

'

Also can you please tell me what is a difference between a Purchasing Document (BIG) and Purchasing Document (Small) in the schema determination config.

All I wanted to accomlish here is my teired pricing to work when I assign scales on the condition type in the scheduling agreement ( not in the PIR)

What currently happening in my case is ....

Example: Scale From 1 pc - 100.00 USD

from 50 pc - 90.00 USD

from 100 pc - 80.00 USD

Target quant. 100 pc

schedule lines 30 pc

20 pc

The problem is that the goods receipt of 30 pc is valuated at the price 80.00 USD It always takes a lowest price on the scale.

I've tried looking for OSS notes and also looked enough on the forums but I could not get any resolution to this question.

I would appreciate if I could get any heads up from your side.

Cheers,

Dhaval

Former Member
0 Kudos

Hi

First check any info record exists for the vendor material combination? If it is there then the price from the info record will be defaulted.

Second check the spro- sap reference img- material management- purchasing- conditions- define price determination process.

Complete the steps and define ur requirement.

Regards,

Raman

Former Member
0 Kudos

Any Ideas to this question folks?

Cheers,

Dhaval