Displaying alv as output on the same selection screen

Hi Gurus,
             Happy new Year!! .I have got a requirement in which I have to pass three fields i.e. Matnr (as range) , Storage location (as Range) and Plant (as Parameter). The result is to display these three fields and the storage Bin display mode only and an additional field where the user will enter the new storage bin number (input mode). I have to display these fields on the selection screen itself and when the user enters the new storage bin location and press the save button, the program is suppose to update the database using the call transaction method.
         Can any one suggest how could i take initaitive to display the output alv on the selection screen.
Is it possible to dispaly these values on the selection screen itself  ? 
        Your suggestions are of great value and importance to me.
Thanking you,
Furquan.

HI,
Just write ur ALV code under AT SELECTION-SCREEN statement.
It will automatically display ur ALV on the same screen.
Regards,
Kusuma.

Similar Messages

  • How can i  display output in the same selection screen?

    I've a requirement. Suppose in my selection screen there are three input fields. On the basis of this selection screens input It will  display the output in the same selection screen. Can it be possible? .
    Can it be possible to modify the default screen no for the selection screen 1000?
    Thanks in advance.
    Abhijit

    Hi Abijit,
    Whatever changes made in STANDARD SELECETION SCREEN 1000 or screens generated using 'SELECTION-SCREEN' statements, are not permanent.
    It will get back to its original appearance, while you execute again or some time later.
    Whenever you get into 'CHANGE' mode of these screens, an information will be displayed as follows ;
    Selection screen: Report generation makes screen
    changes ineffective
    Regards,
    R.Nagarajan.

  • Alv is not appearing in the same Selection Screen

    Hi people..
    First time using  cl_gui_docking_container.
    I have a problem, my alv is not appearing in the same Selection Screen.
    is there somethign wrong with my code? it doesnt even show a dump or catch.
    Regards
    DATA: lo_dock TYPE REF TO cl_gui_docking_container,
           lo_cont TYPE REF TO cl_gui_container.
    DATA: gr_table      type ref to cl_salv_table,
           gr_functions  type ref to cl_salv_functions,
           gr_display    type ref to cl_salv_display_settings,
           gr_columns    type ref to cl_salv_columns_table,
           gr_column     type ref to cl_salv_column_table,
           gr_sorts      type ref to cl_salv_sorts,
           gr_agg        type ref to cl_salv_aggregations,
           gr_filter     type ref to cl_salv_filters,
           gr_layout     type ref to cl_salv_layout,
           color         type lvc_s_colo,
           key           type salv_s_layout_key.
       SELECT * INTO TABLE tbl_datos_items FROM zsd_micros_bd.
    CHECK lo_dock IS INITIAL.
      CREATE OBJECT lo_dock
           EXPORTING
             repid = sy-cprog
             dynnr = sy-dynnr
             ratio = 70
             side  = cl_gui_docking_container=>dock_at_bottom
             name  = 'DOCK_CONT'.
         IF sy-subrc <> 0.
           MESSAGE 'Error in the Docking control' TYPE 'S'.
         ENDIF.
    TRY.
    lo_cont ?= lo_dock.
    cl_salv_table=>factory(
    exporting r_container      = lo_cont
                 container_name = 'DOCK_CONT'
                 list_display   = if_salv_c_bool_sap=>false
    importing r_salv_table = gr_table
    changing t_table = tbl_datos_items  ).
    CATCH cx_salv_msg .
    ENDTRY.
    gr_functions = gr_table->get_functions( ).
    gr_functions->set_all( abap_true ).
      gr_display = gr_table->get_display_settings( ).
      gr_display->set_striped_pattern( cl_salv_display_settings=>true ).
      gr_display->set_list_header( 'Items de Ventas' ).
      gr_table->display( )

    Hi ,
    First you have to create you own screen ( dynpro )  with a screen number ( 0101 for exemple )  , you need to pu a custom control in it , name the custom control ( lo_cont )
    For the screen created you need to create a module for the PBO , in this module you sould put you code for displaying the liste :
    Module STATUS_0101 output.
    TRY.
    lo_cont ?= lo_dock.
    cl_salv_table=>factory(
    exporting r_container      = lo_cont
                 container_name = 'DOCK_CONT'
                 list_display   = if_salv_c_bool_sap=>false
    importing r_salv_table = gr_table
    changing t_table = tbl_datos_items  ).
    CATCH cx_salv_msg .
    ENDTRY.
    gr_functions = gr_table->get_functions( ).
    gr_functions->set_all( abap_true ).
      gr_display = gr_table->get_display_settings( ).
      gr_display->set_striped_pattern( cl_salv_display_settings=>true ).
      gr_display->set_list_header( 'Items de Ventas' ).
      gr_table->display( ).
    Endmodule.
    and give the screen number when calling  lo_dock 
    CREATE OBJECT lo_dock 
           EXPORTING
             repid = sy-cprog
             dynnr = '0101'.
    tested
    Regards

  • Need solution for the following(Selection Screen)

    Hi all,
    currently iam working with report program,there i need to populate one field in the selection screen based on the another parameter in the same selection screen.
    iam having field called work center as a parameter with the search help.
    This search help is providing the corresponding plant for the particular work center.
    Now what i need to do is,if i select the work center thru F4 help,i need the correseponding plant to get populated in the other textbox.
    Currently iam having that work center field as parameter,
    now i need another textbox for the plant adjacent to this workcenter textbox,in this textbox only i need that corresponding plant.
    Following is the code for that workcenter textbox.
    PARAMETERS:P_ARBPL LIKE CRHD-ARBPL MATCHCODE OBJECT CRAM.
    Note: The Serach help CRAM is having corresponding  plant with the workcenter.

    Hi swaminathan,
    1. If u want to DIRECTLY
       populate other fields
       based upon selection,
      then we have to use our own
      selection function.
    2. just copy paste this code in new program.
      ( it will display help for BUKRS
      and AS SOON AS the user selects some company code,
      the other fields
      get populated AUTOMATICALLY)
    3.
    REPORT abc.
    DATA : dd     LIKE     TABLE OF dselc WITH HEADER LINE. "*--- IMPORTANT
    DATA : ft     LIKE     TABLE OF dfies WITH HEADER LINE.
    DATA : t001 LIKE TABLE OF t001 WITH HEADER LINE.
    PARAMETERS : bukrs LIKE t001-bukrs .
    PARAMETERS : butxt LIKE t001-butxt.
    PARAMETERS : ort01 LIKE t001-ort01.
    PARAMETERS : waers LIKE t001-waers.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR bukrs.
       SELECT * FROM t001 INTO TABLE t001.
    IMPORTANT
       REFRESH dd.
       dd-fldname = 'BUTXT'.
       dd-dyfldname = 'BUTXT'.
       APPEND dd.
       dd-fldname = 'ORT01'.
       dd-dyfldname = 'ORT01'.
       APPEND dd.
       dd-fldname = 'WAERS'.
       dd-dyfldname = 'WAERS'.
       APPEND dd.
    *------- IMPORTANT
       REFRESH ft.
       ft-tabname  = 'T001'.
       ft-fieldname = 'BUTXT'.
       APPEND ft.
       ft-tabname  = 'T001'.
       ft-fieldname = 'WAERS'.
       APPEND ft.
       ft-tabname  = 'T001'.
       ft-fieldname = 'ORT01'.
       APPEND ft.
       CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
         EXPORTING
          ddic_structure  = 'T001'   "*----- IMPORTANT IF STANDARD STRUCT
           retfield        = 'BUKRS'
           dynpprog        = sy-repid
           dynpnr          = sy-dynnr
           dynprofield     = 'BUKRS'
           value_org       = 'S'
         TABLES
           field_tab       = ft "*---- IMPORTANT
           value_tab       = t001
           dynpfld_mapping = dd   "* IMPORTANT
         EXCEPTIONS
           parameter_error = 1
           no_values_found = 2
           OTHERS          = 3.
    regards,
    amit m.

  • Error while transporting the Custom  Selection Screen to Production

    Hi All ,
    I have created a custom selection screen based on selecting the HR REPORT CATEGORY which gets selected under attributes section of an Executable Program.
    Every selection  screen got replicated till quality  but  at Production unable to see the same selection screen
    Please provide any suggestion to resolve my probs...
    Regards,
    Dheeraj

    Hi,
    This happened to me once.
    I have checked my transport logs and found that everything was successfully transported in order and without errors. But the selection screen was not coming in Productio system. So i have tried activaing and generating the program once which solved my problem.
    Hope it helps you too.
    Thanks,
    Venkatesh.

  • Problem in displaying Alv grid output  using oops........

    hi,
    i have two problems in displaying ALV grid output Using Oops.
    1) How to modify the fieldcatalog after we getting a field catalog using general FM.
    2) initialy it is displaying 13 fields but there are 63 fields .
       eventhough we chage the layout to 63 fields it is displaying only 13 fields , these 13 fields may be different based on our selection but count  of displayed fileds are same . how can display 63 fields at a time .

    Hi,
    You can chnage using below code:
    loop at gt_fieldcat.
    if <gt_fieldcat-field_name> = 'FIELDNAME'.
    endif.
    modify gt_fieldcat.
    clear gt_fieldcat.
    endloop.
    Make sure that all the field should not have no_out = 'X' and tech = 'X'.
    Thanks,
    Sriram Ponna.

  • Display discounts and surcharges  for the same vbeln in the same row

    hi experts
    i have to display one discount and surcharges for one vbeln, posnr and one material,
    i have used konv-kschl for condition type and konv-kwert for condition value.
    in my output the conditions what i have given for discounts and surcharges its matching and displaying in different lines for the same vbeln and posnr. usually i should get one line of outputfor one vbeln, but iam getting 3 times repeated
    (one without discounts, surcharges,
    second : same vblen, posnr with discounts,
    third : same vblen, posnr for surcharges )
      please modify the internal table and  conditions below what i have given in my object.
    DATA : BEGIN OF it_konv OCCURS 0,
    knumv LIKE konv-knumv, "Number of the document condition
    kschl LIKE konv-kschl, "Condition type
    kwert LIKE konv-kwert, "Condition value
    kbetr LIKE konv-kbetr,
    kposn LIKE konv-kposn,
    discounts LIKE konv-kwert,
    surcharges LIKE konv-kwert,
    hkunnr LIKE knvh-hkunnr,
    kunnr LIKE knvh-kunnr,
    END OF it_konv.
    LOOP AT it_konv INTO wa_konv.
    CASE wa_konv-kschl.
    WHEN 'ZD01' OR 'ZD02' OR 'ZD03'.
    wa_konv-discounts = wa_konv-kwert.
    WHEN 'ZEXP' OR 'ZEXW' OR 'ZCAF' OR 'ZCAP' OR 'ZCAQ'
    OR 'ZS01' OR 'ZS02' OR 'ZS03'.
    wa_konv-surcharges = wa_konv-kwert.
    WHEN OTHERS.
    DELETE it_konv WHERE kschl = wa_konv-kschl.
    ENDCASE.
    MODIFY it_konv FROM wa_konv TRANSPORTING discounts surcharges.
    CLEAR wa_konv.
    REFRESH wa_konv.
    ENDLOOP.
    As per one of the abap expert who responded to my query is the following.
    DATA : BEGIN OF it_konv OCCURS 0,
    knumv LIKE konv-knumv, "Number of the document condition
    kschl LIKE konv-kschl, "Condition type
    kwert LIKE konv-kwert, "Condition value
    kbetr LIKE konv-kbetr,
    kposn LIKE konv-kposn,
    discounts LIKE konv-kwert,
    surcharges LIKE konv-kwert,
    hkunnr LIKE knvh-hkunnr,
    kunnr LIKE knvh-kunnr,
    END OF it_konv.
    DATA : BEGIN OF wa_konv OCCURS 0,
    kposn LIKE konv-kposn,
    discounts LIKE konv-kwert,
    surcharges LIKE konv-kwert,
    hkunnr LIKE knvh-hkunnr,
    kunnr LIKE knvh-kunnr,
    END OF wa_konv.
    move '1' to it_konv-knumv.
    move 'ZD01' to it_konv-kschl.
    move '1200' to it_konv-kwert.
    move '0010' to it_konv-kposn.
    append it_konv.
    move '2' to it_konv-knumv.
    move 'ZEXP' to it_konv-kschl.
    move '1300' to it_konv-kwert.
    move '0010' to it_konv-kposn.
    append it_konv.
    move '3' to it_konv-knumv.
    move 'ZEXP' to it_konv-kschl.
    move '1400' to it_konv-kwert.
    move '0010' to it_konv-kposn.
    append it_konv.
    LOOP AT it_konv.
    MOVE-CORRESPONDING it_konv to wa_konv.
    CASE IT_konv-kschl.
    WHEN 'ZD01' OR 'ZD02' OR 'ZD03'.
    wa_konv-discounts = IT_konv-kwert.
    WHEN 'ZEXP' OR 'ZEXW' OR 'ZCAF' OR 'ZCAP' OR 'ZCAQ'
    OR 'ZS01' OR 'ZS02' OR 'ZS03'.
    wa_konv-surcharges = IT_konv-kwert.
    ENDCASE.
    COLLECT WA_KONV.
    CLEAR wa_konv.
    ENDLOOP.
    But to try according to the above, i dont have the values for kwert, i know only the condition type (KSCHL). based on this how can i solve my problem
    please clarify
    thanks in advance

    Refer to the suggestion given by Naimesh here Can we modify a sub-total in ALV making use of function GET_GLOBALS_FROM_SLVC_FULLSCR and the method GET_SUBTOTALS. You can see the parameter ep_collect01 refered in case of subtotals. Can you please check ep_collect00 for grand total in your case.
    As said about EP_COLLECT00,here goes a classic example Modify grand total in ALV GRID
    BR
    Keshav
    Edited by: Keshav.T on Sep 21, 2011 9:39 AM

  • How do I set upmy Imac to allow using both my computer speakers and a Bose SoundLink system as outputs at the same time.  I can use one or the other, but not both.

    how do I set up my Imac to allow using both my computer speakers and a Bose SoundLink system as outputs at the same time.  I can use one or the other, but not both.  From systems Preferences I must select one or the other.  I want both to work all the time.

    Hi,
    I would recommend you to use 0FI_AP_4 rather using both, particularly for many reasons -
    1. DS: 0FI_AP_4  replaces DataSource 0FI_AP_3 and still uses the same extraction structure. For more details refer to the OSS note 410797.
    2. You can run the 0FI_AP_4 independent of any other FI datasources like 0FI_AR_4 and 0FI_GL_4 or even 0FI_GL_14. For more details refer to the OSS note: 551044.
    3. Map the 0FI_AP_4 to DSO: 0FIAP_O03 (or create a Z one as per your requirement).
    4. Load the same to a InfoCube (0FIAP_C03).
    Hope this helps.
    Thanks.
    Nazeer

  • RRI output in the same window

    BW Consultants:
    I have a WAD in nw 2004s. I am jumping from Q1 to Q2. The users want to see the output of Q2 in the same window as the inital results for Q1. I checked help.sap.com and they mentioned this functionality in WAD RRI_OPEN_MODE. Sure, I checked the WAD - properties and cannot display Q1 and Q2 output in the same window.
    Any idea?
    Regards
    RAP

    Hello,
    have you applied the last RRI patch?
    Check OSS Note 1296575 - "RRI: REPLACE_WEB_APPLICATION opens new window".
    Best regards
    Edited by: M Lange on Jul 1, 2009 7:50 PM
    Edited by: M Lange on Jul 1, 2009 7:50 PM

  • How does iCal, or Calendar, order the display of multiple events for the same time?

    I can't for the life of me figure out how iCal orders the display of multiple items at the same time.  Does anyone have a clue?  It's not alphabetical.  It's not according the the order of the calendars in the left pane.  Is it just random?  Any help would be greatly appreciated.

    In the focus lost eventhandling start a thread which does
    the actual handling.
    the new thread waits for a little time (0.1 seconds)
    the click event of the button checks for a thread like the one above and tells it not to execute
    This way you execute the for the lost focus event only if
    the ok button isn't clicked in the same process ... not
    realy good, because it kind of relies on the ordering of threads ... but maybe it still works for you?

  • How can I produce two outputs of the same project

    Dear Sir,
    My aim is to produce two outputs of the same master project,
    HTML help and Webhelp each one will be used differently in my
    compnay.
    Producing two outputs is fine but the problem was that
    external links are done differently for HTML help and Webhelp and
    as I Knew from you that this can be solved using conditional tags.
    Actually I am new to conditional tags and I don't know how to
    use them. Could you please help me to do this or recommend a link
    on how to use condtional tags to produce different outputs.
    Thank you very very much

    Hi there ahlam323
    See if the link below helps any. Some goober wrote something
    on it.
    Click
    here to read the goober's guide
    Cheers... Rick

  • How do I synchroniz​e my instrument​s output at the same time?

    Hello:
    I am using Labview to control a New Era Pump Systems automatic syringe pump and to record diameter measurements from a LaserMike optical comparator. My program is fully functional, the code is attached with all auxilliary files in the NE-50X folder. I mostly understand my program, I used drivers for the NE-50X pump found on the NI website to build my code and added to it as needed. My program currently does the following:
    After I push the white Run button, I am prompted for a file name. After I enter one, Labview begins collecting data from the LaserMike, syringe pump and pressure transducer and outputs them to their respective numerical indicators and waveform charts. Then I can change the syringe pump flow rate and syringe diameter on the front panel. Once I push the green RUN button on the front panel, the syringe pump runs, and the balloon diameter vs. syringe volume XY graph begins to record. I can then reverse the direction of the pump and/or pause the pump however many times I like, while Labview still records diameter from the LaserMike. Pushing the red STOP button on the front panel terminates the program and stops the pump.
    Here are three things I would like to change about my program that I don't know how/what to do:
    1) I would like to synchronize my machines so that they are outputing at the same rate.
    2) I would like to convert my strain output into PSI.
    If anyone has ideas about how to do any of these three things, your help is greatly appreciated.
    Attachments:
    NE-50X.llb ‏994 KB
    Balloon DiameterStrain.vi ‏227 KB

    Hello N,
    What is considered a special board? I am using a SC-2345 DAQ board. This is where my transducer is hooked into. For my syringe pump and LaserMike I have them being inputed as instruments. When you say millisec resolution does that mean that the data points will be lined up better with one another?
    I would like my strain gauge to measure pressure. 
    Thanks!

  • I can't burn my playlist on several CDs anymore without stopping the process and going to the next selection of songs. First I could, now it re-burns the same selection of songs over and over again.

    I was able to burn the whole contents of a playlist on several CDs in a row. When I do it now however it will re-burn the same selection over and over again without moving to the next. What can be done?

    See Empty/corrupt library after upgrade/crash...
    tt2

  • Need to graph one DAQ output vs. a second DAQ output on the same graph.

    I am having trouble graphing two DAQ assistant outputs on the same graph.  One output vs. the second output.

    Hi there,
    You have to convert the DDT signal that comes from the DAQ Assistant to get or data in two arrays.
    Then bundle them into a cluster and use a XY Graph.
    See attached example:
    Hope this helps,
    Paulo
    Attachments:
    XYGraph.vi ‏101 KB

  • How to get the sine wave sample of the input and output in the same time?

    I discovered that the samples were acquired did not in the same time in my vi.Could you tell me how to get the sine wave sample of the input and output in the same time?
    Output:9263;
    Input:9201
    Attachments:
    singal requency.vi ‏104 KB

    Hello Yun_Zhu,
    Your VI looks like you started from an example, and you are on the right track. 
    To clarify are you trying to synchronize the input and the output waveforms?  If you you will need to share a time base and a start trigger.  Check out the synchronization examples from LabVIEW
    Anthony F.
    Product Marketing Engineer
    National Instruments
    Attachments:
    HIODAQmxSyncMultiDev.png ‏70 KB

Maybe you are looking for

  • AMM Shrink and grow question

    Hi, i've 11.2 Database. I know that using AMM, Oracle manages sga and pga together. But why shink and grow (sga pools) operation impact only shared and buffer and not also the pga? An example, I've 5Gb of AMM, looking AWR, Oracle set shared pool to a

  • Any app with full screen width SMS message bubbles?

    Does anyone know of an app that has full screen width SMS message bubbles?  I am obsessive compulsive -- the one-half width of the screen message bubbles during a conversation is driving me absolutely CRAZY!  The standard sms message bubbles fill up

  • 10/5/11

    I just checked iTunes and it says that iPod will check for an update on 10/5/11, does that means iOS 5 will released all the features or just some of it?

  • Document specific unit preferences

    I work on documents in Metric, US, and also column inches using Picas and inches depending on the client. It would be highly beneficial to have the document keep the units that the layout was originally created in. An example: If someone creates a do

  • WMP11 C00D11B1 error when using Dolby live or DTS Connect

    I can't play any media in WMP whatsoever with either DTS Connect or Dolby Digital Li've enabled, although I am using Windows 7 so maybe I'm just asking for trouble, anyone else have this issue? X-Fi XtremeMusic