Dynamic tabs in the tabstrip
Hello All,
I am trying to populate dynamic tabs using the function module
TAXI_INITIALIZE_CARRIERSCREEN. Using this FM we can populate at the max 32 tabs.
My requirement is to place more than 32 tabs in the tabstrip.
Is there any other function module which is used to populate tabs.
Or any other solution for this.
Thanks in Advance.
Regards,
Suganya.
hi,
i need help on TAXI_INITIALIZE_CARRIERSCREEN. i want to know how to use this
say, i have created a tabcontrol in the screen painter with function code and reference field. i want to change the text dynamically during runtime.
can i use this function.
Moreover , say,
tabcap-TAB01 = 'TOTAL'.
tabcap-TAB02 = 'SIZEE'.
*TABSTRIP_NAME
CALL FUNCTION 'TAXI_INITIALIZE_CARRIERSCREEN'
EXPORTING
tabstrip_captions = tabcap
GUI_PROGRAM =
GUI_STATUS =
GUI_TITLE =
GUI_TITLE_PARAM =
In the above where do i specify the TAB Strip control Name.
i dont know how to pass on the export details for GUI_PROGRAM and rest of it. kindly help me
regs,
raja
Similar Messages
-
I want to display a url link in only one tab of the tabstrip in webdynpro ?
I want to display a url link in only one tab of the tabstrip in webdynpro view? How do we do this?
so in that tab of the tabstrip use LinkToUrl UI
The LinkToURL UI element is a hypertext link. When you choose this link, you are directed to a user-defined Web resource (URL).
The LinkToUrl is used to exclusively to open URLs in a separate window. To leave the Web Dynpro application and display a new URL use an exit plug.
1.in ur UI create tabs as u desire
2. In each TAB , add ViewContainer . ViewContainer you would be able to add inside tab.
3. Now create as many views as you have created Tabs.
4. Embed views into the corresponding ViewContainers , in ur first view embed link to URL
refer SAP online help for tabstrip :
http://help.sap.com/saphelp_erp2005/helpdata/EN/e8/ac884118aa1709e10000000a155106/content.htm -
Hi all.
First all sorry by my poor english i will try to explain my problem.
I'm developing a Web Site with BSP and it const of 2 frames obviusly with 2 web pages Menu.htm and Content.htm
what i need is: if I press a link in menu.htm, in content.htm appears a Tabstrip, (that's easy) now if I press again the link in menu.htm, in content.htm must appears other Tabstripitem at rigth side of the first Tab created..
it's understand??
how can I do that?? OO? i saw somes examples in PORTAL so this is possible to do. help?
Thanks all is my first post hereHi 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. -
Title of the TAB in the tabstrip control
Hi,
I need to change a title of the TAB dynamically in the program.
How can I do it?
Thanks.Ok, I just test this and it worked good.
First, go to screen painter layout, where the tabstrip is, double click on the tab name, It should have a value in the Name box, if not put one there. For the rest of this example we will call this name TABA, also while in this dialog, make sure to check the box on the Program tab below for "Output Field". Also make sure to make the lenght of these fields more than the 4 characters that they probably are now, make them like 10 or so. Do all this for each tab, each tab should have a different name, TABA, TABB, TABC.
Now in your program, declare the variables for TABA, etc.
data: taba(10) type c,
tabb(10) type c.
Now in your PBO, you can fill the text into the varaibles.
module STATUS_0100 output.
* SET PF-STATUS 'xxxxxxxx'.
* SET TITLEBAR 'xxx'.
TABA = 'This is tab A'.
TABB = 'This is tab B'.
endmodule. " STATUS_0100 OUTPUT
That should be it.
Regards,
RIch HEilman -
Active tab in the tabstrip..
hi,
i created a screen with a tabstrip and 2 tabs.
code is generated automatically. I created two table controls, one for each of the subscreens for the tabs.
following code was generated:
MODULE BDATA_ACTIVE_TAB_SET.
MODULE BDATA_ACTIVE_TAB_SET OUTPUT.
BDATA-ACTIVETAB = G_BDATA-PRESSED_TAB.
CASE G_BDATA-PRESSED_TAB.
WHEN C_BDATA-TAB1.
G_BDATA-SUBSCREEN = '0125'.
WHEN C_BDATA-TAB2.
G_BDATA-SUBSCREEN = '0126'.
WHEN OTHERS.
*&SPWIZARD: DO NOTHING
ENDCASE.
ENDIF.
ENDMODULE.
It so happend that the value in G_BDATA-PRESSED_TAB.
is always the Function code of the first tab !! Isn't SAP supposed to set this variable with the function code of the tab selection by the user ??
Why is this behaving so ??
I need to somehow set this variable G_BDATA-PRESSED_TAB.
to the correct function code of the tab selected.
how to achieve this ?
thksresolved...when the tabstrip is created, in the wizard we have to choose scrolling in application server and not scrolling in sap gui !!!
thks -
Dynamic tabs like the one on Developer Center
I'm looking to learn how to build the dynamic tabs like on
the link below:
http://www.adobe.com/devnet/
When you hit each tab the content comes up on the same html
document....layers maybe?
thanks for helping,
SashaTry this:
http://www.fourlevel.com/product/ipanel/index.htm
I have it. Just deployed it on a new site. I love it and 4
Level's support
is top notch.
Walt
"Sasha is in d house" <[email protected]>
wrote in message
news:er9rjt$9ql$[email protected]..
> I'm looking to learn how to build the dynamic tabs like
on the link below:
>
http://www.adobe.com/devnet/
>
> When you hit each tab the content comes up on the same
html
> document....layers maybe?
>
> thanks for helping,
>
> Sasha
> -
Dynamic tabs for the user who is logged in?
Hi!
Is it possible to create dynamically tabs for a TemplateTabContainer or JSPTabContainer during the time a user is logged in?
I know that it is possible for example with the dpadmin command or with the DSAME console but is there another way (for example a programming way)? I don't want to wait for the deployment. Also, it needs to many resources.
If yes do I have to extend this providers (TemplateTabContainerProvider) or is there a way to access on the right instance and can I use the methods? If yes , then which?
Any help is very much appreciated!
AndreasHi,
Have a look at the following threads.
USERS CONNECTED
Re: USERS CONNECTED
Trace Users Currently Connected to Application
Trace Users Currently Connected to Application
Regards,
Hussein -
Additio of a custom Tab to the tabstrip in VD01 under salesarea tab
Hello all,
Can anybody please give me the steps required to achieve the follwing.
I have created custom screen group in SPRO for VD01 and then Implemented the mentod GET_TAXI_SCREEN OF THE badi CUSTOMER_ADD_DATA_CS
But here Iam gettng the custom tab in the application tool bar but not as added tabl for the exising tabstrip avauialbe under SALES AREA tab of VD01.
Is there any appraoch to accomplsih the same ...
If it requires further SPRO customization please let me know
very very very urgent .hi,
here iam elobrating you step by step procedure as per my understanding.
1) Go to SPRO -> Logistics General -> Business Partner -> Customers -> Adoption of
Customer's Own Master Data Fields and execute it. Maintain customer screen
groups will appear. Add the new function code under the screen group ZS and save it.
Ø Function code = Zs
Ø Description = Sales Rep
BADI: CUSTOMER_ADD_DATA
This BADI used to activate the screen group and checks for account group.
2) Inside the method SET_USER_INPUTS, code the logic.
EXPORT L_EXE FROM L_EXE TO MEMORY ID 'ZSALES'. EXPORTED TO MEMORY
BADI: CUSTOMER_ADD_DATA_CS
This BADI used to include the custom screen and to deactivate the sales rep tab
1) implement the implementation yxxxx .
2) Inside the method SET_DATA, code the logic. Export the SAP activity to the memory id ZACT
EXPORT I_ACTIVITY FROM I_ACTIVITY TO MEMORY ID 'ZSALES'.
3) Inside the method SUPPRESS_TAXI_TABSTRIPS, code the logic.
4) Inside the method GET_TAXI_SCREEN, code the logic. The custom screen is included here.
CASE I_TAXI_FCODE.
ENDCASE.
A module pool screen is needed to display the sales rep screen. The screen consists of sales group
Processing Logic:
Basic Code:
PROCESS BEFORE OUTPUT.
MODULE DATABASE_FETCH.
MODULE SCREEN_VALIDATION.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_9001.
PROCESS ON VALUE-REQUEST.
FIELD G_VKGRP MODULE HELP_G_VKGRP.
MODULE DATABASE_FETCH.
regards
kiran -
Inserting a tab in the tabstrip in web ui
Hi Experts,
I would like to insert a new tab in the create quotation view in CRM 7.0 UI. There is green config button per line item of the create qoutation view. If we click on the config button then a standard table view is loaded in the bottom portion of the screen . In standard two tabs are already there, one is for Header and other is for the Item. Now we are going to insert our custom tab, i,e 'discount..
To implement this we have done several changes . Please see below.
1. IUICITEMD component has been enhanced .
2. u2018IUICITEMD/ItemDetailVSu2019 view has been enhanced to incorporate the tabular link. Logic is given below.
u201C/NPC/IUICITEMD/Discountsu201D new custom view has been created with the following fields.
a.Discount attributes
b.Product id
c. Discount product description
View /NPC/IUICITEMD/Discounts view has been added to the viewArea MainVA which has already been embedded in the ViewSet IUICITEMD/ItemDetailVS . u201CIUICITEMD/ItemDetailVSu201D this view set is further assigned outbound plug to MainWindow (default) ..
3. NavigationalLink DISCOUNT_NAV has been created for navigating from Mainwindow to inbound plug of our custom table view. IF Discount tab link is clicked then one outbound plug u201COP_DISCOUNTu201D would be called which in turn call the navigational link for displaying our custom viewu2026
4. Following methods have been enhanced to incorporate the tablink DO_HANDLE_EVENT,WD_CREATE_CONTEXT,DO_PREPARE_OUTPUT,SET_MODELS,IP_DEFAULT,GET_TRAY_TITLE,EH_ONLK_DISCOUNTS,OP_DISCOUNT,FILL_TABLE of the /NPC/CL_IUICCON_ITMDTLVS_IMPL class for the view IUICITEMD/ItemDetailVS .
5. MAINWINDOW has been enhanced to create one outbound plug named "Discounts".
6. In IUICQUOT component in the runtime repository we have added one inbound plug name "IP_DISCOUNT" in the usageIUICITEMD.
The view set is not getting loaded when we are clicking on config button. It is throwing the error message ".do " controller is missing for our custom view.Actually the no inbound plug is not getting called from the event-handler of config button.
Could you please suggest me what actually I need to do at this stage if anyone has worked on it.The Doobie Brothers foretold what becomes of long-term MS Word users.
“What Were Once Vices Are Now Habits”. -
Dynamic Tabs using the PanelTabbed component
I would like to use the PanelTabbed component which is bound to a managed bean to render tabs dynamically. The page will simply consist of a navigationTree on the left and the panelTabbed on the right. When the user clicks a node in the tree I would like to PPR the panelTabbed component to display the new tab. If you know of any examples or could point me in the right direction it would be greatly appreciated!
Thanks,
MattHello Matt,
panelTabbed won't do for that, you're going to need navigationPane using "tabs" hint. The navigationPane should have a partialTriggers on the tree and its value should be a custom MenuModel instance that get populated from click made on the tree.
It's not overwhelming, but I fear there's some complexity in achieving what you want.
Regards,
~ Simon -
How to change the text for the tabs of a tabstrip control dynamically
Hi Guys,
I am having two screens in a transaction.
1. 1st screen has material number as an input and submit push button
2. 2nd screen has two tabs in a tabstrip control.
I want to display material description and plant number as heading for the two tabs based on the material number entered by the user in the 1st screen. Means i want to change the text dynamically. Is there any possible way? If it is there please help me. Very urgent...
Thanks in advance
James.Hi,
If you set the "Output field" attribute for a pushbutton/tab, you can also set its text dynamically in the ABAP program. To do this, you must create a field in the ABAP program with the same name as the pushbutton/tab. You must then assign the required text to the field before the screen is displayed.
For example define a global field in your program called MATNUM(20) and use this as the name for the material number tab on the tabstrip. Then you can assign a text MATNUM = 'Material Number' and this will appear as the tab title. Don;t forget to set the "Output field" attribute on the tab.
Hope it helps -
Multiple TaskFlow instances in the UIShell - popup and dynamic tab
Hi all,
I have strange situation with JDev 11.1.1.6
First, I run the one, fragment based, bounded TF (named TF_A) in the one dynamic tab.
Also, run another TF (named TF_B) in the second dynamic tab.
Then, from that second dyn tab, I run second instance of the first TF, so TF_A, this time as a static region in the af:popup.
However, the instance in the popup does not show the jsf fragment at all.
This occurs _only when another instance of the same TF is already running elsewhere (on the first dynamic tab)
Otherwise, the TF_A in the popup behaves properly.
The TF_A does not have Controller transaction, and this behavior does not depend on the Sharing Data Controll setting. Is the same in both cases.
I am able to close the popup, and the application continues to behave normally.
Of course, there is no stackTrace anywhere.
Any advice ?
Anyone ?
Edited by: Cvele_new_account on Mar 1, 2013 4:08 AMHi Frank, thanks for response.
Do you think that somehow in my case there is only one instance of the TF_A ?
Here is relevant settings for my popup containing static region with TF_A
<af:popup id="pB55" contentDelivery="lazyUncached"
popupFetchListener="#{myBean.crudPopupFetchListener}"
autoCancel="disabled" childCreation="deferred">
<af:panelWindow ...>
<af:region value="#{bindings.TF_A.regionModel}" id="r6"
</af:panelWindow>
</af:popup>myBean.crudPopupFetchListener :
//Task flow activation code (for the TF binding 'active' property bellow)
pageFlowScope.put("pB55", "true);
// code for setting the TF parameters:
.....and here i setting for TF_A binding from the pageDef:
<taskFlow id="TF_A"
taskFlowId="..."
activation="conditional"
xmlns="http://xmlns.oracle.com/adf/controller/binding"
Refresh="ifNeeded" active="#{pageFlowScope.pB55 eq true}">
<parameters>
</parameters>
</taskFlow> -
How to hide a tab from the existing tabstrip of CRMD_BUS2000111 transaction
I have to hide competitor tab from the tabstrip of CRMD_BUS2000111 transaction in CRM. I have tried shd0 but since this is not a dialog transaction we cannot create screen variant. After that I tried BUCO transaction.In BUCO I selected Sales Area data then competitors. But when I double click on compititors it is showing a message VCT control for screen configuration does not exist.
I do not have much idea about BUCO. Can any one help me solving my problem?Friends
With the following command you can register you .ocx ( Visual Buttons Control files ) in windows.
REGSVR32 C:\Progra~1\SAP\FrontEnd\SAPgui\vistransmitter.ocx
The above command will register said file in the registry and facilitate Visual Configurator Tool to run for Screen Sequence Modifications. With the above I also recommend Latest Patch (23), which is available with SAP to update on the windows frontend to avoid some other known frond end issues.
Before doing all above make sure your have 2 files existence in the C:\Progra~1\SAP\FrontEnd\SAPgui folder
Visu_se.exe
vistransmitter.ocx
Best Regards,
Jaswant Purba
[email protected] -
How to provide Tab Name programatically for the new Tab created in Tabstrip
Is it possible to customise the name of the tab for a newly created tab in the tabstrip?
Yes, it is.
Declare a global data with the same name as your tab, type c, with the same length (look at the tab attributes in the screen painter).
Change that in your PBO.
You're done. -
How to focus and navigate the UIShell Dynamic Tabs through keyboard
Hi,
I am using the UIShell which will have the Dynamic tab concept. Here i need to give the keyboard navigation for focusing and navigating between the Dynamic tabs. I have given By providing the access Key concept, By sending the tab(task flow) title preceding with the & and title am displaying through the textAndAccesKey attribute. But in dynamic tab concept, i should not use this, since am allowing the user can open same task flow more than once(with single accesskey multiple tabs will be there). is there any other possibility of quick access without using the accesskey concept like how the IE and Mozilla tab navigation will works by pressing the CTRL+TAB.
Regards,
Brahma...
Edited by: Brahma on Aug 13, 2010 3:37 AMHi,
the solution is a bit ore complex, so here's the outline
1. Create an af:serverListener on the page that can be called to send messages to a managed bean on the server (see chapter 5 of the web developer guide to learn about af:serverListener).
2. Add the following script to a JS library that you reference from af:resource on the page
function registerKeyBoardHandler(serverListener, afdocument) {
_serverListener = serverListener;
var document = AdfPage.PAGE.findComponentByAbsoluteId(afdocument);
_document = document;
for (var i = keyRegistry.length - 1; i >= 0; i--)
var keyStroke = AdfKeyStroke.getKeyStrokeFromMarshalledString(keyRegistry);
AdfRichUIPeer.registerKeyStroke(document, keyStroke, callBack);
function callBack(keyCode) {
var activeComponentClientId = AdfPage.PAGE.getActiveComponentId();
//send the marshalled key code to the server listener for the developer
//to handle the function key in a managed bean method
var marshalledKeyCode = keyCode.toMarshalledString();
// {AdfUIComponent} component Component to queue the custom event on
// {String} name of serverListener
// {Object} params a set of parameters to include on the event.
// {Boolean} immediate whether the custom event is "immediate" - which will cause it
// to be delivered during Apply Request Values on the server, or not immediate, in which
// case it will be delivered during Invoke Application.
//Note that if one of the keyboard functions is to create ADF bound rows, immediate must be set
//to false. There is no option yet for the ClientEvent to be queued for later - InvokeApplication
//- on the server.
AdfCustomEvent.queue(_document,_serverListener,{keycode:marshalledKeyCode, activeComponentClientId:activeComponentClientId},false);
//indicate to the client that the key was handled and that there
//is no need to pass the event to the browser to handle it
return true;
3. The JavaScript file also contains the registry of keys you want to listen for
var keyRegistry = new Array();
keyRegistry[0]="F1";
keyRegistry[1]="F2";
keyRegistry[2]="F3";
keyRegistry[3]="F4";
keyRegistry[11]="alt 2";
4. on the beforePhase property on the f:view tag of the page, reference a managed bean method like thispublic void registerKeyboardMapping(PhaseEvent phaseEvent) {
if(phaseEvent.getPhaseId() == PhaseId.RENDER_RESPONSE){
FacesContext fctx = FacesContext.getCurrentInstance();
ExtendedRenderKitService erks = Service.getRenderKitService(fctx, ExtendedRenderKitService.class);
List<UIComponent> childComponents = fctx.getViewRoot().getChildren();
//First child component in an ADF Faces page - and the only child - is af:document
//Thus no need to parse the child components and check for their component family
//type
String id = ((UIComponent)childComponents.get(0)).getClientId(fctx);
StringBuffer script = new StringBuffer();
script.append("window.registerKeyBoardHandler('keyboardToServerNotify','" + id +"')");
erks.addScript(fctx, script.toString());
The "keyboardToServerNotify" name is the name my af:serverListener component has
5. The serverListener defined on the page<af:serverListener type="keyboardToServerNotify"
method="#{viewScope.keyboardMappingHandler.handleKeyboardEvent}"/>
The above codes send the marshalled string for all pressed keys (that you have registered) to the server (the method configured for the serverListener. This way you can now on the server handle the keys and the
component the key is pressed on. To register dynamic tabs in the UI Shell (the part I did not yet implement) is to have a keyboard shortcut to register a key for a tab and then another keyboard shortcut to invoke a
method (disclosed) on a tab is the registered key is pressed.
Hope this helps.
Frank
Ps.: The full sample is part of my OOW demo (September) which I am currently preparing for. Once OOW is over and the dust has settled, I'll document the full sample and release it on ADF Coder Corner with a sample workspace to try
Maybe you are looking for
-
the ipod is disabled, when i plug it in to my pc it says it can not connect without the passcode being put into the ipod, how do i fix it?
-
Sql expressions in Forms 4.5 Record Groups
I have a record group that was asked to change, and when I change it I get an 'Unhandled exception error in icrg 102' and then a Frm-12001. I've tracked it down to a view that uses a function call to format a address line. If I put the function call
-
Can you create an assertion inside the current UI map you have already created and how?
Hi all I have been following the best practice guideline of creating multiple UI maps. The problem is now when using the Code UI builder to create Assertions for my test methods, as soon as you create an assertion it creates and places it into a defa
-
Why, when I try to do a search, does the system change the wording to another subject
I ask for information on High voltage feed back from my KDL -46XBR9 TV into my cable box, causing damage to the cable box. I still need an answer on that problem, but the Sony search engine changes the wording to programing, widgets and other garbage
-
Wad reqt - Combining two individual charts
Hello Experts, I have a requirement in WAD where in I have two stacked column charts as shwon below. These two column charts are using two different queries. First column chart shows keyfigures related to LT. Second column