How to call PBO in reports

hi
how to call PBO in reports

<b>Whenever you are using CALL SCREEN <number> in your report,
double click on <number> and then in the FLOW LOGIC,
uncomment the PBO OUPUT, double click and then use it.</b>
here's a sample code....
*&      Module  STATUS_0100  OUTPUT
      PBO Event
MODULE STATUS_0100 OUTPUT.
  SET PF-STATUS 'OOPS'.
  SET TITLEBAR 'TIT'.
Subroutine to fill the Variant Structure
  PERFORM FILL_VARIANT.
  IF W_GRID IS INITIAL.
    CREATE OBJECT W_GRID
      EXPORTING
   I_SHELLSTYLE      = 0
   I_LIFETIME        =
        I_PARENT       = CL_GUI_CONTAINER=>SCREEN0
   I_APPL_EVENTS     =
   I_PARENTDBG       =
   I_APPLOGPARENT    =
   I_GRAPHICSPARENT  =
   I_NAME            =
   I_FCAT_COMPLETE   = SPACE
      EXCEPTIONS
        ERROR_CNTL_CREATE = 1
        ERROR_CNTL_INIT   = 2
        ERROR_CNTL_LINK   = 3
        ERROR_DP_CREATE   = 4
        OTHERS            = 5.
    IF SY-SUBRC <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.                             " IF SY-SUBRC <> 0
    CALL METHOD W_GRID->SET_TABLE_FOR_FIRST_DISPLAY
      EXPORTING
       I_BUFFER_ACTIVE               =
       I_BYPASSING_BUFFER            =
       I_CONSISTENCY_CHECK           =
       I_STRUCTURE_NAME              =
        IS_VARIANT                    = W_VARIANT
        I_SAVE                        = 'A'
       I_DEFAULT                     = 'X'
       IS_LAYOUT                     =
       IS_PRINT                      =
       IT_SPECIAL_GROUPS             =
       IT_TOOLBAR_EXCLUDING          =
       IT_HYPERLINK                  =
       IT_ALV_GRAPHICS               =
       IT_EXCEPT_QINFO               =
       IR_SALV_ADAPTER               =
      CHANGING
        IT_OUTTAB                     = T_OUTTAB
        IT_FIELDCATALOG               = T_FIELDCAT
       IT_SORT                       =
       IT_FILTER                     =
      EXCEPTIONS
        INVALID_PARAMETER_COMBINATION = 1
        PROGRAM_ERROR                 = 2
        TOO_MANY_LINES                = 3
        OTHERS                        = 4
    IF SY-SUBRC <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.                             " IF SY-SUBRC <> 0.
  ENDIF.                               " IF W_GRID IS INITIAL
  CREATE OBJECT W_EVENT_CLICK.
  SET HANDLER W_EVENT_CLICK->HANDLE_HOTSPOT_CLICK FOR W_GRID.
ENDMODULE.                             " STATUS_0100  OUTPUT
Regards,
Pavan

