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.

Similar Messages

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

  • 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

  • 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

  • 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

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

  • Problem calling XML Report Publisher from Oracle Reports

    Hi,
    I'm facing a problem in calling XML Report Publisher from Oracle Reports.
    Basically, I'm trying to customise Dunning Letter program. The program which is submitted calls another program. I have customised the second program and added a call to a stored procedure which in turn calls XML Report Publisher.I have created a template and attached it to the second program as well.
    The procedure code is as follows.
    v_request_id := FND_REQUEST.SUBMIT_REQUEST(application => 'AR'
    ,program => 'ARDLP_NON_SRS'
    ,description => 'Dunning Letter Print from Dunning Letter Generate'
    ,sub_request => FALSE
    l_status := fnd_concurrent.WAIT_FOR_REQUEST
    ( REQUEST_ID => v_request_id,
    INTERVAL => 15,
    MAX_WAIT => 180,
    PHASE => l_phase,
    STATUS => l_status_code,
    DEV_PHASE => l_dev_phase,
    DEV_STATUS => l_dev_status,
    MESSAGE => l_message );
    v_xml_req_id := FND_REQUEST.submit_request(application => 'XDO',
    program => 'XDOREPPB',
              argument1 => v_request_id,
    argument2 => 'FLS DE AR Dunning Letter Print - German',
    argument3 => 603, -- changed 665 -- was 551,
    argument4     => NULL,
    argument5 => 'N',
    argument6     => 'RTF',
              argument7     => 'PDF');
    Now, there are two problems I'm facing...
    1. when the second program('Dunning Letter Print from Dunning Letter Generate') gets called it executes this procedure ... logically the 'Dunning Letter Print from Dunning Letter Generate' should get called twice ... second time from the procedure. Its getting called multiple times .. as many as 15 - 20 times.
    2. The Xml Report Publisher program ultimately gets called but its erroring out with the following error:
    java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.DS_APP_SHORT_NAME DS_APP_SHORT_NAME, B.DATA_SOURCE_CODE DATA_SOURCE_CODE, L.LOB_TYPE LOB_TYPE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE (L.LOB_TYPE = 'TEMPLATE' OR L.LOB_TYPE = 'MLS_TEMPLATE') AND L.APPLICATION_SHORT_NAME= :1 AND L.LOB_CODE = :2 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :3 AND L.TERRITORY = :4 ) OR (L.LANGUAGE = :5 AND L.TERRITORY = :6) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) )
    I have checked from database that the XDO_LOBS/ XDO_TEMPLATES_B table has corresponding registration data.
    I don't know what's creating the problem.
    If anyone has customised the Dunning Letter program before or having any idea about this problem, please help me out ..
    Thanks

    satrajit,
    Now I am getting the same error you got, Can you please tell me the solution you found?.
    XML Report Publisher 5.0
    Updating request description
    Waiting for XML request
    Retrieving XML request information
    Preparing parameters
    Process template
    --XDOException
    java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE L.LOB_TYPE = :1 AND L.APPLICATION_SHORT_NAME= :2 AND L.LOB_CODE = :3 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :4 AND L.TERRITORY = :5 ) OR (L.LANGUAGE = :6 AND L.TERRITORY = :7) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) )
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.initStream(TemplateInputStream.java:309)
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.<init>(TemplateInputStream.java:187)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.getTemplateFile(TemplateHelper.java:776)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:1269)
         at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:807)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)

  • How to call a Report 10g from a parameter form..?

    Hello,
    pls i wanna know the procedure of :
    How to call a Report 10g from a parameter form..?
    regards,
    Abdetu..

    hopes it work for you.
    procedure get_report is
    pl_id paramlist;
    p_year varchar2(4);
    param_name varchar2(10) :'param';
    begin
    pl_id := get_parameter_list(param_name);
    if not id_null(pl_id_)then
    destroy_parameter_list(pl_id);
    end if;
    pl_id := create_parameter_list(param_name);
    p_year := year -- assign the value.
    add_parameter(pl_id,'p_year',text_parameter,p_year);
    execute_report('report_name',pl_id);
    end;

  • Calling crystal reports 11 from oracle forms 10g

    Could you provide me step by step a solution on how I can call crystal reports 11 from oracle forms 10g application.

    Hi,
    Use web.show_document for calling the reports. Check out forms online help for syntax and example of web.show_document.
    -Arun

  • How to Call Crystal Reports XI  from  Oracle Forms 6i

    hi can any one ,Please provide me the steps to call Crystal Reports XI from Oracle Forms 6i
    very urgent please
    if any Doument,attachment please send to [email protected]
    Thanks in advance
    Regards
    S.Thirumalai selvan

    Hi All,
    Can anyone send me the steps to call Crystal Reports XI from Oracle Forms 6i (client/server)?
    Thanks in advance, Lidija
    My email is: [email protected]

  • Calling Crystal Reports XI from Forms 10g

    Any one succeed in calling Crystal Reports XI from Forms 10g,
    or using Import Java Class in Forms 10g
    to call Crystal Reports XI
    or any other method to invoke crystal Reports XI from FORMS
    share your Knowledge to OTN
    please provide me the steps,documents to [email protected]
    Message was edited by:
    user501763

    Hi,
    Use web.show_document for calling the reports. Check out forms online help for syntax and example of web.show_document.
    -Arun

  • 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

  • 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

  • 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

Maybe you are looking for

  • Exporting large PDF document in inDesign

    I'm exporting a large file (3m in length x 1.2m in width) in inDesign to PDF for print and the document just will not save, or if it does, only half the document actually saves. Help please!

  • How to do a silent install of NI-DAQ 7.3.1?

    I want to do a minimal silent install of NI-DAQ 7.3.1. I have found a few references, but none seem quite to provide all the information I need. Summary of my reasearch so far: In these two threads (thread 1, thread 2) a user asks the same question a

  • How do I get to speak to a Manager from Apple to discuss a complaint

    How can I get to speak with a manager from Apple, I have tried,  and tried, I have booked a call on 13th & 17th Sept, the replies 'we tried tocall you you were not available", my phone is in working order - there were no call to my phone. Where on th

  • Droid turned itself off, now wont turn back on

    I was using my phone when it turned itself off. now it wont go back on.  had it a while.  shouldnt have been hot.  took the battery out for a couple mintues and still nothing.  plugged it in and the light comes on when its chargeing.  the battery was

  • Get Report of Terminal Server license report

    Is there a way I can track our Terminal Server Licenses usage. For example I have bought 50 licenses, are they being used to full capacity or under used. What is the monthly maximum usage. And we have about 10 servers hosting terminal services in our