‎2006 Jul 12 10:38 AM
Hi All,
Can any of you suggest how to make a field mandatory in Screen Variant.
For example in Tr.code VA01 on the first screen we have the fields OR type and Organizational data like sales organization ,distribution channel,division,sales office and sales group.and sales office is mandatory in this screen. once we enter in to the next screen we can see the sales office in header data and can be changed or removed. but i want to make that field mandatory and the value should not be deleted and save the sales order.
so please advise how to resolve.
Thanks & Regards,
Rayudu
‎2006 Jul 12 10:42 AM
hi you have to use the following
loop at screen.
if screen-name = 'XXX'
screen-required = 1.
Modify screen.
endif.
endloop.
Thanks,
Krishna
‎2006 Jul 12 10:46 AM
Hi,
Try to Create a Transaction/screen variant uisng the Transaction Code <b>SHD0</b>(Zero).
Regards
vijay
‎2006 Jul 12 10:48 AM
Hi,
try with below code segment in 2nd screen PBO.
loop at screen.
if screen-name = sales office.
screen-output = 'X'.
screen-required = 'X' .
modify screen.
endif.
‎2006 Jul 12 10:50 AM
Hi ,
try with MV45AFZZ ,
coding like
form userexit_field_modification.
loop at screen.
endloop.
endform.
Regards
Prabhu