How to add drop down in SAP screen module pool
Hi,
Can you please advise me on how to add drop down in SAP module pool screen (a drop down with fixed set of values).
Thanks
Mohit
Hi,
Hope it helpful.
Refer the Program : rsdemo_dropdown_listbox
Regards,
Venkat.
Similar Messages
-
How to create Drop Down box in screen painter..??
Can anybody give me sample code or detailed description about creating Drop-Down Box in a screen...??
I have created the drop down box in screen..
But how to make data to be visible in Dropdown box, when i click the drop icon in that box...???
Regards
Pavan SanganalHere are couple of DEMO programs for the same functionality
DEMO_DROPDOWN_LIST_BOX
DEMO_DYNPRO_DROPDOWN_LISTBOX
You execution sequence will be PBO - Process before output, then the screen is displayed and the PAI Process after input.
Regards,
Ravi
Note : Please mark all the helpful answers -
How to add drop down list through personalization on seeded page with value
Hi All
I am trying add add drop down list through personalization on seeded page with value
I have go through with anill passi's block
still I am getting problem to createI have download that page from server via mds
but when I open that page in Jdev it doesnt shows any options like
status
even I have open that page in xml also but still doesnt shows any options like status
following is xml file
<?xml version="1.0" encoding="UTF-8" ?>
- <!-- dbdrv: exec java oracle/jrad/tools/xml/importer XMLImporter.class java &phase=dat+24 checkfile:~PROD:~PATH:~FILE &fullpath_~PROD_~PATH_~FILE -username &un_apps -password &pw_apps -dbconnection &jdbc_db_addr -userId "1" -rootPackage /oracle/apps/~PROD -rootdir &fullpath_~PROD_mds_directory
-->
- <page xmlns="http://xmlns.oracle.com/jrad" xmlns:ui="http://xmlns.oracle.com/uix/ui" xmlns:oa="http://xmlns.oracle.com/oa" xmlns:user="http://xmlns.oracle.com/jrad/user" file-version="$Header: VacSrchPG.xml 120.3 2006/04/27 09:08:34 gganesan noship $" version="9.0.3.8.7_942" xml:lang="en-US">
- <content>
- <oa:pageLayout helpTargetAppShortName="per" id="IRC_VAC_SEARCH_PAGE" akRegionCode="IRC_VAC_SEARCH_PAGE" regionName="Vacancy Search Page" shortDesc="Page to enable managers to search for vacancies" amDefName="oracle.apps.irc.vacancy.server.VacancySearchAM" controllerClass="oracle.apps.irc.vacancy.webui.IrcVacSearchCO" helpTarget="PER_vacancy_VacSrchPG" function="IRC_CM_VACANCY_SEARCH" windowTitle="Vacancies" title="Vacancies">
- <ui:corporateBranding>
<oa:image id="corporateBranding" source="/OA_MEDIA/FNDSSCORP.gif" />
</ui:corporateBranding>
- <ui:productBranding>
<oa:image id="productBranding" source="/OA_MEDIA/IRCBRAND.gif" />
</ui:productBranding>
- <ui:contents>
<oa:query mode="autoCustomizationCriteria" dispSimple="true" dispCustomized="true" prompt="Search" id="VacancySearchQuery" user:akAttributeCode="FND_NESTED_REGION1" user:akAttributeApplicationId="0" extends="/oracle/apps/irc/vacancy/webui/VacSrchQueryRN" />
<oa:formParameter id="IrcAction" adminCustomizable="false" user:akAttributeCode="FND_ACTION_NAME" user:akAttributeApplicationId="0" />
<oa:formParameter id="IrcActionValue" adminCustomizable="false" user:akAttributeCode="FND_PRIMARY_KEY_VALUE" user:akAttributeApplicationId="0" />
<oa:formParameter id="IrcActionType" adminCustomizable="false" user:akAttributeCode="FND_ACTION_TYPE" user:akAttributeApplicationId="0" />
<oa:formParameter id="IrcFunction" adminCustomizable="false" user:akAttributeCode="FND_FUNCTION_NAME" user:akAttributeApplicationId="0" />
<oa:formValue prompt="IRC_VAC_SEARCH_FLEX_PAGE" id="VacancyIdFlexDrill" promptTranslationExpansion="100%" user:akAttributeCode="FND_LINK_1" user:akAttributeApplicationId="0" />
<oa:formValue id="IRC_SEARCH_INSTR_TEXT" rendered="false" />
</ui:contents>
- <ui:copyright>
<oa:messageStyledText id="ICX_COPYRIGHT" extends="/oracle/apps/irc/common/webui/StandardFooterRN.ICX_COPYRIGHT" />
</ui:copyright>
- <ui:privacy>
<oa:link id="ICX_PRIVACY" extends="/oracle/apps/irc/common/webui/StandardFooterRN.ICX_PRIVACY" />
</ui:privacy>
</oa:pageLayout>
</content>
</page> -
How to add drop down list for query manager report in sap business one
Hi Every one,
I need drop down list for parameter selection in sap business one Query Manager.I have two Parameters 'Sales Order','Invoice'.
Please suggest.
Thanks and Regards
DEVHi,
you need to use this :
/*select from [dbo].[OINV] T2*/
DECLARE @Invoice varchar(100)
/*where*/
set @Invoice =/* T2.DocNum */N'[%2]'
you can change the tables and the parameter number but you have to write it exactly that way.
when you run the query within the SBO you will get list of objects ( in this case list of invoices)
hope it was helpful
Shachar -
How to create a Drop down with values in Module Pool for a screen field.
Hi all,
I have created a Screen on which one field is created Say Bank Name. I would like to give some spcific value for this fileld where user can select only seeing in drop down cann't enter.
Can anyone tell how can we do it ?Hi,
The selected value key will be stored in the parameter.
eg: Refer below code. Here if i select Vinod then po_name will be 1. After this read i_values WITH this key and get the actual value.
PARAMETERS: po_name(30) TYPE c VISIBLE LENGTH 20 AS LISTBOX.
TYPE-POOLS: VRM.
DATA: i_values TYPE vrm_values,
wa_values LIKE LINE OF i_values.
AT SELECTION-SCREEN OUTPUT.
wa_values-key = '1'.
wa_values-text = 'Vinod'.
APPEND wa_values TO i_values.
wa_values-key = '2'.
wa_values-text = 'Kumar'.
APPEND wa_values TO i_values.
wa_values-key = '3'.
wa_values-text = 'Reddy'.
APPEND wa_values TO i_values.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = 'PO_NAME'
values = i_values
EXCEPTIONS
id_illegal_name = 1
OTHERS = 2.
START-OF-SELECTION.
READ TABLE i_values INTO wa_values WITH KEY key = po_name.
MOVE wa_values-text TO w_name. " This will be ur actual value.
Thanks,
Vinod.
Edited by: Vinod Reddy Vemuru on Jul 8, 2008 4:16 PM -
How to add drop down list in toolbar?
Hi SAP CRM Experts,
After save the personalization of the view, there will be a drop down list appeared in the toolbar in the view, the drop value contain the personalization you just saved and the standard one.
Could someone let me know how to enhance this functionality to create not only the view configuration but also customizing field drop down list?
That means we want drop down list in toolbar which contain several options also it's value could pass to view controller.
Thanks in advance...
TonyCould someone kindly help?
-
How to add Drop Down City Selection Menu?
How is the best way to add a Drop Down City Selection Menu to my site next to MyCITY logo? This page should be selection on Los Angeles (w arrow icon next to it), but I need 4 other city choices. It needs to drop down like RESTAURANTS with an arrow. Not sure the best way to approach this.
http://www.tammyfarringtoncreative.com/test/index.html
Thanks, TammyAre you looking for a form select list?
http://www.w3schools.com/tags/tag_select.asp
Nancy O. -
How to add ALV button using OO in module pool program using ALV grid
Hello Gurus!!!
Want some tips related how to add button using ALV Grid(OO).
I want to display the button for search, sort ....
Please suggest the step -by-step procedure for implementation of these button.
I am designing the code for transaction FB03. Header data has been displayed but want to display the line items.
Kindly suggest your answers.
Thanks,
SachinHi,
CLASS SELSCR_APPLICATION DEFINITION DEFERRED.
CLASS SELSCR_APPLICATION DEFINITION.
PUBLIC SECTION.
METHODS:
HANDLE_TOOLBAR
FOR EVENT TOOLBAR OF CL_GUI_ALV_GRID
IMPORTING E_OBJECT E_INTERACTIVE,
HANDLE_USER_COMMAND
FOR EVENT USER_COMMAND OF CL_GUI_ALV_GRID
IMPORTING E_UCOMM.
ENDCLASS. "SELSCR_APPLICATION DEFINITION
CLASS SELSCR_APPLICATION IMPLEMENTATION.
METHOD HANDLE_TOOLBAR.
DATA: LS_TOOLBAR TYPE STB_BUTTON.
append SAVE icon
CLEAR LS_TOOLBAR.
MOVE 'SAVE' TO LS_TOOLBAR-FUNCTION.
MOVE ICON_SYSTEM_SAVE TO LS_TOOLBAR-ICON.
MOVE 'Save' TO LS_TOOLBAR-QUICKINFO.
MOVE ' ' TO LS_TOOLBAR-DISABLED.
APPEND LS_TOOLBAR TO E_OBJECT->MT_TOOLBAR.
CLEAR LS_TOOLBAR.
ENDMETHOD. "handle_toolbar
METHOD HANDLE_USER_COMMAND.
CASE E_UCOMM.
WHEN 'SAVE'.
PERFORM UPDATE_FIELDS.
ENDCASE.
ENDMETHOD.
ENDCLASS. "SELSCR_APPLICATION IMPLEMENTATION
these lines should be after calling method SET_TABLE_FOR_FIRST_DISPLAY
SET HANDLER G_APPLICATION1->HANDLE_TOOLBAR FOR GRID1.
CALL METHOD grid1->set_toolbar_interactive.
rgds,
bharat. -
How to Add Drop Down Menu to Other Pages from a Navigation Bar Title Link
Hi,
I am going thru ' Dreamweaver 8 Missing Manual', but I need some direction.
Do I need to use Behaviors and Extension to accomplish this?
cheers,
Dreamer101.1
My Naivation Bar looks Like this so far.Google "Server Side Include" and see if that gets you anywhere?
It's not really a DW thing but it's a very popular way of doing what you want to achieve. It's also a very efficient way to use your code.
Martin. -
How to put drop down in table control ?
Hi All,
I m writing one module pool program to edit table.
I want dropdown to one field so that user can select the appropriate value. And also I want to save that record.
So how to get the dropdown list and after editing that record how to save that in the database?
Thanx in advance.
-UmeshHi Umesh,
Please check this demo program RSDEMO_TABLE_CONTROL on how to add drop down list in table control. Also check this program DEMO_DYNPRO_TABCONT_LOOP_AT as well.
To save to database you can code something like this in PAI.
MODULE USER_COMMAND_0100 INPUT.
SAVE_OK = OK_CODE.
CLEAR OK_CODE.
CASE SAVE_OK.
WHEN 'SAVE'.
MODIFY <database table> FROM TABLE <table control>.
IF SY-SUBRC = 0.
ELSE.
ENDIF.
WHEN OTHERS.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
Hope this will help.
Regards,
Ferry Lianto -
How to create Drop down menu in the selection screen
Hi all,
How to create Drop down menu in the selection screen.
Fast answer will be highly rewarded
Regards
Bikashi ,
TYPE-POOLS : vrm.
TABLES:vbak,vbap.
DATA : v(80) TYPE c.
DATA: wa_vbak TYPE vbak,
it_vbak TYPE vbak OCCURS 0 WITH HEADER LINE,
wa_vbap TYPE vbap,
it_vbap TYPE vbap OCCURS 0 WITH HEADER LINE.
DATA: l_name TYPE vrm_id,
li_list TYPE vrm_values ,
v_count TYPE i,
l_value LIKE LINE OF li_list.
PARAMETERS: p_test(20) AS LISTBOX VISIBLE LENGTH 60 MODIF ID DAT.
INITIALIZATION.
AT SELECTION-SCREEN OUTPUT.
PERFORM get_data.
LOOP AT it_vbak.
l_value-key = it_vbak-vbeln .
l_value-text = it_vbak-vbeln .
APPEND l_value TO li_list.
ENDLOOP.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = 'P_TEST'
values = li_list
EXCEPTIONS
id_illegal_name = 1
OTHERS = 2.
AT SELECTION-SCREEN ON P_TEST.
clear : li_list , li_list[].
SELECT vbeln
matnr
meins
FROM vbap
INTO CORRESPONDING FIELDS OF TABLE it_vbap
WHERE vbeln = p_test.
START-OF-SELECTION.
SELECT vbeln
matnr
meins
FROM vbap
INTO CORRESPONDING FIELDS OF TABLE it_vbap
WHERE vbeln = p_test.
LOOP AT it_vbap.
WRITE :/ it_vbap-vbeln, it_vbap-matnr,it_vbap-meins.
ENDLOOP.
*& Form get_Data
text
--> p1 text
<-- p2 text
FORM get_data .
SELECT vbeln
FROM vbak
INTO CORRESPONDING FIELDS OF TABLE it_vbak.
ENDFORM. " get_Data
regards,
venkat. -
How to create Drop-Down with Function Module REUSE_ALV_GRID_DISPLAY
Hi Experts,
I have used Reuse_alv_grid_display function module in my report for ALV output. I have a requirement to add drop down in one cell of my output. I have searched but all are suggesting through OOPS programing that I can not use.
If it is possible with the given scenerion , please help me how to write the code for it?
Thanks a bunch in advance.Hi,
You can check demo programs:
BCALV_EDIT_06
BCALV_EDIT_07
Hope it helps
Regards
Mansi -
Setting values in Drop down list in Screen Painter
Hello Freinds,
I have the requirement as, I have drop down list in screen painter and want to fill the values in that list using database table.
So using foreign key table I have updated the values in the list.
But now client wants me to fill the dropdown list with ID as well as description..
Please suggest me how to achieve this.
Thanks and Regards
NishadHi,
You the FM 'F4IF_INT_TABLE_VALUE_REQUEST' and try.
Fill the internal table with the key and description and pass the same to above FM.
You will get sample code by searching the forum.
Thanks.
Anversha -
Drop Down In Selection Screen Field
Hi experts,
I have an requirement to add Drop Down in one of my Selection Screen Field. This field is for Status where the values are stored in short text manner like R,M etc. In Drop Down I have to define the Abbreviation for these . Please if anybody can help me through code or options for the same.
Thanks in Advance.take this example
PARAMETERS: P_YEAR(8) AS LISTBOX VISIBLE LENGTH 8.
AT SELECTION-SCREEN OUTPUT ."ON P_YEAR .
NAME = 'P_YEAR'.
VALUE-KEY = 'A'.
VALUE-TEXT = '2008'.
APPEND VALUE TO LIST.
NAME = 'P_YEAR'.
VALUE-KEY = 'B'.
VALUE-TEXT = '2009'.
APPEND VALUE TO LIST.
NAME = 'P_YEAR'.
VALUE-KEY = 'C'.
VALUE-TEXT = '2010'.
APPEND VALUE TO LIST.
NAME = 'P_YEAR'.
VALUE-KEY = 'D'.
VALUE-TEXT = '2011'.
APPEND VALUE TO LIST.
NAME = 'P_YEAR'.
VALUE-KEY = 'E'.
VALUE-TEXT = '2012'.
APPEND VALUE TO LIST.
NAME = 'P_YEAR'.
VALUE-KEY = 'F'.
VALUE-TEXT = '2013'.
APPEND VALUE TO LIST.
NAME = 'P_YEAR'.
VALUE-KEY = 'G'.
VALUE-TEXT = '2014'.
APPEND VALUE TO LIST.
NAME = 'P_YEAR'.
VALUE-KEY = 'H'.
VALUE-TEXT = '2015'.
APPEND VALUE TO LIST.
NAME = 'P_YEAR'.
VALUE-KEY = 'I'.
VALUE-TEXT = '2016'.
APPEND VALUE TO LIST.
NAME = 'P_YEAR'.
VALUE-KEY = 'J'.
VALUE-TEXT = '2017'.
APPEND VALUE TO LIST.
NAME = 'P_YEAR'.
VALUE-KEY = 'K'.
VALUE-TEXT = '2018'.
APPEND VALUE TO LIST.
NAME = 'P_YEAR'.
VALUE-KEY = 'L'.
VALUE-TEXT = '2019'.
APPEND VALUE TO LIST.
NAME = 'P_YEAR'.
VALUE-KEY = 'M'.
VALUE-TEXT = '2020'.
APPEND VALUE TO LIST.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
ID = NAME
VALUES = LIST
EXCEPTIONS
ID_ILLEGAL_NAME = 1
OTHERS = 2
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
How to create drop down option in service manager 2012 incident portal
Hii,,
Please assist how to create drop down option in service manager 2012 SP1 default incident portal. We would like to provide the drop down option in "Please enter the title for the Issue" to our users.
Regards, Syed Fahad AliAs was already referenced, you could use a Simple List for the prompt, however if you are referring to the default General Incident that is available out-of-the-box, you might be limited in what you can modify.
I did some work for a client, that wanted to have a list and other options for the General Incident through the Portal. So, I ended up having to create a custom General Incident instead of using the default one, which will then allow you to add any type
of prompts, and configure them as you want (i.e. with a simple list).
Maybe you are looking for
-
Help! I want to upgrade to the new Mountain Lion OS but first need to upgrade rto 10.6.8. I'm currenty running 10.5.8. When i try the Software update from my desktop apple menu, it says i already have the most redent software. I tried downloading 10.
-
My trackpad is not working properly already. Is it eligible for replacement?
My trackpad is not working properly sometimes and it takes too long for my macbook to open
-
Synch Current Messages and Calls
I Synched my iPhone 5s to a 4s backup but my current messages and phone are not updated. Please help
-
TS1702 I have the Simpsons Tapped Out game
I have the Simpsons tapped Out game and was quite involved and established... all of a sudden it has reverted to the START again!! I am NOT impressed.. ( I know its not your fault) but what can I do to recover the game as I had it ?
-
Ical time shows when looking at it but printed three dots show up
Just wondering if anybody could help me out. When I look at the calendar everything looks correct but when I print the time is not showing and three dots show up in front instead of the time any ideas.