Powered By

Free XML Skins for Blogger

Powered by Blogger

Friday, December 4, 2009

SAP SD Princing Determine Sales Price with Shipping Point

You are trying to use shipping point as a key field (with sales org. distribution channel and ship-to party together) to determine the sales price. You created a condition table with the above key fields, and maintained the relevant setting (access sequence, condition type and pricing procedure).

There is an error message in the sales order pricing analysis ("access not made" in the shipping point field).
In the access sequence, you found that the shipping point field's document structure is KOMK.
Can you put to item level field in the condition table and access sequence?

Structure KOMK refers to header of the sales order, but shipping point of course is on item level.

You'll have to do some settings to reach your goal, it is possible.

Step 1
Append structure KOMP. Do this by changing through SE11 the table KOMPAZ.
This is the include for structure KOMP.
Add a component e.g. ZZVSTEL with component type VSTEL.
Save, activate.
If you want to make more points, assign search help H_TVST to the component.
Ask a programmer if you don't understand this part.

Step 2
Change user exit MV45AFZZ. Say there that field ZVSTEL should be filled with information from your shipping point.
Do this under part FORM USEREXIT_PRICING_PREPARE_TKOMP.
The coding should be like tkomp-zzvstel = vbap-vstel.
Save, generate.

Step 3
Make a new table as you did before, but first maintain your new field in Condition: allowed fields.
When you create your new table you will see you have two shipping points.
With the button technical view you can check which one ZZVSTEL or VSTEL.

Step 4
Finish with the steps you did before. That was ok.

Now, you will see in your sales order that the shipping point is filled with information.

No comments:

Archives