Use Field-Exit in selection-screen

Hi,
I have actived the field-exit of data element p_pernr program RCATSC01 screen 1000.
But the result is the same like before.
It is possible to use field-exit in screen 1000 (selection screen) of transaction CAPS ?
Julien.

Hi
I believe the field-exit works for screen of module pool only.
Max

Similar Messages

  • Field Exit for VA11 screen ?

    Hello Abapers,
                         I need ur help to find out the field exit available for VA11 screen.
    How to find the field exit wht is the procedure?
    Thks

    Hi Venkateswar,
    First you check this link once.,
    http://www.****************/Tutorials/ExitsBADIs/MK01/FieldExit.htm
    Field exits are frozen on the 4.6C maintenance level and are not further developed. This means that the existing functionality is kept with all restrictions (see also the last item below). Existing exits can be further used and are called at runtime as usual.
    Existing exits can be maintained using program RSMODPRF (run the program using transaction SE38). Activation of the field exits and assignment of the dynpros can also be carried out using program RSMODPRF. For this purpose, the program must be started without parameters (input fields remain blank).
    If required, new field exits can be created using program
    RSMODPRF (see the program documentation).
    Please find below the step by step procedure for field exit :-
    There are eight steps to creating a field exit:
    Step 1: Determine Data Element
    Step 2: Go To Field Exit Transaction
    Step 3: Create Field Exit
    Step 4: Create Function Module
    Step 5: Code Function Module
    Step 6: Activate Function Module
    Step 7: Assign Program/Screen
    Step 8: Activate Field Exit
    Step 1: Determine Data Element
    Before you can begin adding the functionality for a field exit, you must know the corresponding data element.
    An easy way to determine the data element associated to a particular screen field is to:
    Go the appropriate screen.
    Position the cursor in the appropriate field.
    Press ‘F1’ for field-level help.
    Click on the ‘Technical info’ pushbutton (or press ‘F9’) on the help dialog box.
    On this Technical Information dialog box, the data element will be specified if the field is 'painted' from the ABAP/4 Dictionary.
    Step 2: Go To Field Exit Transaction
    The transaction to create field exits is CMOD.
    You can use the menu path Tools -> ABAP/4 Workbench -> Utilities -> Enhancements -> Project management.
    From the initial screen of transaction CMOD, choose the Text enhancements -> Field exits menu path.
    After choosing this menu path, you will be taken to the field exits screen. From here, you can create a field exit.
    NOTE : Even though you use transaction CMOD to maintain field exits, you do not need to create a project to activate field exits.
    Step 3: Create Field Exit
    From the field exit screen of transaction CMOD, choose the Field exit -> Create menu path.
    After choosing this menu path, a dialog box will prompt you for the appropriate data element .
    Enter the data element name and click the ‘Continue’ pushbutton.
    Now, you will be able to create the function module associated to the data element’s field exit.
    Step 4: Create Function Module
    You will automatically be taken to the Function Library (SE37) after entering a data element name and clicking the ‘Continue’ pushbutton.
    In the ‘Function module’ field, a function module name will be defaulted by the system based on the data element specified. This name will have the following convention:
    FIELD_EXIT_<data element>
    You can add an identifier (an underscore followed by a single character ).
    The first function module for a data element’s field exit must be created without an identifier.
    To create the function module, click on the ‘Create’ pushbutton, choose menu path Function module -> Create, or press ‘F5’.
    After choosing to create the function module, you will get the warning: "Function module name is reserved for SAP". This message is just a warning so a developer does not accidentally create a function module in the field exit name range. By pressing ‘Enter’, you will be able to go ahead and create the function module.
    Before coding the function module, you will have to specify the function modules attributes -- function group, application, and short text.
    Step 5: Code Function Module
    From the function module’s attributes screen, click on the ‘Source code’ pushbutton or choose the Goto -> Function module menu path to the code of the function module.
    Here you will add your desired functionality for the field exit.
    Remember that field exit’s function module will have two parameters -- one importing parameter called "INPUT" and one exporting parameter called "OUTPUT". These parameters will be set up automatically by the system.
    You must remember to assign a value to the OUTPUT field. Even if the value does not change, it must be moved from the INPUT field to the OUTPUT field.
    Step 6: Activate Function Module
    After coding the function module, you must remember to activate it.
    Use the Function module -> Activate menu path to activate the function module.
    At this point, you can return to the field exit transaction.
    You should be able to 'green arrow' back to this transaction.
    When you return to the field exit transaction, you will see an entry for the newly created field exit.
    At this point, the field exit is global. That is, it applies to all screens that use a particular data element. On any screen that uses the data element, the corresponding field exit function module will be triggered, once it is active.
    Also, the field exit will not be triggered yet because it is inactive.
    Step 7: Assign Program/Screen
    This step is only needed if you want to make a field exit local.
    To make a field exit local, select the field exit and click on the ‘Assign prog./screen’ pushbutton.
    In the dialog box , indicate the appropriate program name and screen number.
    This information indicates that the field exit is local to the specified screen in the specified program.
    In the dialog box, you determine which function module gets executed for the field exit by specifying the identifier in the ‘Fld. Exit’ field.
    If this field is left blank, the function module triggered will be 'FIELD_EXIT_<data element>'.
    If a single-character identifier is entered into the field, the function module triggered will be 'FIELD_EXIT_<data element>_<identifier>'.
    Step 8: Activate Field Exit
    The field exit must be active for it to be triggered by the system.
    Activate the field exit by choosing the Field exit -> Activate menu path.
    After assigning the field exit to a change request, its status will change to ‘Active’ and it will be triggered automatically on the appropriate screen(s).
    NOTE : In order to activate the field exit the profile parameter abap/fieldexit = YES must be set on all application servers
    Please reward points if helpful.
    Cheers,
    Swamy Kunche

  • How to use Field exit

    Hi,
    Our consultant wants to use field exit as a way to validate a certain field in a screen for tcode MB1B.
    I tried to follow the steps below to create a field exit but it seems that I'm missing a step or two because it doesn't work.
    1. Run program RSMODPRF in se38.
    2. Enter the data element and the number of field exit
    3. create and activate the function module
    After this I run tcode MB1B but it seems that it did not pass through the field exit.
    Do I need an extra step to make the field exit work? And how do I assign a field exit to a certain screen?
    Hope to hear from you guys soon.
    Thanks!

    Hi Jackie,
    1.Enter the tcode SE38
    2.In the ABAP Editor enter the program name RSMODPRF
    3.Execute
    4.Then you will get a screen with Data Element and Number of Field Exit
    Here enter the Data Element(for example MATNR for material no.) and
    enter 0 to 9 or A to Z in the second field(I am taking 0 in my example)
    5. Execute
    6.Then you will be navigated to the Function Builder screen(se37) with FM name FIELD_EXIT_MATNR_0
    The FM name contains the Data Element(MATNR) and No. of Field Exit (0) (in this case)
    7.Then click on CREATE.
    8.Give the Fun. Grp name and SAVE
    9.It will take youn to the Source code wherein ypu have to write the code asb per your requirement
    For Example:
    FUNCTION FIELD_EXIT_MATNR.
    IF INPUT BETWEEN 125 AND 150.
    MESSAGE E000(ZMM) WITH "Material not allowed".
    ENDIF.
    ENDFUNCTION.
    10.Then if you try to enter the values in MM01 for Material no.,this effect comes into picture
    If you enter Material no between 125 and 150 you will get "Material not allowed".
    Follow the above procedure with your requirements(data element,screen name)
    And to assign a screen name and program to a Field Exit:
    In the 'Field Exits for Data elements' screen, in the application tool bar you can assign the Program name and Screen no. by clicking Assign Prog. /Screen.
    You will get the above screen by
    1. goto tcode CMOD
    2. Enter PRFB in the command prompt and press ENTER
    Another procedure for implementing the Field Exit:
    One more way to do this is goto tcode CMOD.
    Enter PRFB in the command prompt and press ENTER
    In the screen select the menu Field exit --> Create and follow the same procedure as above.
    Please see the below links hich might be useful
    http://www.****************/Tutorials/ExitsBADIs/MK01/FieldExit.htm
    ****Reward points if found useful
    Regards,
    Naresh

  • How to get the F4 help for a field in the selection screen

    Hi all,
    I am working on a report program. In the selection screen, I have the field 'Brand Node ID'(ZNODEID). The requirement is to have the F4 help for this field. This field is available in a 'Z' table ZNODETAB. There is no Value table maintained for the corresponding data element. So, without disturbing the table data element/domain, I should get the F4 help in the selection screen of the report. In the F4 help, data should be fetched from the table ZNODETAB and the field is ZNODEID. Is there any way to do this.
    By searching the function modules, I could find that, we can use the FM F4IF_INT_TABLE_VALUE_REQUEST. But, I am not Sure. Can someone tell me the parameters to be passed to this function module to get the F4 help and the procedure to follow. S_NODEID is the select option used in the program. Please help me in this regard. Thanks in advance.
    Thanks & Regards,
    Paddu.

    look at this code and try
    select-options : S_NODEID for ZNODETAB-ZNODEID.
    at selection-screen on value-request for s_nodeid-low
    perform f4_nodeid using 'S_NODEID-LOW'.
    at selection-screen on value-request for s_nodeid-low
    perform f4_nodeid using 'S_NODEID-HIGH'.
    end-of-selection.
    FORM f4_nodeid  USING    p_field.
      declare it_node.
    select znodeid from ZNODETAB into table it_node.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'ZNODEID'
          dynpprog        = sy-repid
          dynpnr          = sy-dynnr
          dynprofield     = p_field
          value           = space
          value_org       = 'S'
          display         = 'F'
        TABLES
          value_tab       = it_node
        EXCEPTIONS
          parameter_error = 1
          no_values_found = 2
          OTHERS          = 3.
    endform

  • How to Add a new fields in the selection screen of LDB.

    Hi All,
    I want to add a new fields in the selection screen of LDB & then i need to select the data for that fields.
    So could you please tell me for that where i need to add the code for selecting the data.
    Thanks
    Roli

    Hi
    welcome to SDN forum
    If you are designing your own LDB with your own tables you can define tree structure and then the selection screen for the tables
    if you wants to modify the std LDB of SAp means take the access key and to modify that code
    if you add the extra field you have to modify the where conditions in the code also
    see the doc
    A logical database is a special ABAP/4 program which combines the contents of certain database tables. You can link a logical database to an ABAP/4 report program as an attribute. The logical database then supplies the report program with a set of hierarchically structured table lines which can be taken from different database tables.
    LDB offers an easy-to-use selection screens. You can modify the pre-generated selection screen to your needs. It offers check functions to check whether user input is complete, correct, and plausible. It offers reasonable data selections. It contains central authorization checks for data base accesses. Enhancements such as improved performance immediately apply to all report programs that use the logical database.
    Less coding s required to retrieve data compared to normal internel tables.
    Tables used LDB are in hierarchial structure.
    Mainly we used LDBs in HR Abap Programming.
    Where all tables are highly inter related so LDBs can optimize the performance there.
    Check this Document. All abt LDB's
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2flibrary%2fabap%2fabap-code-samples%2fldb+browser.doc
    GO THROUGH LINKS -
    http://www.sap-basis-abap.com/saptab.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9bfa35c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c6/8a15381b80436ce10000009b38f8cf/frameset.htm
    /people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases
    Re: **LDB**
    www.sapbrain.com/FAQs/TECHNICAL/SAP_ABAP_Logical_Database_FAQ.html
    www.sap-img.com/abap/abap-interview-question.htm
    www.sap-img.com/abap/quick-note-on-design-of-secondary-database-indexes-and-logical-databases.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9bb935c111d1829f0000e829fbfe/content.htm
    Gothru the blog which provides info on LDB's:
    /people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases
    Sample code
    TABLES: SPFLI,
    SFLIGHT,
    SBOOK,
    SCARR.
    START-OF-SELECTION.
    GET SPFLI.
    WRITE:/ ’SPFLI: ’, SPFLI-CARRID, SPFLI-CONNID,
    SPFLI-AIRPFROM, SPFLI-AIRPTO.
    GET SFLIGHT.
    WRITE:/ ’ SFLIGHT: ’, SFLIGHT-CARRID, SFLIGHT-CONNID, SFLIGHT-FLDATE.
    GET SBOOK.
    WRITE:/ ’ SBOOK: ’, SBOOK-CARRID, SBOOK-CONNID,
    SBOOK-FLDATE, SBOOK-BOOKID.
    GET SFLIGHT LATE.
    WRITE:/ ’ GET SFLIGHT LATE: ’, SFLIGHT-FLDATE.
    Regards
    anji

  • Functional area(FKBER( field in the selection screen))

    Hi,
       I have a requirement to add functional area field in the selection screen for a report painter report. This report using library 1VK and table 'CCSS'. I added functional area field in the general data selection . After the execution of report with functional area field filled with value. report not giving any output. do i need to maintain any setting to achieve?
    Regards,
    Palani

    Hi,
    How you have filled the values?
    It is 16 CHAR long.

  • Functional area(FKBER field in the selection screen of the report painter))

    Hi,
    I have a requirement to add functional area field in the selection screen for a report painter report. This report using library 1VK and table 'CCSS'. I added functional area field in the general data selection . After the execution of report with functional area field filled with value. report not giving any output. do i need to maintain any setting to achieve?
    Regards,
    Palani

    1. Call GR22 and click "Characteristics".
    2. Check FKBER and assign a position number to it.
    3. Save and close the library.
    4. Call your report in GRR2 and you should now see FKBER as an available characteristic.
    5. Use it in the General Data Selection or as a Lead Column, as per requirement.
    Or,
    1. Call GR21 and create a custom library. Provide a name and description and also provide a library you can copy from (scan for the best-fit library).
    2. Now follow the steps 2 through 5 above to achieve your result.
    Hope this helps.
    Cheers.

  • I have mapped the fields on the selection-screen  to the BDC on transaction

    I have mapped the fields on the selection-screen  to the BDC on transaction F110.
    When I am selecting a particular any value in select-option on the selection screen, it is giving some default value and the value given by me,for example:
    Payment methods:C
    but in BDC recording for F110 Payment methods:IEQC when the programs is running in foreground mode.
    how can I rectify it?

    This is because payment methods may be a table and what you see IEQC is actually, I for include, EQ for equal and C as your payment method. This is standard structure for ranges or select-options. You can use variable-low which will give you only C.

  • Hiding and Unhiding Fields On The Selection Screen

    Hi Guys/Dolls
    I've managed to grey out and hide some fields on a selection screen within the AT SELECTION-SCREEN OUTPUT section but don't know how to re-instate them.
    basically on initial entry of the screen some fields are hidden but once I enter some pre-requisite data I need to display them but in a greyed out manner.
    I've done the first bit but don't know how to do the 2nd bit i.e re-display the fields.
    Any help would be appreciated.
    Many thanks in advance.
    Raj
    My code is as follows:-
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION POS_LOW.
    PARAMETERS: begcalsh LIKE t549q-begda MODIF ID pe4.
    SELECTION-SCREEN COMMENT (1) text-199 FOR FIELD endcalsh
    MODIF ID pe4.
    PARAMETERS: endcalsh LIKE t549q-endda MODIF ID pe4.
    SELECTION-SCREEN POSITION POS_HIGH.
    PARAMETERS: begrefsh LIKE t549q-begda MODIF ID pe5.
    SELECTION-SCREEN COMMENT (1) text-199 FOR FIELD endrefsh
    MODIF ID pe5.
    PARAMETERS: endrefsh LIKE t549q-endda MODIF ID pe5.
    SELECTION-SCREEN END OF LINE.
    AT SELECTION-SCREEN OUTPUT.
    * Grey out the parameters.
      PERFORM params_grey_in_out USING 'false' 'PE4'.
      PERFORM params_grey_in_out USING 'false' 'PE5'.
    * Hide the parameters.
      PERFORM params_show_hide USING 'false' 'PE4'.
      PERFORM params_show_hide USING 'false' 'PE5'.
    AT SELECTION-SCREEN.
      PERFORM params_show_hide USING 'true' 'PE4'.
      PERFORM params_show_hide USING 'true' 'PE5'.
    *&      Form  params_grey_in_out
    FORM params_grey_in_out USING value(iv_triggering_param)
                                     value(iv_screen_group).
    *this form activates fields with MODIF ID = IV_SCREEN_GROUP
    *if IV_TRIGGERING_PARAM eq TRUE and greys them out otherwise.
      DATA lx_input LIKE screen-input.
      IF iv_triggering_param EQ 'true'.
        lx_input = 1.
      ELSE.
        lx_input = 0.
      ENDIF.
      LOOP AT SCREEN.
        IF screen-group1 EQ iv_screen_group.
          screen-input = lx_input.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " params_grey_in_out
    *&      Form  params_show_hide
    FORM params_show_hide USING value(iv_triggering_param)
                                     value(iv_screen_group).
    *this form displays fields with MODIF ID = IV_SCREEN_GROUP
    *if IV_TRIGGERING_PARAM eq TRUE and hides them otherwise.
      DATA lx_active LIKE screen-active. "(1) type n.
      DATA lx_invisible LIKE screen-active. "(1) type n.
      IF iv_triggering_param EQ 'true'.
        lx_active = 1.
        lx_invisible = 0.
      ELSE.
        lx_active = 0.
        lx_invisible = 1.
      ENDIF.
      LOOP AT SCREEN.
        IF screen-group1 EQ iv_screen_group.
          screen-invisible = lx_invisible.
          screen-active = lx_active.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " params_show_hide

    hi u use this logic
       LOOP AT SCREEN.
          IF screen-group1 = 'GR3'.
            screen-active = 1.
            screen-input = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ELSE.
        LOOP AT SCREEN.
          IF screen-group1 = 'GR2'.
            screen-invisible = 0.
            screen-input = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.

  • Currency field on a selection screen of type 'DMBTR'.

    Hello ABAPers,
          Could you please tell me how to do it?
           I have a currency field on a selection screen of type 'DMBTR'.
           When i input and press the enter key ,i want the value to be displayed in the following style.
              1. CURRENCY     EQ    'JPY'
                    EX:
                          Value before pressing EnterKey =   123456 
                          Value after pressing   EnterKey =    123,456
                      i.c  the value should be displayed without decimal point
            2. CURRENCY      NE    'JPY'
                    EX:
                          Value before pressing EnterKey =   123456 
                          Value after pressing   EnterKey =    123,456.00
                      i.c  the value should be displayed with decimal point
          Note:The above trick has already been done on a standard dynpro screen of Tr.Code FB60 and Field 'Amount'.
    <removed_by_moderator>
    Thanks and Regards,
    Mohan
    Edited by: Govindasamy Mohan on Oct 8, 2009 6:22 PM
    Edited by: Julius Bussche on Oct 9, 2009 1:36 PM

    Hi ABAP Lover,
       Thanks a lot for your reply.
       I had the same idea as yours like using data type 'P'.
      But, the problem is  that there is only one currency field on the screen .There is also a field of 'Company Code'.
    Both fields are mandatory .
    Hence,the requirement is  to convert the  currency value to the currency of the company code which is input .
    The conversion  should yield the following output on the screen after pressing the enter button.
    1. When currency EQ  'JPY' ,  the value should be displayed without decimal point
      2.When currency NE  'JPY' ,  the value should be displayed with decimal point
    I am very sorry for not explaining you clearly in my first posting.
    Thanks and Regards,
    Mohan

  • Field in the selection screen as a select option with two default values

    Hi All,
    can anybody tell me how to put field in the selection screen with two defaul values.
    for ex:  selection screen the Account Group KNA1-KTOKD as a select option. The defeault value should be Y001 and Y005.
    please reply ASAP. Its urgent.
    Thanks in advance,
    Madhu

    Hi Madhu,
    Since Select options are nothing but ranges, you can use the following code to add two distinct values to the select options by default.
    s_ktokd-sign = 'I'.
    s_ktokd-option = 'EQ'.
    s_ktokd-low = 'Y001'.
    append s_ktokd.
    s_ktokd-low = 'Y005'.
    append s_ktokd.
    clear s_ktokd.
    However, if you want to mention a range like all the values between these given two values to be considered then u may use,
    select-options : s_ktokd for KNA1-KTOKD default 'Y001' to 'Y005'.
    or
    s_ktokd-sign = 'I'.
    s_ktokd-option = 'BT'.
    s_ktokd-low = 'Y001'.
    s_ktokd-high = 'Y005'.
    append s_ktokd.
    Reward if helpful.

  • Can you "combine" criteria for 2 or more fields on a Selection Screen?

    Good day everyone,
    Here's my question:  I understand that I can put fields on a Selection Screen and pre-fill them with data values.  In this particular case, I want to pre-fill a couple of hidden fields with data values that will be used as criteria when I read data from the database; however, I need to pull back records that have this COMBINATION of data.  For example:
    WERKS     BTRTL
    Z002      Z001
    Z002      Z002
    Z003      Z001
    Z003      Z002
    So in my SQL, if I say "werks IN s_werks" and "btrtl IN s_brtrl", true, it will still work.  But really, I need to say "if werks = 'z002' and btrtl = 'z001', or werks = 'z002' and btrtl = 'z002', etc.  I can't rely on the simple "IN" functionality because it's possible a new value could be added in the future:
    WERKS     BTRTL
    Z003      Z003
    So if I use the "IN" logic and the record has werks = 'Z002' and btrtl = 'Z003', it would be returned.  But I really don't want it returned, since a combination of werks = 'Z002' and btrtl = 'Z003' doesn't exist in my table of valid combinations.
    Is this even possible to do in a Selection Screen?  Do I go ahead and populate the fields separately, use the "IN" functionality, then spin through my resulting internal table and delete anything that doesn't match my "table" of valid combinations?  Do I skip putting these on a Selection Screen completely and check the values in my SQL statement?
    Thanks in advance -- points, as always, will be given.

    Hi
    Yuo can try to use FOR ALL ENTRIES option.
    IF you have:
    WERKS BTRTL
    Z002 Z001
    Z002 Z002
    Z003 Z001
    Z003 Z002
    You should do something like that:
    DATA: BEGIN OF <TAB_SEL> OCCURS 1,
           WERKS TYPE WERKS,
           BTRTL TYPE BTRTL,
          END   OF <TAB_SEL>.
    WERKS BTRTL
    <TAB_SEL>-WERKS = 'Z002'. <TAB_SEL>-BTRTL = 'Z001'.
    APPEND <TAB_SEL>.
    <TAB_SEL>-WERKS = 'Z002'. <TAB_SEL>-BTRTL = 'Z002'.
    APPEND <TAB_SEL>.
    <TAB_SEL>-WERKS = 'Z003'. <TAB_SEL>-BTRTL = 'Z001'.
    APPEND <TAB_SEL>.
    <TAB_SEL>-WERKS = 'Z003'. <TAB_SEL>-BTRTL = 'Z002'.
    APPEND <TAB_SEL>.
    SELECT * FROM <TABLE> INTO TABLE ITAB
       FOR ALL ENTRIES IN <TAB_SEL>
                       WHERE WERKS = <TAB_SEL>-WERKS
                          AND BTRTL = <TAB_SEL>-BTRTL.
    In this case you need to fill correctly the internal table <TAB_SEL> with the all combinations.
    Max

  • Field in the Selection Screen.

    Hello Experts,
    I need some info to list all the reports which uses a field in the selection screen.
    For example the field SAKNR (G/L Account). If this field used in the 10 reports selection screen, then I need to display all the 10 reports.
    Is it possible to get the fields used in the Sel. screen of a report.
    Please give some suggestion.
    Regards,
    Vasanth

    Hello Narendra,
    Thanks for the reply.
    See In a program I declared the field like this:
    PARAMETERS: P_SAKNR LIKE EKKN-SAKTO.
    So in this case I have to list this report name.
    Hope you understand my requirement.
    Thanks !!!
    Vasanth

  • MAKING A FIELD MANDATORY IN SELECTION SCREEN

    HOW TO MAKE THE SELECTION SCREEN FIELDS MANDATORY USING LOOP AT SCREEN STATEMENT.I TRIED USING IT WITH AT SELECTION SCREEN EVENT.BUT IT WAS NOT WORKING.SO CAN ANY OF U PROVIDE SAMPLE CODE FOR THIS.
    THANKS.

    Hi,
    You can do it simple:
    AT SELECTION-SCREEN ON s_matnr.
    IF s_matnr IS INITIAL.
        MESSAGE e055(00).
    Make an entry in all required fields
    ENDIF.
    (s_matnr: is a field on the selection screen)
    Good luck.
    Gilad Hubara.

  • To get plant field in my selection screen based on user profile maintained

    Hi All,
    I have plant (WERKS) field in my selection screen. Now I need to get the plant value maintained in the user profile for that user. So how to get the plant value based on the user profile.
    Please let me know if anyone having idea on this. I will reward to you with the valid points.
    Regards
    raghu.

    Hi Raghu,
    I have searched and found this information, check it may help you
    Check the SY-UNAME with the the name of the Plant
    User Plant user data take it from T001W table
    and All logon User data will be in USR02 table
    take the data from corresponding tables and check.
    If you are working in SRM
    Use FM BBP_READ_ATTRIBUTES to get the User plant after passing the User ID to the FM.
    in SUIM go to Users by Complex Selection criterion.
    In that there would be the Authorization Object..select an object which has the value plant in it and enter the value inthat....
    Also u can enter WERKS value as 1120 in the object field and get the list,
    Regards,
    Satish

