Regarding Tcode in selction-screen.

Hi all,
    My requirement is like this....if the user gives transaction code in the selection-screen..corresponding fields should be showed in alv putput...
for example if i run MM01...what are tall the fields in tat screen hav to be showed in ALV with screen number...suppose if its have more than 10 screens all should be showed in ALV output with screen number...
whether is it possible...user can run any TCODE ...could you please provide me some idea about this...

Hi Sai,
  Your requirement in my understanding cannot be achieved... Any standard transaction has many screen fields and tables related to it. If you consider MM01, the tables updated are Mara, Makt, etc...
But the field name on the screen for these transactions most of the time will be different. It may be a structure used in the that program. for eg. in MM01 if you see the field name for 'Material' in the initial screen it is not MARA-MATNR but RMMG1-MATNR. But the new material created will be stored in MARA. So there is no way u can write a generic program to get these details. ( This is my understanding).
Regds,
Madan..

Similar Messages

  • How do I create a button in a selction screen of the report ??

    how do I create a button in a selction screen of the report ??

    See sample Program :
    REPORT ZLPRWINSPC_TMP .
    tables : mara,
             sscrfields.
    select-options s_matnr for mara-matnr.
    initialization.
    sscrfields-functxt_01 = 'Clear Selection'.
    selection-screen function key 1.
    AT SELECTION-SCREEN.
    case sscrfields-ucomm.
    when 'Clear Selection' or 'FC01'.
    clear s_matnr.
    refresh s_matnr.
    endcase.
    Reward Points if it is helpful
    Thanks
    Seshu

  • Selction-screen

    hi all..
      iam having date field in the selction screen.... so if i click f4 i can get calander and i can enter specific date...
      now my requirement is to i  hav ti enter month end year only....
    so if i click any date in the seach help calender.... the input field of the selection screen has to avoid date and need to capture month and year....
    plz replay with code...
    Thank you,
    Naveen.

    Here's an example.  Note that update occurs when the user hits Enter
    PARAMETERS:
      mydate  TYPE datum OBLIGATORY.
    PARAMETERS:
      mymm(2) TYPE c MODIF ID xxx,
      myyy(4) TYPE c MODIF ID xxx.
    AT SELECTION-SCREEN OUTPUT.
      mymm = mydate+4(2).
      myyy = mydate+0(4).
      LOOP AT SCREEN.
        CASE screen-group1.
          WHEN 'XXX'.
            screen-input = 0.
            MODIFY SCREEN.
        ENDCASE.
      ENDLOOP.
    START-OF-SELECTION.
      mymm = mydate+4(2).
      myyy = mydate+0(4).

  • I renamed my Apple ID with new name but the old password is no more working. What should I do ? After renaming I am getting pop up message regarding icloud on my screen but I am unable to set off the message box now

    I renamed my Apple ID with new name but the old password is no more working. What should I do ? After renaming I am getting pop up message regarding icloud on my screen but I am unable to set off the message box now

    What to do after you change your Apple ID email address or password - Apple Support
    ÇÇÇ

  • Displaying W message on selction screen and on enter need to go to ALV liso

    Dear All,
    I have  a requirement where i get my data in end-of-selection evenet after that i do  some calculation / validation and i display the warning message .
    But i need to display the warning on selction screen and on enetr need to go to ALV list , how to make it ?
    Regards

    WHy on the selection screen?
    I just do
    message 'my error text' type 'I' display like 'E',
    which results in a pop-up (if user has settings that way), and then allows seamless proceed to next step upon acceptance of the message.

  • Hiding Select options on a selction screen

    hi,
    How to Hide Select options on a selction screen
    thnks.

    hi,
    eg:-
    select-options: sel_mat for mard-matnr no-display.
    select-options: sel_plnt for mard-werks.
    in this the sel_plnt will appear and sel_mat will not be seen on the selction screen. there are many options avaliable with select-options..
    Like
        [OBLIGATORY / NO-DISPLAY]
        [VISIBLE LENGTH vlen]
        [NO-EXTENSION]
        [NO INTERVALS]
        [MODIF ID modid] ... .
    reward points if useful and mark answered if u got the answer 

  • Tcode opens selection screen, but does not executes the program

    Hi!
    tcode opens selection screen of a custom program, but it seems that it does not executes the program itself.
    Sounds strange, but how to explain this if I can run a program manually with no problem and it displays result screen, but when I try to run the program with tcode - it opens selection screen but program quits before displaying result screen. I was putting a breakpoint at the begining of the program - it does not triggers debuger when running a tcode (it triggers debugger if to run program manually).... any ideas?
    Help will be appreciated,
    Mindaugas

    Are you using this???
          SET PARAMETER ID '80B' FIELD T_TABLE-OPBEL.
          CALL TRANSACTION 'FPE3' AND SKIP FIRST SCREEN.
    That way it should work....
    Greetings,
    Blag.

  • Question regarding the new lcd screens

    I'm a potential buyer and to be honest I'm a little concerned about some of the postings here and else where.
    While this isn't strictly a support thread it does follow in the vein of supporting a user.
    Here's what I'm concerned about and these all could be just unrelated small problems.
    1. loose screens
    2. smudges inside the panel
    3. uneven lighting
    4. dithering <- this one has me really concerned.
    I know the most posts here are regarding problems and this does not take into context the vast majority don't have problems. but 2.5k for a new laptop is a lot of money for me so for owners of the MBP could chime in regarding their MBP's screens I would be extremely grateful
    Mike

    I just picked up my new baby at my local apple store.
    Very nice. So far I'm very pleased. I just reloaded OSX and this weekend I'll throw aperture and CS3 on it. Temps seem pretty decent so far, no smudges as far as I can tell WOOHOO, lighting is even.
    I do seem to have the dithering issue, but my macbook did and until I viewed a picture that was posted about the dithering I would not have noticed so I probably can live with it.
    Mike

  • Regarding selction screen values

    Hi ,
    In my report there are two parameter
    1. country
    2.airport code
    when i enetred country , then the airport will display the corresponding airports and description only,
    there is a table where i get the country , airports and descriptions,
    Please suggest how to solve this
    regards,
    krishna

    Hi,
    as per my understanding you have to provide the F4 help for airport based on the country code entered, if my guess is correct follow the below procedure.
    write the code in "at selection-screen on value-request for airport"
    1) use the function module "DYNP_VALUES_READ" function module to capture the country entered on the selection screen.
    2) select the airports based on the country code entered.
    3) us the function moduel "F4IF_INT_TABLE_VALUE_REQUEST" to display the airport list in list of possible window.
    Refer the below code you will understand.
    here i am taking material and material description, based on the entered material i am fetching the material description on F4 help.
    TABLES: mara.
    DATA:
         BEGIN OF x_matnr OCCURS 0,
               matnr LIKE mara-matnr,
               maktx like makt-maktx,
         END   OF x_matnr.
    DATA:
         l_dynprofld      TYPE help_info-dynprofld,
         l_matnr(7) TYPE c VALUE 'P_MATNR',
         l_prog     TYPE sy-repid,
         l_dynnr    TYPE sy-dynnr.
    PARAMETERS: p_matnr LIKE mara-matnr,
                p_maktx like makt-maktx.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_maktx.
       PERFORM f_get_values.
    FORM f_get_values.
    DATA: i_return LIKE ddshretval OCCURS 0,
          i_dynpfields like DYNPREAD occurs 0 with header line,
          l_repid like sy-repid.
          l_repid = sy-repid.
          i_dynpfields-fieldname = 'P_MATNR'.
          APPEND I_DYNPFIELDS.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          dyname   = l_repid
          dynumb   = '1000'
        tables
          dynpfields  = i_dynpfields .
      IF sy-subrc = 0.
         READ TABLE I_DYNPfields INDEX 1.
         IF SY-SUBRC = 0.
            CALL FUNCTION 'CONVERSION_EXIT_MATN2_INPUT'
              EXPORTING
                input    = I_DYNPfields-FIELDVALUE
             IMPORTING
               OUTPUT    = I_DYNPfields-FIELDVALUE.
            select matnr maktx from makt into table x_matnr
                   where matnr = I_DYNPfields-FIELDVALUE.
         ENDIF.
      ENDIF.
    IF NOT X_MATNR[] IS INITIAL.
      l_prog = sy-repid.
      l_dynnr = sy-dynnr.
      l_dynprofld = l_matnr.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
        retfield               = 'MAKTX'
       dynpprog               = l_prog
       dynpnr                 = l_dynnr
       dynprofield            = l_dynprofld
       value_org              = 'S'
      TABLES
        value_tab              = x_matnr
       return_tab             = i_return.
    IF sy-subrc NE 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDIF.
    ENDFORM.                    " F_GET_VALUES
    Reward if useful.
    Thanks,
    Sreeram.
    Edited by: Sreeram Prasad on Jan 3, 2008 11:38 AM
    Edited by: Sreeram Prasad on Jan 3, 2008 11:39 AM

  • Project system: CJE2 tcode.. Add the field to selction screen

    Hi,
    GM ALL
    I would like to add the field to selection screen for a dynamic report one which is using in CJE2 T.CODE. I am trying to add the field through se36 [logical data base level] but its not helping.
    Need to add below field to selection-screen
    CJDB_SELIDS
    Field:  SELID_PR
    Please let me know,if any one know the solution..
    Regards
    KK
    Edited by: kirankumar2129 on Oct 18, 2011 10:03 AM

    You need to have the SAP access key to modify the screen and add the field which already been added in VBAP using the Append structure in SE11
    Thanks,
    Babu Kilari

  • Add a additional field in tcode XK02 - control screen

    Hi,
    I have to add an additional field in Tcode XK02 ie., in Control Screen, I couldn't find any screen exits. I hvae found one BADI VENDOR_ADD_DATA_CS .I have added a New field in Table LFA1 (the new field is T5UNT-NAICS ) through Append Structure but the append strcture is Partial Active. Also, how to add an additional field in the control screen of tcode XK02 using this BADI.
    1. How to make theAppend structure Active
    2. How to add a screen field using this BADI
    Regards,
    Deeephi.

    1. My table was partial active...so go to se11,Enter LFA1 in display mode, Go to Path Utilities-database utility.now click on Activate and Adjust database.it will activated fully.
    2.
    a) create a module programme with the the screenfield(LFA1-NAICS) that you want.
    b) In pbo of module pool,enter following code
    data : l_zfield type lfa1-NAICS.
    constants: c_zfield(10)  value '(SAPMF02D)LFA1-NAICS'.
    field-symbols: <fse>.
    assign (c_zfield) to <fse>.
      if sy-subrc = 0.
        l_zfield = <fse>.
      endif.
    If sy-tcode = 'XK02'.
         Loop at screen.
              If screen-group1 = 'Z1'.
                   Screen-input = 0.
                   Modify screen.
              Endif.
         Endloop.
    Endif.
    c)create a Screen group(Z1) as sushipal reddy showed int he atatched link.
    d)go to Method IF_EX_VENDOR_ADD_DATA~CHECK_ADD_ON_ACTIVE  and add following code
    if i_screen_group  = 'Z1'.
    e_add_on_active = 'X'.
    endif.           
    e)Go to method IF_EX_VENDOR_ADD_DATA_CS~GET_TAXI_SCREEN and type following code
      IF sy-tcode EQ 'XK02'.
        e_screen = '0101'.
        e_program = 'Z_ADD_FIELD_XK02'.
       e_headerscreen_layout = 'E'.
      ENDIF.
    f)thast it...go to xk02 u willl see an al push button and click on it..u can view the screen field...

  • Regarding Tcode creation

    hi
    I created a report program with selection screen.
    can any body make me know how to create Tcode for that program ,what are the parameters to be passed while creating Tcode in se93.
    thanks
    prasad

    Go to se93.
    Give the desired t-code and go for create.
    Gi the program name and screen number 1000
    SEELCT PROFESSIONAL USER TRANSACTION.
    And select the check box
    SAPGUI FOR WINDOWS
    Regards,
    madan.

  • Regarding Tcode SE95

    Hi All,
    Please let me know how it is useful Tcode SE95 in SAP ECC 6.0 Upgrade Project.
    And also let me know the procedure or steps or Tips for using Tcode SE95.
    Thanks in Advance.
    Regds,
    Mahesh Devershetty

    Hi Mahesh,
                   SE95 is for adjusting SPAU and SPDD objects during upgrade
    Here are the steps to be followed.
    go to --> se95 ,click on Excecute button, here u get the list of objects which have to be modified during SPAU phase.
    with modification assistant:
    1) expand this node u get a list of objects. click on one of them and click on versions button.
    2) here u select the active version and the latest version of teh old release and select the compare button.
    3) it displays the code in a split screen.
    4) teh code on the right is the old release where as the code on the left is the active upgraded version.
    5) compare the two codes , if u find any insert delete or replace in teh old release (right side of the screen) then that shud be implemented in the active upgraded version . adopting the changes in the old release to the new active upgraded version is called Adopt Modification. This can be done by following steps:
                           a) Click on the green/yellow/red button that appears along wit the object .
                           b) if it is  a green traffic light , then the object gets modified by itself, there is  o need of manual adjustments,
                           c) if it is an yellow light , the object is partially adjusted, hence few changes have to be done manually. this direclty takes to the split screen editor whre u can adopt the required changes
                            d) if it is  red light then all teh changes have to be adopted manually
    6) if there are no difference in the code , then there are no changes to be adopted, hence u have to Reset to Original.
    This can be done by reset to original button present in the application tool bar or else go to modification ->reset to original
    without Modification assistant
    1) here also one has to follow the same steps from 1 to 4 as above. But u cant find any inserts Replace or delete here.
    2) U have to look out for any changes made by customer and then adopt these changes of reset it if there are no changes.
    if any clarifications,revert back.
    Hope u find the info helpful.
    Regards,
    Vasuki

  • Populate values in f4 dialog screen based on the values in selction screen

    hi,
    i have done a module program where i would enter the details like ssales org ,division,distribution channel in the selection screen and would enter the screen having the table control... in that table control i have a field for customer code.. when i press f4 for cus code.,dialog box appears for the cus code and in that , sales group tab should be selected and the divsion ,dist channel and sales organisation i gave in the slection screen should be displayed as default...how can i do this ..
    since there is no screen no as such i am finding it difficult to crack.
    with thanks in advance ,
    syed

    if you do not give a specific number to selection-screen, its dynpro number is 1000.
    So in POV (AT SELECTION-SCREEN ON VALUE-REQUEST) use the classical DYNP_VALUES_READ with dynumb  = '1000' to get current values from screen, then you can
    - Fill yourself an internal table and call F4IF_INT_TABLE_VALUE_REQUEST
    - Call F4IF_FIELD_VALUE_REQUEST using CALLBACK_PROGRAM and CALLBACK_FORM to call a form in your report that will be executed by the search-help and there (look at online documentation) will change the default values of subfiled (itab) SELOPT of  SHLP parameter (type SHLP_DESCR_T)
    Sample of the second case (there are already too many samples for the first on sdn)
    .* POV
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_umskz.
      CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
           EXPORTING
                tabname          = 'BSID'
                fieldname        = 'UMSKZ'
                callback_program = g_repid " copy of sy-repid
                callback_form    = 'CGS_DEBITOR'
           TABLES
                return_tab       = return_tab
           EXCEPTIONS
                OTHERS           = 1.
    * Form for callback
    FORM cgs_debitor TABLES   record_tab STRUCTURE seahlpres
                     CHANGING shlp TYPE shlp_descr_t
                              callcontrol LIKE ddshf4ctrl.
    * Local data
      DATA: ddshiface TYPE ddshiface,
            worklist LIKE lumskz,
            dynpfields TYPE TABLE OF dynpread WITH HEADER LINE.
    * Only D-ebitor
      LOOP AT shlp-interface INTO ddshiface WHERE shlpfield = 'KOART'.
        ddshiface-valtabname = 'BSID'.
        ddshiface-valfield   = 'KOART'.
        ddshiface-value      = 'D'.
        MODIFY shlp-interface FROM ddshiface.
      ENDLOOP.
    ENDFORM.
    .Regards,
    Raymond

  • Input values in bex selction screen

    Hi Experts--
    Iam facing a peculiar functionality in bex reporting.
    We are maintaining ZBATCH (Length 10)as the masterdata in BW.
    Created a variable for ZBATCH, in the selection screen if  i give values as 36789 as input it displays the data i mean the result..whereas if i give for the same as 0000036789 as input i got "No Applicable data" ..
       May i know the reason for this and how to rectify this..i mean if the user enters with 0000036789 it should display the data.
    Tried with ALPHA Conversion routines but i didn't got the sol with this..
    So can anyone plz help me in this regard.
    Regards,
    Rambo.

    Hello,
    here is one exapmle:
    i have a 'plant' characteristic(length 4,CHAR,no ocnversion exit).and in cube i have data like....0780,765,897.....
    after executing Query,if enter 0780..it accepts...but if enter 765..it says 'invalid'.
    when i have conversion exit ALPHA for 'plant'....if i enter 0765 and go for 'check'...it converts it as  '765'and u can execute the Query...
    so u r problem shold be solved with ALPHA conversion exit.
    hope this helps.
    regards
    Message was edited by: c c

Maybe you are looking for