Pop Up Input Screen

Hi Experts,
   I have this requirement:
     Scenario: I have one table control, with two radio buttons say R1 and R2.
                    a) When R2 is selected, a button outside the table control should get activated.
                    b) On Click of that button, a POP-UP screen (Input Screen), which will be similar to a table
                        control should get displayed in order to take more inputs from the user. The Pop-Up Screen
                        will contain only two fields.
    Please share your experience and suggest me the solution.
   Thanks,
   Chandan

Hi Chandan,
In PBO
If R1 = 'X'
LOOP at screen.
if screen-name = 'Your field"
Screen-Input = 0.
Screen-Invisible = 1.
Modify Screen.
Endloop.
IN PAI
Chain
FIELD R1.
FIeld r2.
Module Call_same_screen_again.
ENDCHAIN on chain-request.
Try this code hope it will solve your problem.
hope this will solve your problem.
cheers,
Suvendu

Similar Messages

  • Module Pool - Pop-Up Input Screen

    Hi Experts,
      I have this scenario:
         I have a table control and two radio buttons say R1 and R2.
         R1 -> Single
    First Requirement-> When R2 is clicked, a button to its adjacent position should become visible and activated.
    Second Requirement-> When the above button is clicked, a new table control should get displayed as a pop-up window type, and user can enter more data or more rows.
    Please share code
    Thanks
    Chandan

    Hi Chandan,
    double click on the radoi button and create a function code for the radio button.
    In rhe PBO write the code for function code..
    case sy-ucomm.
    when 'Function for radio button1'.
            table-control-1-invisible = 'X'.   "table control1 invisible is set to 'X" then the table control is not cisible on the screen.
    table-control-2-invisible = ' '.   "Table control 2 is visible on the screen.
    when 'Function for radio button2'.
           table-control-2-invisible = 'X'.   "table control2 invisible
            table-control-1-invisible = ' '.   "Table control 1 is visible on the screen.
    endcase.
    if you need pop with alv format to diaply data use this fm ..but iw will allow you to selct and not to edit..
    CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
        EXPORTING
          i_title               = 'Batch Number Selection'
          i_selection           = 'X'
          i_screen_start_column = 5
          i_screen_start_line   = 5
          i_screen_end_column   = 70
          i_screen_end_line     = 20
          i_tabname             = 'T_BATCH'
          it_fieldcat           = gt_fieldcat_drd[]                  "field catalog for internal table
        IMPORTING
          es_selfield           = gc_selfield            "if you select field on the pop-up the selcted field and index is captured
        TABLES
          t_outtab              = t_batch                 "internal Table values want to show on the POP-Up
        EXCEPTIONS
          program_error         = 1
          OTHERS                = 2.
      IF sy-subrc <> 0.
      ENDIF.
    Regards,
    Prabhudas

  • Report without input screen working diffrently in debugging and background

    hai,frds
    I have one report without input-screen,But it is working diffrently in background and debugger.
    please help me for this  and i am bapi inside the program to create entries.but
    if its in debugging it is crates corectly but if is in back ground it not working cooetly bapi working one time only.
    plese help me  for this.
    Moderator Message: Too much of text-speak/sms-speak. Thread Locked. Write complete words and check their spellings using the Spell-Check tool in the editor here.
    Edited by: kishan P on Jan 19, 2012 4:40 PM

    HI,
    In SM37,Put the cursor on the Job, Type 'JDBG' in Command line and press Enter.
    You can able to debug your Background job now.
    Find out where it is going wrong.....
    how to debug background job

  • For new entries pass input screen values to PBO of maintenance view

    For maintaining Z table using a customized program with selection screen and FM   'VIEW_MAINTENANCE_CALL' is called . Its working fine for selecting existing entries as per selection screen values. In case if there is no entry found as per input values the maintenance screen comes blank with "No entries found that match selection criteria".
    Instead of this want to pass input screen values on maintenance view if no entry is found thru PBO selection screen. The total & extract tables are empty. No suitable event is found. How this can be done.
    Thanks
    pt

    You could try in a first step to read database to check existence :
    CALL FUNCTION 'VIEW_GET_DATA'
      EXPORTING
        view_name   = 'ZXXXX'
      TABLES
        dba_sellist = it_sellist
        data        = data
      EXCEPTIONS
        OTHERS      = 1.
    If data found, call the view maintenance
    CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
      EXPORTING
        action      = 'U'
        view_name   = 'ZXXXX'
      TABLES
        dba_sellist = it_sellist.
    else create one new record providing required value in a work area
      CALL FUNCTION 'VIEW_MAINTENANCE_SINGLE_ENTRY'
        EXPORTING
          action               = 'INS'
          view_name            = 'ZXXXX'
          insert_key_not_fixed = ' ' " if full key provided
          no_transport         = 'X'
        TABLES
          dba_sellist          = it_sellist
        CHANGING
          entry                = wa_zxxxx
        EXCEPTIONS
          OTHERS               = 1.
    Regards,
    Raymond

  • Problem in Bex Input Screen

    Hi,
    We are using 0profit_ctr  in the input screen and hierarchies are made on dis infoobject and no of hierarchies are made on this infoobject and client wants to see only specific hierarchies in the help . Plz let me know hw it cud be restricted in the help .....
    0profit_ctr .
    1.   xyz
    2 abc
    3 hjk
    4.jkl
    i want that only xyz  abc and hjk hierarchies shud b visisble wen client will select  not jkl.... hw it can b achieved..
    thnx

    Hi,
    When you design query you should specify the drill down of hierarchy level.
    Thanks
    Ajay

  • Choose 0calday from calendar screen in BEx Web input screen

    Hi Experts
    Is it possible to present variable input screen for 0calday as a calendar in BEx Web? The possible dates should be presented as it is in BEx Analyzer.   
    Kind regards
    Erik

    Hi Erik,
    Have you seen this:
    http://help.sap.com/saphelp_nw04/helpdata/en/61/886b3ca681207ee10000000a11405a/content.htm
    Hope this helps...

  • Input screen feild to the standard screen.

    hi sap masters,
    i really appreciate the help that which you provide.
    i have standard sap screen where in i need to add my custum screen input field as date type syst-datum.
    i am using a badi where am able to add any number of fields however in screen how can i add an input screen field as date to the standard screen.
    waiting really for ur valuble answer. and thanks a lot in advance.
    pasala.

    Hi,
    For the Tcode REISCDCN, there is no screen exit available.
    However, there si a solution for the scenario that you want. On teh selection screen of REISCDCN, You have a button near "Execute" button called "DYNAMIC SELECTIONS".
    On click of this, you get all the fields related to contracts. Now you can click on teh date field taht you need . This in turn creates a selection option for this field, wherein you could pass on the selection criteria.
    Hope this solves your query...
    Get back in case of any query!
    Cheers,
    Varna

  • Input screen for Variable in Bex

    Hi ,
    I have created variable based on calender month and this variable is used in reports,but for this variable i am unable to get the input screen where as when iam trying to execute same report in RSRT it is allowing me to enter the date.
    Its lots of time for my query to exeute for 6 months data , i tried creating indexes , aggregates and partition on the cube but it did not help out for me to resolve this issue. Did anyone face similar kind of issue , if yes could you tell me what u have done or can be done to resolve this issue.
    Thanks

    Hi Sonu,
    Yes the properties of the web template has to be changed in the WAD.
    When this property is not enabled the query executes for all the data in the infocube and hence it takes lot of time because the variable entry is ignored.
    There is two solution to eliminate the problem.
    1. Please make this variable mandatory ( if you are allowed to. because some variabele are not liked to be mandatory by the user.)
    2. Change the property of the Webtemplate.
    Open the template that contains the query in WAD.
    in the properties Window click on the drop down box to view the property of the web template.
    if your are using WAD 7.0 do as follows
    go to web template parameters tab.
    under the section behaviour u have an option called Display variable.
    enable it.
    incase u use WAD 3.5 do as follows.
    in the properties window click on the  Web item tab.
    under the section general u have an option called force variable screen.
    enable it.
    i guess this may help you.
    Regards.
    Shafi.

  • What do I do with my laptop when the shutdown keeps popping on the screen?

    What do I do with my laptop when the shutdown keeps popping on the screen?

    Intel-based Macs: Resetting the System Management Controller (SMC)

  • To display the user login details in selection-screen( input screen )

    HI Experts,
    I have a requirement.
    Assume there is a report on travel details. Report access has been given to all in the organization based on authorization level.
    Before excecuting the report, in the selection-screen(input screen) itself I need to display the login user details.
    suppose user A belongs to ITS-business unit and user B-belongs to RDS-business unit and Industry group-Multi markets.
    so when User B logs into production system and try to access the report, in the selection screen, i need to display like
    user-id-- XXXX          Business Unit---RDS             and IG -
    Multi Markets 
    how to achieve this? User details will vary based on login.
    Regards,
    Praveen

    check this
    REPORT  Z_demo.
    *& Function Modules:  HR_GET_EMPLOYEE_DATA
    *&                    HR_IMAGE_EXISTS
    *&                    SCMS_DOC_URL_READ
    *&                    HR_IMAGE_RESET
    *& Class & Methods :  CL_GUI_DOCKING_CONTAINER
    *&                    CL_GUI_PICTURE->SET_POSITION
    *&                    CL_GUI_PICTURE->SET_DISPLAY_MODE
    *&                    CL_GUI_PICTURE->DISPLAY_MODE_FIT
    *&                    CL_GUI_PICTURE->LOAD_PICTURE_FROM_URL_ASYNC
    *REPORT  ZEMPLOYEE.
    TABLES: PA0001, PERSON.
    *----------------------Declaration for Image------------------------*
    DATA: DOCKING_CONT TYPE REF TO CL_GUI_DOCKING_CONTAINER, " Custom Container
          PICTURE TYPE REF TO CL_GUI_PICTURE.
    *--------------------Declaration of Internal table------------------*
    DATA: ITAB_EMPDATA LIKE TABLE OF PERSON.
    DATA: ITAB_DATA LIKE TABLE OF PERSON WITH HEADER LINE.
    DATA:  P_CONNECT_INFO LIKE TABLE OF TOAV0 WITH HEADER LINE.
    DATA:  P_DOCUMENT_TYPE LIKE TOAV0-RESERVE.
    DATA:  URL(255) TYPE C.
    DATA:  HANDLE TYPE I.
    DATA:  PPERNR TYPE PA0001-PERNR.
    *----------------------Start of Selection Screen----------------------*
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE text-099.
    SELECTION-SCREEN SKIP 2.
    SELECTION-SCREEN COMMENT 40(25) TEXT-010  .
    SELECTION-SCREEN SKIP 1.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) TEXT-002 FOR FIELD PERNR.
    PARAMETERS PERNR TYPE PA0001-PERNR.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) TEXT-008 FOR FIELD ENAME.
    PARAMETERS ENAME TYPE PA0001-ENAME.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) TEXT-003 FOR FIELD PERSG.
    PARAMETERS PERSG TYPE PA0001-PERSG.
    SELECTION-SCREEN COMMENT 45(15) TEXT-009 FOR FIELD WERKS.
    PARAMETERS WERKS TYPE PA0001-WERKS.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) TEXT-004 FOR FIELD PERSK.
    PARAMETERS PERSK TYPE PA0001-PERSK.
    SELECTION-SCREEN COMMENT 45(15) TEXT-005 FOR FIELD KOSTL.
    PARAMETERS KOSTL TYPE PA0001-KOSTL.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) TEXT-006 FOR FIELD ORGEH.
    PARAMETERS ORGEH TYPE PA0001-ORGEH.
    PARAMETERS ORGEHTXT TYPE PERSON-ORGEH_TXT .
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) TEXT-007 FOR FIELD PLANS.
    PARAMETERS PLANS TYPE PA0001-PLANS.
    PARAMETERS PLANSTXT TYPE PERSON-PLANS_TXT .
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN SKIP 2.
    SELECTION-SCREEN END OF BLOCK B1.
    *AT SELECTION-SCREEN OUTPUT.
    AT SELECTION-SCREEN OUTPUT .
      LOOP AT SCREEN.
        IF SCREEN-NAME = 'ENAME'
        OR SCREEN-NAME = 'PERSG'
        OR SCREEN-NAME = 'PERSK'
        OR SCREEN-NAME = 'KOSTL'
        OR SCREEN-NAME = 'WERKS'
        OR SCREEN-NAME = 'ORGEH'
        OR SCREEN-NAME = 'PLANS'
        OR SCREEN-NAME = 'ORGEHTXT'
        OR SCREEN-NAME = 'PLANSTXT'.
          SCREEN-INPUT = '0'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    LOOP AT SCREEN.
        IF SCREEN-NAME = 'ORGEHTXT'
        OR SCREEN-NAME = 'PLANSTXT'.
          SCREEN-OUTPUT = '1'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    PERFORM GET_PIC.
    *AT SELECTION-SCREEN .
    AT SELECTION-SCREEN .
      PPERNR = PERNR.
      CALL FUNCTION 'HR_GET_EMPLOYEE_DATA'
        EXPORTING
          PERSON_ID             = PPERNR
          SELECTION_BEGIN       = SY-DATUM
          SELECTION_END         = SY-DATUM
        IMPORTING
          PERSONAL_DATA         = ITAB_DATA
        EXCEPTIONS
          PERSON_NOT_FOUND      = 1
          NO_ACTIVE_INTEGRATION = 2
          OTHERS                = 3.
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      ENAME = ITAB_DATA-ENAME.
      PERSG = ITAB_DATA-PERSG.
      PERSK = ITAB_DATA-PERSK.
      ORGEH = ITAB_DATA-ORGEH.
      PLANS = ITAB_DATA-PLANS.
      KOSTL = ITAB_DATA-KOSTL.
      WERKS = ITAB_DATA-WERKS.
      ORGEHTXT = ITAB_DATA-ORGEH_TXT.
      PLANSTXT = ITAB_DATA-PLANS_TXT.
    *Function Module To check Existance of Image
      CALL FUNCTION 'HR_IMAGE_EXISTS'
        EXPORTING
          P_PERNR        = PPERNR
        IMPORTING
          P_CONNECT_INFO = P_CONNECT_INFO
        EXCEPTIONS
          OTHERS         = 2.
         P_DOCUMENT_TYPE = P_CONNECT_INFO-RESERVE.
    *Function Module To Get the URL of Image
      CALL FUNCTION 'SCMS_DOC_URL_READ'
        EXPORTING
          STOR_CAT    = SPACE
          CREP_ID     = P_CONNECT_INFO-ARCHIV_ID
          DOC_ID      = P_CONNECT_INFO-ARC_DOC_ID
          COMP_ID     = 'DATA'
          DP_URL_ONLY = 'X'
        IMPORTING
          URL         = URL
        EXCEPTIONS
          OTHERS      = 10.
      IF SY-SUBRC <> 0.
      ENDIF.
    *Method To load Image from URL
      CALL METHOD PICTURE->LOAD_PICTURE_FROM_URL_ASYNC
        EXPORTING
          URL = URL.
      IF SY-SUBRC NE 0.
      ENDIF.
      IF PPERNR NE PERNR.
    *Function Module To Reset Image
        CALL FUNCTION 'HR_IMAGE_RESET'
          EXPORTING
            HANDLE         = HANDLE
          EXCEPTIONS
            INVALID_HANDLE = 1
            OTHERS         = 2.
        IF SY-SUBRC <> 0.
        ENDIF.
      ENDIF.
    *& Form Get_Pic
    FORM GET_PIC.
      DATA: REPID LIKE SY-REPID.
      REPID = SY-REPID.
      IF PICTURE IS INITIAL.
    *Object To Create the Custom Container
        CREATE OBJECT PICTURE
          EXPORTING
            PARENT = DOCKING_CONT.
        CHECK SY-SUBRC = 0.
    *Method To Set Position of Image
        CALL METHOD PICTURE->SET_POSITION
          EXPORTING
            HEIGHT = 47
            LEFT   = 610
            TOP    = 25
            WIDTH  = 70.
    *Method To Set Display Mode Fit to Container
        CALL METHOD PICTURE->SET_DISPLAY_MODE
          EXPORTING
            DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_FIT.
      ELSE.
    *Function Module To Reset Image
        CALL FUNCTION 'HR_IMAGE_RESET'
          EXPORTING
            HANDLE         = HANDLE
          EXCEPTIONS
            INVALID_HANDLE = 1
            OTHERS         = 2.
        IF SY-SUBRC <> 0.
        ENDIF.
      ENDIF.
    ENDFORM. "Get_pic

  • Report Painter - Ordering the way variables appear on the input screen

    On the user input screen for a report, the variables for things such as Year, Period, Company Code, Profit Center......they do not always show up on the user input screen in the order that they are placed in the report.  Is there a way to change the order in which they appear ?  For example, if the default order on the user input screen is :
                   Company Code:
                   Year:
                   Profit Center:
                   Period:
    Is there a way to make the order different, such as:
                   Year:
                   Period:
                   Company Code:
                   Profit Center:
    Thanks..............

    Hi John,
    Go to Menu - > Edit -> Variation
    You can set the order of the Selection Screen fields there.
    Hope this helps you
    Regards
    Andrew

  • Z_Dialog prog initial input screen-looking like selection screen of Report?

    Hi Experts,
    In internet, I found 2 screens( code is not mentioned there) and mentioned that, they r Dialog Prog. screens, they r as below,
    1 - Initial input screen-programmer mentioned it as a selection screen-1000
    2 - Output screen in ALV grid (Object ALV)
    So, when I saw this initial input screen, it looks like same as selection screen 1000 of a report prog., I mean, its containing all selection screen components, like Select-options with out interval, with out extension, blocks, titles for these blocks!!
    So,pls. let me know that,
    1) How the programmer achived this screen? is he used like,
    SELECTION SREEN 1000 START
    END OF SELECTION SCREEN 1000
    2) How these input fileds r looking like select-optins, parameters,  blocks etc.?
    thanq

    Putting selection screens on dialogue transactions have been covered before in the forum. Please search.
    Rob

  • Problem in input screen while executing the query

    Hi,
    I am trying to execute a query.In the variable input screen i have to provide a list of document numbers for a filed. If i click the 'Select from list' symbol, it is taking very long time to process and not responding for  2 to 3 hours. But if i enter the values directly instead of clicking it, it is executing in less than a minute. Any idea why it is taking long time if i click  'select from list'.
    Your help will be much appreciated.
    Regards,
    Vishnu

    Thanks for you reply,
    This report is created on a ODS and it is not the case with other reports. This report was workin normally till last week, but dont know what is the exact reason this week. There is no changes like applying any patches etc to the system.
    Regards,
    Vishnu
    Edited by: Vishnuvadhan K on Apr 16, 2009 5:19 PM

  • Removing Key Date from variable input screen

    Hi Experts,
    I am trying to remove the "key date" entry from the variable input screen so users dont see this value when they are trying to run a query. Can you please advise me on how to do this?
    Thanks in advance.

    Hi Paul,
    You would need to open the query and remove this variable from the query definition, or if you need this variable and then remove the ready for input check mark from the variable definition.
    Hope this helps...

  • ESS Business Package - W4 Input Screen - Non Resident Alient option

    I've been asked to create a specific input screen for NonResident Alient(on W4 screen) of current ESS standard solution, this is an official request that came from IRS(government rule), and SAP provided it in some notes. We have this notes on current SP, but I don't know where exactly I can customize this option to appear on W4 view.
    Is there any way I can do this through configuration rather than developing an enhancement?
    Thanks,
    André

    Hi all, do you have some idea on that case? OSS notes were applied, I just don't know where I can customize this option.
    Thanks,
    André

