Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Pricing field error

Former Member
0 Likes
1,053

Hi! all..

We are using transportation group (TRAGR) as a pricing field. All the configurations are set up and condition records have been maintained. When pricing is carried out in the sales order we are not able to get our condition in the procedure because the trans. group field is not picked up.

I went into KOMP, found this field in the list there,

used the where-used functionality to see if this field is getting used in pgms where the value get MOVEd to KOMP.But when I do that I am not getting even a single program where this field gets used. does this mean that the value is not getting moved to the structure or am I not doing the right thing?

The field is in the list of ALLOWED FIELDS for condition tables. that goes to say its menat to be used. so where's the problem? please help me out. this is eating my time real big. got to get this one sorted out.

Thank you all.

-sri.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,005

Hi! all..

thanks a lot for the replies.

we have 1 other field - city of the del. plant. the value comes from the table t001w. ive gone thru my sales order exhaustively but i cudnt find it anywhere there. ( i mean to say when u go thru tabs i can the find the plant city anywehre in the sales order but still that value gets filled. when the case is such for one field non-existent in SOrd. how can it not be the same for transportation group?

Please see if I am right? Give me few mor ways of getting this straightened.

Thanks again.

Karthi.

7 REPLIES 7
Read only

Former Member
0 Likes
1,005

Are you sure that TRAGR is part of the sales order data? I thought it is delivery data.

Read only

0 Likes
1,005

If this value is not part of your sales order data by default, you need to fill it in an user exit, may be routine USEREXIT_PRICING_PREPARE_TKOMK (if at the header level) or USEREXIT_PRICING_PREPARE_TKOMP (at the item level ) of MV45AFZZ.

Srinivas

Read only

Former Member
0 Likes
1,005

Hi Srin,

need to Check the structures KOMV,KOMVD.

it is Pricing Communications-Condition Records structure.

U need to fill this structures.

Regards

vijay

Read only

Former Member
0 Likes
1,005

Hi

Check if this field is populated in the sales order , quite possible that it may not be getting populated by default.

Also check the pricing analysis and look for the condition record where it is supposed to use this field . It should point out the reason for not finding the pricing record.

Regards

Kalpana

Read only

Former Member
0 Likes
1,006

Hi! all..

thanks a lot for the replies.

we have 1 other field - city of the del. plant. the value comes from the table t001w. ive gone thru my sales order exhaustively but i cudnt find it anywhere there. ( i mean to say when u go thru tabs i can the find the plant city anywehre in the sales order but still that value gets filled. when the case is such for one field non-existent in SOrd. how can it not be the same for transportation group?

Please see if I am right? Give me few mor ways of getting this straightened.

Thanks again.

Karthi.

Read only

0 Likes
1,005

If I remember correctly, all master tables like the plant, company code, sales org etc are selected in the program somewhere during the sales order processing and they are available as the corresponding work areas like T001W, T001 etc. May be that is why system was able to move this value to the field called "City of the del. plant", but not the transportation group.

I will look for more convincing answer.

Read only

0 Likes
1,005

Hi,

Field - City of the del. plant exists in VBAPVB (in the dynamic include WVBAP) and is always filled by reading from T001W (using plant that is entered on the sales order item) in program SAPFV45P subroutine VBAPD_FUELLEN_T001W. Actually there are four other fields which are also derived based on plant.

Now about Transportation Group, firstly it does not exist in VBAPVB. And the value table for TPAGR is TTGR with just Transportation Group in the key which implies that this field cannot be derived based on any other sales order item field. That is why it is not filled in KOMP.

I think the best option for you is to fill it in USEREXIT_PRICING_PREPARE_TKOMP as Srinivas has suggested.

Hope this helps..

Sri