‎2005 Jul 14 6:51 AM
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
‎2005 Jul 14 7:09 AM
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.
‎2005 Jul 14 7:09 AM
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.
‎2005 Jul 14 7:09 AM
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.
‎2006 Aug 15 9:40 AM
<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>