Call Report program in WDA

Dear Experts,
I have a requirement to show the pdf on the web dynpro abap. I know standard report which calls these forms.
Can it be possible to call the abap report in webdynpro to display the pdf .
Please suggest.
Thanks and Best Regards,
Sahil

>Regarding theBranch to the SAPGUI for HTML, I dont know that also how toa chieve this
Are you running within the SAP NetWeaver Portal/NetWeaver Business Client or is the application running standalone in the browser? I would have different recommendations depending upon that answer.
If you are using Portal/NWBC, then you can use the Portal Navigation APIs to navigate to the classic dynpro report iView.  Here is the help link on the portal APIs:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/b0/f86f4132f15c58e10000000a1550b0/frameset.htm
If you are standalone then you will want to open the URL for the SAPGUI For HTML in a new window (probably using the linkToURL UI element or by opening the URL in a new window with the CREATE_EXTERNAL_WINDOW method of the Window Manager:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/43/79f82ccbec6fcde10000000a1553f6/frameset.htm
You can create the URL for the SAPGUI for HTML using a helper class like CL_URL.  That class has a method for the ITS that makes it easy to pass in parameters. The format of the SAPGUI for HTML URL is also documented in the WIKI:
https://www.sdn.sap.com/irj/scn/wiki?path=/pages/viewpage.action&pageid=22375

Similar Messages

  • How to call report program from WebDynpro Application

    HI
    How call  report program in WDA.
    1. To extract the xml files and store the data in to data base table, program name is "zprogram_application".
          When run the se38 it's working fine and save the data in database.
    2. When i click "SUBMIT" button the web dynpro application automatically run the Report program "zprogram_application" and save the data into data base table. This is my requirement please give me suggestions.
    3. I want run the report program in web dynpro application.
    Thank you
    V.VENKATESH

    From within the WDA Event handler you can call the program using SUBMIT ... AND RETURN.  You might have to be careful with what the program does.  It must run as though it is in the background.  There is no connection to the client machine - so no SAPGUI calls.  You might also consider the addition VIA JOB job NUMBER n...  to the SUBMIT command.  That will allow you to start the submitted program as a background job.  Your WDA can then continue processing as the submitted job runs in parallel.

  • Calling report program to my workflow method

    hi friends
        I have writen the logic to find the email id for travel admin now i want to call this  REPORT program to my workflow method. How can i do that. I know how to do that in function module but i want to try with report program. How to get the import and export parameter in the report program. I know there is some thing called memory id export but i dont no how to do that. Can any one show with sample code.
    Regards
    vijay

    Hi Vijay,
    You can make use of the following sample code.
    BEGIN_METHOD ' ' CHANGING CONTAINER.
    export itab to memory id 'PQR'.
    submit zMM_R_BUDJETDISP AND RETURN."exporting list to memory and return.
    END_METHOD.
    In your program you can use
    import itab from memory ID 'PQR'.
    Here Itab is a internal table.
    Similarly you can define single data elements as well.
    you can use this syntax to import, export parameters.
    let me know if you have any queries.
    Regards,
    Raj

  • Calling a Report Program In Web Dynpro Using Submit statment

    Hi all,
             Can any one suggest how can i call a report program form Web Dynpro using Submit statment. I tried to call it its showing Field symbols not defined error. Is their any other ways to call Report in a Web Dynpro?. I have posted the error message when i tried using SUBMIT ZRR AND RETURN CONTROL
    Field symbol has not yet been assigned.
    The error occurred on the application server mnghcmsap_HRS_00 and in the work process 1 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Form: CHECKBOX_OUT of program SAPLKKBL
    Form: GEN_LINE_OUT of program SAPLKKBL
    Form: DATA_OUT_SIMPLE of program SAPLKKBL
    Form: LIST_OUTPUT_NEW of program SAPLKKBL
    Form: FIRST_LIST_DISPLAY of program SAPLKKBL
    Module: LIST_DISPLAY of program SAPLKKBL
    Function: K_KKB_LIST_DISPLAY of program SAPLKKBL
    Method: PRINT_BACKEND of program CL_GUI_ALV_GRID===============CP
    Method: SET_TABLE_FOR_FIRST_DISPLAY of program CL_GUI_ALV_GRID===============CP
    Form: PBO of program SAPLSLVC_FULLSCREEN
    Edited by: VINMANO on Jul 22, 2009 2:54 PM

    HI,
    Its possible to call report program from Web dunpro...
    chk out dis link,
    calling report(se38) in webdynpro abap
    By the way are using field symbol anywhere and left it unassigned?
    Thanks,
    Divya.S

  • Can we call a report program in smartforms

    hai
       I need my report progrm output should be called in smartforms.
    i.e my report  output is displayed in a table in smartforms
    pls give suggestion

    Hi,
    You cannot call report program in smartform.
    But,you can call the smartform in your report program.
    Refer these links:
    how to write driver programming in smartforms
    what is the basic purpose of driver program
    Regards,
    Sravanthi

  • Embeding a SAP GUI based Report program into EP portal

    Hi experts,
                      I need a help, Is their any way to integrate a GUI based report program into EP portal. If yes can some one post how is it possible to acheive this functionality?.

    You may try the following options
    A. Transaction iView
        1.Make a transaction for the report program.
        2.Create an iView in Portal for transaction
    B. ITS service
         1.Make a transaction for the report program.
         2.Create an ITS service and pass the transaction name to the parameter ~TRANSACTION in the ITS service
         3.Create an iView in Portal for ITS service
    This way you will be able to call report program in Portal.

  • Calling Webdynpro application from report program

    Hi All,
    I am working with report program which displays ALV grid and if i select a row and click the button in application toolbar it should navigate to webdynpro application.
    This webdynpro application should get loaded with the datas that i ve selected in the ALV output.
    for eg., in alv display
    select carrid connid
    X        10      10
               20      20
    Webdynpro Application
    carrid   10
    connid  10  
    Kindly help me in acheving this.

    Hi,
    SET/GET parameters wont work in WD Envoirment, because WDA programs are executed in browser and that doesnt has a connection to SAP GUI.
    You may use the shared memory to transfer work area from the report program, and import the work area agin in the WDA in the WDDOINIT method of the controller where you want to set the fields.
    data: send type string.
    send = 'enter file name here'.
    export send TO shared memory indx(XY)  id 'wda'.
    CALL FUNCTION 'CALL_BROWSER'
    EXPORTING
       URL                          = 'http://SSR11S07.8000/sap/bc/webdynpro/sap/ztest_wda1 '.
    And in the WDDOINIT method of the controller, you may import the variable.
    data receive type string.
    import send = receive from shared memory indx(xy) id 'wda'.
    Then you may use the method set_attribute to set the value to respective UI element on the screen.
    Regards,
    Runal

  • Calling a ALV Report program via a Remote Function module.

    H All,
         The thing which I am looking out for is ,to know a technique to acheive this,
      To start with,
    For the transaction MB51-(Material Document List),which is a Report Program "RM07DOCS",I also observed that this uses a ALV to display the output.
    Now what I actually require is another extra field (from MARA table )  along with the standard output that is displayed from this report.
    Also this needs to be passed to a different UI system(build using VC ).
    So I have a RFC eg DisplayList(),where in I need to exeucte this report program ,get the output what it gives ,add my additional information what I want to and pass it as a export parameter,
    So this is the structure which I can visualise,
    FUNCTION ZFUN_MB51TXN.
    I would get all the import parameters here ,from who ever is calling my fun module,
    *Call the report program,pass the input  parameters required
    *get the output from this report program
    *send the output to the caller through export parameters
    ENDFUNCTION.
    So Here I need to know ,Can this be achieved something using Submit report or anything,Any guidelines to move further would be really of great help!

    Hi All,
    It would really be great if you can explain with the reference to the same report program,the same selection screen elemetns or something.
    Thanks,
    Archies!

  • How to call a badi implementaion from report program

    Hi ABAP Guru,
    I have ZBADI_FALLBACK_DEF new badi created by me and there two implementation ZBADI_FALLBACK_IMP and ZBADI_FALLBACK_IMP1
    Now I am calling this badi from report program
    DATA:
       W_HANDLE TYPE REF TO ZBADI_FALLBACK_DEF.
    * GET BADI - for getting objects..................
    GET BADI W_HANDLE.
    * CALL BADI - for calling interface methods.
    CALL BADI W_HANDLE->ADD.
    This is fine,,,
    But I want to call only one implementaion ZBADI_FALLBACK_IMP.But here two implementaion is called.Please help....

    Hi Palash,
    Then you create filter BADI  and  use filter in implementation.
    While getting BADI reference use filter
    GET BADI W_HANDLE FILTERS
    Thanks & Regards,
    Arun

  • Can we call a report program or schemas in  Routine [dynamic action] ???

    Dear SAP Crew,
    In dynamic action, we can call routines through indicatiors.
    In that routine, Can we call a report program or schemas???
    Kindly clarify with some scenario.
    Thks & Rgds
    Krish Sathya

    Hi Krish,
    In the routine you should be able to SUBMIT the program/report you need to execute.
    Cheers,
    Aditya

  • About call a webdynpro program in R/3 report program.

    hi,experts
    i am searching a report program which was written by my colleague who have left my project.
    there is one button displayed on the ALV tool bar of this report program.when i push this button,a message are sent to protal and displayed in tasks,then i log into portal,double click the message,a webdynpro program will be called and used to further process.
      i really want to know how i can decide to use which webdynpro program to be call and used. for example,now the R/3 program use the webdynpro program named AAA, i copy BBB from AAA,and want to replace AAA  by BBB in this program, how?
      i don't know how to meet this simple requirement such as upwards and confused about it. hope anyone can show me some information.
    thanks in advance.

    It is not that simple :).
    Actually there is a workflow involvedi n this. On clicking the alv button a workflow gets triggered and the task appears in the SAP Inbox which anyway displayed in the UWL of the Portal.
    just try changing the SWFVISU transaction entry for that particular task and change the applicaiton name to your new application name and re-register the system in the UWL Admin Pagem, i hope it works.
    If you did not find any entry in SWFVISU, the developer might have exported the XML in UWL Administration page in the portal down load it identify the old applicaiton name nad replace it with your new application name and upload the XML
    [Helpful link|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0731bbc-810b-2a10-7fb8-900f16fd3c7d]
    Abhi

  • How to call the Report program into Function module

    Hi Experts,
    Actually I want to create the DataSource. But I have only the ALV report program. I need to create function module but I don’t know how to call the ALV report program using in function module  
    So could you please any one send the Document or step by step method?
    Advance Thanks,
    Sathis

    If the report is just based out of a table than create a Generic Extractor using View.
    If its an InfoSet query than create a Generic Extractor on that InfoSet.
    If its an ABAP report than create a Generic Extractor using FM
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33

  • Call report selection screen in module pool program with tab strip control

    Hi,
    Could anyone explain in detail to call report selection screen in module pool program with tab strip control.
    Thanks
    Mano

    Hi,
    Refer std program:
    demo_sel_screen_in_tabstrip.
    demo_sel_screen_with_tabstrip.
    Call your program with SUBMIT stmt form module program.
    Reward points if this Helps.
    Manish

  • Variant calling in the report program.

    Hi,
    I got a report program to be called using the submit statement mentioned below.
    SUBMIT... [USING SELECTION-SET <var>].
    The Variant is saved in the Tcode. How can i get the Variant programatically rather than harcoding the variant name?.i mean any table it will be stored or any Function module available?.
    The variants are stored in the TVARV table, but still i need to pass the variant name to get the entries from the table.Any other alternative.
    Thanks,
    Neslin.

    Hi Vijay,
    In the table i find a possibility of getting multiple variants for a single report pgm name. any way to get a unique variant..
    Thanks,
    Neslin

  • How to call Outbound interface using report programs

    Hi experts,
        i want to call outbound i/f prog using 2 report programs...one report prg passing 2 parameters to outbond i/f prg & another report prg simply calling the outbond i/f prg... either report1 or report2 call this outbond i/f prg.
    for instance,
    1.report1 has following parameters                                            
             param: tknum,vbeln
    2.report2 does not have any parameters
             No param
    3.outbound i/f prog for some calculation
    points will be given..............
    thanks in advance,
    regards
    vijay

    Hi vijay,
         To call a program in another program you have to use the Keyword <b>Submit</b>.
    EX; Report zprg.
          SUBMIT zprg1.
       So, where you require a program you can call that program by this keyword.
    Regards,
    Narendra.

