cancel
Showing results for 
Search instead for 
Did you mean: 

Free goods qty need to grayed in sales order

Former Member
0 Kudos

Hi Experts,

My client requirement is such that while creating sales order, free goods quantity shouldn't be changed. Now the same is picking from cond maintained in VBN1 but can be changed manually. Is this can be restricted in standard SAP, i mean any control through which i can grayed the qty field or i need to insert user exit.

Regards,

Hakuga

Accepted Solutions (0)

Answers (2)

Answers (2)

jpfriends079
Active Contributor
0 Kudos

No need of userexit.

You can control this message number V4 160 - Minimum quantity & & of free goods has not been reached

Use TCode OVAH.

In message number V4 160, which will be in W.

Change that to E.

Regards

JP

Former Member
0 Kudos

Thanks for the reply Jyoti, but my requirement is not this. I want to restrict the free good's manual change in quantity while making the order.

Regards,

Hakuga

jpfriends079
Active Contributor
0 Kudos

Then I see any standard solution for it.

So, you need to go for enhancement.

Take help of ABAPer code logic for userexit MV45AFZZ, functional module USEREXIT_FIELD_MODIFICATION.

Regards

JP

Former Member
0 Kudos

Hi,

As said, you need to go for the enhancement,build the logic like this, where VBAP - UEPOS is not equal to 0 then for that

particular VBAP - POSNR system should keep the field VBAP - KWMENG in display mode.

Regards

Ram

Edited by: Ramakrishna.N on Feb 10, 2012 1:27 PM

Former Member
0 Kudos

hi

try with User Exit