Background job status showing cacelled message number 564

Hi Experts,
We have a program wich will collect the purchase requisitions and releasses them.
1) if u manually execute this report it will show the requisitions which have to be released in ALV .then u can select them and release
2) if u run it in background, whenever it got the requisitions  job ended  with succussfully and finished , but if there are no requisitions our program will give warning message that no requisitions found , but after that job ststus is showing cancelled .
now how to stop this cancelled message from it ?
if do not show the warning message 'norequisitions found' then the job is successfully executed.
plz guide me in this
job log is like below :
                                                                                Date       Time     Message text                                                                              Message class Message no. Message type                                                                               
29.03.2011 03:18:27 Job started                                                                                00           516          S        
29.03.2011 03:18:28 Step 001 started (program ZZ_REQU_DAILY_REPORT, variant &0000000000019, user ID KRISHNAV)      00           550          S        
29.03.2011 03:18:35 No Requisitions found for release!!                                                            00           001          E        
29.03.2011 03:18:35 Job cancelled after system exception ERROR_MESSAGE                                             00           564          A                                                                               
Thanks,
Vk

Hello Vk,
This is because 'W' messages behave as 'E' when used in report programs. Check the report DEMO_MESSAGES if you don't beleive me
Anyway back to your question, as i've mentioned you can't use 'W' messages in report. You can:
1. Write a log of your messages using traffic lights to indicate whether error, success or warning.
2. My fav, write an application log & display it to the user.
BR,
Suhas

