How to call Reportwriter in another report

Hi All,
        Can we call report writer in another custom program
using submit statement.
How can i achive this?
We can call using Call transaction, but i require the output in my called report for comparison of data.
How to call the report writer and get the output generated by this into my report.

Hi,
Using se93 i got name got the name of the report for a given report writer.
I used report name of report writer in submit statement.
I am getting short dump as report name does not exists.
Is there any function module that calls transaction and returns the result.

Similar Messages

  • How to call a form from report? in 6i

    How to call a Form from Report? In Developer 6i of oracle. Plz tell me tex.

    try this
    declare
       AppID PLS_INTEGER;
    begin
         AppID := DDE.App_Begin('ifrun60 module=myform.fmx userid=scott/tiger@mydb maximize=no', DDE.App_Mode_Maximized);
    exception when others then
          srw.message(1,'Errror');
    end;Baig
    [My Oracle Blog|http://baigsorcl.blogspot.com/]

  • How to call LSMW from a Report program

    Hi,
    I have a requirment of extending vendor master data (Companycode data and Purchasing Organization data ) through Tcode XK02 using LSMW.Also I need to generate an error log file for validating the data from flat file and  must have an export option of the error log file.
    Can you help me how to proceed on this in steps.
    Also pls let me know how to call LSMW transaction through a Report.
    Based on the selection criteria I need to maintain two source structues,one for companycode data and the other for Purchasing Orgnization data for uploading  data thru LSMW.How to do this?
    pls respond ASAP,
    Thanks,
    Nagendra

    Hi,
    create 2 LSMW object (under same project and subproject)..
    one for extended vendor master data for company code data and other for  extended purchase organization data for company code data.
    Now check the radio buttons and based on that populate ur LSMW object.
    Store project
      project = < >.
    Store subproject
      subproj = < >.
    Store object
      object  = '6GSC022_TS3'.
    if r_ccode = 'X'.
    Store object
      object  = < >.
    else.
    Store object
      object  = < >.
    endif.
    Call the function module to display object (LSMW) maintenance screen
      CALL FUNCTION '/SAPDMC/LSM_OBJ_STARTER'
        EXPORTING
          project        = project
          subproj        = subproj
          object         = object
        EXCEPTIONS
          no_such_object = 1
          OTHERS         = 2.
    Generating error log:
    After the checking the field if u think for this u need to generate error message then In the Maintain Field Mapping and Conversion Rules option under the required field write the following code:
    data: v_msgtxt(100) type c.
    message  <msg ID>    <message type>   <message no>
                     with   <var1>  <var2>
                     into v_msgtxt.
    write v_msgtxt.
    Follow the next step in LSMW object till you reach the option  Convert Data.
    After you execute this option you will get the desired message here.
    Regards,
    Joy.

  • How to Call webservice by another webservice

    Hi all,
    Anybody knows how to call a webservice by another webservice.

    Yep. Have a look at [Developing Java EE 5 Applications|http://help.sap.com/saphelp_nwce10/helpdata/en/44/c778033d5360eee10000000a155369/frameset.htm] and [Creating J2EE 1.4 Applications in SAP NetWeaver Developer Studio|http://help.sap.com/saphelp_nwce10/helpdata/en/46/69364d53070ea1e10000000a155369/frameset.htm].
    HTH!
    \-- Vladimir

  • How to call  Screen in another program from exsisting program

    Hello Frieds,
    Can any one help me how to call  a screen  in another program (Say "test2") from exsisting program(say "test1')
    If above case is possible then how to access the fields in the target screen?
    Your responce is greatly appreciated.
    Best Regards,
    Rakesh

    Hi Rakesh,
    If you wish to use ONLY the screen of another program, call transaction  will not help you, because the called transaction will be fully executed (and not only the screen), and the acess to screen field wil be difficult.
    When you wish to access the same screen from more than one program, you can create this screen in a function module and in this way you can call the function (to display the screen) in many programs.
    Best regards,
    Leandro Mengue

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

  • HOW TO CALL A FORM FROM REPORTS?

    How to call a FORM6i form from Oracle Reports6i? Is it at all possible?
    Regards.
    Satyaki De.

    Hi Jakub,
    I don't mean to say that you cannot do what you said in your response above.
    But what I want to say that Oracle does not support forms to be called from reports.
    DDE package is meant for different purpose.
    Dynamic Data Exchange (DDE) is a mechanism by which applications can communicate and exchange data in Windows. DDE client support is added as a procedural extension to Reports Builder. The PL/SQL package for DDE support provides application developers with an Application Programming Interface (API) for accessing DDE functionality from within PL/SQL procedures and triggers.
    Thanks,
    Raj
    http://www.oraclebrains.com

  • How I call procedure  in interactive report??

    Hi
    Is possible that call procedure in interactive report on APEX?
    Because
    in region source it asked only sql statement so I am confused and I dont know how call procedure in interactive report ?
    Edited by: esra aktas on 12.May.2011 11:04
    Edited by: esra aktas on 12.May.2011 12:05

    I am confused... Now, acoording to my senior porject in school my advisor want to that lots of procedures' name and arguments that I have collect them in a table. I collected procedures in table then I wrote a procedure that call wanted procedure by using dynamic sql and run that procedure..I select procedure name on selectlist on apex then that procedure run.
    So I want to my procedure's results must be as dataset in report . But report's source want to sql statement but I want to call the procedure as I mentioned.
    If you have any idea about my situations , I want to get your adviced.
    I have a this procedure.
    create or replace
    PROCEDURE CALLSPFROMTABLE(id number,arg1 varchar2,arg2 varchar2)  as
    table_name varchar2(30):='procedures';
    procname varchar2(1000);
    begin
    EXECUTE IMMEDIATE 'select procname from ' || table_name || ' where id='||id into procname;
    EXECUTE IMMEDIATE 'BEGIN '||procname||'('||arg1||','||arg2||'); END;';
    END;id=>:p1_SP , arg1=>:P1_YIL arg2=>:P1_BIRIM from selectlists
    Edited by: esra aktas on 12.May.2011 13:08
    Edited by: esra aktas on 12.May.2011 13:17

  • How to call a drill down report using hyperlink ?

    Can anyone please give an example to call a drill down report using hyper link in Reports 10g ?
    Regards
    Capri !!!

    Hi,
    I've been using this approach in a couple of reports and it works great with one problem. Even if I include the srw.set_hyperlink_attr('target=_new") it still launches the drill report in the current window. When the user hits the back button it doesn't take them back to the main report it takes them back to the reports/rwservlet? page. Can you see if there is anything I'm doing wrong...would be a really cool report if I could force it to open a new window.
    Here is what my code looks like:
    srw.set_hyperlink(:P_SERVER || 'dwn&report=transaction2_v8.rdf' ||
    '&PARAM_COMP_NUM=1' || '&PARAM_ACTV1=' || TRIM(:actvty_cd) || '&PARAM_ACTV2=&PARAM_ACTV3=&PARAM_ACTV4=&PARAM_ACTV5=&PARAM_ACTV6=' ||
    '&PARAM_START_DATE=&PARAM_END_DATE=' || '&PARAM_FY_NUM=' || vYear || '&PARAM_PERIOD=0' || '&PARAM_ACTVTY_GRP=%20' ||
    '&PARAM_LIST=%20' || '&PARAM_START_ACCT_CAT=' || TRIM(vCat) || '&PARAM_END_ACCT_CAT=' || trim(vCat2)|| '&PARAM_SYS_CODE=%20' ||
    '&PARAM_SRC_CODE=%20' || '&PARAM_DATA_TYPE_CD=P' || '&PARAM_ACT_STATUS=%20');
    SRW.SET_TEXT_COLOR('blue');
    srw.set_hyperlink_attrs('target=_new');
    Also I get different behavior if the user saves the PDF and opens the report through their pdf reader.
    Thanks for your help

  • How to call a form in report

    How can i call a form in a report?

    try this
    declare
       AppID PLS_INTEGER;
    begin
         AppID := DDE.App_Begin('ifrun60 module=myform.fmx userid=scott/tiger@mydb maximize=no', DDE.App_Mode_Maximized);
    exception when others then
          srw.message(1,'Errror');
    end;Baig
    [My Oracle Blog|http://baigsorcl.blogspot.com/]

  • How to call the XML Publisher Report thro Standard PO Output for Comm.

    Hi
    We need to call our custom report(XML Publisher Report) from the standard PO Output for Communication Report.
    There is a parameter(Purchase Order Layout) in PO Output for Communication in which we can see no. of standard reports. We want to add our custom report in that list so that when we will run this standard report by selecting our custom report for Purchase Order Layout parameter, we should get the output as per our Custom report.
    Since PO Output for Communication is a Java Concurrent Program, we are not able to place our custom report in the list of Purchase Order layout Parameter.
    Ram

    Welcome to the forums !
    Pl see if MOS Doc 305307.1 (How To Modify Print PO Report POXPOPDF With Custom Template) can help
    HTH
    Srini

  • How to call method in another swf file

    Hi. I am at the moment making a website in Flash 8. The
    website consists of a main file with the buttons and then
    additional files for each page. Each of the buttons uses code
    similar to this:
    content.loadMovie("home page.swf");
    where content is the movieclip I am using to load the swf
    file into. In the main file I have a search box where a user can
    type some search terms. I have written some code that will search
    through the text field(s) on the page and highlight any words that
    appear matching the search terms. The only problem is that I cannot
    get to the text fields on the other files. So what I want to be
    able to do is attach some code to the search button that will call
    a method in another swf file using the parameters that I the user
    has specified in the search box. How would I go about doing this?
    Any help is much appreciated
    JM Young

    Place functions in the external swf. Then you can call them
    through the container clip
    content.yourFunction(args);
    Realize however, you cannot call code in an external swf
    until the frames with the functions are loaded. Timing would be an
    issue if the user can beat the loading clock or if you have code
    that is executed automatically after you start the load.
    So if timing becomes an issue, use MovieClipLoader and the
    onLoadInit method.

  • How to call jsp from another jsp

    Hi, All,
    I have several jsp files in my pagelet. I need to put a link in one jsp file. When client click the link, it will show another jsp file. Could anybody tell me how to do that?  i have tried to use following code in page1.jsp,
    IPortalComponentURI componentURI= componentRequest.createPortalComponentURI();
    componentURI.setContextName("pagelet/page2.jsp");
    String docuri = componentURI.toString();
    <body>
    click  '<a href="<%=docuri %> ">here</a>' to link to pages.
    But it does not work. Any help will be great appreciated.
    Marea
    Message was edited by:
            Marea Yang
    Message was edited by:
            Marea Yang

    HI Yang,
    You can achieve it through eventhandliling in jspdynpage.
    Go through this link ,
    i.<a href="http://help.sap.com/saphelp_nw70/helpdata/en/2e/d2a441cd47a209e10000000a155106/content.htm">eventhandling</a>.
    ii.<a href="https://forums.sdn.sap.com/thread.jspa?threadID=103335">method to call jsp</a>.
    iii.<a href="https://forums.sdn.sap.com/thread.jspa?threadID=393522">calling  resource JSP in Portal Compoent</a>
    Hope It'll help you.
    Regards ,
    Malini.V

  • How to call a Smartform in Report to print Production Order

    Hi all,
    Can any one tell me how to develop a smartforms when the user selects the print button in ALV report.
    i.e, The requirement is when  the user presses the print button in ALV report, at that time it has call the smartform and it has to print the Report.
    Can any one shed some light on this.
    Regards
    Yathish

    Hi Yathish
    do it this way.
    in the ALV function call
    give in
    exporting
      I_CALLBACK_USER_COMMAND           = 'user_command '
    write a subroutine
    FORM user_command USING whatcomm TYPE sy-ucomm whatrow TYPE
    slis_selfield.
    case whatcomm.
       when 'print'.
          call 2 function modules here
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
           EXPORTING  FORMNAME           = P_FORM    "Your form name
                    variant            = ' '
                    direct_call        = ' '
           IMPORTING  FM_NAME            = FM_NAME
           EXCEPTIONS NO_FORM            = 1
                      NO_FUNCTION_MODULE = 2
                      OTHERS             = 3.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        EXIT.
      ENDIF.
    calling the generated function module
    CALL FUNCTION FM_NAME
    EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
    CONTROL_PARAMETERS   = CPARAM
       OUTPUT_OPTIONS       =  OUTOP
      USER_SETTINGS        = SPACE
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
    IMPORTING
      JOB_OUTPUT_INFO      = TAB_OTF_DATA
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_OPTIONS         =
    EXCEPTIONS
      FORMATTING_ERROR           = 1
      INTERNAL_ERROR             = 2
      SEND_ERROR                 = 3
      USER_CANCELED              = 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.
    endcase.
    endform.
    This is an example in the function gereated call give you own importing and exporting parameters.
    Kindly reward points if helpful.
    Regards
    Zarina

  • How to call scriptlogic from another application

    Hi
    In BPC 7.0 NW, how would I call scriptlogic defined in another app from my current app. The MDX *RUN:OGIC is not supported. Is there anther way to do this and if so, how?
    Thanks
    L.

    Hi,
    The Script Logic File is assigned to Data Manager Package which in backend will call the process chain.
    So in your case you will be assigning the name of the Script file(in different application), to the DM Package of some other application from where you will be calling the logic.
    The Dynamic Scriptin that case will be as below if you are using FXRESTATEMENT Process chain,
    PROMPT(SELECTINPUT,,,,"%CATEGORY_DIM%,%TIME_DIM%")
    TASK(/CPMB/FX_RESTATMENT_LOGIC,SUSER,%USER%)
    TASK(/CPMB/FX_RESTATMENT_LOGIC,SAPPSET,%APPSET%)
    TASK(/CPMB/FX_RESTATMENT_LOGIC,SAPP,<Name of App where the>)
    TASK(/CPMB/FX_RESTATMENT_LOGIC,SELECTION,%SELECTION%)
    TASK(/CPMB/FX_RESTATMENT_LOGIC,LOGICFILENAME,QTYOFRM.LGF)
    Hope this helps,
    regards,
    G.Vijaya Kumar

Maybe you are looking for