Application Development 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: 

Need to restrict

Former Member
0 Kudos

I created two Ztransactions i.e.ZZ309 & ZZ311 to 309 & 311 movement types under standard transaction code MB1B.

whenever i enter t.code zz309 by default movement type shows in the screen 309 in inactive mode.

After completion of processing and generating document number when it comes to the initial screen, at movement type 309 it is allowing us to enter any other movement.

Now my query is after processing the entire process(after document creation) when it comes to the initial screen it should restrict 309 in inactive mode only.

pl.explain the steps to restrict at initial screen

1 REPLY 1

Former Member
0 Kudos

Hi,

you may try the following code.

loop at screen.

if screen is initial.(your screen).

if screen-name eq 'your field name'.

screen-input = 0.

endif.

endif.

modify screen.

endloop.

Make necessary changes according to your requirement.

Regards,

Renjith Michael.

Edited by: Renjith Michael on Jan 9, 2008 11:42 AM