Skip to Content
avatar image
Former Member


Hi abapers,

I am using tabstrip control in alv report.

I have 5 different tabs.

I have the second tab which contains field which is a ogbligatory.

But if the user wants to change to another tab it is asking to fill the mandatory value before coming out .

To over come this, i have declared the field as not obligatory but i want to check this condition before populating in my itab.

I tried it in this way,

if field1 is initial. " where field1 is an obligatory

leave list processing.


Here, it is coming out of the program and cursor is in the first tab but i need it in the secont tab itself.

Please help me out



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Feb 24, 2006 at 07:10 AM

    hi Priya,

    Make the field obligatory in the runtime..

    only if the user runs the pgm from that field..

    like this..

    at selection-screen on <f2>.

    if <f2> is initial.

    loop at screen.

    if screen-group = 'F2'.

    screen-required = '1'.




    F2 is the MODIF id for the field <f2>



    Add comment
    10|10000 characters needed characters exceeded