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

Tab Strip Control

Former Member
0 Likes
724

Hi All,

A tab strip control with 3 Tab pages is placed on screen.

With certain Fcode(i.e. FC1) gets invoked, only 2 tab pages should be displayed and for other Fcode (i.e. FC2)

3 tab pages should be displayed.

This functionality is available in MIGO transaction.

I am not able to debug the code of MIGO.

How can I achive such facility?

Regards

Agrim Darji

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
674

Hi Agrim,

This is indeed a very common requirement. Besides MIGO, you will see it in other transactions and programs in SAP.

The function code for the pushbuttion of the tab has to be deactivated in the PBO.

For example, look at the program DEMO_DYNPRO_TABSTRIP_SERVER. Copy this to a Z program and add the following in your code -

MODULE status_0100 OUTPUT.
  SET PF-STATUS 'SCREEN_100'.
<b>  if number = '0120'.
    loop at screen.
      if screen-name = 'PUSH3'.
        SCREEN-ACTIVE = 0.
        MODIFY SCREEN.
      ENDIF.
    endloop.
  endif.</b>
ENDMODULE.

Let me know if it helped. If you have any further problem, please do get back.

Regards,

Anand Mandalika.

3 REPLIES 3
Read only

Former Member
0 Likes
674

Hi,

Just have a look into this document i have submitted related to tab strip, u can set the focus on the tab which u want to show default.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap code samples/alv grid/abap code sample for tab strip in alv.pdf

If u have any clarifications get back to me.

Thanks & Regards,

Judith.

Read only

Former Member
0 Likes
675

Hi Agrim,

This is indeed a very common requirement. Besides MIGO, you will see it in other transactions and programs in SAP.

The function code for the pushbuttion of the tab has to be deactivated in the PBO.

For example, look at the program DEMO_DYNPRO_TABSTRIP_SERVER. Copy this to a Z program and add the following in your code -

MODULE status_0100 OUTPUT.
  SET PF-STATUS 'SCREEN_100'.
<b>  if number = '0120'.
    loop at screen.
      if screen-name = 'PUSH3'.
        SCREEN-ACTIVE = 0.
        MODIFY SCREEN.
      ENDIF.
    endloop.
  endif.</b>
ENDMODULE.

Let me know if it helped. If you have any further problem, please do get back.

Regards,

Anand Mandalika.

Read only

Former Member
0 Likes
674

<i>hi !

i'm new one to this group.

i have problem with search help with tabstrip control. i have three tabs in search help parameter tab .know i'm fix used one tab as default . how is it possible and where it possible. or it's possible or not reply me .

bye

</i>