Executeing a report from Arbit. program

Hey, i was wondering.
Is it possible to start a report from a commandline ?
I want to do some report printing during the night, and i'd prefer initiating it from within a Java program (dev. with JDeveloper).
I realize that i problary will have to execute the report binary, and pass some arguments to make this happen.. Is this the way to go about it, or is there a more efficent way to do this ?
Thx alot.

Hi,
U can do by using
SUBMIT PROGRAM VIA SELECTION-SCREEN .
Bye

Similar Messages

  • How to create a variant to a report from another program at run time

    Hi experts,
                   when i am using FM  :  /OSP/REPORT_CREATE_VARIANT to create a report variant from a program then i am getting  an error 'For object /OSP/ERPNR , number range interval 01 does not exist ', how should i avoid it or can any one help me out to create a report variant from another program at run time with the results of the program.so that i can execute the report from here with this variant

    If i understand you,
    - You can use a FM like [RS_CREATE_VARIANT|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=rs_create_variant+&adv=false&sortby=cm_rnd_rankvalue] to create a variant and then use it in the [SUBMIT|http://help.sap.com/erp2005_ehp_03/helpdata/EN/fa/096d67543b11d1898e0000e8322d00/frameset.htm] statement USING SELECTION-SET.
    - But you may also use SUBMIT with WITH parameters which doesnt require variant creation and with much less programming efforts.
    - You can mix the two solutions also.
    So what is you actual requirement, also look at some documentation like [ Scheduling a Job: Full-Control Method|http://help.sap.com/erp2005_ehp_03/helpdata/EN/fa/096ce5543b11d1898e0000e8322d00/frameset.htm]
    Regards

  • Executing the report from the form

    I am getting the following error while executing a report from the form, and the destination format is excel
    RWRBE60.exe - Application Error
    The exception unknown software exception (0xc00000fd) occurred in the application at location 0x64aa591a.
    Click on OK to terminate the program
    Click on CANCEL to debug the program
    OK Cancel

    im having same problem when i use long report file names. like when i use report name my_very_long_long_report_name.rep this problem occurs..
    i reduced this to my_short_report_name.rep it never occurs, it happend in lot of reports.
    Regards

  • Executing Sabrix Reports from SAP CPS

    Does anyone know if we can executing Sabrix Reports from SAP CPS?
    Thanks,
    Bhushan

    No. That was the first option I could think of. Executing it with ABAP Program.
    I dont have much information about Sabrix System but what I understand is that automated tax reporting solution which runs batch processes in background during
    night and email report with desired data in an excel spreadsheet format. Sabrix doesn’t have a custom solution to generate reports. They have suggested leveraging 3rd party tools for such requirement.

  • Error while executing a report from Planning

    Hi,
    I've got this error message when I execute a report from Hyperion Planning (web) :
    "5200: Error executing query. [1106] Error : Class component property name invalid[DataType]"
    Can you help me please ?
    Thanks.
    Virgile.

    I am not sure about it. But i remember once running into a similar issue where i made some changes in the metadata or outline and few members were dropped from the hierarchy and it came up with this error at the time of running
    the report as my report was still trying to query the dropped members. But u said you have already checked and all your members are valid on the report. Is this happening with all the reports or just one. If its all the reports i would
    restart the BI+ reporting services and then try to run the reports!

  • Problem while executing a report from Planning Web

    Hi,
    I've got this error message when I execute a report from Hyperion Planning (web) :
    "5200: Error executing query. [1106] Error : Class component property name invalid[DataType]"
    Can you help me please ?
    Thanks.
    Virgile.

    I didn't see anyone post the resolution on this. I recently re-ordered the dimensions in my outline, and afterwards was getting that error. It's a simple fix of changing the database connection to something else, then changing it back. I was able to do this because I have multiple databases with the same outline structure. If you don't, possibly you may just have to re-create the connection, not sure.
    Sabrina

  • When i try to execute a report from forms10g i found the errore id not ....

    i have a button in a form that run on forms10g that tri to execute a report in the web :
    the trigger is this
    **** when i try to execute the button the error is that the is impossibile to find the "report ID"???
    there is a easist solution to execute a report from a form button ????
    thank's !
    DECLARE
    report_id Report_Object;
    BEGIN
    report_id:= find_report_object('imm_print_01');
    PROCEDURE RUN_REPORT_OBJECT_LIST(report_id , 'repSRV' , 'pdf');
    END;
    the procedure run_report_object_list is the follow :
    PROCEDURE RUN_REPORT_OBJECT_LIST(report_id REPORT_OBJECT, reportserver
    varchar2,
    runformat varchar2) IS
    report_job_id VARCHAR2(100);
    vc_rep_status VARCHAR2(20);
    paramlist_id ParamList;
    paramlist_name VARCHAR2(10):=’tmplist’;
    BEGIN
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,
    SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,
    reportserver);
    paramlist_id:= get_parameter_list(paramlist_name);
    IF NOT id_null(paramlist_id) THEN
    destroy_parameter_list(paramlist_id);
    END IF;
    paramlist_id:=create_parameter_list(paramlist_name);
    add_parameter(paramlist_id,’DESTYPE’,TEXT_PARAMETER,’CACHE’);
    add_parameter(paramlist_id,’PARAMFORM’,TEXT_PARAMETER,’NO’);
    add_parameter(paramlist_id,’desformat’,TEXT_PARAMETER,
    runformat );
    report_job_id:=RUN_REPORT_OBJECT(report_id,paramlist_id);
    END;

    Please see that in your form you have created a "report object" with the same name ie "imm_print_01" . This is done using Forms builder in object navigator
    (For forms-reports intg pls see "forms reports integration whitepaper" (link below)
    [    All Docs for all versions    ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    ---------------------------------------------------------------------------------

  • Is it possible to execute SAPGUI scripts from java program?

    Hi everyone..
         I need to develop an java applications that executes the SAPGUI script or any technique that execute set of transaction as client.
         Is it possible to execute SAPGUI scripts from java program? if so, how it can be achieved? is there any other technique to achieve above mention scenario?.
         it will be more helpful, if docs related to that are shared..
         Thanks in advance

    Oh, bummer. Would be much more convenient if I could just use iTunes for everything. Can't stand WMP. I wonder if WinAmp might be a good compromise?
    Thanks for this answer . . .
    Sharon

  • How to call an alv report from another program and return back

         Hello ,
    I am calling one abap program (Prgm B) from another program (Prgrm A).
    Here, Prgm B is an ALV report. I have fetch some data from Prgem B that gets stored in an internal table.
    Now, I am using below code in Prgrm A,
      SUBMIT Prgrm B VIA SELECTION-SCREEN
                          WITH SELECTION-TABLE rspar
                          EXPORTING LIST TO MEMORY
                          AND RETURN.
    When Prgrm A executed, it lead me to selection screen of Prgrm B and when I click F8, it shows me the report output, In short, it doesnt return back to Prgrm A. It ends up showing me the alv report if Prgrm B even afetr using RETURN statement.
    I want to get back to Prgrm A by fetching some data from Prgrm B.
    Please let me know, if i am missing something.
    Regards,
    Seema

    Hi Seema,
    Refer below code.
    DATA: v_matnr LIKE mara-matnr.
    DATA: t_listobject TYPE abaplist OCCURS 0 WITH HEADER LINE.
    DATA: t_mara TYPE mara OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF t_ascilist OCCURS 0,
             line(200).
    DATA: END OF t_ascilist.
    data var(3) type c.
    SELECT-OPTIONS: s_matnr FOR v_matnr.
    var = '  3'.
    START-OF-SELECTION.
       SUBMIT ztestaks1 WITH s_matnr IN s_matnr EXPORTING LIST TO MEMORY
       AND RETURN.
       CALL FUNCTION 'LIST_FROM_MEMORY'
            TABLES
                 listobject = t_listobject
            EXCEPTIONS
                 not_found  = 1
                 OTHERS     = 2.
       IF sy-subrc <> 0.
         MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
       ELSE.
         CALL FUNCTION 'LIST_TO_ASCI'
    *     EXPORTING
    *       LIST_INDEX               = -1
    *       WITH_LINE_BREAK          = ' '
           TABLES
             listasci                 = t_ascilist
             listobject               = t_listobject
           EXCEPTIONS
             empty_list               = 1
             list_index_invalid       = 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.
         ELSE.
           WRITE:/ 'Below are the lines from the submitted program.'.
           LOOP AT t_ascilist.
             WRITE:/ t_ascilist-line.
           ENDLOOP.
           SKIP 2.
         ENDIF.
       ENDIF.
       IMPORT t_mara FROM MEMORY ID 'T_MARA'.
       WRITE:/
    'Here is the output from the table exported from the submitted program.'
       LOOP AT t_mara.
         WRITE:/ t_mara-matnr.
       ENDLOOP.
    Submitted program
    REPORT  ZTESTAKS1.
    DATA: v_matnr LIKE mara-matnr,
           v_maktx LIKE makt-maktx.
    DATA: t_mara TYPE mara OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF t_makt OCCURS 0,
             matnr LIKE makt-matnr.
    DATA: END OF t_makt.
    SELECT-OPTIONS: s_matnr FOR v_matnr,
                     s_maktx FOR v_maktx.
    START-OF-SELECTION.
       SELECT matnr INTO TABLE t_makt
                    FROM makt
                   WHERE matnr IN s_matnr
                     AND maktx IN s_maktx.
    if not t_makt[] is initial.
       SELECT * FROM mara
                INTO TABLE t_mara FOR ALL ENTRIES IN t_makt
               WHERE matnr = t_makt-matnr.
    endif.
       EXPORT t_mara TO MEMORY ID 'T_MARA'.
       WRITE:/ 'This list is from the submitted program'.
       SKIP 1.
       LOOP AT t_mara.
         WRITE:/ t_mara-mtart.
       ENDLOOP.
    Hopes this helps you.
    Thanks,
    Ashok.

  • Execute BIP Reports from Concurrent Manager

    We currently have EBS and are using XML Publisher that is embedded in EBS.
    However, we would like to deploy a dedicated BIP Server for our reporting needs and call our reports from EBS via concurrent jobs.
    Is there a documented method to accomplish this?
    Thanks,
    Scott

    Hi Scott,
    You could call BIP web services eg. from java concurrent programs, but with separate BIP server you'd have extra licensing, integration complexity to contend with.
    Is your issue performance or do you want to use BIP Server functionality independently? If performance, might be better to go for parallel concurrent processing.
    Are the reports you mention in "call our reports" custom reports or standard EBS reports? Either way you'd need to create the reports on BIP server and consider integration.
    Regards,
    Gareth

  • Calling a report from another program

    Hi friends,
    I want to run an existing  report from one function module and I need the output in an internal table for further processing.But I don't want to change the called program for any export to memory.How can we do it ?
    Thanks in advance,
    Joby

    Hi,
    U can do by using
    SUBMIT PROGRAM VIA SELECTION-SCREEN .
    Bye

  • Execute bsp application from abap program

    How can I do to execute a bsp application from abp program ?
    I have two parameter in enter : text and language.
    And i have one paramenter in exit : translated text.
    Thanks for you help.

    but how to retrieve the result of the bsp ?
    Here is my source code :
    data: url type string,
             l_appl type string,
            l_page type string,
            l_params type line of TIHTTPNVP,
            params type TIHTTPNVP.
      l_appl = 'ZAPI_TRADUCTION'.
      l_page = 'appel.htm'.
      l_params-NAME = 'text'.
      l_params-value = 'pour le moment test'.
      append l_params to params.
      call method cl_http_ext_webapp=>create_url_for_bsp_application
        exporting
          bsp_application      = l_appl
          bsp_start_page       = l_page
          bsp_start_parameters = params
        importing
          abs_url              = url.
    DATA: http_client TYPE REF TO if_http_client .
    DATA: w_string TYPE string ,
          w_result TYPE string ,
          r_str    TYPE string .
    DATA: result_tab TYPE TABLE OF string.
      CLEAR w_string .
      w_string = url.
      CALL METHOD cl_http_client=>create_by_url
        EXPORTING
          url                = w_string
        IMPORTING
          client             = http_client
        EXCEPTIONS
          argument_not_found = 1
          plugin_not_active  = 2
          internal_error     = 3
          OTHERS             = 4.
          CALL METHOD http_client->send
        EXCEPTIONS
          http_communication_failure = 1
          http_invalid_state         = 2.
          CALL METHOD http_client->receive
        EXCEPTIONS
          http_communication_failure = 1
          http_invalid_state         = 2
          http_processing_failed     = 3.
      CLEAR w_result .
      w_result = http_client->response->get_cdata( ).
      REFRESH result_tab .
    In the variable it brings me back the html source code of the BSP rather than run and bring me the result of the BPS.
    Thank you for your help.

  • Executing  InfoPackage Group from ABAP Program

    Hi Experts,
    I want to execute InfoPackage Group from the ABAP program. I know function module BAPI_IPAK_START which can schedule a single Infopackage at a time.
    Please let me know.
    Many Thanks,
    -Ashish

    Hi,
    I am using function module BP_EVENT_RAISE for raising a event.My question is which eventid I need to give in the export parameter.
    CALL FUNCTION 'BP_EVENT_RAISE'
      EXPORTING
        EVENTID                      = ' '
        EVENTPARM                    = ' '
    I need to mention some SAP standard event or I can create my own event too.
    Because same event I need to put in InfoPackage Group for scheduling.
    Regards,
    Ashish

  • Execute transaction/report from SAPOffice message

    Is it possibile to execute directly a transaction or a report from a SAPOffice message ?
    In functions SO_DOCUMENT_SEND_API1 and SO_NEW_DOCUMENT_ATT_SEND_API1 in input structure DOCUMENT_DATA there are two fields (PROC_TYPE and PROC_NAME) that seem to give this possibility.
    I used them, together to table parameter OBJECT_PARB, but nothing happen.
    Regards,
    Antonino Musciumarra

    Send  .sap file in the attachment..
    check following thread:
    Re: Hyperlink to SAP documents in external emails
    G@urav.

  • BI error while trying to execute a report from a role - HELP

    Hi experts, I just started in a new BI project and there were some roles already created, I tried to execute a report in one of these roles (SAP_BW_TEMPLATE-Procurement) and I receive a pop-up window saying: "Windows cannot find "report technical name" . Make sure you typed the name correctly and then try again"
    Does anyone have any idea what this is happening?, how can I fix it?, this is very urgent, any help would be appreciated.
    Thanks
    JC

    Hi Shaimaa
    First of all I'm delighted that the scheduling itself is now working.
    In reply to your other concern regarding lost database connections when attempting to open the scheduled results, a couple of things come to mind.
    Firstly, what version of the application server are you using?
    Have you raised a service request with Oracle? If so, can you tell me what they said.
    Have you recently upgraded to 10.1.2.2 by any chance? If so, you definitely need to be aware that a new preference has come into play which could muck things up. The clue is to look at the SQL that Discoverer is generating. Do you see a line at the top of the code saying NOREWRITE? If so, we need to stop this by doing the following:
    1. Add the following parameter to the preference file in the c:/oracle/BIHome_1/discoverer/util/pref.txt under the [Database] section
    UseNoRewriteHint = 0
    Note: the preference is all one phrase with upper case characters at the beginning of each word
    2. The beginning of the section should look like this:
    [Database]
    UseNoRewriteHint = 0 # speeds performance and stops lost connections
    3. Double click the applypreferences.bat or run applypreferences.sh (if on Unix or Linux) to save the changes.
    4. Restart the Discoverer services and test.
    The next thing that comes to mind is hidden Group Sorts. I've recently had a situation where these can cause a loss of database connections. Do you have any of these in the offerning workbook?
    Mull over the above and let me know your findings.
    Best wishes
    Michael

Maybe you are looking for

  • ITunes could not connect to the iTunes Store "Error Message"

    I recently added iTunes 7.6 to my Windows XP operating system at the same time when I added an *Ion USB Turntable (TTUSB).* I currently have the 80G iPod with the larger video screen. I added in the supplied software of the EZ Vinyl Converter. The so

  • Exclusive: HP SLATE 500 Update

    Questions and speculations around the new HP Slate 500 tablets have been circling the internet for some time.  First is the demand and shipping of current back orders. The second is really around the specs. What can a user expect from this device? Le

  • TS1567 suddenly my ipod nano is not recognized by itunes, windows version

    my device is not being recognized, just stopped after a number of months . any ideas as to what to do ? we are running windows 7 , ipod Nano

  • NEED HELP w/ P35 Neo Combo and Windows XP Install Stop 0x24 error BSOD

    First a little background, in case it's relevant: I was running a 865PE Neo2 with 4 x 1gig Corsair DDR2 6400.  Otherwise, same specs as below. Ran it for 2 years without a hitch, then got a virus that corrupted my profile and had trouble booting, log

  • Transaction F-03

    Hi in transaction fbl3n i can see 15 documents ( open item ). After that when i go to clear it in transaction f-03 appear 12 documents ( open item ). Sap dont show 3 documents for clearing item. I was checking and all documents what i can see in f-03