Call Normal Report program in workflow?

Hi all,
    My requirement is that i want to call a simple report program in workflow?
eg-when i entered material num ,the data related to that material is displayed from MARA table.
  when i execute my workitem ,i want that output of report to be displayed.
i have created a z object in that i called one z  method ,in that method i have written,
  'SUBMIT PrgName AND RETURN.
but it is not working.
Thanks and Regards,
Arpita.

Hi Arpita,
I am not sure if a report program can be called from workflow. But would it be possible for you to convery your report program into a BO method? A BO method can be easily called from a workflow.
Please clarify if you have a different requirement.
Regards,
Saumya

Similar Messages

  • How to call the abap program in workflow

    HI Exeprts,
    I need to call one abap program in workflow.
    can any tell me how to call the abap program in workflow.
    thanks &regards
    ramesh

    Dear Ramesh,
    U can use REPORT business object.
    Method : EXECUTE_2
    Regards,
    Sagar

  • 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 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

  • Calling a report program in another program.

    can we call on report program in another report program. If yes, please give me the right syntax. Thanks in Advance.

    Hi,
      Use SUBMIT AND RETURN statement. In below given codes,
    I'm sending an internal table t_spfli to a memory id abc. After that I'm calling another program by using SUBMIT <program name> AND RETURN.
    Check these two programs
    PROGRAM 1
    REPORT  z_abap_memory.
    DATA:
      w_carrid TYPE spfli-carrid,
      BEGIN OF fs_spfli,
        carrid LIKE spfli-carrid,
        connid LIKE spfli-connid,
        fltime LIKE spfli-fltime,
      END OF fs_spfli.
    DATA:
      t_spfli LIKE
        TABLE OF
              fs_spfli.
    SELECT-OPTIONS:
      s_carrid FOR w_carrid.
    START-OF-SELECTION.
      PERFORM get_spfli.
      PERFORM disp_spfli.
    AT LINE-SELECTION.
      IF sy-lsind EQ 1.
        EXPORT t_spfli TO MEMORY ID 'ABC'.
        SUBMIT z_ABAP_MEMORY1 AND RETURN.
      ENDIF.
    END-OF-SELECTION.
      PERFORM disp_spfli.
    *&      Form  get_spfli
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM get_spfli .
      SELECT carrid
             connid
             fltime
        FROM spfli
        INTO TABLE t_spfli
       WHERE carrid IN s_carrid.
    ENDFORM.                    " get_spfli
    *&      Form  disp_spfli
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM disp_spfli .
      LOOP AT t_spfli INTO fs_spfli.
        WRITE: / fs_spfli-carrid,
                 fs_spfli-connid,
                 fs_spfli-fltime.
             HIDE:
        fs_spfli-carrid,
        fs_spfli-connid.
      ENDLOOP.
    ENDFORM.                    " disp_spfli
    PROGRAM 2
    REPORT  z_abap_memory1.
    DATA:
      BEGIN OF fs_spfli,
        carrid LIKE spfli-carrid,
        connid LIKE spfli-connid,
        fltime LIKE spfli-fltime,
      END OF fs_spfli,
      fs_fl LIKE fs_spfli.
    DATA:
      BEGIN OF fs_flight,
        carrid LIKE sflight-carrid,
        connid LIKE sflight-connid,
        fldate LIKE sflight-fldate,
      END OF fs_flight.
    DATA:
      t_spfli LIKE
        TABLE OF
              fs_spfli.
    DATA:
      t_fl LIKE t_spfli.
    DATA:
      t_flight LIKE
         TABLE OF
               fs_flight.
    IMPORT t_spfli FROM MEMORY ID 'ABC'.
    t_fl = t_spfli.
    SELECT carrid
           connid
           fldate
      FROM sflight
      INTO TABLE t_flight
      FOR ALL ENTRIES IN t_spfli
    WHERE carrid = t_spfli-carrid
       AND connid = t_spfli-connid.
    LOOP AT t_flight INTO fs_flight.
      WRITE: / fs_flight-carrid,
               fs_flight-connid,
               fs_flight-fldate.
    ENDLOOP.
    Regards
    Abhijeet

  • Calling one report program from another

    Hi All,
             i am calling one report program from my program & exporting it's output to SAP-SPOOL using SUBMIT statement. I want to fetch the spool no in my program for this spool. Please guide me how this can be achieved? i have tried SYST- SPONO but it's not working.
    Thanks & Regards,
    Chetan.

    Hi,
    Initially check this it might be helpful  to u.
    http://help.sap.com/saphelp_sm40/helpdata/en/30/cc154219fce12ce10000000a1550b0/content.htm.
    Even use the function module slike Job_open , Job_close  this is also one of the methid to achive spool requests.
    Regards,
    Sana.
    Reward with points if found helpful..

  • Calling a Report Program from Web Dynpro

    Hi all,
              I have a requirement, where i have to call a report program from web dynpro?. Wether its possible to call a report program in web dynpro?. Is we can call it, how this functionality has to be achived?

    Hello,
    Yes it is possible to call report using SUBMIT statement from one of the method defined in COMPONENTCONTROLLER's method tab.
    Once you define the method with SUBMIT statement then call that method with proper event.
    Rest configuration will remain same for ABAP webdynpro.
    Hope this helps.
    Thanks,
    Augustin.

  • Itz possible to call one report program into another program

    hi guys,
                i had a doubt that can i call a report program into another report program by declaring their name into the second program like as we calling Includes ,function modules and like class and their methods .
    if  anybody done this or know how to do this,  give me the details and explination about this  friends
    if it possible with screenshots and codings
    Thanks & Regards
    Saigijeo

    Please search before posting, do not ask basic questions here.
    Always do your own work before turning to the community with specific problems.
    Thread locked.
    Thomas
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]

  • Insert a link to call a report program.

    Hello all!
    Im new in ABAP developing, and I have a Z Workflow that I need to put a link in a user decision step.
    When the user will accept or refuse an workflow in sbwp transaction, the user wants see a link and when he clicks in this link,
    a report program is called.
    How can I do it, in this decision step?
    Thank you!

    Hello,
    I understand that if a user selects one option(from the decision step), he will receive a mail with the work item. The link from the work item will show him service entry sheet. If he clicks the link, he will see service entry sheet and after that he will see the report.
    If i understood right, you can create custom method in the subtype of the object BUS2091. In the method enter the code:
    submit "report_name".
    Check the syntax of the submit instruction for passing select-options and parameters to the report.
    For the other option of the decision step, you can create another custom method.
    Efren
    Edited by: Efren23 on Jun 20, 2011 1:52 PM

  • 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

  • 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

  • Calling a Report program in Web Dynpro methods

    Hi,
         Can any one suggest how i can call a Report created in SE38 in Webdynpro?. I tried to call it using Submit statement. But its throwing some error.

    Hi,
    Please refer these  links -
    https://forums.sdn.sap.com/click.jspa?searchID=29253250&messageID=7731540
    report list output on a webdynpro view
    Please paste the error or check it in ST22.
    Regards,
    Lekha.

  • Call normal report or xml report in OAF Page

    Hi,
    I'm in need to learn OAF in short time.
    So i need to know how to call a report or xml report in OAF page.
    Please explain me how to do this or give any good website URL.
    thanks in advance,
    SAN

    Hi,
    first of all, you must create a new controller to extend your existing...
    Then, you can create a new button via personalization or at runtime.
    On button pressed of your button (processFormRequest) use the following code to navigate to your report, xml or otherwise:
    com.sun.java.util.collections.HashMap parameters = new HashMap();
    String url = "OA.jsp";
    parameters.put("akRegionCode", "FNDCPREQUESTVIEWPAGE");
    parameters.put("akRegionApplicationId", "0");
    String id = "" + V_Request_ID + "";
    parameters.put("requestMode", "DEFERRED");
    parameters.put("requestId", id);
    parameters.put("progApplShortName","XXCY");
    parameters.put("progShortName","XXCY_CUSTOM_REPORT");
    pageContext.setForwardURL(url,
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    parameters,
    true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
    OAWebBeanConstants.IGNORE_MESSAGES);
    Regards,
    Costas

  • Calling A Report Program From DIALOG Program ?

    Hi helping Minds ,
    My requirement is like....
    I have a screen, where Datas Are displayed after all the calculation in TABLECONTROL .
    The user wants a button REPORT on the same Screen ,
    By clicking the REPORT button, it will call a SELECTION SCREEN to enter tthe input to dispaly the report list.
    After entering the data in selection screen , it will display the LIST output ,
    So my doubt is I have all the Data in * DIALOG SCREEN* ,which i have  stored in INTERNAL TABLE .
    and when i will dispaly the output i have to dispaly all those data which are in those INTERNAL TABLE. so how to transfer those INTERNAL TABLE data of Dialog Screen to REPORT , so that i can Dispaly them in LIST OUTPUT in report .
    Pls suggest me ?

    Hi,
    If i am not wrong.....you have the data to be displayed as a report in an internal table......when report button is pressed you want to display one selection screen .....and depending on the selection screen input search you want ti segregate the data of this internal table ...and show as list display.......
    if that is the case .....store the internal table data globally .....and ...when that button is clicked call the selection screen by usong POPUP_GET_VALUES.. with the requred fields or call your own screen  with the layout designed .......and get the search criteria data and sort the internal table according the search adn display in ALV ......for ALV creation in module pool see the link below ...
    [alv in module pool]
    Thanks,
    Shailaja Ainala.

  • Regarding Calling a Report Program

    Hi Gurus,
    1. I have an Requirement in which i need to call Program CATSSHOW.
        I need to Pass the Selection screen values from calling program by skipping the Selection screen of   Called Program.
    or
    2. Can i call the Transaction CADO(which is T-CODE for CATSSHOW Program)
        by passing selection screen values from calling program to call program skipping selection screen.
    I used  a. SUBMIT catsshow
                            WITH so_pers  IN r_pernr
                            WITH so_datum IN r_datum
                            AND RETURN.
                  which goes to the called program and does not pass the values to the ranges in called program.
    a. SUBMIT catsshow VIA SELECTION-SCREEN
                            WITH so_pers  IN r_pernr
                            WITH so_datum IN r_datum
                            AND RETURN.
                  which goes to the called program and pass the values to the ranges in called program and displays the selection screen. (which i needs to skip).
    Please help regarding this.
    Thanks and Regards
    Sanath

    SUBMIT catsshow
    WITH so_pers IN r_pernr
    WITH so_datum IN r_datum
    AND RETURN.
    this should work.. make sure r_pernr and r_datum are filled properly the option and sign fields...
    MOVE wa_parameter-parva TO s_vkorg-low.
    MOVE 'I'  TO s_vkorg-sign.
    MOVE 'EQ' TO s_vkorg-option.   "<<<<< this varies
    APPEND s_vkorg.
    MOVE wa_parameter-parva TO s_vkorg-high.
    MOVE 'I'  TO s_vkorg-sign.
    MOVE 'EQ' TO s_vkorg-option.    "<<<<< this varies
    APPEND s_vkorg.
    look at the padded zeros or conversion exits available for the field...

Maybe you are looking for

  • Missing operator in query expression

    Greetings, I'm attempting to access a MS Acess database, but getting the following error. Syntax error (missing operator) in query expression 'Org Name'. The error occurs between the following two lines. String SQL = "SELECT Org Name FROM Organizatio

  • Daisy Chain Grouping

    Hi: I am working on a query of all inspections and their re-inspections that have never passed. I have a database table of Building Inspections with a unique id called InspectionID and it increases.  Each inspection is related to a Building Permit wi

  • Rulers by default in Acrobat X

    Is there a way to set the Rulers to display by default when opening documents in Acrobat X Pro

  • Process Name when we connect via Serial Port ,Its URGENT !!!

    Hi, I am working with Sun Solaris 9 sparc and in my application,I have to communicate with the serial port. For every connection we made, in Solaris it creates a process.So Can anyone tell me the name of the process when we connect serial cable?? lik

  • Having trouble getting my music to play on my iPad 2 (5.1.1)

    Having trouble getting my music to play, this really annoys me because I spent MY money on itunes for these songs and suddenly they won't work anymore. They've worked in the past so I don't understand what could be going wrong. Only the songs that I'