cancel
Showing results for 
Search instead for 
Did you mean: 

order quantity is not flowing in contract ?

Former Member
0 Kudos

hi

when i create a sales contract , order quantity is not flowing even though i entered target quantity, due toi which my pricing conditions also not getting values, kindly explain me whether order quantity should be entered manually in contract or it is copied from target quantity, and what may be the possible reason for this

regards,

Soumya

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi soumya,

what is the business logic for this issue?

here target quantity is different than order quantity.

Eg : target quantity is 1000 units then when order quantity of the document reaches to target quantity then it is automatically said as the target is reached.

for that purpose only we will use target quantity field.

So it is not that it has to copy the order quantity from target quantity.

if you want to do so MV45AFZZ, in this search for the user exit on quantities and write a piece of code with the help of an ABAPER.

ABAPER's LOGIC:

compare the target quantity field and order quantity field if the order quantity field is less than the target quantity field then allow to copy the quantity for the same and that target quantity should decrease simultaneously when order quantity has entered manually.

hope this clears your issue.

please test & confirm.

balajia

Answers (2)

Answers (2)

Former Member
0 Kudos

s

Former Member
0 Kudos

hi soumya,

hope your issue is solved.

balajia

Former Member
0 Kudos

You have to enter in Order qty. If you want you can write user exit to copy from Target qty to Order qty.