PASS DATA TO A REPORT BEING SCHEDULED AS A BACKGROUND JOB

Moderator message: please do not use ALL CAPITALS in your subject
Hi All,
I need to pass some data to a Zreport_submit which I would be calling using SUBMIT statement from another Zreport_main. The report being called through the SUBMIT statement i.e. Zreport_submit will be scheduled as a backgroung job i.e. using addition VIA JOBNAME xx JOBNUMBER yy.
How can I pass data from Zreport_main to Zreport_submit. There are 2 values that are required to be passed.
Thanks-
Harmeet,
Edited by: Matt on Dec 16, 2008 11:26 AM

Hi Harmeet,
What I get from your question is
is that u need to call a program using SUBMIT statement in the background and u need to feed some values into the program may be into the selection-acreen so u can use
SUBMIT <prog name>
with parameter1 = value1 .
where parameter1 is the part of selection-acreen of the prog which was calld.
Thnks
Sahil

Similar Messages

  • Scheduled TMS_ # TMS_TP_IMPORT  background jobs fail with error code 0232

    Is anyone else having the problem we've just encountered since upgrading to ECC 6.0 and CRM 2007, where once setting up the automatic import ALL background jobs, to have all of the Transport Change Requests imported into the Q-Prod testing systems automatically, fail after several successful runs?
    After setting up the automatic import background job to run every 15 minutes, the first few run successfully (importing any transports as it should), then the transports stop being imported.
    The background jobs continue to run, but have the following in the job log overviews CRM 2007 - "Could not start transport control program tp". R\3 ECC 6.0 - "Transport control program tp ended with error code 0232".
    Only by deleting the background job and recreating it (or manually importing) from STMS, can the transports continue to be imported. Although I have noticed that there are multiple tp.exe processes started, which need to be deleted before the STMS and TMS Background jobs work again.
    The:
       DB is SQL Server 2005
       disp+work is at version 7000.150.14.48855
       R3Trans is at version 7000.149.14.47907
       tp is at version 7000.144.14.39594
    Any suggestions on how to cure this for good?

    Thanks All
    FYI
    SAP first suggested the following notes: 19466, 1150361, and to add a Startup profile parameter rfc/use_gwstart = 1. Which was only partially successful.
    I guess it had more to do with RFC processes hanging than it did with the tp, which was fixed in a later kernel patch level.
    I've upgraded the kernel to the latest (70000.181.0.0) and my problem was fixed.
    Ken

  • Passing data entered in report to form of workflow

    How to send data from Report SE38 to workflow? I want to send employee details filled in form generated after execution of report to local administrator for taking decision. i want to send data entered in report to form of workflow. Can anybody give any suggestions?

    i am giving screen shot of the event for my object
    Overview
    Parameter                      Obj. Type     First Release
    modify_wa                      ZBUS1000    700
    pernr                             ZBUS1000     700
    and the code is
    swc_create_container emp.
    emp-element = 'pernr'.
    emp-value = '1001'.
    emp-TAB_INDEX = 1.
    emp-type = 'C'.
    emp-elemlength = 18.
    append emp.
    *swc_set_element Emp 'PERNR' 1111.
    KEY = '1000'.
    CALL FUNCTION 'SWE_EVENT_CREATE'
    EXPORTING
    objtype = 'ZBUS1000'
    objkey = KEY
    event = 'HIRED'
    CREATOR = w_creater
    TAKE_WORKITEM_REQUESTER = ' '
    START_WITH_DELAY = ' '
    START_RECFB_SYNCHRON = 'X'
    NO_COMMIT_FOR_QUEUE = ' '
    DEBUG_FLAG = ' '
    NO_LOGGING = ' '
    IDENT =
    IMPORTING
    EVENT_ID =
    TABLES
    EVENT_CONTAINER = emp
    EXCEPTIONS
    OBJTYPE_NOT_FOUND = 1
    OTHERS = 2
    still it is not working can you correct me please.

  • Job Name of a Program scheduled as a Background Job

    Hi,
    In our production system. We have a program which is scheduled to run in the background by various job names. At runtime, I need the program to figure out under which Job Name is it running. I dont think there is any system field which stores the Job Name of the background job.
    Any inputs?

    Hi,
    It will run in default with <b>the name of the program</b>.
    Goto SM36 and put a * in job name u will see all the jobs that are schedule, if u specify the program name for the job schedule u will get that list alone.
    U can differentiate by seeing the time the job was scheduled.
    http://www.sap-img.com/ab007.htm
    Please reward and close the thread if u got the info.
    Message was edited by: Judith Jessie Selvi

  • Certain Maintenance Plan not getting scheduled in the background job

    Hi Gurus,
    I am facing an issue here.
    A weekly background job (RISTRA20) runs every weekend and schedules the maintenance plans.
    But we have noticed that some maintenance plans are not getting scheduled. i.e no orders or schedule is getting generated.
    When I run IP30 manually for these plans then the schedule gets generated and orders get called.
    I have checked up the background job and it is running fine.
    Also, i have noticed a similarity in all these plans which are not getting scheduled. There schedule has been restarted (through IP10) at somepoint or the other.
    But i don't see any direct impact of this?
    Can any of you provide some help on this?? Points will be rewarded.
    Thanks and regards,
    Nitin Saini

    Hi Narender,
    Thanks for replying.
    The message number for 'Groups don't match' is ME303.
    I think this does not have anything to do with the restart as i have done further investigation.
    Whenever I run IP30 with sortfield input as AS02*, i get the error as mentioned above for a certain number of maintenance plans while the remaining plans get scheduled.
    If i run IP30 for any other sort fields, it runs fine and i don't encounter the error
    mentioned above.
    If you send me ur email address, i could forward you screen-shots of the issue.

  • Periodic Scheduling of sequencial background job

    I schedule monthly & weekly planning jobs. These jobs are scheduled one after another in a sequence. frequency of running these jobs is fix hence I want to schedule it on periodic basis. It possible for me to schedule single background job periodically but I don't know how to schedule sequncial backgorund jobs on periodic basis.
    Regards,
    Chetan

    Dear Siva,
    Thanks for your reply.
    for execution of single job periodically I am following the same procedure mentioned by you.
    I scheduled background jobs one after another by clicking on start condition & in pop-up select "After job". this way I schedule 7 to 8 jobs one after another.
    So in first scheduled job you will find 7 to 8 successor jobs.
    Now if I try to make it periodic, then only first job becomes periodic & successor jobs doesn't get released periodically.
    I want to make entire chain of jobs to be scheduled peiodic.
    Regards,
    Chetan

  • Is it possible to save a report to a file in background job?

    Hi,
    I want to save a report as a file every day, is it possible to do it by background job?
    Thanks.

    thanks all of you,
    I don't went to save the file manually.
    I only want to a function just like archiving function which can save file in background job.
    I can develop a program to save a report as file in background job,but I have to develop a program for every report,I want to know is there any standard function for it, just like throwing  the report to spool.

  • Scheduler and the background jobs page

    I have just added a job to the sling scheduler, I thougt once added i was be shown in the background jobs page in the tools of cq5.
    Does Sling scheduler nothin to do with that? how could add a job background to the background jobs page in the tools of cq5??
    Thanks.

    For your use case you should be able to see at http://localhost:4502/system/console/events
    For the background jobs ex:- [1] will be displayed in tools.
    [1]   http://localhost:4502/system/bgservlets/test.html?sling:bg=true&cycles=1

  • How to pass date in SQL Report

    Hi All,
    I am trying to create a SQL report which contains the following in the where clause:
    and A.RESP_DATE >= to_date('01/01/2010','MM/DD/YYYY')
    BIP does not seem to like this and is not processing the report. If I remove this clause the report is running but I want to limit the number of records that are being returned.
    I wanted to find out which date format should be used to pass the SQL query.
    TIA,
    Ramkumar

    Hi ,
    where clause with date will wrk in bip.
    Check the same query in sql..if it is wrking means it will wrk here also.
    (A.RESP_DATE) whats ur actuall format of this column.
    Thanks,
    Ananth

  • Partial data fetched in report when scheduled in background

    Experts,
    When I scheduled my report in foreground it displays all the data properly.
    But when I run the same in background, in the spool list it displays 260 pages whereas actually displays only 9 pages. The rest of the pages are not displayed in the spool.
    What could be the possible reason.

    Aashish
    Change the Spool Request Display Settings to display pages from 1 to XXXX..Refer to Settings button on the TOP once u display the Spool List..
    Thanks
    Amol Lohade

  • Crystal reports being scheduled on Business Objects XI 3.1 failing

    I am in the middle of a migration from Crystal Enterprise 10 to Business Objects XI 3.1.  I am getting report failures for scheduled events.  The error is "Object could not be scheduled within the specified time interval".  Does anyone have any idea what this is?  Some of the reports run fine for this instance and then others get this message.  Any information would be greatly appreciated.

    Hi
    This error message appears when there are a large number of reports scheduled to run at the same time, but there is a short end time for the instance. As a result, BusinessObjects Enterprise may not be able to run all the report before the end time passes.
    To resolve this error message, increase the end time on the scheduled instance. To increase the end time, use the following steps:
    1. In the Infoview, browse to the desired report and click 'History'.
    2. Find the desired scheduled instance and click 'Reschedule'.
    3. Under the 'When' section, increase the end time for the scheduled instance.
    Upon completing these steps, the error message no longer appears.
    Hope this helps!!
    Regards
    Sourashree

  • Problem in passing date through hyperlink reports in Linux version(CRS2008)

    Hi,
    How to pass value of a date paramater through hyperlink(open doc) from main report to target report(clicking on hyperlink )
    thanks in ADVANCE

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • Pass data from Main report to Subreport

    I have client name in Main Report. I need to display the same name into Subreport. How can I pass the value from MainReport to SubReport.

    Hi Mahendra,
    Drag the subreport control from toolbox,
    Go to the subreport properties by right click on the subreport.
    In General property add the child report.
    In parameter property , add parameter,in Name dropdown will show the parameters already created in the child report.
    In Value column which is fron of Name, you can give values which are avilable in Main report.
    You can see below screen for better understanding.
    Thanks
    Prasad

  • Pass data from z report to smartforms

    Hi expert,
    i have a zreport for display internal order. in this zreport, i create a table(ATAB) contain data of internal order header from coas t003p and other table.
    now i want to pass this ATAB to smartforms. i got example smartforms and zreport with similar to mine's case but no instruction or advice from my boss. so, i try to read many previous thread about this for advise.  but still confuse with many thing.
    anyone can explain to me.
        what is function of each tab in "form interface" , "global definition" .
        what is "types" tab in global definition (in example zreport i receive also has declare type to what is relation of this ).
        what i must create and declare in form interface , global definition.  
        what is difference and meaning of "type" , "type table of" , "like" in Type assignment
    Regards.
    Kittisak.

    Hi,
    In global defination 'types' tab is used to define all structures that u want to use in your smartform.
    in 'initialization declare' all internal tables , work area , select queries and constants which u are using.
    in 'global data define' the data which u want to use throughout the smartform.
    if u are using ny field symbol then declare it in 'field symbols' tab.
    in 'form routine' all forms are used that  u declared in initialization.
    all currency and quantity related field names come into tab 'currency/quant. fields'.
    form interface is basically used when u are using a driver program associated to ur smartform.
    for seeing difference b/w type, type table of and like use F1 help.
    hope this will help.
    regards
    saurabh

  • Data of alv report in  excel file in background processing using open datas

    Hi Experts,
    I have developed report for purchase register . if i execute this report in background process i am not able to get the downloaded file in excel and output is also not coming properly, columns are going to overlap.
    i used open dataset  read dataset and close dataset but still problem is not solved. so if anyone have code with this and also which will have concatenate statement in the code send it.
    Regards,
    Rahul

    Hi Rahul,
    Ur code shud be like below:
    DATA : l_filename2 TYPE string,
                v_extn.
        SPLIT p_filename AT '.xls' INTO l_filename2  v_extn.
        CONCATENATE l_filename2  'downloaded'  INTO l_filename2  SEPARATED BY '_'.
        CONCATENATE l_filename2  'txt'   INTO l_filename2 SEPARATED BY '.'.
        OPEN DATASET l_filename2 IN TEXT MODE FOR OUTPUT ENCODING DEFAULT.
        IF sy-subrc <> 0.
          MESSAGE e499(sy) WITH text-e02.
        ENDIF.
        LOOP AT it_order_number INTO wa_order_number.
          TRANSFER wa_order_number TO l_filename2.
        ENDLOOP.
        CLOSE DATASET l_filename2.
    Now, go to tcode AL11 and check it in the Application server itself.
    Hope this helps,
    Regards,
    Arnab.

Maybe you are looking for