Similar Messages

  • How to Call a Crystal Report from Form 6i?

    Dear All,
    Can anybody tell me how to call a crystal report, designed using Crystal Report 9, in form 6i? I tried one solution by using the host command but it was not working properly. The code I was tried is like:
         f_name varchar2(240);
         f_name :='C:\Program Files\Crystal Decisions\Crystal Reports 9\crw32.exe D:\Form16\Form16_Rep\bin\Debug\Form_16_character_emp.rpt';
                   host(f_name);
    This open the crystal report in design view. So how we call a report which run automatically like in .Net. How to pass the connection info of the database schema?
    Thanks & Regards
    Sunil

    Hi
    First see the built in run_product function.
    You can create a parameter list, add the
    "MAXIMIZE" paramter in it and then call your
    report with run_product passing your parameter list in it.
    hence the called report will be maximized.
    null

  • How to Call a jasper report from Oracle Forms 6i.

    Hi
    Can anybody tel me how to Call a jasper report from ORacle Forms 6i.
    Thanks & Regards
    Bango

    Forms 6i client/server? Use the HOST command to call the report. Since a Jasper report is just a call to a url, it will be something like:
    v_url := '<your url to the report>';
    host ('cmd /c start '||v_url);If it's web Forms 6i it even easier. Just use web.show_document(<url>).

  • How to call a detail report from a master report in 11g?

    How to call a detail report from a amster report in 11g?
    We have a requirement to call a detail report based on the invoice id that will parsed from the master report in OBIEE 11g. Any ideas sugegstions will be greatly appreciated.
    Thanks,
    Edited by: user8957415 on Jul 31, 2012 9:04 AM

    Check these links
    http://gerardnico.com/wiki/dat/obiee/master_detail
    http://prasadmadhasi.com/2011/11/13/master-detail-event-in-obiee-11g-and-pass-multiple-events-to-one-detail-report/
    Hope these helps

  • How to call  an abap report in BSP..

    hi all,
    Please can anybody tell me how to call an abap report in BSP application.....since I am new to BSP....
    with regards,
    Santosh

    check this thread
    Urgent!!  How to call a custom transaction or an ABAP program in BSP?

  • How to call jsp web report from forms 9i

    Dear fellows,
    How can i call a jsp report from forms 9i.
    Thanx
    Mochoo

    Use web.show_document instead of Run_Report_Object. If the jsp contains a paper layout you can still use Run_Report_Object, but you have to specify the filename extension .jsp along with the filename.

  • How to call an OBIEE report from EBS

    Hi,
    I'm trying to call an OBIEE report from an EBS menu.
    I have setup the following form function calling SSWA jsp type function
    Web HTML
    OracleOasis.jsp?mode=OBIEE&function=Go&Path=/shared/APA%20Real%20Time/AR/AR02%20Revenue%20by%20Account%20Report&Action=Prompt
    When I click the menu item OBIEE returns the following;
    No Columns
    The request cannot be performed because it contains no columns.
    Can anyone please enlighten me on how to do this correctly
    Thanks
    Phil
    Edited by: user462334 on 28/07/2010 21:50

    Hi Phil,
    I did some further investigation. The syntax to your Oracle BI Answers should be as follows;
    OracleOasis.jsp?mode=OBIEE&function=Go&parameters=Path~/shared/APA%20Real%20Time/AR/AR02%20Revenue%20by%20Account%20Report
    Check the following for more details;
    http://obibb.wordpress.com/2010/08/05/integrating-oracle-ebs-and-oracle-bi-ee-links/
    Cheers
    Daan Bakboord
    http://obibb.wordpress.com/

  • How to call cystal report8 report file from jsp page

    hi guys
    present i am using cystal report8 already i am having ReportViewer.jar and ReportviewerBean.jar files
    using that please send me sample code how to call that report from jsp page..
    and how to pass the parameters from jsp page to crystalreport8 report file.
    it was very urgent task to me..so please send sample code on above topic..
    or send me crystalreport8 API
    thanks
    regards

    Hi,
    I also want to work on crystal report but i dont have the ReportViewerBean.jar and ReportViewer.jar. So, please tell from where will i get those jar files.
    Thanks in advanced.

  • How to call a abap report in BSP

    hi all,
    Please can anybody tell me how to call abap report in BSP..
    with regards,
    Santosh.

    Also see below BSP tutorial
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/101c3a1cf1c54be10000000a114084/content.htm
    Regards.

  • HST50: Unix - How Headstart calls forms and reports uppercase/lowercase from a Menu

    We are migrating a 'in production' Headstart generated application from Windows to Unix.
    We had to a little time in setting the lowercase implementation names, setting the prefs to generate lowercase file.....
    So good so far. When testing the application on Unix, all files are lowercase, the Forms start without a problem but the Reports won't start.... Renaming the report files to uppercase works fine.
    Going through the Headstart code for calling Forms and Reports I noticed the following:
    When calling Forms the qmslib50.qms$form.call procedure is invoked. In this procedure the follwoing statement is used:
    l_form_name := lower(p_form_name) So only lowercase will be found....
    For calling Reports from the Lauch Report Form the qms0012l.qms$report.run procedure is invoked.
    This procedure calls fill_par_list where the l_module_name is set. But in this procedure no uppercase or lowercase is used......
    Not consequent I think !!
    Is this done for a specific reason ?
    PS: Change qms0012l and it works fine.

    Hi,
    cannot use run_report_object here cause I cannot create a report object in menu (like how we can do it in forms).
    Create a generic named Report node in the forms that you reference from the RunReport object request. This way you can run Reports from a menu
    Frank

  • How to call a popup report

    How to call a popup window report 
    http://101.10.18.15/reportserver?/rptMyProj/variance

    Hi ,
    Try this link -
    http://technet.microsoft.com/en-us/library/dd239346.aspx
    http://kkryczka.wordpress.com/2013/04/02/open-ssrs-go-to-url-action-in-new-window-in-page-viewer-web-part-2/
    sathya - www.allaboutmssql.com ** Mark as answered if my post solved your problem and Vote as helpful if my post was useful **.

  • How to call the crystal report in jsp page

    dear friends
    i want to run or call the crystal report in jsp page.
    if u know that can u send sample code for that to my id
    [email protected]

    Hi Sudhakar,
    Could you please be more speicific about the task you want to accomplish?
    Cheers
    Giri :-)

  • How to call an Oracle Report from a Self Service HR page.

    Hi,
    I am trying to call an Oracle Report from a Self Service HR page. I personalized the page to add a button and link the report's URL to that button; but I am having issues passing/manipulating parameters to this report.
    Is there a better approach to do this, please post your suggestions. Also If you can direct me to some usefull documentation that will be great.
    Any help will be greatly appreciated.
    Regards
    Hilal

    Tapash,
    Thanks for reponding.
    Here is the URL I am currently using :
    https://gccss.glendale.edu:8001/dev60cgi/rwcgi60?server=rep60_crp3+userid=apps/pswd@crp3+report=/u07/oracle/crp3appl/gcccus/11.5.0/reports/US/GCC_ACCRUAL_BAL_0505.rdf+desformat=html+paramform=yes+destype=cache+p_accesscode=""
    The p_accesscode is the parameter I need to pass to the Oracle report.
    Currently, when I click the button, it invokes the above URL and takes me to the parameter form of the Oracle report and when I enter the Username, it runs the report and displays the desired output. But, what I need to achieve is, to pass the current user who has logged in behind the scene and to get rid of the parameter screen totally. Is this doable ? If yes, please help me !!!
    Thanks
    Hilal

  • How to call PBO explicitly

    Hi all,
    I have copied mmbe transaction to ZMMBE.I add two buttons on screen 300.When i execute it works fine.but when i go back and then execute buttons got disappear.when i debug it doesnt go to PBO.is there any way to explicitly call PBO.
    Regards
    Lalit

    I have tried it and suceed by using this solution--
    <cffunction 
    name="onSessionEnd" output="false">
    <cfargument name = "sessionScope" required=true/>
    <cfargument name = "applicationScope" required=true/>
    <cfset var sessionLength = TimeFormat(Now() - sessionScope.started, "H:mm:ss")>
    <cflock name="AppLock" timeout="5" type="Exclusive">
    <cfset arguments.applicationScope.sessions = arguments.applicationScope.sessions - 1>
    </cflock>
    <cflog file="#this.name#" type="Information"
    text= 
    "Session #arguments.sessionScope.sessionid# ended.Length: #sessionLength# Active sessions: #arguments.applicationScope.sessions#">
    <cfscript>
    StructClear(#arguments.sessionScope#);
     </cfscript>
     <cfapplication  
    name="#this.name#"  
    clientmanagement="Yes"
     applicationtimeout="#CreateTimeSpan(0, 0, 20, 0)#"  
    sessionmanagement="Yes"  
    sessiontimeout="#CreateTimeSpan(0, 0, 0, 0)#" > 
    </cffunction>
    You can call this method explicitly when ever required.Thanks

  • How to Call general ABAP Report in WDA?

    Hi All,
    Is it possible to run our general ABAP report in our WDA.
    If yes how can i move....
    Thanks & regards,
    Ravi

    David Pietroniro wrote:
    > Hello,
    >
    > You can call your report using the SUBMIT command to call it like a job. Follow an example on how to do this (from ABAP Help).
    > But this is only usefull if this report only process data and don't show data on screen, because this data can´t be showed in the web dynpro via write commands like described in the threads before.
    >
    > Regards.
    Actually with a few changes you are close to a solution here.  There is way to get the output of the report and convert it to HTML.  You will need to have a little wrapper application around your report. You will have to run this wrapper as a background job or via RFC (pointing to destination NONE). Here is a sample:
    * SELECTION SCREEN LAYOUT                                              *
    selection-screen begin of block two with frame title text-002.
    parameter: prog like sy-repid.
    parameter: vari1 like raldb-variant.
    selection-screen end of block two.
    .....Other Processing....
    submit (prog) and return
               exporting list to memory
               using selection-set vari1.
      call function 'LIST_FROM_MEMORY'
           tables
                listobject = itab
           exceptions
                not_found  = 1.
      if sy-subrc ne 0.
        leave program.
      endif.
      call function 'WWW_HTML_FROM_LISTOBJECT'
       exporting
    *    REPORT_NAME         =
         template_name       = 'WEBREPORTING_REPORT'
        tables
          html                = html_tab
          listobject          = itab.
    Once the data is converted into HTML it is more usable from WD.  You can't really display it directly within WD, but you could push it out as a file attachment from WD using cl_wd_runtime_services=>attach_file_to_response.
    This is a lot of work and I still think it might be easier to fire a linkToURL or Exit Plug and navigate to the ITS/WebGUI.

Maybe you are looking for

  • ORA-01031:  when login as sysdba

    We have Oracle 11.2 on Redhat 5.6. on the server box, I can login as sysdba by doing sqlplus / as sysdbaBut failed when I do sqlplus sys/****@cchdev as sysdba ERROR: ORA-01031: insufficient privileges or In sqlplus conn sys/****@cchdev as sysdba ERRO

  • How to insert into table when ID auto increment?

    I have a table Employee with EmloyeeID, EmployeeName, Email... When i design table in database, i created a Sequence and then Trigger for EmployeeID to auto increment. Now in ADF, actually in my web form: I don't want enter values for EmployeeID to i

  • How to set Maxmimum header length in Web Server. It creates a problem

    I have setup Sun webserver ahead of Glassfish Application server. Now when i send a request having length 17000 as POST request , my application does nt receive the whole request data. If i make request direct to Application server , app server servs

  • JRE versions - Vista Compatible

    I would like to know wich versions of Sun Java 2 Runtime Environment are compatible with Windows Vista. Or at least I have to know if the Sun Java 2 Runtime Environment 1.4.2_06 is compatible with Windows Vista. Thanks all. Bruno Miyabara.

  • Hi this S G Patil an ABAP Consultant

    In the report RFDKLI40 of credit over view  ,which is standard program ,when i run the program giving the credit acc no,credit control area and key date im getting open items (lets  same some X value) now for same credit acc no,credit control area bu