Adding tabstrip in MIR7
Hi Gurus,
Is there any BAdI or user exit for adding tabstrip to header in MIR7 tcode or do i have to make enhancement for the same?
Regards,
PS
Hi,
there is none that i know of but you can have a look at badi BADI_FDCB_SUBBAS04 which allows to create custom fields under basic data tab at header level.
Display customer fields in header of logistics invoice verification transactions - Code Gallery - SCN Wiki
Best regards.
Similar Messages
-
Run smartforms in background mode
Hi
Can anybody tell me, can we execute smartforms in background mode. Please tell me. Can we take printout from the spool.
Smartform have driver program.
Thanks
Murali Papana.hi,
Use
You can not only evaluate queries online, but also print them in the background. In the Reporting Agent of the Administrator Workbench, you can define the display of the query data as the setting for background printing. You can make as many various settings as you want for printing a query in the background. The settings are then brought together in scheduling packets and scheduled for background printing.
Prerequisites
You have defined a query in the Business Explorer Analyzer that you now want to print in the background. You have called up the Administrator Workbench to do this.
You can only print out queries with key figures in structures. If you have defined a query with a key figure in the filter and want to print this query, you must change the definition of the query so that the key figure is in a structure to be printed.
You can only schedule queries with entered variables for background printing if the required variable entry/entries have been saved as query variants.
Procedure
Defining Reporting Agent Settings for Printing in the Background
Choose the Reporting Agent from the Administrator Workbench.
Navigate in the left-hand tree to the query you want, and, using the right mouse button, choose New Setting. You get to the "New Reporting Agent Setting" dialog box.
Enter a technical name and a description.
Choose Print in the background from the General tabstrip.
Choose the tabstrip Print Settings from the newly added tabstrips.
Determine the print settings that you want to make. See also: Print Settings
Choose the Print Layout tabstrip.
Decide how you want to set the following print areas:
Cover sheet
Page header
Table header
Table
Page footer
Last page
See also:
Defining the Print Layout
Choose Activate.
Creating Scheduling Packets and Assigning Reporting Agent Settings for Printing in the Background
Once you have made the Reporting Agent setting for printing in the background, you have to assign your setting to a scheduling packet for the background run.
Creating a scheduling packet
Go back to the Reporting Agent Scheduler, and, in the right-hand Scheduling packets tree, choose the Change pushbutton.
Select the Print in the background node, and choose Create new packet from the context menu (right mouse button). You get to the Create Scheduling Packet dialog box.
Specify a name and a description, and choose Save.
Assigning Reporting Agent Settings for Printing in the Background
Navigate in the left-hand tree, Reporting Agent Settings, to the Reporting Agent setting you want to use for printing in the background.
Using drag-and-drop, drag the Reporting Agent setting that you want to use into the right-hand tree, and assign it to the corresponding scheduling packet.
If the Reporting Agent setting refers to a query with variables, then you need to assign a variant:
Select the Reporting Agent setting.
Using the right mouse button, choose Assign variants from the context menu. A dialog box containing the variants for this query appears.
Choose the variant you want to use.
Choose Continue.
You have the option of maintaining variants in the Reporting Agent (in both the left and right-hand trees).
Select the Reporting Agent setting you want to use.
Choose Maintain variants from the context menu (right mouse button).
Note that you always assign Reporting Agent settings for printing in the background to a corresponding scheduling packet for printing in the background.
To avoid confusion with Reporting Agent settings for exception reporting, you are able to filter according to these two functions in the left-hand menu. The symbols for Exception and Print, in the left-hand tree, also identify the settings.
Scheduling a Packet as a Job
In the right-hand tree, select the scheduling packet you want to use.
Using the right mouse-button, choose Schedule from the context menu. You get to the Change Job RA (name of the scheduling packet) dialog box.
The name of the job is made up of RA for Reporting Agent, and the name of the scheduling packet.
Specify the start date and the repetition period for the job.
See also:
Scheduling Background Jobs in the documentation for the BC Computing Center Management System.
If you want to check the status of the scheduled background job, choose the Jobs pushbutton above the right-hand tree in the Reporting Agent Scheduler.
Hope this helps, Do reward. -
hi every body....i have developed a smartform....it has to perform in background...so there is no selection screen....but while i am executing the print program its gng into short dump....coz it has to call all the existing data..if i use any selection screen and test it...then its working properly....but here i shld not use any selection sreen...also there is no need of where statement in my select query...cld any one tel me how can i solve thsi problem....]
thnx in advance.....santosh....Use
You can not only evaluate queries online, but also print them in the background. In the Reporting Agent of the Administrator Workbench, you can define the display of the query data as the setting for background printing. You can make as many various settings as you want for printing a query in the background. The settings are then brought together in scheduling packets and scheduled for background printing.
Prerequisites
You have defined a query in the Business Explorer Analyzer that you now want to print in the background. You have called up the Administrator Workbench to do this.
You can only print out queries with key figures in structures. If you have defined a query with a key figure in the filter and want to print this query, you must change the definition of the query so that the key figure is in a structure to be printed.
You can only schedule queries with entered variables for background printing if the required variable entry/entries have been saved as query variants.
Procedure
Defining Reporting Agent Settings for Printing in the Background
Choose the Reporting Agent from the Administrator Workbench.
Navigate in the left-hand tree to the query you want, and, using the right mouse button, choose New Setting. You get to the "New Reporting Agent Setting" dialog box.
Enter a technical name and a description.
Choose Print in the background from the General tabstrip.
Choose the tabstrip Print Settings from the newly added tabstrips.
Determine the print settings that you want to make. See also: Print Settings
Choose the Print Layout tabstrip.
Decide how you want to set the following print areas:
Cover sheet
Page header
Table header
Table
Page footer
Last page
See also:
Defining the Print Layout
Choose Activate.
Creating Scheduling Packets and Assigning Reporting Agent Settings for Printing in the Background
Once you have made the Reporting Agent setting for printing in the background, you have to assign your setting to a scheduling packet for the background run.
Creating a scheduling packet
Go back to the Reporting Agent Scheduler, and, in the right-hand Scheduling packets tree, choose the Change pushbutton.
Select the Print in the background node, and choose Create new packet from the context menu (right mouse button). You get to the Create Scheduling Packet dialog box.
Specify a name and a description, and choose Save.
Assigning Reporting Agent Settings for Printing in the Background
Navigate in the left-hand tree, Reporting Agent Settings, to the Reporting Agent setting you want to use for printing in the background.
Using drag-and-drop, drag the Reporting Agent setting that you want to use into the right-hand tree, and assign it to the corresponding scheduling packet.
If the Reporting Agent setting refers to a query with variables, then you need to assign a variant:
Select the Reporting Agent setting.
Using the right mouse button, choose Assign variants from the context menu. A dialog box containing the variants for this query appears.
Choose the variant you want to use.
Choose Continue.
You have the option of maintaining variants in the Reporting Agent (in both the left and right-hand trees).
Select the Reporting Agent setting you want to use.
Choose Maintain variants from the context menu (right mouse button).
Note that you always assign Reporting Agent settings for printing in the background to a corresponding scheduling packet for printing in the background.
To avoid confusion with Reporting Agent settings for exception reporting, you are able to filter according to these two functions in the left-hand menu. The symbols for Exception and Print, in the left-hand tree, also identify the settings.
Scheduling a Packet as a Job
In the right-hand tree, select the scheduling packet you want to use.
Using the right mouse-button, choose Schedule from the context menu. You get to the Change Job RA (name of the scheduling packet) dialog box.
The name of the job is made up of RA for Reporting Agent, and the name of the scheduling packet.
Specify the start date and the repetition period for the job.
See also:
Scheduling Background Jobs in the documentation for the BC Computing Center Management System.
If you want to check the status of the scheduled background job, choose the Jobs pushbutton above the right-hand tree in the Reporting Agent Scheduler.
Award points if this stuff is useful,
thank you dear, -
Adding new custom fields in t code - MIR7
Dear Experts ,
I have the following requirement .
In MIR7 t code under the tab - basic data - i have to add new custom fields like
Billing document no and billing doc item along with multiple selection option .
i have found the BADI - BADI_FDCB_SUBBAS04 . i dont know how to get the custom fields in that .
Regards
PrabhuI have designed a MODAL SCREEN which contains a table control for multiple entries for Billing document nos .
I want to design a PUSHBUTTON on the MIR7 screen and then once i will press the pushbutton the MODAL screen should get called from that .
When the MODAL screen will be called in the back end the MIR7 screen should also be present in the
back end .
If any queries on understanding the requirement then please revert .
If any body has any idea on this then please suggest .
Regards
Prabhu -
Hi ,
I am using TabStrip control of PDK .NET. I want to add tab dynamically in tabstrip control.
But I am getting error for any postback when I switch in between tabs.
Error description is :
<b>"Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index"</b>
<b>Stack Trace:
[ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index]
System.Collections.CollectionBase.System.Collections.IList.get_Item(Int32 index) +2382545
SAP.Web.UI.Controls.TabCollection.get_Item(Int32 index) +6
SAP.Web.UI.Controls.TabStrip.LoadPostData(String sPostData, NameValueCollection oPostCollection) +92
System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +674
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2965</b>
Any help appreciated?
Regards,
PrashantHi Prashant,,
your index is less than zero, the postback will not store it unless you explicitly save it using 'enable view state' for the tree control, if it is already enabled and still not working: here is the work around :-
you can store it in a hidden input field, so that it can be retrived when you do a postback, and then reassign the current index
it should be a relatively simple fix
please let me know how you get along...
with respect,
amit -
Hello,
I am Preety new in the Enhancement area,
i have to add a tabstrip for our custom fileds both for header and item data in va03.
can any one help me on the same how to do that which BADI or Exits are suppose to be used.
Thanks and regards,
GunjanHi,
The program for the transaction VA03 is SAPMV45A.
In that, we have to search for call customer-subscreen,if you need screen exit.
Check the following.It can help you.
http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975e643b111d1896f0000e8322d00/content.htm
<b>Reward points</b>
Regards -
Adding/activating tabstrip to BP role
Hi all,
we have a problem in displaying BP data set(marketing attributesPHA030) When i go to transaction code BUSD and check whether the data set(Marketing attribute PHA030 has been maintained in BP roles like BP General(000000)role and BP role Consumer(CRM006)the data set(marketing attribute CRM005) has been maintained.
But when it comes to BP display under any of the role like Consumer,sold-to-party,internet user etc i am unable to see that marketing attributes tab strip.
is it something like activating that particular tabstrip ? if so can any one suggest me in this regard.
thanks in advance,
mdvHi
mdv..
Sometimes may required to generate a sub-screen container..
go to transection BUSP and generate a sub-screen cotainer.
Regards
Vibhas -
Web Dynpro TabStrip - Adding a new tab
Hi Gurus,
Please let me know how to add new tab to existing SAP web dynpro component? Any kind of example would be great. Appreciate all your help.
Thanks,
GSMHi all,
Maybe now we have somebody who can answer this question.
i have also this problem. I want to add in SRM in a View on a shopping cart on item level, 1 additional tab strip. How it is possible ? Are there any BADIs that can be used.
But also it musst be done without changing from standard SAP objects.
thanx for your help.
greetings
christian -
Reg: Adding BUTTON to tabstrip
Hi ,
Iam unable to add BUTTON to tapstrip , "Add Elements to Tab" is disabled.
(My tab strip contains 2 tabs , i want to add it to first tab).
please help.
Regards
Sriinivas
Edited by: cnu_2010 on Jun 29, 2011 9:18 AMBasically you can add buttons to UWL. The problem will arise when you want the button to do something sensible. I don't think that there is some standard Export to Excel action available. Of course you could do some custom development.
Regards,
Karri -
Add search help/drop down list to a standard field in MIR7
Hi All,
I have a requirement to add a search help on one of the strandard field in MIR7. This field has no search help in dictionary (SE11). Do you have any idea on how to do this? Is there any exit that i can use to?
Please help!
Thanks in advance.Hi Akira,
Please check the below threads.
[how to create F4 for the standard transaction]
[F4 HELP for standard field..;
[http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/daeda0d7-0701-0010-8caa-edc983384237]
[Re: Adding a field in standard search help;
Edited by: Prasath Arivazhagan on Apr 13, 2010 5:38 AM -
Hi,
I want to create a tabstrip dynamically.The tabstrip should have 3 tabs, and in each of the tabs i want to put some UI elements like a label, input field, dropdown, tables.........etc.
Im able to create the tabstrip and add tabs to it dynamically.
I've even created the UI elements which i wanted to put in the tabs.............But im not able to proceed as i dont know how to add the UI elements to the tabs.......
Can anyone tell me how to add UI elements to a tab in a tabstrip?
Regards,
Padmalatha.K
Points will be rewarded.Hi,
Following code will help you to understand the dynamic creation and adding them
//Tabstrip
IWDTabStrip tabStrip = view.createElement(IWDTabStrip.class);
//Tab
IWDTab tab = view.createElement(IWDTab.class);
//Input Field
IWDInputField inputField = view.createElement(IWDInputField.class);
//Adding inputfield to tab
tab.setContent(inputField);
//Adding tab to tabstrip
tabStrip.addTab(tab);
//Finally add this tabstip to either your root container or some other container.
Regards
Ayyapparaj -
Hi,
I am creating dynamically tabs in my tabstrip and that works fine so for. I found some examples in SDN and here for me to learn. Now I try to add a transparent container and some objects to it, but do not know how. This is so far my code in WDDOMODIFYVIEW:
some code here
* Create a new tab:
CONCATENATE 'TAB' wd_this->tot_tabs INTO aux_text.
lr_tab = cl_wd_tab=>new_tab( id = aux_text ).
lr_tabstrip->add_tab( the_tab = lr_tab ).
* Add a transparent container:
CONCATENATE 'TABCONT' wd_this->tot_tabs INTO aux_text.
lr_control = cl_wd_transparent_container=>new_transparent_container( id = aux_text
view = view ).
lr_tab->set_content( lr_control ).
TOT_TABS has the current number of the tab. System compiles the code correctly and activates it but when running the application I get this error message:
The following error text was processed in the system NSP : Access via 'NULL' object reference not possible.
The ABAP call stack was:
Method: CREATE_NW7_BY_VIEW_ELEMENT of program CL_NW7_VIEW_ELEMENT_ADAPTER===CP
Could it be maybe because I am not adding objects ?? I don´t know how anyway.Hi Guillermo,
Welcome to SDN.
You can have dynamic tabs by placing the <htmlb:tabStripItem> in a loop in the layout:
<% loop at tabstrip_tab. %>
<htmlb:tabStripItem index="<%=tabstrip_tab-index%>" etc. />
<% endloop. %>
Where tabstrip_tab contains the details of the tabstrip items.
Regards,
Patrick. -
Subordinate Items not visible in Tabstrip Contrainer - Web Template
Hello Gurus,
In Web Application Designer I am creating a blank template and adding a Tabstrip Container. Within the Tabstrip Container I am adding an Analysis web item. When I go to "Internal Display" for Tabstrip and click on "Tab Panel" a popbox opens and when I click on the "Subordinate Web Item". I do not see the Analysis web item. I only see the default. What am I missing? Appreciate all the help.
Thanks.
Regards,
bw newbie
We are on BI 7.0 support pack 19.Hey,
could you please post the solution? I came across the same issue lately and I can`t make a solution
at this point.
thx in advance!
Greets marcus -
Hi,
I Require 4th TabStrip in MIGO called Details...there are already 3 tabstrips called (General,Vendor,Employee).
I want to impliment through BADI.But i dont knw hw to proceed.
I got Defi.Name MB_MIGO_BADI and Method Name s INIT.
But i dont knw hw to create tabstrip....
Plz guide me so i can proceed further ?
Points will be rewarded to the person
wait for reply...Karthik,
I couldnt identify other BADI for addition of new fields. Perhaps the logic lies in the same BADI where the tabstrip name was created. To be more clear, i have used BADI MB_MIGO_BADI with class implementation as ZCL_EXM_IM_MB_MIGO_BADI. If you see the method "PBO_HEADER", the program used is "SAPLMIGO_BADI_EXAMPLE". I guess my requirement revolves around this program, but this program is a function pool. IF i change the e_heading to "Transportation" in the method mentioned above, i can see the new tab named as "Transportation". Now i need three more screen fields to be added. I wonder how to go for the logic in PAI later.
Thanks in advance.. -
Steps to create tabstrip for subscreen in selection screen
hi,
can let me know the steps taken to create subscreen in selection screen and put in tabstrip?
i need to have 3 screens. 1000 being the tabstrip, 2000 being first subscreen and 3000 being the second subscreen.
i have the abap code but i do not know the steps to create especially 1000 screen.
for 2000 and 3000, once i activated the program, these 2 screens added but i do not know where can i create the 1000 screen.
also, should i use wizard to create tabstrip?
please advise. thanks
SELECTION-SCREEN BEGIN OF SCREEN 2000 AS SUBSCREEN. SELECTION-SCREEN BEGIN OF BLOCK x WITH FRAME TITLE text-001.
SELECT-OPTIONS: para1 FOR field1 ,
para2 FOR field2.
SELECTION-SCREEN END OF BLOCK x.
SELECTION-SCREEN END OF SCREEN 2000.
SELECTION-SCREEN BEGIN OF SCREEN 3000 AS SUBSCREEN.
SELECTION-SCREEN BEGIN OF BLOCK y WITH FRAME TITLE text-002.
SELECT-OPTIONS: para3 FOR field3 ,
para4 FOR field4.
SELECTION-SCREEN END OF BLOCK y.
SELECTION-SCREEN:SKIP.
SELECTION-SCREEN END OF SCREEN 3000.e_l,
See the total doc.. with example.
Assigning a Subscreen Area to a Tab Title
You must assign a subscreen area to each tab title. There are two ways of doing this:
Paging in the SAPgui
You need to assign a separate subscreen area to each tab title, and define the function codes of the tab titles with type P (local GUI function). In the screen flow logic, you call all the subscreens in the PBO event. This means that all of the tab pages reside locally on the SAPgui.
When the user chooses a tab title, paging takes place within the SAPgui. In this respect, the tabstrip control behaves like a single screen. In particular, the PAI event is not triggered when the user chooses a tab title, and no data is transported. While this improves the performance of your tabstrip control, it also has the negative effect that when the user does trigger the PAI event, all of the input checks for all of the subscreens are performed. This means that when the user is working on one tab page, the input checks may jump to an unfilled mandatory field on another page.
Local paging at the SAPgui is therefore most appropriate for screens that display data rather than for input screens.
Paging on the Application Server
One subscreen area is shared by all tab titles and called in the PBO event. You define the function codes of the individual tab titles without a special function type. When the user chooses a tab page, the PAI event is triggered, and you must include a module in your flow logic that activates the appropriate tab page and assigns the correct subscreen to the subscreen area.
Since the PAI event is triggered each time the user chooses a tab title, this method is less economical for the application server, but the input checks that are performed only affect the current tab page.
Procedure in Either Case
You create the subscreen areas within the tabstrip area. You assign the subscreen areas to one or more tab titles in the Screen Painter by selecting one or more titles. You can also assign a subscreen area to a tab title in the tab title attributes by entering the name of the subscreen area in the Reference field attribute.
The procedure for the alphanumeric Screen Painter is described under Creating Tabstrip Controls.
If you are paging at the SAPgui, create a subscreen area for each tab title. If you are paging at the application server, select all tab titles and create a single subscreen area. The subscreen areas may not cover the top line of the tab area. However, within a tab area, more than one subscreen area can overlap.
Programming the Flow Logic
In the flow logic, all you have to do by hand is include the correct subscreens. The screen flow and data transport to the ABAP program is the same as for normal subscreens. There are two ways of programming the screen flow logic, depending on how you have decided to page through the tabstrip control.
Paging in the SAPgui
When you page in the SAPgui, you must include a subscreen for each subscreen area:
PROCESS BEFORE OUTPUT.
CALL SUBSCREEN: <area1> INCLUDING [<prog 1>] <dynp 1>,
<area2> INCLUDING [<prog 2>] <dynp 2>,
<area3> INCLUDING [<prog 3>] <dynp 3>,
PROCESS AFTER INPUT.
CALL SUBSCREEN: <area1>,
<area2>,
<area3>,
Paging on the Application Server
When you page on the application server, you only have to include a subscreen for the one subscreen area:
PROCESS BEFORE OUTPUT.
CALL SUBSCREEN <area> INCLUDING [<prog>] <dynp>.
PROCESS AFTER INPUT.
CALL SUBSCREEN <area>.
Handling in the ABAP Program
Before you can use a tabstrip control in your ABAP program, you must create a control for each control in the declaration part of your program using the following statement:
CONTROLS <ctrl> TYPE TABSTRIP.
where <ctrl> is the name of the tabstrip area on a screen in the ABAP program. The control allows the ABAP program to work with the tabstrip control. The statement declares a structure with the name <ctrl> . The only component of this structure that you need in your program is called ACTIVETAB.
Use in the PBO event
Before the screen is displayed, you use the control to set the tab page that is currently active. To do this, assign the function code of the corresponding tab title to the component ACTIVETAB:
<ctrl>-ACTIVETAB = <fcode>.
When you page at the SAPgui, you only need to do this once before the screen is displayed. This initializes the tabstrip control. The default active tab page is the first page. After this, the page activated when the user chooses a tab title is set within SAPgui.
When you page on the application server, you must assign the active page both before the screen is displayed for the first time, and each time the user pages. At the same time, you must set the required subscreen screen.
You can suppress a tab page dynamically by setting the ACTIVE field of table SCREEN to 0 for the corresponding tab title.
Use in the PAI event
In the PAI event, ACTIVETAB contains the function code of the last active tab title on the screen.
When you page in the SAPgui, this allows you to find out the page that the user can currently see. When you page at the application server, the active tab page is controlled by the ABAP program anyway.
The OK_CODE field behaves differently according to the paging method:
Paging in the SAPgui
When you page in the SAPgui, the PAI event is not triggered when the user chooses a tab title, and the OK_CODE field is not filled. The OK_CODE field is only filled by user actions in the GUI status or when the user chooses a pushbutton either outside the tabstrip control or on one of the subscreens.
Paging on the application server
If you are paging at the application server, the PAI event is triggered when the user chooses a tab title, and the OK_CODE field is filled with the corresponding function code.
To page through the tabstrip control, you must assign the function code to the ACTIVETAB component of the control:
<ctrl>-ACTIVETAB = <ok_code>.
This statement overwrites the function code of the last active tab page with that of the new tab title. At the same time, you must ensure that the correct subscreen is inserted in the subscreen area.
Otherwise, tabstrip controls are handled like normal subscrens in ABAP programs, that is, the ABAP program of a subscreen screen must contain the dialog modules called from the flow logic of the subscreen.
Examples
Tabstrip control, paging at SAPgui
REPORT DEMO_DYNPRO_TABSTRIP_LOCAL.
CONTROLS MYTABSTRIP TYPE TABSTRIP.
DATA: OK_CODE TYPE SY-UCOMM,
SAVE_OK TYPE SY-UCOMM.
MYTABSTRIP-ACTIVETAB = 'PUSH2'.
CALL SCREEN 100.
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS 'SCREEN_100'.
ENDMODULE.
MODULE CANCEL INPUT.
LEAVE PROGRAM.
ENDMODULE.
MODULE USER_COMMAND INPUT.
SAVE_OK = OK_CODE.
CLEAR OK_CODE.
IF SAVE_OK = 'OK'.
MESSAGE I888(SABAPDOCU) WITH 'MYTABSTRIP-ACTIVETAB ='
MYTABSTRIP-ACTIVETAB.
ENDIF.
ENDMODULE.
The next screen (statically defined) for screen 100 is itself. It has the following layout:
The screen contains a tabstrip area called MYTABSTRIP with three tab titles PUSH1, PUSH2 and PUSH3. The function codes have the same name, and all have the function type P. One of the subscreen areas SUB1 to SUB3 is assigned to each tab title. The pushbutton has the name BUTTON and the function code OK.
In the same ABAP program, there are three subscreen screens 110 to 130. Each of these fits the subscreen area exactly. The layout is:
The screen flow logic for screen 100 is as follows:
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
CALL SUBSCREEN: SUB1 INCLUDING SY-REPID '0110',
SUB2 INCLUDING SY-REPID '0120',
SUB3 INCLUDING SY-REPID '0130'.
PROCESS AFTER INPUT.
MODULE CANCEL AT EXIT-COMMAND.
CALL SUBSCREEN: SUB1,
SUB2,
SUB3.
MODULE USER_COMMAND.
The screen flow logic of subscreens 110 to 130 does not contain any module calls.
When you run the program, a screen appears on which the second tab page is active, since the program sets the ACTIVETAB component of the structure MYTABSTRIP to PUSH2 before the screen is displayed. The user can page through the tabstrip control without the PAI event being triggered. One of the three subscreens is included on each tab page.
When the user chooses Continue, the PAI event is triggered, and an information message displays the function code of the tab title of the page that is currently active.
Tabstrip control with paging on the application server.
REPORT DEMO_DYNPRO_TABSTRIP_LOCAL.
CONTROLS MYTABSTRIP TYPE TABSTRIP.
DATA: OK_CODE TYPE SY-UCOMM,
SAVE_OK TYPE SY-UCOMM.
DATA NUMBER TYPE SY-DYNNR.
MYTABSTRIP-ACTIVETAB = 'PUSH2'.
NUMBER = '0120'.
CALL SCREEN 100.
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS 'SCREEN_100'.
ENDMODULE.
MODULE CANCEL INPUT.
LEAVE PROGRAM.
ENDMODULE.
MODULE USER_COMMAND INPUT.
SAVE_OK = OK_CODE.
CLEAR OK_CODE.
IF SAVE_OK = 'OK'.
MESSAGE I888(SABAPDOCU) WITH 'MYTABSTRIP-ACTIVETAB ='
MYTABSTRIP-ACTIVETAB.
ELSE.
MYTABSTRIP-ACTIVETAB = SAVE_OK.
CASE SAVE_OK.
WHEN 'PUSH1'.
NUMBER = '0110'.
WHEN 'PUSH2'.
NUMBER = '0120'.
WHEN 'PUSH3'.
NUMBER = '0130'.
ENDCASE.
ENDIF.
ENDMODULE.
The statically-defined next screen for screen 100 is itself, and its layout is the same as in the above example. However, the function codes of the three tab titles have the function type <blank> and they all share a single subscreen area SUB.
The same subscreen screens 110 to 130 are defined as in the last example.
The screen flow logic for screen 100 is as follows:
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
CALL SUBSCREEN SUB INCLUDING SY-REPID NUMBER.
PROCESS AFTER INPUT.
MODULE CANCEL AT EXIT-COMMAND.
CALL SUBSCREEN SUB.
MODULE USER_COMMAND.
In this example, the program includes a subscreen screen in the subscreen area SUB dynamically during the PBO event.
The screen flow logic of subscreens 110 to 130 does not contain any module calls.
This example has the same function as the previous example, but the paging within the tabstrip control is implemented on the application server. Each time the user chooses a tab title, the function code from the OK_CODE field is assigned to the ACTIVETAB component of structure MYTABSTRIP. At the same time, the variable NUMBER is filled with the screen number of the subscreen that has to be displayed in the subscreen area SUB of the tabstrip control
Pls. reward if useful
Maybe you are looking for
-
Airport Extreme blocking internet on phone and ipad but not imac
I got a new TIme Warner cable modem yesterday and since then my Airport Extreme does not work properly. Time Warner see it at their end but told me that it blocks the signal from the modem to the computer. However after much fiddling around with it I
-
Help needed to move a java.rmi.Remote object.....
Hi, I have an object extending java.rmi.Remote on a server. I want to get it onto a client (ie the actual object, not a reference to the object on the server). The catch (isn't there always one): The client must only get class definitions/interface d
-
Font Not Appearing in New Document
Microsoft Windows 8 Pro Adobe Creative Suite CS6 Whenever I create a new Document in InDesign 6 I cannot see the font when I insert a text box. For example, when I insert a text box and start typing, it appears as though something is happening, but
-
Office:Mac and Corrupted Fonts
I have installed the office:mac 2004 version but when I try to open any of office applications while trying to optimize font menu performance, I get a message saying xyz font is corrupt and needs to be deleted. Seems like many fonts needs to be delet
-
How to run media file after Runtime.exc the real player?
Hi How to run media file after Runtime.exc the real player application