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

Screen Variant

Former Member
0 Likes
592

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

4 REPLIES 4
Read only

Former Member
0 Likes
561

hi you have to use the following

loop at screen.

if screen-name = 'XXX'

screen-required = 1.

Modify screen.

endif.

endloop.

Thanks,

Krishna

Read only

Former Member
0 Likes
561

Hi,

Try to Create a Transaction/screen variant uisng the Transaction Code <b>SHD0</b>(Zero).

Regards

vijay

Read only

srinivas_akiri
Active Participant
0 Likes
561

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.

Read only

Former Member
0 Likes
561

Hi ,

try with MV45AFZZ ,

coding like

form userexit_field_modification.

loop at screen.

endloop.

endform.

Regards

Prabhu