Similar Messages

  • Background JOB STATUS remaining active status

    Hi experts,
    I had a job scheduled on production server which generates bank statements using program RFBKBSST( MASS RUN of bank statements). Job used to run fine all this days but from past 3 days the job is remaining in ACTIVE status whenever it is scheduled as result, no statements are getting generated.
    I had checked this in transaction like sm50 its showing status "stopped" and reason as "SLEEP".
             please suggest me to overcome the problem.
    thanks & regards,
    hemanth

    Hi Naveen,
    Iam sorry, actually i did not check the same job on test system. I had checked it now this background job( Mass run) which is failing on production system, is also failing on Test system from past 2 months with same kind of error it is showing now in production.
         So, you might be correct that there is some transportation done from TEST system which had effected the Production.
    i had asked the basis team for those transports.
       Can you suggest me what can be done to solve this problem and make the job run successfull.
    thanks&regards,
    Hemanth.

  • Background job status "Released"

    Hi ,
    I am executing standard SAP program in background and it shows the status as "Released" with "Delay" more than 3000 sec.
    What is the reason I am not able to start the job with "Active" status?
    Please help.
    thanks & regards,
    Yogita

    >
    Rob Burbank wrote:
    > If it wre already running, the status would be active.
    Rob,
    Yes,Its really depends on how "Background job cofiguration" has been done in system by basis.
    As i  can also see the job status is only Realesed(Not active) once i ran it in background immidiately.
    And once job finished it shows "Finished" status.No where "Active" status came
    @Yogita:Your job is still running i guess since more than 3000Sec.so thats why it(Time) is showing in delay.
    Once job is finished you will be able to see its status Finished.
    I would also suggest you to Knock basis
    Cheers,
    Amit.

  • Background job status in TBTCP

    Hi All,
    I have a requirement where I have to check status of a background job.
    My problem is that although the job is executed successfully and the ststus in <b>TBTCO</b> is 'F'(Finished), also the spool is generated and has status in <b>TSP01</b> 'C'(completed), even then the table <b>TBTCP</b> has status 'P'(scheduled). Why it is not showing status for successful competion?
    Thanks and Regards,
    Pragya Vatsa

    Hi,
    May be its just for displaying that the job has been submitted for background processing. But I am sure that it is not meant for displaying the status of job has been compleated or scheduled or processed. Even there are no other valuesfor this field in the table other than 'P'.
    Regards,
    Ram Mohan

  • Background job not showing full output of Report

    Dear Experts
    we have created zpgm for stad report and try to take output as mail to particular user for future analysis bcaz stad gives only 2 days report only we need keep report for months together so when we run job in foreground it shows proper output but when same thing when we run from background it shows only some part of report in mail (we are unable to get full output through background job )
    we send mail through spool receipts we have created folder and maintain user for getting mails through so15 distribution list
    we need some input to come out of this major issue
    if there is any other workaround let me know
    Regards

    Hello,
    If a job is defined by transaction SM36, the print format parameters will only be taken into account, if they are saved as user specific print parameters of the batch user. If no user specific print format
    is defined,  the ALV standard logic will be processed adjusting the print format to the actual line size of the report.
    For example, the list line size is about 132 characters, the widest available format of the chosen printer will be selected X_65_132.
    The problem would be solved by defining a device type which is no format assigned to print, or by defining user specific print format parameters for the batch user, who creates the jobs in SM36 (see
    SAP note 1179399, item 6).
    Regards,
    David

  • 8703E - Message status shows 2 messages unread

    On my 8703E the message status icon in the top left hand corner shows 2 messages as unread.  In Outlook and on the device in messages all messages have been opened and read.

    The first thing you can try is a hard reset: remove the battery from the device (while still powered on) for 30 seconds, then reinsert. If that doesn't work then try checking every message folder you have.

  • The lotus mail about the Background Job status

    Hi ,
    I have a requirement where SAP users want the status of the background job in their lotus mail.The problem is job takes run for more than 15-20 hours and some times gets failed too.Whichever is the status , they want the update. The job is run daily in the night.So can not be done in the same program. Writng different program to check and send the mail can be an option.
    But My question would be
    1.Is there SAP standard funtionality /progarm to send the job log (not the spool) in the mail?
    Thanks in advance.

    Hi,
    You can run another job in background which can monitor this original program. I would die and schedule itself in an hour for next status. the logic goes this way.
    1) The original Z program call the Z job monitor prog with jobname.
    2) The Z job monitor prog checks the status of job and will send a status mail on finished or cancelled.
    3) if the job is still active, the z job monitor prog will schedule itself for after an hour to check the status again.
    thus steps 2 & 3 would be in loop till the original z prog finishes or gets cancelled.
    Regards,
    Nirmal

  • Schduling background jobs not showing in sm37

    Hi,
      I scheduled the  jobs : Z_MM_INVENTORY_REPORT, RM07MLBS on daily basis from 03/22/2011.Its running successfully upto 03/26/2011 daily,after that when iam checking on SM37 from 03/27/2011 to 03/31/2011 it showing schduled on 03/27/2011 not running. and remaining dates 28,29,30,31 not showing any thing(means not scheduling).
    what could may be the reason for not running that jobs.
    Thanku

    What is the status of the Job in SM37 ?
    and on
    and remaining dates 28,29,30,31 not showing any thing(means not scheduling).
    The periodical jobs create the next job, when the current job changes is status from Released to Active. Since your Job on 27th is having some issue, the Job for 28th has not been created, simillarly the rest.
    Regards,
    Sanujit

  • How to determine the background job status?

    Hi Gurus,
    My program is as follows:
    1. I have used FM job_open to open a new job.
    2. SUBMIT to call another program which creates the file on application server.
    3. FM job_close to trigger that job.
    Now I want to determine the status of that triggered job (Not through SM37), Once I get a status for complete or cancelled I will be coding based on that.
    So could you please help me out for the issue?
    Thanks in advance.

    hi ,
    check table TBTCO.
    YES. u  can check for STATUS = P- Schedule/S---Released
    regards
    Prabhu
    Edited by: Prabhu Peram on Sep 18, 2008 6:43 PM

  • Schedule Background Job whenever new message WVINVE

    Hi All,
    I have following requirment:-
    Schedule Background Job with a ABAP program,
    whenever new message type WVINVE posted in SAP inbound.
    I am confused in "Event" which i select in SM36.
    Or, is there any other method to trigger a background report, whenever WVINVE03 IDOC posted in SAP system & create physical Inventory document.
    regards
    Umesh

    For triggereing a background job, when ever a message type WVINVE is posted. You need to create a
    Background Job with the the program and mark the Job Event periodic. Secondly you need to trigger that event from the Inbound processing program or Function module which processes the message type using the Function module <b>BP_EVENT_RAISE</b>. so when ever a message type is processed it will trigger the event which inturns trigger the Job.
    Hope this will Help.

  • Program works but background job for that program fails....

    I have a requirement where I have to collect the details of the purchase order and put the details in XML file format and FTP the XML file to an external third party FTP Server.
    To realize this I developed a report program which follows following logic.
    1)     First I collected the PO details by calling the BAPI BAPI_PO_GETDETAIL1.
    2)     Then using the following link "/people/r.eijpe/blog/2005/11/10/xml-dom-processing-in-abap-part-i--convert-an-abap-table-into-xml-file-using-sap-dom-approach
    I converted these PO details to the XML file format that the third party people accept.
           In the code I used u201CCALL METHOD cl_gui_frontend_services=>gui_downloadu201D and in this process first the XML file is generated and is getting stored on my deskytop.
    3)     Then I called HTTP_SCRAMBLE, FTP_CONNECT, FTP_COMMAND , FTP_DISCONNECT and RFC_CONNECTION_CLOSE.
    This works perfectly well and each time I execute the report the file is getting FTPu2019ed to the third party FTP server.
    Now I tried to schedule a batch job for this and the batch job fails with follwing errors
    02/25/2009 15:08:47 Error in Control Framework
    Message Class  = FES         
    Message Number = 022  
    Message Type   = E
    02/25/2009 15:08:47 Job cancelled after system exception ERROR_MESSAGE 
    Message Class  = 00        
    Message Number = 564  
    Message Type   = A                
    Can some one tell me what is going wrong. My report works perfect in front end but fails if I try to schedule a background job for it in SM36.
    Can you please tell me whatz going wrong with batch job? Any Help is highly appreciated.
    Regards,
    JEssica SAm

    Robert...Thanks for the reply...
    I am using follwing code
    l_xml_size = l_ostream->get_num_written_raw( ).
        CALL METHOD cl_gui_frontend_services=>gui_download
          EXPORTING
            bin_filesize = l_xml_size
            filename     = FILEPATH
            filetype     = 'BIN'
          CHANGING
            data_tab     = l_xml_table
          EXCEPTIONS
            OTHERS       = 24.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    Now what changes should i make..where should i store my XML file then instead of my desktop?
    and whih Function Module should i Use..

  • BackGround Job's Spool Request is having "Waiting" "Frontend unavailable"

    Hello Friends,
    I am facing one problem related to Spool Request, which is generated through Scheduled Background Jobs (scheduled by funcional people).
    The Background Job is having status "completed" when analyzing it. But, its associated Spool Request is showing "waiting" Status, with "Frontend unavailable" as Status Text.
    Here is the brief status of that Spool Request.
    28448     1      300 USER1 00:00 LP01 X_65_80      Frontend unavailable
    in Detail:
    Description          Value
    Status:              Frontend unavailable
    Last event:
    Message:             Request on hold
    Date:                01.07.2009
    Time:                00:00:27
    Job status:          On hold
    Error class:         Delayed
    Area:                Data transfer
    Printout:            Not printed
    The Setting of LP01 O/Device is as followed:
    Output Device        LP01
    Device Type        SWIN SWIN  : Windows printing via SAPlpd
    Device Class      Standard Printer
    Host Spool Access Method       F F: Printing on Front End Computer
    Host printer                     __DEFAULT
    Moreover, the SAP User USER1 is allocated LP01 as Output Device with "Output Immediately" & "Delete After Output" checked status.
    Some Background Jobs are showing the same status for this LP01.
    I have a doubt on allocated O/P Device LP01.
    Any Clue for this issue ?
    Regards,
    Bhavik G. Shroff

    Hello Markus,
    Here , in our Landscape , there is not Print Server. All are taking prints through, Networked Printer and their local connected Printers.
    Can i configure "send to SAP Spooler for now" instead of "Print Immediately "in the Print Specification of those Background Jobs ?
    Moreover, Some Background jobs are sending E-Mails with the processed Reports as an Attachments. They are showing sometime unexpected behavior, in sending emails,  although there is no relation is with this Printing related issue.
    When i am looking into "Overview of Send Orders" of SCOT, some Background Jobs are showing success for sending emails, and some are not showing success, even though All the recipients are same for the scheduled Background Jobs which are running on same time.
    Regards,
    Bhavik G. Shroff

  • Mails are not generated in background Jobs and not shown in SOST.

    Dear All,
    I have facing issue regarding to system mails. I want to send mails the various reports automatically from SAP System to different recipients. So I scheduled that reports at background and in their spool list recipient I have added distribution list.
    But that mails are not generated, it is not shown in transaction SOST also. When I send mails manually it goes successfully to only our company domain recipients. But not other domains. How should I resolve this problem?
    Please help me out.
    Thanks in advance.
    Amit

    Hi Srihari,
    I have checked the background jobs they showed it finished. Following logs are shown in job logs. Is problem is due to 3rd log??
    18.03.2012 14:23:34 Job started    00           516          S
    18.03.2012 14:23:34 Step 001 started (program RFITEMAP, variant PDC FARMAR, user ID DEVELOPER1)      00           550          S
    18.03.2012 14:23:37 No items selected (see long text)                                              MSITEM         033          I
    18.03.2012 14:23:42 Spool request (number 0000026302) created without immediate output               SY           355          S
    18.03.2012 14:23:46 Job finished                                                                     00           517          S
    When I saw further details of 3rd log it following message.
    No items selected (see long text)
        Message no. MSITEM033
    Diagnosis
        No line items meeting your selection criteria could
        be for the following reasons:
        1.) No corresponding items have been posted.
        2.) You are not authorized to display this data.
        3.) The items have already been archived.
    Please help me out.
    Thanks
    Amit

  • Reg : Background job

    Hi Guru's
    I am sending IDOC from R/3 System to APO System.when idoc reached APO system.its triggers immediately and creating one file in application server(APO).sometimes this process makes more than 10 to 15 hours so user dont know whether is executing or failed. so i gave one soltion to user that is creating background job while idoc is executing when its idoc is processed then the background job also shows that finished..i dont know how to write this background job code in IDOC function module and also i dont know its possible in IDOC. i dont have knowledge in IDOC..Please helpme on this issue.
    anybody helpme on this issue.????
    Regards
    P.Senthil Kumar

    Hi,
    You have not to write Back Ground Code in FM of IDOC.
    To Process Idoc in Back Ground do following Step
    Go to T-CODE We20
    Select Partner
    Double Click on any IDOC Message type in Outbound Parameter like INVOIC
    In Outbound Options Tab, at Output Mode select Collect Idoc Radio Button.
    For Inbound parameterDouble Click on any Message type.
    Select Trigger by BackGround Program Radio Button
    Please use T-code SM36 to schedule program which process Idoc.
    The Program used is,
    RSEOUT00 : For Processing 30 Status IDocs For outbound Idoc
    RBDAPP01 : For Processing 64 Status IDocs For Inbound Idocs
    T-code BD87
    To Refer more about IDOC,
    https://wiki.sdn.sap.com/wiki/display/ABAP/ALE%2CIDOC
    https://wiki.sdn.sap.com/wiki/display/ABAP/ALE+IDOCS
    Thanks & Regards,
    ShreeMohan
    Thanks & Regards,
    ShreeMohan

  • ORA-00600 in AQ background job

    Hi all,
    I am getting an ORA-00600 in AQ background job responsible for dequeuing messages.
    The trace output is as follows:
    ksedmp: internal or fatal error
    ORA-00600: internal error code, arguments: [kwqidjqp0], [], [], [], [], [], [], []
    Current SQL statement for this session:
    DECLARE job BINARY_INTEGER := :job; next_date DATE := :mydate; broken BOOLEAN := FALSE; BEGIN sys.dbms_aqadm_sys.register_driver(); :mydate := next_date; IF broken THEN :b := 1; ELSE :b := 0; END IF; END;
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    6713D69C 7249 package body SYS.DBMS_AQADM_SYS
    6713D69C 7280 package body SYS.DBMS_AQADM_SYS
    66EB50B4 1 anonymous block
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    I have job_queue_processes set to 4 and aq_tm_processes set to 2.
    Has anyone seen this? Please help.
    Thanks,
    Atul

    May be a bit late to help the original posters, but just for reference, this looks very similar to the following described in Metalink:
    Bug 3033868 OERI[kwqidjqp0] from DBMS_AQADM_SYS.REGISTER_DRIVER
    This note gives a brief overview of bug 3033868.
    The content was last updated on: 20-JAN-2004
    Affects:
    Range of versions believed to be affected     Versions < 10.1.0.2
    Versions confirmed as being affected     
    * 9.0.1.4
    * 9.2.0.4
    Platforms affected     Generic (all / most platforms affected)
    Fixed:
    This issue is fixed in     
    * 9.2.0.5 (Server Patch Set)
    * 10.1.0.2 (Base Release)
    Edited by: Anthony Maslowski on Feb 5, 2010 1:26 PM

Maybe you are looking for

  • Loading and exporting files to FTP server

    Hi gurus, I need to import and then export my files to the FTP location. I have my files kept at application server level. But when I try to import or export any file through BPC Excel, It gives me the path of my desktop only. So my question is , 1.

  • Bapi for trial balance

    Hi Friends,                 Iam searching for a BAPI for getting Trial Balance for a particular vendor account. Are there any pre defined bapis available for this or we need to develop manually?  Please provide your suggestions. Thanks, Regards Mural

  • Microsoft Pro Photo Tools 2 Includes Support For XMP Sidcar Files

    http://www.microsoft.com/prophoto/downloads/tools.aspx This is a link to Microsoft's new Pro Photo Tools 2, which includes reading and writing to XMP sidecar files. I don't know how well it works.

  • Contact Center Upgrade SKU

    Hello \, My customer wants to upgrade from Cisco Contact Center Express Upgrade License ver 7.x to ver 10.X . Please what is the sku (Top level Part number) to get this, and also what and what do I look for in getting this? Regards,

  • How to clone a project that is under version control?

    [RH10] Hello. I have a large project that is under TFS source control. I would like some advice on how to safely clone a copy of this project to a separate location (not under source control). In the past I ran into problems when copying a project un