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”.
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 -
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 -
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 -
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 -
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 -
Disable the 'OUTPUT' Tab in the SRM PO Web Browser for SRM Employee Role
Hi All,
I would like to Disable 'OUTPUT' Tab in SRM PO (Web browser) for different users who are assigned to SRM Employee Role (who has PO Display Authorization) to restrict PO Print Preview only (not to restrict displaying PO field values in SRM Web Browser). I have to have BBP_PD_PO activity as 'Display' to display field values in SRM PO Web Browser - Under SRM Employee Role.
Let me know the solution for the above requirement.
Thanks a lot in advance.
Regards,
SudarsanHi all,
I have the same problem with the PO Output tab.
I would like to disable the Output tab for any user without modification.
SCREEN BADI is not working, because with screen BADI you can only influence position fields, here we ve got a TAB /Field on header level.
CHECK BADI: I did not get the message here. How should I block the user to change the output format only by throwing a message within CHECK_BADI?
The only way I see is a modification to disable the whole Tab.
@ Sudarsan:
You can make a modification within Include LBBP_PO_UI_ITSF0A
Disable output tab at Header Level
If g_prg-data eq gc_outprg.
screen-input = gc_off
endif.
--> switch screen-input to gc_off at any time!
Any other ideas how to disable mail or fax option for users without using a modification?
Thanks
Kind regards
Andreas -
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 -
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. -
Problem when inserting Spry Tabbed Panels
Hi all,
Just lately i started to get this message when inserting spry
tabs
" ! The structure of this widget appears to be damaged. Go to
Code view and repair the widget, or replace the widget."
Anyone know why and how to fix it? At first i thought it has
something to do with my current page, but when i tried in a blank
html, still got the same problem.
I have CS3 and Spry 1.6.1. I didnt touch the .js and .css
file for this spry. I checked for Spry updates, installed and
reinstalled spry, still get the same message.
Please help!!!
thanksThanks Kin,
here is the code. i created a new html and inserted tabs from
the spry tab. no other changes are made. Still getting the same
error.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<title>Untitled Document</title>
<script src="file:///C|/Documents and
Settings/xd064c/Application Data/Adobe/Dreamweaver
9/Configuration/Temp/Assets/eam50.tmp/SpryTabbedPanels.js"
type="text/javascript"></script>
<link href="file:///C|/Documents and
Settings/xd064c/Application Data/Adobe/Dreamweaver
9/Configuration/Temp/Assets/eam50.tmp/SpryTabbedPanels.css"
rel="stylesheet" type="text/css" />
</head>
<body><div id="TabbedPanels1"
class="TabbedPanels"><ul
class="TabbedPanelsTabGroup"><li class="TabbedPanelsTab"
tabindex="0">Tab
1</li><li class="TabbedPanelsTab"
tabindex="0">Tab 2</li></ul><div
class="TabbedPanelsContentGroup"><div
class="TabbedPanelsContent">Content
1</div><div class="TabbedPanelsContent">Content
2</div></div></div><script
type="text/javascript">
<!--
var TabbedPanels1 = new
Spry.Widget.TabbedPanels("TabbedPanels1");
//-->
</script></body></html>
>>>>>Also, the add panel function from the
properties panel doesnt work correctly. the code below is what i
get when i add a panel.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<title>Untitled Document</title>
<script src="file:///C|/Documents and
Settings/xd064c/Application Data/Adobe/Dreamweaver
9/Configuration/Temp/Assets/eam50.tmp/SpryTabbedPanels.js"
type="text/javascript"></script>
<link href="file:///C|/Documents and
Settings/xd064c/Application Data/Adobe/Dreamweaver
9/Configuration/Temp/Assets/eam50.tmp/SpryTabbedPanels.css"
rel="stylesheet" type="text/css" />
</head>
<body><div id="TabbedPanels1"
class="TabbedPanels"><ul
class="TabbedPanelsTabGroup"></ul><div
class="TabbedPanelsContentGroup"></div><ul
class="TabbedPanelsTabGroup"></ul><div
class="TabbedPanelsContentGroup"></div><ul
class="TabbedPanelsTabGroup"></ul><div
class="TabbedPanelsContentGroup"></div><ul
class="TabbedPanelsTabGroup"></ul><div
class="TabbedPanelsContentGroup"></div><ul
class="TabbedPanelsTabGroup"><li class="TabbedPanelsTab"
tabindex="0">Tab
1</li><li class="TabbedPanelsTab"
tabindex="0">Tab 2</li></ul><div
class="TabbedPanelsContentGroup"><div
class="TabbedPanelsContent">Content
1</div><div class="TabbedPanelsContent">Content
2</div></div></div><script
type="text/javascript">
<!--
var TabbedPanels1 = new
Spry.Widget.TabbedPanels("TabbedPanels1");
//-->
</script></body></html>
Thank you. -
Adding a new Tab In the Tab Strip - T Code Co01
Hii..
Please Suggest me How I should add an New Tab in the Tabstrip in T Code SO01.?
On Clicking the new tab ,a new Screen has to be Called.& some Custom fields requires to be Captured
I have identified an Enhancement PPCO0012
Please let me know how to make use of the Screen Exit.
Thanks in Advance
CheersHii..
Please Suggest me How I should add an New Tab in the Tabstrip in T Code CO01 ?
On Clicking the new tab ,a new Screen has to be Called.& some Custom fields requires to be Captured
I have identified an Enhancement PPCO0012
Please let me know how to make use of the Screen Exit. -
Using tabs and the like.
The information on the Sun website wasn't too helpful when dealing with a tabbed pane. Maybe I can get the solution I want here.
First of all, how would you deal with making use of the JTabbedPane class and the tabs you want to use in them? In short, how do you make each tab do its function on click? Second, what is the best method of changing the objects within the GUi frame using the tabs?
Using a GUI builder(either NetBeans, Eclipse's own, or Jigloo), I assumed the best action was to construct panels before hand in seperate classes, and have the individually created panels imported and called within the frame on initialization or on the click of a tab. As much as I'd like to think that is it, there could be an easier way I don't know of. Or I could be taking the wrong approach altogether.A tabbed pane is a container that displays only one child component at a time. Typically, the children are themselves containers of other components. Each child is associated with a visible tab on the tabbed pane. The user can choose a child to display by selecting the tab associated with that child.
// Create a child container which is to be associated with a tab
JPanel panel = new JPanel();
// Add components to the panel...
// Specify on which edge the tabs should appear
int location = JTabbedPane.TOP; // or BOTTOM, LEFT, RIGHT
// Create the tabbed pane
JTabbedPane pane = new JTabbedPane();
// Add a tab
String label = "Tab Label";
pane.addTab(label, panel);
// Create a tabbed pane
JTabbedPane pane = new JTabbedPane();
// Add a tab with a label taken from the name of the component
component1.setName("Tab Label");
pane.add(component1);
// Add a tab with a label at the end of all tabs
String label = "Tab Label";
pane.addTab(label, component2);
// Add a tab with a label and icon at the end of all tabs
Icon icon = new ImageIcon("icon.gif");
pane.addTab(label, icon, component3);
// Add a tab with a label, icon, and tool tip at the end of all tabs
String tooltip = "Tool Tip Text";
pane.addTab(label, icon, component4, tooltip);
// Insert a tab after the first tab
int index = 1;
pane.insertTab(label, icon, component5, tooltip, index);
//A tabbed pane fires a change event whenever the selected tab is changed either by the user or programmatically.
// Register a change listener
pane.addChangeListener(new ChangeListener() {
// This method is called whenever the selected tab changes
public void stateChanged(ChangeEvent evt) {
JTabbedPane pane = (JTabbedPane)evt.getSource();
// Get current tab
int sel = pane.getSelectedIndex();
}); -
Addition Tab in Item Tabstrip of MIGO
Hi Gurus,
I need to add a custom tab in the Items TabStrip in MIGO called Details...there are already 5-6 by default already.
I have created the implimentation for BADI MB_MIGO_BADI
But i dont knw hw to create tabs in the tabstrip now
Plz guide me so i can proceed further ?
wait for reply...
thanks in advance ..
khushboo.Hi,
Check the example implementation class CL_EXM_IM_MB_MIGO_BADI.
Check methods PBO_DETAIL,PAI_DETAIL,etc.
I think this will help u to add new subscreen.
Regards,
Ashok. -
Two 'Qualifications' tab in a tabstrip.
Hi,
In E-Recruitment, when I click on 'Apply' button from the page, which lists all the Jobs, I am getting a page with tabstrips, where I can find 2 'Qualifications' tab there in the tabstrip.
The BSP application responsibe for the 'Apply Job' functionality is HRRCF_REG_APPLN and it is using in the standard form only (not customised at all).
Could you please tell me, why it's showing 2 'Qualifications' tab in the tabstrip? Is it any configuration issue?
Navigation details:
E-Rec : Employees-> Apply Directly-> (Select a job)->Apply
Your help in this regard is highly appreciated.
Thanks,
JohnHi,
its not possible to make the number of tabs dynamic.for this u just create max number of tabs.based on the number of records selected by the customer show the tabs u want and make the other tabs inactive.
see this code.
MODULE STATUS_0101 OUTPUT.
SET PF-STATUS 'MENU1'.
SET TITLEBAR 'TIT1'.
DO 20 TIMES.
NUM = SY-INDEX.
CONCATENATE 'TAB' NUM INTO ACT_TAB.
SELECT TAB_STATUS INTO TAB_STATUS FROM ZTMW_WRKBNCH_TAB
WHERE WORK_BENCH_TAB = NUM.
IF tab_status = 'X'.
LOOP AT SCREEN.
IF SCREEN-NAME = ACT_TAB.
SCREEN-INVISIBLE = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ELSE.
LOOP AT SCREEN.
IF SCREEN-NAME = ACT_TAB.
SCREEN-INVISIBLE = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
ENDSELECT.
IF SY-SUBRC <> 0.
LOOP AT SCREEN.
IF SCREEN-NAME = ACT_TAB.
SCREEN-INVISIBLE = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
ENDDO.
ENDMODULE.
regards,
bharat.
Maybe you are looking for
-
How to reverse A/P return with wrong price update
Hi all expert, Case as below: 1. Key in GRPO 1959 u2013 received stock from supplier 20ctn, unit price 130/ctn. Journal entry created as below: Dr finish goods RM 2600, Cr Goods received not invoiced RM 2600. 2. After that issue A/P return t
-
Margins in SAPScript doesn't appear in some printers.
Hi everyone, How come one of my client's printer doesn't have a margin from the SAPScript. But whenever I test the AP Voucher to another printer the margin comes out. I need a solution or at least explanation on this. Points will be given. Thank you!
-
Not able to assign Std Purch Org?
Dear Gurus, I have defined std purch org and i have assigned it to my comp code as well as plant.But, while assigning std purch org to plant, it is throwing me error as "No entries found that match selection criteria". Pls guide me as how to solve th
-
Web Service exposing Java Collaborations vs designing with eInsight
Hello I have relatively little experience in designing and implementing web services. We are now looking at implementing some minor services with JCAPS. I would like to have some input on above subject. what are the pros and cons using either of the
-
Is it hard to add a link to a web page within a Java text scroller? Can I do it within a parameter tag (I would doubt that but I'm hoping) or does it have to be within the java source? Thank you!