Maybe you are looking for

  • HT1296 Does Apple support syncing iPhones to Outlook 2010 on Windows 8?

    Spending too much time trying to sync Calendars and Contacts between iPhone 4S iOS 6.0.1 and Outlook 2010 on Windows 8.  Used to do this well until Outlook 2003 stopped syncing on old computer.  Bought a new laptop, copied the Outlook.pst file to new

  • Space bar not working all to well

    I had somert stuck under my spacebar so I though I'd just click it off and fix it. But when I came to click it back in place, itstoppedworking!!! Everything in right, and all the plastic pieces are clicked down properly so when pressed, they lay flat

  • Queries regarding the workflow

    Hi guys I have created a workflow definition in SWDD and creted a object in SWO1 with an event. this event i linked to the workflow in tepe linkage table also. I tried to trigger the event from the abap report program .I have used standard FM SWE_EVE

  • Im getting a new phone how can i transfer my smurf village?

    im getting a new phone how can i transfer my smurf village to my computer so i dont lose my progress

  • Pls. explain what is “Split number” and the “Capacity ID” 10000426

    When I switching the network activity to TECO, the system throws an error “There are CATS records for the object to be deleted”. However we have transferred all the CATS records, but in CATSDB table found “Split number” as 1 and there is “Capacity ID