I've posted this a few times before. thanks for all the response.
Anyways here it is. again..
we created a new pricing field, namely, the dest.
city. of the SHIP TO PARTY.
everything is workin fine except for the problem that
in SORD. the city value gets defualted from SP master.
What is the code to fill in the
USEREXIT_PRICING_PREPARE_TKOMK...TO GET THE SH party city? (the field name is ORT01 and its from KNA1)
I am not an ABAPper. basically a functional guy.please help me out if you feel like you can.
thanks a lot.
Here is some sample code.
DATA: v_ort01 LIKE kna1-ort01.
SELECT SINGLE ort01 INTO v_ort01
WHERE kunnr = tkomk-kunwe.
IF sy-subrc = 0.
tkomk-zzort01 = v_ort01.
TKOMK-ZZORT01 is the field that you added to your pricing structure. You can replace it with the correct name that you gave it.