‎2010 May 20 2:27 PM
Hi Gurus,
We have two companies in the system both using similar Sales Order Type T.Code VA01. We have two sales organisation one for each.
Presently while raising sales order (T.code VA01) Req. Deliv. Date (Field Name: KETDAT) defaults to system date.
New Requirement: There is a new requirement from business where one company wants Req. Deliv. Date to be defaults to BLANK (Empty). This is possible by creating new sales order type but business wants to keep the sales order type same.
Can you please let me know which User Exit we can use to make this happen? We have One order type and two different sales organisation to distinguish the process.
Many Thanks
‎2010 May 20 3:35 PM
form userexit_field_modification in MV45AFZZ will let you change the value of screen fields.
case screen-name.
when 'RV45A-KETDAT'.
would let you blank the value for the approariate value in VBAK-VKORG
‎2010 May 20 3:35 PM
form userexit_field_modification in MV45AFZZ will let you change the value of screen fields.
case screen-name.
when 'RV45A-KETDAT'.
would let you blank the value for the approariate value in VBAK-VKORG
‎2010 May 20 5:44 PM
form userexit_field_modification in MV45AFZZ will let you change the value of screen fields.
But that's not the purpose of that user exit and you shouldn't use it that way.
USEREXIT_MOVE_FIELD_TO_VBAK would be the better choice, although you're still stuck with a solution that doesn't change the date until it's already been rendered on the screen at least once because you can't guarantee the sales org until that time. You would need to change the value of VBAK-VDATU and RV45A-KETDAT. I would also blank the value of TVAK-DATVO. This is the order type level field that determines that the RDD is calculated from the current date.
‎2010 May 21 6:27 AM
‎2011 Jan 28 12:07 PM