Adding selection parameter in VF04 selection screen

Hi Gurus...
I need to add a selection parameter on selection screen of VF04 transaction.
Is it possible to do so?
If yes, please tell me how.
Thanks.

HI Jagdish
You can go in for Source Code Enhancements. (wont require the access key in this case)
Note - Available SAP ERP 6.0 onwards
1) Just click on the spiral (ENHANCE) button
2) Right click on the suitable enhancement point / Enhancement Section
3) Go to Enhancement Implementation -> Create
4) Add your code in the enhancement implementation and activate
You will need to add your code at multiple place (Obviously !!); just use the same implementation for all the Point / Sections you use in the program.
Refer Source Code Enhancements - Part 5 of the Series on the New Enhancement Framework for more.
Hope it helps. Please revert in case of specific issues.
Neeraj

Similar Messages

  • Adding new parameter in ME28 selection screen

    Hi All,
    Did anyone know how to add in a new parameter(select-options) in ME28 selection screen?
    I'm only able found one enhancement for this requirement.
    In program
    i create a new implementation for ENHANCEMENT-POINT RM06EF00_02 and write the
    For eg:
    PARAMETERS:     p_matnr LIKE mara-matnr.
    The new parameter displayed in ME28.
    Anyhow, i'm not able to change the selection text from p_matnr to "Material Number" as there is no enhancement in INITIALIZATION for me to set the text dynamically. (i'm not able to change the text element via goto->text elements->selection texts as its standard sap).
    Can someone please share if you've done this enhancement before?
    Really appreciate your input and advise.
    Thanks.
    Regards,
    Sham.

    Hi Sham,
    I copy standard program of me28(RM06EF00) and implement the code.
    Regards,
    Quddus.

  • Multiple select parameter with each selected value covering multiple sub values

    Hello, everyone,
    In my SSRS report, I need to set a multiple select parameter called Group, with values: group1 group2, etc....
    When group1 is selected, it needs to apply to data of certain sub groups: sub-group1, sub-group2;
    When group2 is selected, it needs to apply to data of different sub groups: sub-group3, sub-group4 and sub-group5;
    when both group1 and group2 are selected, then, it needs to apply to data of sub-group1 to sub-group5.
    I know how to do it when only one group is selected: simply use a case statement in the query to select the right sub groups based on the group selected.
    But I don't know a good way to do it when multiple groups are selected.
    Any help, pointers are much appreciated. Thanks in advance!
    Regards

    Hi QQFA,
    If I understand correctly, there are two parameters (Group and Sub_group) in the report. When we select group1 in Group parameter, it will auto select sub-group1, sub-group2 in the Sub_group parameter; when we select group2 in Group parameter, it will auto
    select sub-group3, sub-group4 and sub_group5 in the Sub_group parameter; when we select both all, it will auto select all sub_group values. If I have misunderstood, please don't hesitate to let me know.
    In this scenario, we can create a temporary table with Group and Sub_group columns, then select Sub_group column values based on the Group field. For more details, please see:
    Create a dataset with the query below:
    CREATE TABLE #temp([group] nvarchar(50),sub_group nvarchar(50))
    INSERT INTO #temp VALUES     ('group1','sub-group1'),('group1','sub-group2'),('group2','sub-group3'),('group2','sub-group4'),('group2','sub-group5')
    SELECT * FROM  #temp
    where [group]  in (@Group)
    Set available values and default values of Sub_group parameter with get values from the sub_group field in the new dataset.
    Note that the two parameters are all multiple parameters.
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to make new scop of list and selection parameter in ME2L or ME2M

    Hi,
      As there are many reports avaliable ,  in ME2L and ME2M  there is scope of list and selection parameter on the selection screen,  i want to know how we can create new scope of list and new selection parameter.
    regards,
    zafar

    IMG ---> Material Management ---> Purchasing ---> Reporting ---> Maintain Purchasing Lists ---> Scope of List ---> Define Scope of List

  • Adding a new field to selection screen -Effect on variant

    Hello,
      If we add a new (non obligatory) field to a slection screen, is there any impact on existing variants? Does SAP regenerate each variant when the screen change transport get applied? We had a DB lock jam situation in our PRD system for VARI table and the previous day some program changes with a added selection screen parameter ( a check box) had moved).
    Regards,
    Hari.

    Adding a field to the selection screen shouldn't affect existing variants (but the field will be blank for all variants). However, if there is a problem, you should be able to retrieve variants with program RSVARDOC_610.
    Rob

  • Problem in getting parameter value from selection screen in web dynpro abap

    Hi,
    I am facing problem in getting parameter value from selection screen.
    Please find my code below:
    DATA LT_PAR_ITEM TYPE IF_WD_SELECT_OPTIONS=>TT_SELECTION_SCREEN_ITEM.
    FIELD-SYMBOLS:<FS_PAR_ITEM> LIKE LINE OF LT_PAR_ITEM,
                                 <FS_OBJ_USAGE>    TYPE REF TO data.
      WD_THIS->M_HANDLER->GET_PARAMETER_FIELDS( IMPORTING ET_FIELDS = LT_PAR_ITEM ).
      LOOP AT LT_PAR_ITEM ASSIGNING <FS_PAR_ITEM>.
        CASE <FS_PAR_ITEM>-M_ID.
          WHEN `OBJ_USAGE`.
             ASSIGN <FS_PAR_ITEM>-M_VALUE->* TO <FS_OBJ_USAGE>.      
    [ Here, sy-subrc is 4,  <FS_OBJ_USAGE> is not assigning.]
        ENDCASE.
      ENDLOOP. 
    So, can any one solve this problem.
    Thanks in advance,
    Radhika

    Hi Radhika,
    Try using GET_RANGE_TABLE_OF_SEL_FIELD...
    Please Refer below code..
       DATA: NODE_FLIGHTS TYPE REF TO IF_WD_CONTEXT_NODE.
      DATA: RT_CARRID TYPE REF TO DATA.
      DATA: ISFLIGHT TYPE TABLE OF SFLIGHT.
      DATA: WSFLIGHT TYPE SFLIGHT.
      FIELD-SYMBOLS: <FS_CARRID> TYPE TABLE.
    Retrieve the data from the select option
      RT_CARRID = WD_THIS->M_HANDLER->GET_RANGE_TABLE_OF_SEL_FIELD( I_ID = 'S_CARR_ID' ).
    Assign it to a field symbol
      ASSIGN RT_CARRID->* TO <FS_CARRID>.
      CLEAR ISFLIGHT. REFRESH ISFLIGHT.
      SELECT * INTO CORRESPONDING FIELDS OF TABLE ISFLIGHT FROM SFLIGHT
                           WHERE CARRID IN <FS_CARRID>.
      NODE_FLIGHTS = WD_CONTEXT->GET_CHILD_NODE( NAME = `FLIGHTS` ).
      NODE_FLIGHTS->BIND_ELEMENTS( ISFLIGHT ).
    Thanks,
    Regards,
    Kiran

  • Parameter on the selection screen

    Hi All,
    I have a check box and a parameter on the selection screen. If the checkbox is initial, the paramter shouldn't be editable but if the checkbox is ticked, the parameter should be made mandatory to be enetered with value. How can this be done ?
    Thanks in advance.

    Hi,
    Refer to the following code.In this change radiobuttons with the checkbox.
    SELECTION-SCREEN BEGIN OF BLOCK B1.
    parameters: p_erdat like zirpactivity-erdat modif id SC1 ,
                r1 radiobutton group RAD1 user-command ABC default 'X',
                r2 radiobutton group RAD1.
    SELECTION-SCREEN END OF BLOCK B1.
    AT SELECTION-SCREEN.
      check sy-ucomm = 'ABC'.
      check sy-ucomm = 'F8'.
    AT SELECTION-SCREEN OUTPUT.
      loop at screen.
        if  r1 = 'X' and screen-group1 = 'SC1' .
          screen-input = 0.
        ENDIF.
        IF r2 = 'X'.
               screen-group1 = 'SC1'  .
          screen-input = 1.
        endif.
        modify screen.
      endloop.
    Hope this helps.
    Reward if helpful.'
    Regards,
    Sipra

  • Report - parameter name in selection screen

    Hi,
    I am working with a report and in that I am using a parameter for my selection screen.
    Parameter : lifnr like lfa1-lifnr.
    My question is: when i execute the program i see in the selection sreen 'Lifnr'. How to get a text say 'Vendor no.' instead of LIFNR in selection screen.
    Thanks

    Hi,
    Go to the TEXT ELEMENTS of the program from the SE38 screen. Click on the SELECTION TEXTS tab, and you can give whatever desription you want for the selection screens here.
    If you want the description from the data dictionary just check the check box on the right hand side.
    Regards,
    Ravi
    Note : Please mark the helpful answers

  • Adding default value for a select-options in a selection-screen

    hello gurus,
    i have a report program with the following select-options in a selection-screen block:
    select-options:  so_site  for MyTable-werks.
    i want the so_site to have a default value once the program displays. can it be possible?
    regards,
    sid

    Hi sid,
    1. Whenever we use select-option,
       an internal table of type range is
      automatically created.
    2. so, in fact, we have to put
       record in this internal table.
    3. eg. Just copy paste in new program.
    4.
    report abc.
    tables : t001.
    select-options : bukrs for t001-bukrs.
    initialization.
      bukrs-sign = 'I'.
      bukrs-option = 'EQ'.
      bukrs-low = '1000'.
      append bukrs.
    regards,
    amit m.

  • SQ01 - Adding a field to the Selection Screen

    Hi All,
    I need to add a new Selection Criteria in the Selection Screen for an existing SQ01 Query.
    Please advise the procedure to do the same.
    Regards,
    RR

    Hi,
    You have marked this thread as being answered, however, neither of your questions has been specifically addressed in the answers provided. 
    You can make any field from any infotype a selection field in SQ01.  First, in Settings --> Settings uncheck the Graphical Query Painter.  Enter the query and use the yellow arrows to the right to reach the Selection screen.  Here, any field in your query can be checked to become a selection field.  If the Graphical Query Painter is checked, go to your query.  On the left you have your infotypes and fields.  Checking the right hand box will make any field in your query a selection field. 
    For your second question, if you create your query in SQ01 in the "Global Area" it is transportable when saved and you should get a pop-up requesting the transport number.  If you save a selection screen for that query with the starting designation "CUS&", it is also transportable when saved the pop-up should also appear. 
    Paul

  • Making dynamic selection parameter an onscreen parameter

    Dear Experts,
    I am search on threads regarding defining new fields and adding fields to dynamic selection options, however I have not found an answer to my issue. I need to add a field XBLNR (Reference) currently in the dynamic selections of FBL1N and FBL3N into the general selection parameters in the entry screen.  Option of user going through the dynamic selection and creating variant of FBL1N is not optimal. It is prefered to have the field XBLNR (Reference) as an on screen parameter.
    How can I achieve this? I checked SE36 and OBVU to no avail. Did I miss something?
    Thanks for your time, Deb

    Also check this out:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0e0039a-0d79-2c10-0aaf-9f6c062c0ffb?QuickLink=index&overridelayout=true
    http://ficoexpertonline.com/archive/Volume_05_(2006)/Issue_05_(May)/V5I5A2.cfm?session=

  • Select criteria without using SELECTION SCREENs

    Hi everybody,
    I have a report with a single screen, 4 fields for search criteria and 2 alv grids for the output.
    I search db tables with a select statement.
    Is it possible to define a select statement that searches for 3 out of 4 criteria, if the fourth input field isn't filled it?
    Because right now the select statement doesn't return any data if I leave one parameter blank.
    And how can I provide the possibility to define more than one search criteria of one kind withour adding several input fields on the screen?
    For example: Data created on 20070101 and 20070105.
    I know that most of this can be done with selection screens, but is there a possibility to do this without a selection screen?
    Best regards
    Tobias

    You should use SELECT-OPTIONS on your selection screen.  This allows the user to enter all kinds of possiblities, including leaving something blank.  Then in your SELECT statement, you use the IN operator.
    select-options: s_datum for sy-datum.
    select * into table itab
               from ztable
                      where datum IN s_datum.
    If you truly do not want to use a Selection-screen, you could hard code values in the SELECT statement or create a range using the RANGE statement.  The RANGE statement works exactly like SELECT-OPTION statement but without the selection-screen.
    Regards,
    Rich Heilman

  • Enhancements in ASN Search Query - additional selection parameter

    Hi,
    I am working on adding an additional search parameter in ASN Overview screen in supplier view. The search is POWL based and in the "Maintain Search Criteria" screen I have been able to add a custom field named "ZTEST_DATE" of type DATS.
    To get the above work done I have followed the following steps
    1. Enhanced the method IF_POWL_FEEDER~GET_SEL_CRITERIA of class /SCF/CL_FEEDER_ASN_OV.
    2. Enhanced the method PREPARE_LOAD_ASN_FROM_DB  of class /SCF/CL_WD_APPL_MODEL_ASN_OV in order to make the additional field as part of ODM parameter.
    Now on running the query I get an error mesage sayng "Access Path for the parameter selection couldnt be found".
    This error message can be traced to an exception which was raised in GET_ACCID_FOR_READ method of class /SCMB/CL_ODM.
    To get rid of this issue I have added additional entry in two Tables /SCMB/ORCPRM (for defining new parameter ZTEST_DATE and linking it to the ODM component DLH1) and another entry in table /SCMB/ORDTPACCSQ to link the previously defined selection parameter to the access Path ORDN for Order Data Type DELV with a sequence no 24 (all the access sequence till 23 had already been taken up for the other selection parameters). Now I am facing trouble to create an active version of this entry. It should be noted that each entry in the table /SCMB/ORDTPACCSQ has two entries one active and one inactive for each Access Path linked to Order Data Type. At this moment only inactive access path could be created.
    Is there any additional config step required to get an active version of the newly added access Path?
    Thanks and Regards,
    Rohit
    Edited by: rkb_1984 on Dec 22, 2011 1:25 PM

    Hello Rohit,
       My understanding of your question is that, you are not able to create the ACTIVE access sequence with all those details what you've provided in your query.  I am sure you might have used the Standard SPRO path for ODM configs.
    You need to check whether you are creating the access sequence for the correct 'Access Path' or not (i.e. field ACCID in table /SCMB/ORDTPACCSQ). Also, you need to use the access sequence number beyond 90. Might be this would resolve your problem.
    Regards,
    Rohan Arvindrao

  • Method to be used to delete a particular select parameter in a Sales order

    Hi ,
    Which Method can be used to delete a particular select parameter in a Sales order search screen using class CL_CRM_BOL_DQUERY_SERVICE

    Hi,
    Okie :) please feel free to post any problem :)
    Please apply the patch that has the fix for this issue:
    [Patch 9791839|https://updates.oracle.com/ARULink/PatchDetails/process_form?patch_num=9791839]
    The above link worked fine for me .
    Ideally, you should pick up the latest patch, which is [ Patch 11846804|https://updates.oracle.com/ARULink/PatchDetails/process_form?patch_num=11846804]
    Click on View Read me for install instructions. Let me know if you find any problem with patch install.
    Regards,
    Ajay Kumar

  • Need to disable one of the select-options in dynamic selection screen

    Hi,
    we have copied the Standard program: RFDOPR00 into Z, my requirement is to disable one of the select-options in dynamic selection screen for ex: Reason code(User shouldnot able to enter anything in it).
    Can anyone please tell me the procedure to do it... I had tried using at selection-screen but it doesnt work as it in 'LOOP AT SCREEN', i am not able to capture the Parameter name(screen-name).
    Thanks,
    Ravi

    Hi,
    Get inside your selection screen, by executing your program.
    Now type /h in the field where you enter transaction code and press enter.
    Now again press enter, this will take you debugger starting from your Selection screen.
    You might be knowing this, still if you are not aware of this, this might be a valuable tip.
    From here , you can trace your Parameter name.

Maybe you are looking for

  • How do I transfer photos from my pc to my ipad?

    how do I transfer photos from my pc to my ipad?

  • G5 + 2 Monitors...how????

    Hi I need to run a monitor at the same time as a data projector...the dp has a VGA Input, so I'm using the DVI-VGA adaptor and running it from the DVI slot at the back of the G5...then I'm using an ADC-DVI adaptor out of the G5 ADC slot into the moni

  • Statistical table, pool table, structure, and ordinary table

    请教在ABAP引用表时,不同类型的表的区别: statistical table pool table structure, ordinary table 其它 table (请列出) 谢谢!

  • Problem starting Oracle Database

    I've just installed Oracle 8.0.5 on Linux Red Hat 5.2. I didn't have problems during the installation, but after that ... First of all, my "dbora" script doens't work. I don't know why, because it's in the directory /etc/rc.d/init.d. Then, when I try

  • Scrolling solution needed for pdf imported to Cp 8 Responsive on the iPad

    Using Cp 8, Responsive Projects, I imported a pdf (through the library import button) and placed it on a slide.  When published (for devices), the pdf can be viewed on a computer and an iPad (if the Acrobat Reader app is installed).  However, it can