Maybe you are looking for

  • Does anyone know how to change the location of Library/Mobile Documents?

    Several months ago I decided to try a Solid state drive and during the process for space reasons I relocated my home folder to another internal drive.  Last week I decided to get rid of the solid state and replace it with the original 750 gig drive I

  • File Adapter with out CC

    Hi All,    I need to FTP a 20 MB csv file as_it_is without any translations. How can i do it without file content conversion.    1. If it is a XML file There is no problem.    2. I tried dummy interface(Like no objects in Repository), it is good for

  • Cursor Case statement

    Hello All I hava a performance issue to perform. I have a procedure that takes some parameters on input. then i create a cursore using thoses parameters like this : CREATE OR REPLACE PROCEDURE MY_PROC (vNoA varchar2, vNoB varchar2, vDatedeb DATE, vDa

  • Leopard Hard crash and airport disconnect

    Hello alll I have done a erase and install with leopard on my macbook pro 2 twice now thinking it was a installation issue. My internet connects through a netgear router that worked 100% perfect when on Tiger, but now after random intervals i lose co

  • Missing COPA in intercompany sales

    Hi, We are unable to get COPA documents posted for our intercompany sales. Please find details in the attachment, for your kind reference. Once we simulate the billing document in Transaction KE4ST for simulated the billing document. Its giving the e