Detailed pop up screen in selection screen - urgent

hai experts,
how can we give a detailed pop up screen in selection screen.
My requirement is,
To display Details of spool Nos taken for current porogram to take print out from end user.
from OWN SPOOL REQUEST displays all other programs........
can any one give a right solution?
reward will avail for use full answer.
thanks in advance.
regards,
jai.m

Hi Jai
May be you can use this FM POPUP_WITH_TABLE_DISPLAY_OK with the list of spool number populated into internal table.
If you are particulary looking for selection screen, then decalre your selection screen as below
Selection-screen begin of screen 9000.
Selection-screen end of screen.
Then use the statement Call selection-screen 9000 starting at x y.
Hope this helps !
Regards
Ranganath

Similar Messages

  • Can anybody explain in more detail about NO-DISPLAY in selection screens..

    an anybody explain in more detail about NO-DISPLAY in selection screens.. in that it is saying
    "If you want to display a parameter only in certain cases, for example, depending on the values entered by the user in other input fields of the selection screen, you cannot use the NO- DISPLAY addition. If you use NO-DISPLAY, the parameter actually is an element of the interface for program calls, but not an element of the selection screen. As a result, you cannot make it visible using the MODIFY SCREEN statement. To hide a parameter that is an element of the selection screen, you must declare it without the NO-DISPLAY addition and suppress its display using the MODIFY SCREEN statement."
    what is the meaning of this?

    This is use a lot in programs which are submitted using the SUBMIT statement.  Say that you have a program which runs as usally with a selection screen and nornal output, but you also have some logic built in there that needs to be execute when this program is not ran by the user with the selection screen, but submitted.  You can use a PARMETER statement the selection screen and NO-DISPLAY to hide it when normal processing by the user.  You could pass a value to the parameter when it is called via the SUBMIT statement.  Does this make sense?
    Regards,
    Rich Heilman

  • How to set Screen type "Selection Screen" in Dialog program

    Hi Experts,
    I have copied a screen 400 from a program into my program. In that screen in source program, the screen type was defined as 'Selection Screen'. After i copied that screen into my program, the screen type Selection Screen option is disabled. How to set the screen type of a screen to Selection Screen.
    I am currently getting the following error
    "Error when generating the selection screen "0400" of   "Ztest_screen                 ".
    I tried running the generation program RSDBGENA. There the diagnosis was given as follows:
    When generating the report Ztest_screen and its selection screen, an existing screen 1000 (not a selection screen) was overwritten.
    The selection screen was defined as follows:
    SELECTION-SCREEN BEGIN OF SCREEN 400 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK blck1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: s_matnr FOR mara-matnr.
    PARAMETERS:     p_werks TYPE werks_d OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK blck1.
    SELECTION-SCREEN END OF SCREEN 400 .
    I am calling the screen 400 with selection screen declarations in PBO of screen 0100.
    CALL SUBSCREEN sub_scr INCLUDING 'Ztest_Screen'  '400'.
    Where am i going wrong? Your inputs are needed.
    Thanks

    Thanks Przemysław and Nabheet for your suggestions.
    I had copied the generated screen 400 also from the source program into my program. This was the error. I deleted that and the report got activated now.
    Both the source and destination programs are not module pool. They are executable programs.
    Thanks

  • How to get ME23 screen using selection-screen

    Hi,
    I am trying to get the ME23 screen using selection-screen with following code.
    select-options: purordno for ekko-ebeln NO intervals.
    SUBMIT SAPMM06E VIA SELECTION-SCREEN .
    But at the time of execution i got this error "INCORRECT PROGRAM TYPE WITH SUBMIT".
    Can any one please provide me some sample code how to get the ME23  screen
    using Abap program.
    Regards,
    krishna/rajesh.

    Hi Rajesh,
    You can't submit a pool modul ( SAPMM06E ).
    Only executable prog can be submit .
    What you can try is use "CALL TRANSACTION" statement.
    Hope this helps,
    Erwan

  • Supressing Tab selection screen on selection screen ....

    Hello Gurus,
    I have following program. I want to make the Tab screen on selection screen inivisible when ceratin condition is set in configuration table. I know that I have to do it in AT SELECTION-SCREEN OUTPUT using loop - endloop. But how can I do it , lets say when variable v_block = 'X'.
    REPORT  ZTOPTEST .
    data: v_block type char1.
    SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.
    parameters:
            max_res(8) default '20'.
    SELECTION-SCREEN END OF SCREEN 100.
    SELECTION-SCREEN: BEGIN OF TABBED BLOCK tab_block FOR 5 LINES,
      TAB (20) tab1 USER-COMMAND tabpush1
      DEFAULT SCREEN 100,
    END OF BLOCK tab_block.
    AT SELECTION-SCREN OUTPUT.
    LOOP AT SCREEN.
    MODIFY SCREEN.
    ENDLOOP.

    Hi, Jainam
    Use the following Sample Code hope will solve out your problem,
    AT SELECTION-SCREEN OUTPUT.
      IF v_block = 'X'.
        LOOP AT SCREEN.
          IF screen-name = 'MAX_RES' or screen-name = '%_MAX_RES_%_APP_%-TEXT'.
    *        screen-active = 0. " Active this and Hide the Bellow if Compliantly Hide Fields and Lable
            screen-input = 0.   " You can see the Fields but not able to Input
            MODIFY SCREEN.
          ENDIF.
      ENDLOOP.
    ENDIF.
    Best Regards,
    Faisal

  • How to generage pop up screen on selection screen of report program?

    Hi Guys,
            I am having a requirement to generate the <b>pop up screen on the selection screen</b> of the report program.
           Suggest me the best one with model program

    Hi Chakradhar,
                             Refer this code :
    SELECTION-SCREEN BEGIN OF BLOCK BL2 WITH FRAME TITLE TEXT-456.
    PARAMETERS PO RADIOBUTTON GROUP RADI USER-COMMAND R.
    SELECTION-SCREEN END OF BLOCK BL2.
    AT SELECTION-SCREEN OUTPUT.
    CALL SCREEN 100.
    when user will click on this radio button , a pop up screen will appear dynamically.
    Reward points if helpful.
    Regards,
    Hemant

  • How to get full row from F4 pop up window into selection-screen fields

    HI ,
    I had a selection screen having 3 fields (vbeln, posnr, ebeln )
    If i press F4 on field 1 i will get a pop up having all values.
    If i click on any one row in that popup, only the first field is getting filled with the value. But i want all the other fields to be filled with the corresponding values in the screen simultaneously.
    Please let me know is there any solution for this...
    Regards,
    Kanth....

    Hi
    U should base your selection-screen on a dictionary structure whith those three fields where you assign your search help exporting all values (VBELN, POSNR and EBELN).
    In this way you'll obtain what you need automatically
    Else you can manage it in POV event by your selef.
    Max

  • Need to have pop up window in selection screen and capture the user action.

    Hello Friends,
                         I have a requirement, that need to show a pop up window after execution, and to get the action from user using a Push button.
    I create a selection screen and a sub screen as window.
    After user execute from the selection screen, I am popping up this window.
    Window contains some input values to be entered and push button to identify the user action.
    I try to capture the user action using sy-ucomm, but it does not hold any value when user press the button.
    How to overcome this issue.
    Here is the definition of the window.
    Pop Up Window for getting values
    SELECTION-SCREEN BEGIN OF SCREEN 500 AS WINDOW TITLE title .
    PARAMETER : p_vdate LIKE t9aa01-validfrom,
                p_dcggt LIKE t9aa01-hkont,
                p_dcgst1 LIKE t9aa01-hkont,
                p_dcgst2 LIKE t9aa01-hkont,
                p_na LIKE t9aa01-hkont.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION 20.
    SELECTION-SCREEN PUSHBUTTON 2(10) text-001 USER-COMMAND SVE.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF SCREEN 500.
    Cheers,
    Senthil
    Edited by: Senthil on Jan 7, 2008 11:03 AM

    Hi,
    Try using the below code.
           data : w_var type string.
           CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
             EXPORTING
              DEFAULTOPTION        = 'Y'
               textline1            = 'test '
             TEXTLINE2            = ' '
               titel                = 'check'
             START_COLUMN         = 25
             START_ROW            = 6
             CANCEL_DISPLAY       = 'X'
            IMPORTING
              ANSWER               = w_var.
                     if w_var = 'J'.
                     else.
                     endif.
    Comments : J indicates Yes and N indicates No
    Regards,
    Jeswanth

  • How to display a screen in selection-screen?

    hi friends,
    I have a requirement. I have one PNP database SELECTION-SCREEN in my report program. And i have created one more screen using screen painter.
    Now i hae to display that screen which i created using screen painter under PNP SELECTION-SCREEN.
    For ex:
    PNP SELECTION-SCREE.
    Pernr Number    _______________
    Employe Name _______________
    Company Code _______________
    Payroll Area     ________________
    Now after this i have to display my screen which i designed using screen painter.
    As shown below.
      O In rupees
      O In Percentage
       Variance______
    Here i specified some fields only. some more fields also there.
    For this i did as....
    I created a BUTTON in SELECTION-SCREEN. And when the user clicked on this then screen will appear as window.
    It's working fine.
    It's look like this.
       |More Selections...|                            -
    > Button
    But,my client required that screen also wants to display directly under PNP SELECTION-SCREEN but not as window and clicking button.
    If Any Help.. Plz....
    Thanks & Regards,
    Shree.

    hi prakash,
    thanks for ur solution.
    but it's not working properly. while changing 1000 screen and activating, it's showing syntax error like this.
    while changing:
    ==> Element PNPS$MCD touches or overlaps other element
    ==> Selection screen: Report generation makes screen changes ineffective
    ==> Element PNPS$MCD touches or overlaps other element
    While Activating:
    Syntax Error in Screen.
    Program <myprogram name>
    Screen   1000
    Position  Flow Logic       Line 95
    The include block has been used twice.
    But, Here i clicked the button "Activate".
    Then It's showing messages as this.
    ==> Selection screen: Report generation makes screen changes ineffective
    ==> Element PNPS$MCD touches or overlaps other element.
    I checked out that Line 95.
    There i am specifying my suscreen as this.
    CALL SUBSCREEN subscreen1 INCLUDING sy-repid 106.
    at end of PBO.
    And in PAI.
    CALL SUBSCREEN subscreen1.
    Finally when i tried to execute it's giving DUMP.
    Any solutions..
    Thanks & Regards,
    Shree.

  • Using Selection screen and selection screen output

    Hi All,
    I am trying to execute AT SELECTION-SCREEN and AT SELECTION-SCREEN output. Both the para's working fine seperately. But when I execute them together AT SELECTION-SCREEN output is not working. Please let me know how to solve this problem. Please see below for the code.
    PARAMETERS:  p_werks LIKE marc-werks OBLIGATORY MEMORY ID WRK,
                 p_lgort LIKE mard-lgort OBLIGATORY,
                 p_rlgort LIKE mard-lgort OBLIGATORY.
        PARAMETERS: p_boml TYPE c RADIOBUTTON GROUP mode user-command flag.
            SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
                PARAMETERS: p_aufnr LIKE aufk-aufnr MODIF ID cp2.
            SELECTION-SCREEN: END OF BLOCK b1.
    *SELECTION-SCREEN COMMENT 1(44) text-004 FOR FIELD p_cmpl.
        PARAMETERS: p_cmpl TYPE c RADIOBUTTON GROUP mode.
           SELECTION-SCREEN: BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
                PARAMETERS: p_matnr type marc-matnr MODIF ID cp1,
                            p_verid type afpo-verid MODIF ID cp1,
                            p_labst type mard-labst MODIF ID cp1.
           SELECTION-SCREEN: END OF BLOCK b2.
       PARAMETERS: p_mstr TYPE c RADIOBUTTON GROUP mode.
    AT SELECTION-SCREEN output.
      LOOP AT SCREEN.
        IF p_boml <> 'X' AND
           screen-group1 = 'CP1'.
           screen-active = '1'.
           MODIFY SCREEN.
        ENDIF.
        IF p_cmpl <> 'X' AND
           screen-group1 = 'CP2'.
           screen-active = '1'.
           MODIFY SCREEN.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    AT SELECTION-SCREEN.
      IF p_boml EQ 'X'.
        IF p_AUFNR EQ space.
            MESSAGE e000(z1) WITH 'Please fill Production Order.'.
        ENDIF.
      endif.
      IF p_cmpl EQ 'X'.
        IF p_MATNR EQ space  OR p_verid EQ space OR p_labst EQ space.
            MESSAGE e000(z1) WITH text-003 'Production Version & Quantity. '.
        ENDIF.
      endif.
    Thanks,
    Senthil

    Hi Senthil,
    As far as my knowledge is concerned AT Selection-Screen output and AT Selection-Screen wont work together.In this code you are trying to do the validation in AT Selection-Screen. Instead of that try doin your validations in Start-of-selection Event.
    i,e., modify your code as follows:
    PARAMETERS: p_werks LIKE marc-werks OBLIGATORY MEMORY ID WRK,
    p_lgort LIKE mard-lgort OBLIGATORY,
    p_rlgort LIKE mard-lgort OBLIGATORY.
    PARAMETERS: p_boml TYPE c RADIOBUTTON GROUP mode user-command flag.
    SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS: p_aufnr LIKE aufk-aufnr MODIF ID cp2.
    SELECTION-SCREEN: END OF BLOCK b1.
    *SELECTION-SCREEN COMMENT 1(44) text-004 FOR FIELD p_cmpl.
    PARAMETERS: p_cmpl TYPE c RADIOBUTTON GROUP mode.
    SELECTION-SCREEN: BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    PARAMETERS: p_matnr type marc-matnr MODIF ID cp1,
    p_verid type afpo-verid MODIF ID cp1,
    p_labst type mard-labst MODIF ID cp1.
    SELECTION-SCREEN: END OF BLOCK b2.
    PARAMETERS: p_mstr TYPE c RADIOBUTTON GROUP mode.
    AT SELECTION-SCREEN output.
    LOOP AT SCREEN.
    IF p_boml <> 'X' AND
    screen-group1 = 'CP1'.
    screen-active = '1'.
    MODIFY SCREEN.
    ENDIF.
    IF p_cmpl <> 'X' AND
    screen-group1 = 'CP2'.
    screen-active = '1'.
    MODIFY SCREEN.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    START-OF-Selection.
    Perform validation.
    form validation.
    IF p_boml EQ 'X'.
    IF p_AUFNR EQ space.
    MESSAGE e000(z1) WITH 'Please fill Production Order.'.
    ENDIF.
    endif.
    IF p_cmpl EQ 'X'.
    IF p_MATNR EQ space OR p_verid EQ space OR p_labst EQ space.
    MESSAGE e000(z1) WITH text-003 'Production Version & Quantity. '.
    ENDIF.
    endif.
    endform.
    Kindly reward if useful.
    Thanks,
    pavithra

  • Create a custom multiple selection on screen - not selection-screen block

    Dear expert,
    I created a text field on screen for input selection, e.g field bname for USR02-BNAME. How can i create a CUSTOMIZE multiple selection plus a paste (from clipboard) feature on this screen (e.g. SCREEN 0002) like standard selection-screen from SAP when we create a report.
    For a better view on what i want:
    This text field already use F4 customize search help. I need a multiple selection lines (like standard selection-screen a button on the right side of select-options field).
    Remember, i don't create textfield from select-options parameter (e.q. SELECT-OPTIONS : XBNAME FOR USR02-BNAME),
    but on a screen.
    Anyone can help my case?.
    Thanks and Warm regards,
    Dondi.

    Had the same question from my users. This was the first hit i found but unfortunately without an answer. So for those with the same question, this is how i solved it (goede voornemen voor 2014). In my case the request is a complex selection on the LFA1 table.
    The screen contains two fields to enter the low/high value for lifnr (zdy_droogteschade-lifnr and zdy_droogteschade-lifnr_tot)
    Created a button on the screen, mark this as output only, when pressed the routine multi_select_crediteuren is performed wich uses the fm 'COMPLEX_SELECTIONS_DIALOG'.
    To top it all of, the icon on the button changes depending on the contains of the range table (in a routine called from the PBO).
    This only works when the button is marked as 'output only',
    Include the icon type pool: 'type-pools: icon.'

  • Difference between standard selection screen and selection screen

    hi guyz,
    im asking this because in the table D010SINF there are two fields  sdate and idate which has different dates in it for some programs and same dates for some..bit confused:(
    thanks

    hi BrightSide 
    standard Selection means
    suppose if you are using parameters means system defaultly generate one screen under the Screen Number 1000
    Selection Screen means you are creating a screen using
    stament SElection-Screen begin of screen 100..
    this is the difference whatever the screen other than '1000' is selection Screen, where as 1000 is Standard Selection Screen
    Regards
    Deva

  • Difference between screen and selection screen

    explain the difference between
    call screen
    and
    call selection-screen
    with easy understandable explanation with simple example
    thanks guyz

    Hi,
    <b>CALL SCREEN</b> interrupts the processing of the current screen to call a new screen or a chain of screens, processing of the current screen is resumed directly after the call.
    Call selection-screen
    Similar to <b>CALL SCREEN</b>, except the screen you are calling must be a selection screen defined using<b> SELECTION-SCREEN BEGIN/END OF SCREEN</b> or the standard selection screen of a report.
    It calls the selection screen with in the program.
    If you call a selection screen using <b>CALL SCREEN</b> instead of <b>CALL SELECTION-SCREEN</b>, the initialization necessary for selection screens is not carried out, and the screen will not run properly when displayed.
    EG:<b>
    SELECTION-SCREEN BEGIN OF SCREEN 123 AS WINDOW TITLE TEXT-456.
      SELECTION-SCREEN BEGIN OF BLOCK BL1 WITH FRAME TITLE TEXT-BL1
                                          NO INTERVALS.
        SELECT-OPTIONS SEL1 FOR SY-SUBRC.
        PARAMETERS     PAR1 LIKE SPFLI-CARRID.
        SELECTION-SCREEN COMMENT /10(20) TEXT-COM.
      SELECTION-SCREEN END OF BLOCK BL1.
    SELECTION-SCREEN END OF SCREEN 123.
    CALL SELECTION-SCREEN 123 STARTING AT 20 5.
    IF SY-SUBRC = 0.
    ELSE.
    ENDIF.</b>
    rewards if useful,
    regards,
    nazeer

  • PBO Event at Sub screen as Selection-Screen

    Hello
    I would like to do the following: in a function group I have a main screen which includes a sub screen
    1300 as selection screen defined with the following command: 
    SELECTION-SCREEN BEGIN OF SCREEN 1300 AS SUBSCREEN.
    SELECTION-SCREEN END OF SCREEN 1300.
    Now, I would like to process within the PBO of this sub screen 1300 to manipulate some fields (such as deactivate or set a default value using
    LOOP AT SCREEN … ENDLOOP.). I need an event like INITIALIZATION in a report, but here I’m not in a report context. 
    Is it possible to take the PBO event to process the PBO by own functions?
    Thanks for your help.
    Best regards,
    Kurt.
    Message was edited by:
            Kurt Weiskopf

    Hello Sasi,
    Thanks for your information.
    On the selection screen some fields shall be displayed only if they are needed. These fields shall be deactivated using:
    Loop at screen.
      case XXX.
          when ‘T1’.
                   screen-invisible = 1.
                   screen-active    = 0.
      endcase.
      modify screen.
    endloop.
    I need the PBO event. Where can I set this code?
    Thanks & Regards,
    Kurt.

  • Selection Screen - multiple selection screens!!

    Hi All,
      There is one requirement where in I want my first selection screen to have 7 radio buttons and on selection of each one , there should be specific selection screens displayed. I know that one way to solve this is create multiple programs and call the program on each selection. But is there a way to do it in the same program. Kindly advice.
    Thanks & Regards,
    Sowmya

    Hi,
    Instead of different screens you can display the fields on the same screen based on the radio button selection...
    Check this example..
    PARAMETERS: P_RAD1 TYPE XFELD RADIOBUTTON GROUP G1 USER-COMMAND USR
                                  DEFAULT 'X',
                P_RAD2 TYPE XFELD RADIOBUTTON GROUP G1.
    <b>* SCREEN 1.</b>
    PARAMETERS: P_MATNR TYPE MATNR MODIF ID M1,
                P_KUNNR TYPE KUNNR MODIF ID M1.
    <b>* SCREEN 2.</b>
    PARAMETERS: P_LIFNR TYPE LIFNR MODIF ID M2,
                P_EBELN TYPE EBELN MODIF ID M2.
    AT SELECTION-SCREEN OUTPUT.
    IF P_RAD1 = 'X'.
    <b>* INVISIBLE THE OTHER SCREEN FIELDS.</b>
      LOOP AT SCREEN.
        IF SCREEN-GROUP1 = 'M2'.
          SCREEN-INVISIBLE = '1'.
          SCREEN-INPUT = '0'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    ENDIF.
    IF P_RAD2 = 'X'.
    <b>* INVISIBLE THE OTHER SCREEN FIELDS.</b>
      LOOP AT SCREEN.
        IF SCREEN-GROUP1 = 'M1'.
          SCREEN-INVISIBLE = '1'.
          SCREEN-INPUT = '0'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    ENDIF.
    Please let me know if you have any questions..
    Thanks,
    Naren

Maybe you are looking for