Calling the PAI of a screen dynamically

Hi Experts,
I have two screens say 9000 and 9001. If the user enters a certain command in screen 9000 I am supposed to call screen 9001 for some secondary information. After the user enters the info in screen 9001 i am supposed to return back to the calling portion of screen 9000. If instead of coming back to the calling portion I want to trigger the PAI of screen 9000 from PAI of screen 9001 after the user enters the info how to do it. Please note that I am not using any OOPs ALV. So I do not have a container class in place. Both the screens are normal screens.
Thanks and regards
Srinibas

Hi,
When creating Gui title use placeholders(&1, &2 etc) in it.
*For example : * Change PO &1 by &2
And while setting title bar use WITH addition as;
lv_po = '40000023'.
lv_user = 'SAPABAP'.
SET TITLEBAR 'TIT1' WITH lv_po lv_user
Now in the title bar it will display as;
Change PO 40000023 by SAPABAP
Regards
Karthik D

Similar Messages

  • Calling the subscreen into main screen

    Hi Guru's,
          I am having a main screen, which holds 2 radio buttons.
          If I select one radio button it has to call one table control, if I select 2nd radio button it has to call different table control.
          For this I have created two subscreens, each one holds a table control.
    based on the selection of radio button I have to call these subscreens in to the main screen.
       Please help me how to call the subscreen into main screen.

    There is no help text for this dump                                         
    Either the text was inadvertently deleted or the release of                 
    the kernel differs from the release of the database                         
    Refer to the Note system for further information on            this dump.                                                                               
    000160           %_archive TYPE arc_params,                                     
    000170         END   OF COMMON PART.                                            
    000180   *                                                                      
    000190   FIELD-SYMBOLS: <%_1>   %_PREDEFINED.                                   
    000200                                                                          
    000210   DATA: %_repid     TYPE syst-repid   %_PREDEFINED,                      
    000220         %_viaselscr TYPE x VALUE '04' %_PREDEFINED.                      
    000230                                                                          
    000240   SYSTEM-EXIT.                                                           
    000250   PERFORM (sy-xform) IN PROGRAM (sy-xprog).                              
    000260                                                                          
    000270   * Nach Laden des Dynpros                                               
    000280   MODULE %_ctl_init OUTPUT.                                              
    000290     %_repid = sy-repid.                                                  
    000300     PERFORM %_ctl_init IN PROGRAM sapmssyd USING %_repid IF FOUND.       
         >   ENDMODULE.                                                             
    000320                                                                          
    000330   * Um DCO                                                               
    000340   MODULE %_ctl_output OUTPUT.                                            
    000350     %_repid = sy-repid.                                                  
    000360     PERFORM %_ctl_output IN PROGRAM sapmssyd USING %_repid IF FOUND.     
    000370   ENDMODULE.                                                             
    000380                                                                          
    000390   * Um DCI                                                               
    000400   MODULE %_ctl_input INPUT.                                              
    000410     %_repid = sy-repid.                                                  
    000420     PERFORM %_ctl_input IN PROGRAM sapmssyd USING %_repid IF FOUND.      
    000430   ENDMODULE.                                                             
    000440                                                                          
    000450   * Erstes Modul in PAI                                                  
    000460   MODULE %_ctl_pai INPUT.                                                
    000470     %_repid = sy-repid.                                                  
    000480     PERFORM %_ctl_pai IN PROGRAM sapmssyd USING %_repid IF FOUND.        
    000490   ENDMODULE.

  • Call the document Approval Workflow screen from a custom KM Details Page

    Hi,
    We are trying to call the Approval Workflow screen from a custom developed KM Details page (using JSPDynpage). How can this event be triggered. We want to trigger the same event that gets called when a user clicks on the Approval Option under Settings in the Details page for a KM resource. Quick response would be much appreciated.
    Thanks and Regards,
    Shibendra

    Hi,
    Refer below links:
    https://blogs.oracle.com/prajkumar/entry/call_oaf_page_from_d2k
    http://oraclearea51.com/11i-oa-framework/17-technical-articles/technical-articles/325-how-to-call-oaf-page-from-form-personalization.html
    http://oracle.anilpassi.com/call-oa-framework-page-from-oracle-forms-passing-parameters-2.html
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Calling the Abap Source Editor screen

    Hi ,
    we want to call the  ABAP source editor in a screen in a special container , are there any class  or MF that can help us .
    best regards .
    Med

    Teh you may need to use class     CL_GUI_TEXTEDIT and after getting values from the class then for validatiing the code use fm      EDITOR_SYNTAX_CHECK

  • How to change  the title of a screen dynamically

    hi,
    i have a screen , which will be called repetedly for different set of groups.
    i want to display the group name as title .
    how can i handle this
    Regards,
    Sarath P

    Hi,
    When creating Gui title use placeholders(&1, &2 etc) in it.
    *For example : * Change PO &1 by &2
    And while setting title bar use WITH addition as;
    lv_po = '40000023'.
    lv_user = 'SAPABAP'.
    SET TITLEBAR 'TIT1' WITH lv_po lv_user
    Now in the title bar it will display as;
    Change PO 40000023 by SAPABAP
    Regards
    Karthik D

  • How can i copy the text in cr11 screen dynamically.

    Hi,
    In cr8 with VB, i can able to copy the text dynamically by using rigth click on cr8 screen and click copy. And able to paste the text in notepad.
    In same way,Rightckick option is not available in cr11 screen with vb.net.For that i created "Contextmenustrip".Now i can able to rightclick and click the copy button.But the text was not able to paste.
    Please help anyone.
    Thanks...

    Sample code for the Winform Viewer event:
    C# sample code:
    namespace CRXIR2_VS2005_GetReportObjectClicked
        public partial class Form1 : Form
            ReportDocument crReport;
            public Form1()
                InitializeComponent();
                // Create an instance of the report
                crReport = new CrystalReport1();
                crystalReportViewer1.ReportSource = crReport;
                    // Ensure you are using CR XI Release 2 and at minimum BusinessObjects XI Release 2 Service Pack 1 (SP1)
                    // and BusinessObjects XI Release 2 Monthly Hot Fix 1 (MHF1)
            private void crystalReportViewer1_ClickPage(object sender, CrystalDecisions.Windows.Forms.PageMouseEventArgs e)
                // Collect the report object name and type.
                string msg = "Report Object: " + e.ObjectInfo.Name.ToString()
                    + " (" + e.ObjectInfo.ObjectType.ToString() + ")";
                // Some report objects won't have text properties; verify that the property isn't null
                if (e.ObjectInfo.Text != null)
                    msg += "... Text: " + e.ObjectInfo.Text.ToString();
                // Display the collected information in a message box.
                MessageBox.Show(msg);
             private void crystalReportViewer1_Load(object sender, EventArgs e)

  • Call the program first two screens and return

    Hi all,
    I am coding an Zprogram in that i have to call an Standard Report Program ( ex:- RFFOUS_T ) and execute.
    and in  that standard program  i need to execute upto the first two screeens only after the first two screens i need to come back to my Zprogram
    How can i do this.
    Regards
    Ajay

    Hi Ajay,
    SUBMIT  RFFOUS_T  WITH SELECTION-TABLE i_rspar AND RETURN.
    where i_rspar contains the value u want to pass to next report programs output screen
    with structure as         i_rspar  TYPE  STANDARD TABLE OF rsparams.
    Try with it
    it may help you.

  • How to call the 2 Tcodes from single program.

    Dear Friends,
    I would like to call 2 tcodes form a single program based on some conditions like :
    I have a program ZRR wich is madule pool report with selection screen and screen 100, 200.
    If I excuted tcode ZXX then I need to call the report with selectin screen ( from there with giving some input data I will go to screen 100 ),
    If I excuted tcode ZYY then I need to call the same report skiping the selection screen and need to go directly screen 200.
    Pls help me on this if any bady is faced the similar problem.
    Thanks,
    Sridhar

    hi,
    yes you can do this..
    try this
    create a two screen suppose 9000 and 9001..
    then right click on your program name...
    create a TCODE say TONE..
    in this give the screen number 9000..
    now again right click on the program name
    create a TCODE say Tsecond
    in this give the screen number 9001...
    hope this will help you..
    Regards
    Ritesh J

  • Calling a module pool program screen to an executable program

    Hi gurus,
    I have created a executable program to use selection-screen and want to see my output in module pool program where I have designed table control according to my requirement.
    How can I call the module-pool program screen from an executable program?
    Any help?
    Regards
    Mac

    Hi Mac,
    I think you can proceed with a report program alone . There you create a screen with the table control to populate your result.
    In the report program, after getting values for internal table for your display, just call the said screen.
    i.e.
    CALL SCREEN <screen number>.
    Hope this may help you.
    Regards,
    Smart Varghese

  • Explicitly call the Event Handler method

    Hello Friends,
    Is it possible to explicitly call the eventhandler method `? or dynamically fire/invoke the event so that particular eventhandler method should be called ?
    Regards,

    You should call eventhandler as follows
    DATA lr_event TYPE REF TO cl_wd_custom_event.
    **Create event object
      CREATE OBJECT lr_event
        EXPORTING
          name = 'ON_SELECT'. " give your event name which appears in wdevent in your handler method
    * Call eventhandler
      wd_this->onactionsel_rdb(
      wdevent = lr_event                          " ref to cl_wd_custom_event

  • How to call the column names into the prompt and display values dynamically

    Hi,
    i have a typical requirement where I have to call 3 columns into the AGE Prompt (I know we can use the Column Selector to call the columns) .Below is the Screen Shot.
    !http://i46.tinypic.com/2qjfukh.jpg!
    2nd Requirement)
    The three columns I have are order Date, Ship Date and Entry Date.
    Whenever I click on Orderdate from the Prompt, It should dynamically show its values in the report.
    and When I click on the Ship Date from the Prompt, it should display the corresponding values in the report.
    and so on with the Entry Date.
    Can anybody help me how to acheive this.
    Thanks a ton.

    Ok so then you can use a fake column prompt. Here's one quick approach (nicer and cleaner with LOV tables but I don't if you have any of those).
    - Create a fresh prompt using any column you want.
    - Open the column formula using the fx button and replace the formula with 'abc'.
    - Use "SqL Results" as the "Show" option.
    - SQL:
    select case when 1=0 the Markets.Region else 'Order Date' from Paint.Markets UNION ALL
    select case when 1=0 the Markets.Region else 'Ship Date' from Paint.Markets UNION ALL
    select case when 1=0 the Markets.Region else 'Entry Date' from Paint.Markets
    - Set Variable = Presentation Variable = @{vPresVarSelectedDate}{Order Date}
    - Label = Date
    Then in the request, you change the column formula for the date. I'm going to make it short and just assume you called your time dimension alias(es) like the lowest grain:
    "@{vPresVarSelectedDate}{Order Date}"."@{vPresVarSelectedDate}{Order Date}"
    Cheers,
    C.

  • Regarding call sub screen dynamically

    hi to all,
    Is it possible to call subscreen dynamically means we are calling subscreen like
    PROCESS BEFORE OUTPUT.
    CALL SUBSCREEN SUB INCLUDING 'YSU_SUBSCREEN' '0120'.
    MODULE STATUS_0100.
    suppose we r coding like calls subscreen at the initially whenever display main screen but my requirement is
    i have edesigned 3 or 4 sub screens for vendor,material ..etc for up dation
    i  place the button regarding vendor whenver i press the button vendor that subscreen will display in that i designed insert delete update operations of vendor data like that all the screens
    for this operation can't use tabstrip control
    please provide solution
    thanks and regards,
    surya.

    Hello Surya,
    Based on a particular function code or click of a button it is possible to bring different subscreens into the normal screen's area reserved for calling subscreen
    ........so in the subscreen we need to give fields and structures required to be displayed on clicking a particular button or recieving a condition
    Please check the following
    declare a variable : loc_dynnr type sy-dynnr,
                                loc_repid  type sy-repid .
    assign a default value:
    loc_dynnr  = 120. "First subscreen being called
    loc_repid   = sy-repid. "report id 'YSU_SUBSCREEN'   
    we will be using the statement
    "CALL SUBSCREEN SUB INCLUDING 'YSU_SUBSCREEN' '0120'.
    CALL SUBSCREEN: SUB INCLUDING loc_repid  loc_dynnr.
    so on clicking the button we will have different function codes captured
    case sy-ucomm.
    when 'Button1'.
    loc_dynnr  = 120. "required subscreen to be called
    loc_repid   = sy-repid. "report id 'YSU_SUBSCREEN'   
    when 'Button2'.
    loc_dynnr  = 130. "required subscreen to be called
    loc_repid   = sy-repid. "report id 'YSU_SUBSCREEN'  
    when 'Button3'.
    loc_dynnr  = 140. "required subscreen to be called
    loc_repid   = sy-repid. "report id 'YSU_SUBSCREEN'  
    endcase.
    and in the calling code use...
    CALL SUBSCREEN: SUB INCLUDING loc_repid  loc_dynnr.
    please remember to put default values for loc_repid ,loc_dynnr..otherwise it may dump
    Pls check and revert..rewards if helpful
    also check the following link
    Re: Module Pool Program : Calling Subscreen in a Normal Screen
    Regards
    Byju

  • On an iphone 4s, when I tap the phone number in my contacts list instead of calling the number it goes to a "Welcome to mail screen" how do I make it call the number instead?

    On an iphone 4s, when I tap the phone number in my contacts list instead of calling the number it goes to a "Welcome to mail" screen with icloud, Microsoft exchange, Gmail, Yahoo, Aol & Windows Live Hotmail listed beneath. How do I make it call the number instead?

    Never heard of that.  I suspect it thinks that's an email address and you're seeing that screen b/c you don't have an email account setup on your iPhone.
    Assuming the number is valid, try a reset by pressing the home and sleep buttons until you see the Apple logo, ignoring the slider. Takes about 5-15 secs of button holding and you won't lose any data or settings.

  • How to create the selection screen dynamically

    Hi,
    I have a requirement to create the selection screen Dynamically. All the fields that should appear on the selection screen will be available in a custom table. So, based on the entries available in the Z tables, the selection screen should be built. Eg. If there are 10 records available in the Z table, the selection screen should consist of 10 fields. If there are 100 entries, the Selection screen should contain 100 fields. and the logic to build this selection screen should be carried out dynamically in the program.
    Could anyone of you please share the valuable inputs on this. If anyone has the sample code to do this, please share.
    Thanks in advance.
    Regards,
    Paddu.

    Hi,
    Kindly go through this sample program below:
    DEMO_LIST_FORMAT_INPUT *and
    check this function module:
    FREE_SELECTIONS_DIALOG *.
    Hope it helps
    Regards
    Mansi

  • Missed calls - a missed call is shown on the screen when the phone is locked. I slide the icon an the phone calls the back to the missed number. The phone still show a missed no. It should clear the icon since I obviously noted the missed call. Any fixes?

    Ok, a wish for the next iOS release, just a small anoying thing.
    Scenario:
    I have a missed call, the screen is locked. The name of the caller shows up on the screen, I slide the phone icon and phone back.
    When I've ended the call there is still a notification of a missed call, i.e. the same missed call that I just called back. To clear the missed call red circle icon on the phone icon (in the unlocked state and the notification on the locked screen) I must open the missed call list. Then it clears.
    My wish is that the phone understands that it should clear that missed call after I returned the call since I have obviously noted it.
    -> Is this something apple will update or is there a setting that I could change?
    /Erik

    You have to return the call via the recent list or tap the red missed call entry in recent list otherwise even a hundred calls won't turn the balloon off.

Maybe you are looking for

  • Adobe Reader 8.0 has encountered a problem and needs to close. We are sorry for the inconvenience

    Ver 8 installed fine but can't get it to launch from any application. Have tried going back to earlier versions (6.1,6.2,7) but the same problem occurs. Same error message each time: "Adobe Reader 8.0 has encountered a problem and needs to close. We

  • Net price in process order

    Hello Experts, We have created a process order, and afterwards reservation accordingly. What is the source of materials' net price? Should it from material master data or the purchasing info record? Since in our system, some of them are from material

  • Buzz then Shut Down

    When I am speaking on my Curve it will start to Buzz in the back ground and then shortly it will completely shutdown and then it goes thru a reboot. Does anyone have any ideas? Solved! Go to Solution.

  • Just got a new macbook pro and transferred files from my old macbook. Everything is fine except my iphoto will not show photos.

    I just got a new macbook pro and transferred everything from my old macbook. My photos show up as thumbnails in iphoto, but if I click on them, a "?" pops up for all of them!

  • Text offsets

    Hi I'm using JEditorPane to display a file. When the file to be displayed (chosen by the user) is an HTML file, I give the user an option to either render the HTML code (by changing the content type of the JEditorPane) or display the HTML source code