cancel
Showing results for 
Search instead for 
Did you mean: 

Pricing based On Customized fields.

Former Member
0 Kudos

Hi Guru

I have a requirement to pick up the price in the sale order based on New customed Pricing keys. I created pricing Condition tables with new customized fields.

I wan to Sale order to pick up the price from price master (VK11,VK12) based on customized fields at sales order items level.

Could please advice which user exit has to be modified to meet this requirement.

Thanks in Advance.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Customized fieelds are to be defined either Header or Item - should be added in the Include -Pricing communication Header/item: Customer modifications - KOMPAZ and Field shouls start with ZZ and to be activated . Once it is activated you can use in Condition table and you can use in User Exit with this field . You have to use USEREXIT_PRICING_PREPARE_TKOMK or TKOMP dependindg on your requirement.

Regards,

Sirisha

Former Member
0 Kudos

Hi,

From your question, I understand that you're having problem because your new pricing key in pricing condition table doesn't have value in Sales Order. Therefore, no pricing could be determined. In that case, your have to modify user exit MV45AFZZ which you have to assign value to your new pricing key in Form USEREXIT_PRICING_PREPARE_TKOMK.

Regards,

Pavin

Former Member
0 Kudos

Hi Pavan

Thanks for Reply

Plz advice Functional spec and Which value do i have to assign to newly created Pricing Condition key in User exit USEREXIT_PRICING_PREPARE_TKOMK.

Regards

Ravi

Former Member
0 Kudos

Hi,

I think it depends on your requirement. For example, if you want to your shipping point in order item as a pricing key, your have to assign it like this:

TKOMK-VSTEL = VBAP-VSTEL.

It's simple. You have to assign value to variable that you want to use as pricing key by getting value from standard SAP table or somewhere else. Then, your condition table will have value for determine.

Regards,

Pavin

Edited by: Pavin P. on Nov 20, 2008 7:58 AM

Former Member
0 Kudos

Hi Pavan

Thanks .

I am in to functinal and given requirements to ABAPer. My ABAPer unbale to change the User exit and meet the technical specifications.

Could you please advice to proceed further.

Thanks

Ravi

Former Member
0 Kudos

Hi,

Well, I just don't get it why your ABAPer cannot do this. I think it's quite simple. All you have to tell him is that the field that you need to use for determine price and where the value of that field come from. Then, it's quite easy to use some abap programming to give value to that variable. Just tell your requirement to your ABAPER. If he has some experience on user exit, he can do it easily.And if he runs into trouble in that user exit, i think it's his responsibility to find the solution. May be if your give me more details I could give you a better help.

Regards,

Pavin

Former Member
0 Kudos

Hi Pavin

We added Price_key1 field in VBAP table and also the same field added in sales order item level at Additional Data B tabe Page.

Pricing condition table created with help Transaction Code: V/03 with Price_key1 field only.

This table has been assigned to Acess sequence. Acess sequence is assigned to Condition type. Condition type is placed in pricing procedure.

I created Pricing condition recrods with help of Transaction code in VK11 and maintained Price_key1 Value 'A100' with Price $0.20.

I created sales order with that pricing procedure, entered data like sold to , ship to , masterial and entered the same price_ key1 with the same value 'A100' which is entered in VK11 in sales order item level at Additional Data B tabe Page.

But price is not getting determined in the sales order at item level for the for value $0.20 from Price Master (VK11,VK12).

Plz help

Thanks

Ravi

Lakshmipathi
Active Contributor
0 Kudos

Dear Ravi

If you have already a price for the same material, change the validity period to current date and from current date, maintain the new price in VK11.

So if you create a sale order, system will trigger this new price only.

thanks

G. Lakshmipathi