Maybe you are looking for

  • Do all Macbook Pro hard drives have the apple sign on them?

    Hi there, November 2012 I bought a new Macbook Pro because my old one had beer spilled on it. I decided since I was getting a new computer I might as well as upgrade my hard drive. I bought a Seagate Momentous SSHD 750 GB. It is a hybird drive betwee

  • ITunes Home Movies Library working, but INCONVENIENT

    I'm on iTunes 12.0.1.26, and up to date on all my Mac OS software. I collect still photos from the web, and hold them in topical folders.   From time to time, I use Graphic Converter to "Export Slide Show to Movie", which does an acceptable job of pr

  • Corrupt photo in iMovie

    Was importing a photo into iMovie 8.0.6 and it crashed. Was never able to get it running so upgraded to 9.0.2. Now the 1st photo in my show has another photo overlaying it. If I delete it, the phantom photo moves over to the next area and still plays

  • Credit Note Issue.

    HI All Request your inputs to resolve this issue, The credit note that we generate now in the system is not reflecting the older invoice details rather it comes up with the edited details. Its a custom table and we have tried to use Deletion indicato

  • EL Expression in a JSF Datatable

    I have a JSF Datatable that returns a list of results. These results contain a short version of what I actually want to display. For example, "DOC" which stands for "Document". Is there a way that I can create an EL expression inside the Datatable to