Field Exit - How do I show list for user to select?

Hi,
I am writing a field exit for Group Asset on TCode AS01.  The field exit will check a custom table to give the user an option to select values from a dropdown list.
Any suggestions on how to do this?  I understand how to force a value in the field by putting it in OUTPUT, but not sure how to allow the user to select from a list?
Thanks!!!

Thanks for the replies!
I'm not sure how to attach a search help to it because it is a field on a standard SAP screen that already has a search help.
This is probably not going to be very clean, but let me give more details as to what I'm trying to accomplish. 
There is a field "Group Asset" that is on t-codes AS01, AS01, AS11.  There is already a search help provided by SAP.  The functional person wants me to create a field-exit to check a custom table based on Company Code, Cost Center, and Asset Class importing PIDs.  If there is only one group asset that fits the criteria, then I will just place it in the field.  If there are multiple group assets, then the user has to select which one and place it in the field. 
I appreciate any suggestions.  Thanks!!!
Mark

Similar Messages

  • How to hide/show dashboards for user/groups

    Hi,
    Please help on how to hide/show dashboard menu/sub menu to users/groups based on their profile settings.
    thanks in advance.
    regards,
    kumar.

    Hi Jinu,
    1) Do some or all of those subreports span multiple pages?
    2) Do each of the Subreports start on a new page?
    If yes, for both, then here's what you need to do:
    1) Create a formula (@True) with this code:
    shared booleanvar SetStatus:= True
    2) Create another formula (@False) with this code:
    shared booleanvar SetStatus:= False
    Drag and drop the @True formula on the details sections for which you want the Page Footer to be suppressed.
    Similarly, drop the @False formula on the details sections for which you want the Page Footer to show up.
    Then, go to the Section Expert > Select Page Footer c > Click the formula button beside Suppress and use this code:
    shared booleanvar SetStatus;
    -Abhilash

  • Drop down list for User ID's and SAP List viewer format

    Couple of quick questions. Any help will be greatly appreciated.
    1) I need to put User ID on the selection criteria screen. And also, I need to build a dropdown list for user ID selection by finding all user IDs in the Finance department and put it on the list.
    2) I need to display the report in the SAP List viewer format, which enable these functions including sorting, hiding fields, filtering, exporting to an excel file as necessary. My output is currently plain vanilla as follows
    loop at ibkpf where belnr = ibseg-belnr.
           read table iskat with key saknr = ibseg-hkont.
           read table icepct with key prctr = ibseg-prctr.
           read table icskt with key kostl = ibseg-kostl.
           write:/
           iBKPF-BELNR,     " Accounting document number
           iBKPF-BUKRS,    " Company code
           iBKPF-GJAHR,     " Fiscal Year Range
           iBKPF-MONAT,     " Period
           iBKPF-USNAM,     " Username
           iBSEG-BELNR,      "Document #
           iBSEG-BUZEI,      "Item #
           iBSEG-BSCHL,      "Posting Key
           iBSEG-SHKZG,      "Debit/credit indicator
           iBSEG-PRCTR,      "Profit Center
           icepct-ktext,
           iBSEG-KOSTL,      "Cost Center
           icskt-ltext,
           iBSEG-HKONT,      "G/L Account
           iskat-TXT20,
           iBSEG-DMBTR,      "Local currency
           iBSEG-WRBTR,      "Document currency
           iBSEG-SGTXT,      "Explanation
           iBSEG-KOART.      "Account type

    Hello Syed
    Here is a sample coding for a dropdown listbox:
    *& Report  ZUS_SDN_DROPDOWN_LIST
    REPORT  zus_sdn_dropdown_list.
    TYPE-POOLS: vrm. " Value Request Manager: Typen und Konstanten
    DATA:
      gt_values   TYPE vrm_values.
    PARAMETERS:
      p_usrid    TYPE xubname AS LISTBOX VISIBLE LENGTH 13.
    INITIALIZATION.
    * Select the allowed values for dropdown listbox
      SELECT bname AS key FROM  usr02 INTO TABLE gt_values
             WHERE  bname  LIKE 'S%'.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = 'P_USRID'
          values          = gt_values
        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.
    START-OF-SELECTION.
    END-OF-SELECTION.
    You have two fields for the listbox available:
    - KEY (obligatory)
    - TEXT (optional)
    Regards
      Uwe

  • How to avoid multiple listing for same artist?

    How to avoid multiple listing for same artist?

    Sounds like there might be blanks in the artist name.
    For instance "Lou Reed" and "Lou Reed_" will not match.
    (Pretend the underscore _ is a blank).
    Select all the Lou Reed songs, Get Info, and type "Lou Reed" in the artist field. That should fix it.

  • How to get the list of users who has access for list of tcodes.

    How to get the list of users who has access for list of tcodes.

    Go to transaction SUIM, this has a number of reports for users/authorisations
    open the Where used>Autorization Values>In Users
    and double click to execute
    in authorisation object, enter S_TCODE
    then press the "Enter Values" button
    It will offer entry boxes to put the transaction code you are interesed in.
    Then execute and the list of users with access to this transaciton code will be returned.

  • How can i set dynamice for week on Selection screen..pls help me..Urgent

    Hi..All
    please Help me .. i am very  confused..
    i need to set a varient for week which is dynamic on selection screen.
    b) Week from current week to current week + 2. (<b>Dynamic selection)</b>how can i set dynamice for week on Selection screen,,
    how can i do this..i am alrady set dynamice variant for Date.. there is option for D.. but in case of week there is a no option.
    pls help me..urgent
    thamks in advance.
    mayukh

    Hi,
    I think the way out is use the dynamic select option while setting up the varinat and use sy-datum to sy-datum+9 which should essentially serve the purpose.
    While saving the variant, for that particular date field check the Selection variable checkbox, then Choose D
    option and then choose current days + or - option from there.
    Rgds,
    HR

  • Showing list of users locked in message

    Hi Experts,
    I  have  a substitute table where in all the users and  substitutes are stored .
    when adding or change new substitue in table it should thorugh the list of users locked in table.
    Currently it loops the table and displays for the first user whooever is locked. I need to display the list for users in error message any idea would be great , or any alternative idea will be helpful.
    Thanks  & Regards,
    Venkatesh

    Whenever it finds first locks record and throws error then store that error in another internal table instead of displaying it, it will keep collecting the locked records.. After the loop, you have list of all locked records.
    Thanks,
    Murtuza

  • How to configure Email notification for User login's in Exchange Infrastructure?

    How to configure Email notification for User login's in Client Machines?

    Hi ,
    Based on the description , you need to assign logon scripts to the end users via group policy and also use your exchange server as the smtp server in that logon script to relay emails to the internal recipients.
    Thanks & Regards S.Nithyanandham

  • How to put dropdown list for a field in MIGO

    Hi all,
    I added a new tab in MIGO by using the BADI  MB_MIGO_BADI
    in that tab for one of the field i have to put dropdown list (some static values)
    i tried VRM_SET_VALUES , but how to pass the static values to the screen field as dropdown list.
    please help on this issue.
    Thanks,
    Satish

    Hi,
    The logic u told is right it should work.
    PROCESS ON HELP-REQUEST.
      FIELD MSEG-VENDTYPE MODULE HELP.
      PROCESS ON VALUE-REQUEST.
      FIELD MSEG-VENDTYPE MODULE HELP_VENDOR.
    MODULE HELP_VENDOR INPUT.
    *break-point.
      wa_values-key = 'M'.
    wa_values-text = 'Manufacturer'.
    append wa_values to values.
    clear wa_values.
    wa_values-key = 'FD'.
    wa_values-text = 'First Stage Dealer'.
    append wa_values to values.
    clear wa_values.
    wa_values-key = 'I'.
    wa_values-text = 'Importer'.
    append wa_values to values.
    clear wa_values.
    wa_values-key = 'DI'.
    wa_values-text = 'First stage or Second stage dealer of Imported Goods'.
    append wa_values to values.
    clear wa_values.
    wa_values-key = 'MD'.
    wa_values-text = 'Manufacturers Depot or Consignment Agent'.
    append wa_values to values.
    clear wa_values.
    wa_values-key = 'SD'.
    wa_values-text = 'Second stage dealer of Indeginious Ecisable Goods'.
    append wa_values to values.
    clear wa_values.
    CALL FUNCTION 'VRM_SET_VALUES'
      EXPORTING
        ID                    = '01'
        VALUES                = VALUES
    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.
    ENDMODULE.                 " HELP_VENDOR  INPUT
    *&      Module  HELP  INPUT
          text
    MODULE HELP INPUT.
    if sy-uname = 'ABAPUSER'.
      break-point.
    endif.
    ENDMODULE.                 " HELP  INPUT
    Process on help req is triggering on pressing the F1 help but process on value req is not triggering on pressing F4 it is triggering before the screen display i.e in PBO can u tell wat might be the problem.
    Thank u very much.

  • How to find the list of USER-EXITS or BADI for the transaction ABSO

    Hi all,
    Please help me to find the list of USER-EXITS or BADI for the transaction ABSO & find the exact user-exit which meets the requirement.
    Thanks & Regards,
    gyanaraj

    Hi,
    Copy the problem  in SE38 and  Execute it
    Enter the Tcode  u want
    this  will the  list of Userexits and badis
    TABLES: TSTC,
    TADIR,
    MODSAPT,
    MODACT,
    TRDIR,
    TFDIR,
    ENLFDIR,
    SXS_ATTRT ,
    TSTCT.
    DATA: JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
    DATA: FIELD1(30).
    DATA: V_DEVCLASS LIKE TADIR-DEVCLASS.
    PARAMETERS: P_TCODE LIKE TSTC-TCODE,
    P_PGMNA LIKE TSTC-PGMNA .
    DATA: WA_TADIR TYPE TADIR.
    START-OF-SELECTION.
    IF NOT P_TCODE IS INITIAL.
    SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
    ELSEIF NOT P_PGMNA IS INITIAL.
    TSTC-PGMNA = P_PGMNA.
    ENDIF.
    IF SY-SUBRC EQ 0.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'PROG'
    AND OBJ_NAME = TSTC-PGMNA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    IF SY-SUBRC NE 0.
    SELECT SINGLE * FROM TRDIR
    WHERE NAME = TSTC-PGMNA.
    IF TRDIR-SUBC EQ 'F'.
    SELECT SINGLE * FROM TFDIR
    WHERE PNAME = TSTC-PGMNA.
    SELECT SINGLE * FROM ENLFDIR
    WHERE FUNCNAME = TFDIR-FUNCNAME.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'FUGR'
    AND OBJ_NAME EQ ENLFDIR-AREA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    ENDIF.
    ENDIF.
    SELECT * FROM TADIR INTO TABLE JTAB
    WHERE PGMID = 'R3TR'
    AND OBJECT in ('SMOD', 'SXSD')
    AND DEVCLASS = V_DEVCLASS.
    SELECT SINGLE * FROM TSTCT
    WHERE SPRSL EQ SY-LANGU
    AND TCODE EQ P_TCODE.
    FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
    WRITE:/(19) 'Transaction Code - ',
    20(20) P_TCODE,
    45(50) TSTCT-TTEXT.
    SKIP.
    IF NOT JTAB[] IS INITIAL.
    WRITE:/(105) SY-ULINE.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    Sorting the internal Table
    sort jtab by OBJECT.
    data : wf_txt(60) type c,
    wf_smod type i ,
    wf_badi type i ,
    wf_object2(30) type C.
    clear : wf_smod, wf_badi , wf_object2.
    Get the total SMOD.
    LOOP AT JTAB into wa_tadir.
    at first.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 'Enhancement/ Business Add-in',
    41 SY-VLINE ,
    42 'Description',
    105 SY-VLINE.
    WRITE:/(105) SY-ULINE.
    endat.
    clear wf_txt.
    at new object.
    if wa_tadir-object = 'SMOD'.
    wf_object2 = 'Enhancement' .
    elseif wa_tadir-object = 'SXSD'.
    wf_object2 = ' Business Add-in'.
    endif.
    FORMAT COLOR COL_GROUP INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 wf_object2,
    105 SY-VLINE.
    endat.
    case wa_tadir-object.
    when 'SMOD'.
    wf_smod = wf_smod + 1.
    SELECT SINGLE MODTEXT into wf_txt
    FROM MODSAPT
    WHERE SPRSL = SY-LANGU
    AND NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    when 'SXSD'.
    For BADis
    wf_badi = wf_badi + 1 .
    select single TEXT into wf_txt
    from SXS_ATTRT
    where sprsl = sy-langu
    and EXIT_NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED ON.
    endcase.
    WRITE:/1 SY-VLINE,
    2 wa_tadir-OBJ_NAME hotspot on,
    41 SY-VLINE ,
    42 wf_txt,
    105 SY-VLINE.
    AT END OF object.
    write : /(105) sy-ULINE.
    ENDAT.
    ENDLOOP.
    WRITE:/(105) SY-ULINE.
    SKIP.
    FORMAT COLOR COL_TOTAL INTENSIFIED ON.
    WRITE:/ 'No.of Exits:' , wf_smod.
    WRITE:/ 'No.of BADis:' , wf_badi.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'No userexits or BADis exist'.
    ENDIF.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'Transaction does not exist'.
    ENDIF.
    AT LINE-SELECTION.
    data : wf_object type tadir-object.
    clear wf_object.
    GET CURSOR FIELD FIELD1.
    CHECK FIELD1(8) EQ 'WA_TADIR'.
    read table jtab with key obj_name = sy-lisel+1(20).
    move jtab-object to wf_object.
    case wf_object.
    when 'SMOD'.
    SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
    CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    when 'SXSD'.
    SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
    CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
    ENDCASE.

  • How to get pages list for a group space or create a page for a group space

    hi All,
    I am using wc11.1.1.3, I want to use java api to implementing the following functions in site template:
    1. Get pages list for a given group space
    2. Create a page for a given group space
    I researched the following codes from web site:
    PageDef newPage = mPageService.createPage(
    PERSONAL_USER_PAGE, pageNameFormat, pageTitle,
    "MyPageTemplate1.jspx",
    "/mytemplates/",
    null, null, null);
    What should be used instead of PERSONAL_USER_PAGE if a group space page is intended to be created? which parameter is for defining group space name that the page should be created for?
    By the way, PageService seems has method for getting list of pages, but how to use it to get page list which is in a specified gs?
    Best regards

    did you manage to get the page list using Page Service API?

  • How to create dropdown list for custom remote function module

    HI ,
           I created a custom remote function module for a ztable.table having four fields.But now the requirement is to maintain the dropdown list for input parameter .
    For eg: I maintain Input parameter as action.For that Action we have to maintain a dropdown list(display,insert,update and delete  values ) in function module.Is it possible.

    Hi
    Try using POPUP_GET_VALUES function module in the begining of the Function module this gives a POP to provide a value to you
    In this you can provide a value
    Check the import parameters of this Function module if it has COMBOBOX as parameter ( I dont have SAP access at this point of time) you can pass X to it so you get List box for the following fields
    Create a domain to field and assing fixed values to it and use it in any table(As this works with only existing tables)
    refresh fields.
    DATA: fields LIKE SVAL OCCURS 0.
    fields-tabname = 'MAKT'.
    FILEDS-FIELDNAME = 'MAKTX'.
    APPEND FIELDS.
    CALL FUNCTION 'POPUP_GET_VALUES'  " Try copying this in a Test program and execute
            EXPORTING
              POPUP_TITLE  = 'Enter Mail Id here'
              START_COLUMN = '5'
              START_ROW    = '5'
            IMPORTING
              RETURNCODE   = SRETURN
            TABLES
              FIELDS       = FIELDS.
    Cheerz
    Ramchander Rao.K
    Edited by: Rob Burbank on Nov 23, 2011 9:50 AM

  • IW31- How to add Search help for User specific fields in IW31 transaction.

    Hi Experts,
    I have to add Search help for standard fields USR00 to USR10 fields in IW31 transaction.
    Is there any user exit for this requirement.
    Please reply, it will be very helpful for me.
    Regards,
    B. V. Rao

    Bala,
    See the following user-exits:
    IWO10015: F4 Help for user fields on operation
    IWO10016: Customer enhancement to check operation user fields
    PeteA
    [www.pjas.com]

  • How we find object list  for SAP MM T codes.

    Dear Experts,
    How can i find object list  for SAP MM T codes.
    Actualy that is required for SAP User autorization review.
    Regards
    Kumar

    Get t.codes list from table TSTCT using SE16,Enter t.code as MM* or M*. Execute it.
    You will get a list of MM t.codes.
    Also you can refer SU22 for authorization objects from above t.codes list.

  • How to find object list for each OSS Note

    Dear all,
    I would like to know whether there is any ways to search for affected objects in each OSS Notes without manually open each note and see in correction instructions.
    Thank you in advance

    Maybe you can use SE03 function "merge object lists" for this purpose. You can enter the 300 numbers and merge all objects e.g. into a transport of copies, that you can delete again after your exercise. Don't lock the objects inside this temporary request.
    The benefit is that each object will only appear once (if not, choose "object list -> aggregate" in the request details), and you can navigate to the underlying objects, something which a simple SE16 for E071 does not offer.
    Thomas

Maybe you are looking for