Background scheduling error

Hi all,
I'm trying to schedule an interface program in background, which reads data from application server and posts a document in Finance through a BAPI funtion module.But after scheduling the job in the immediate mode,its getting canceled showing the error
"Could not ascertain code page"
"Job cancelled after system exception ERROR_MESSAGE"
Please help me with this...

please come up with more solutions..
thanks

Similar Messages

  • Background job SWFSLSDLEX cannot be scheduled (error )"

    Hi All ,
    i got the following error ,
    when i try to customize the SWU3 " Schedule background job for dead line monitoring ".
    The error is :
    "Work item -: Background job SWFSLSDLEX cannot be scheduled (error )"
    And the Error log says :
    Refer to your workflow system administrator.
    The specified error number should indicate possible reasons for the error. It is possible that the system is in an inconsistent state. The scheduled start of the specified background job must be compared with the minimum date/time of all work items in table SWWDHMIN. It may be necessary to delete the scheduled background job by hand and reschedule it by calling report RSWWDHEX.
    Apparently i dont see any table SWWDHMIN.
    Thanks!
    Richard A

    The issue is solved by adding start profile and instance profile to operation modes.
    Many thanks to my BASIS Guys for solving it !
    Richard  A

  • Background scheduling of FTP Connection through R/3

    Hello Friends,
      I have done FTP connection by using Z-pgm which uses function FTP_CONNECT. This is working fine in Foreground mode. 
    But in background scheduling of the z-pgm, i am getting the <b>error as 'RFC to program SAPFTP failed'.</b>
    I checked RFC destination SAPFTP in SM59. There Activation type is 'Start on Front End Work Station'. I tested the connection also. Its alright.
    How to do FTP processing in Background?
    Cheers,
    Seema

    Hello,
    you could try to use RFC destination 'SAPFTPA' - it's ftp on the application server. Since SAPFTP is  'Start on Front End Work Station' and in background there is no front end work station, it can't work.
    Regards Wolfgang

  • Debugging of background scheduled job

    Hi guys,
    Can any one explain me 1 scenario why there is a need to debug background scheduled job..., rather then doing in background we can run the same job/report online and do normal debugging.
    thx in advance,
    Cheers,
    Harish

    Hi ARPAN,
    as long as the job is running, you can enter debuuger from SM50 process overview (program->debug) or SM37 Job Overview (Job->catch active Job).
    And to the initial question: Some messages are configured to be created when saving document (e.g. sales invoice). This will trigger a background process. If something goes wrong with smartform or sapscript form, it will cause an update error. This you may need to debug in background.
    Regards,
    Clemens

  • Problem in background scheduling

    Hi All ,
    Requirement : When I run Report  ZBKSCHD It will SCHEDULE another program  for ex (ypr_range_rb2) .
    Here I am passing program name & varint which I want to schedule
    Input Field
    Program Name  : ypr_range_rb2
    Varint               :  ypr_rb2
    Getting errror
    *********ERROR ****** ********
    Short text                                            
        Exception condition "INVALID_STARTDATE" raised. 
    and  Report ZBKSCHD scheduling ypr_range_rb2 many times not single time .( in sm36 )
    ******This is my background schedule program
    REPORT ZBKSCHD NO STANDARD PAGE HEADING LINE-SIZE 170 LINE-COUNT 58 .
    DATA: ZCOUNT LIKE SY-TABIX,
    JOBNAME LIKE TBTCJOB-JOBNAME,
    PARAMS LIKE PRI_PARAMS,
    JOBCOUNT LIKE TBTCJOB-JOBCOUNT,
    AUTHCKNAM LIKE TBTCJOB-AUTHCKNAM,
    SDLSTRTTM LIKE TBTCJOB-SDLSTRTTM,
    SDLSTRTDT LIKE TBTCJOB-SDLSTRTDT,
    VARIANT LIKE RALDB-VARIANT,
    REPORT LIKE SY-REPID,
    ZTIME LIKE SY-UZEIT,
    PREDJOB_CHECKSTAT LIKE TBTCSTRT-CHECKSTAT,
    PRED_JOBCOUNT LIKE TBTCJOB-JOBCOUNT,
    PRED_JOBNAME LIKE TBTCJOB-JOBNAME,
    RELEASED LIKE BTCH0000-CHAR1.
    SELECTION-SCREEN: BEGIN OF BLOCK A1 WITH FRAME TITLE TEXT-001.
    PARAMETERS:
    NAME LIKE RS38M-PROGRAMM OBLIGATORY,
    VAR LIKE RS38M-SELSET OBLIGATORY,
    JOB LIKE TBTCJOB-JOBNAME,
    FRQ1 LIKE SY-INDEX,
    FRQ2(2) TYPE C.
    SELECTION-SCREEN END OF BLOCK A1.
    SELECTION-SCREEN: BEGIN OF BLOCK A2 WITH FRAME TITLE TEXT-002.
    PARAMETERS: ZDATE LIKE SY-DATUM DEFAULT SY-DATUM OBLIGATORY.
    SELECT-OPTIONS:
    TIME1 FOR SY-UZEIT OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK A2.
    AT SELECTION-SCREEN ON FRQ2.
    IF FRQ2 NE 'H' AND FRQ2 NE 'M' AND FRQ2 NE 'S'.
    MESSAGE E001(Z1) WITH 'Time Unit must be H or M or S'.
    ENDIF.
    AT SELECTION-SCREEN ON ZDATE.
    IF ZDATE < SY-DATUM.
    MESSAGE E001(Z1) WITH 'Date must be greater than current date'.
    ENDIF.
    AT SELECTION-SCREEN ON TIME1.
    IF ZDATE = SY-DATUM AND TIME1-LOW < SY-UZEIT.
    MESSAGE E001(Z1) WITH 'Time must be greater than current time'.
    ENDIF.
    AT SELECTION-SCREEN OUTPUT.
    IF JOB IS INITIAL.
    JOB = NAME.
    ENDIF.
    $$* Start of selection
    START-OF-SELECTION.
    IF JOB IS INITIAL.
    JOB = NAME.
    ENDIF.
    clear params.
    call function 'GET_PRINT_PARAMETERS'
    EXPORTING
    mode = 'CURRENT'
    no_dialog = 'X'
    IMPORTING
    out_parameters = params.
    params-paart = 'X_PAPER'.
    ZTIME = TIME1-LOW.
    JOBNAME = JOB.
    VARIANT = VAR.
    REPORT = NAME.
    AUTHCKNAM = SY-UNAME.
    PARAMS-PRIMM = SPACE.
    SDLSTRTDT = ZDATE.
    CLEAR: ZCOUNT.
    WHILE ZTIME LE TIME1-HIGH.
    SDLSTRTTM = ZTIME.
    CALL FUNCTION 'JOB_OPEN'
    EXPORTING
    JOBNAME = JOB
    IMPORTING
    JOBCOUNT = JOBCOUNT
    EXCEPTIONS
    OTHERS = 4.
    CALL FUNCTION 'JOB_SUBMIT'
    EXPORTING
    AUTHCKNAM = AUTHCKNAM
    JOBCOUNT = JOBCOUNT
    JOBNAME = JOB
    PRIPARAMS = PARAMS
    REPORT = REPORT
    VARIANT = VARIANT.
    CALL FUNCTION 'JOB_CLOSE'
    EXPORTING
    SDLSTRTDT = SDLSTRTDT
    SDLSTRTTM = SDLSTRTTM
    JOBCOUNT = JOBCOUNT
    JOBNAME = JOB
    IMPORTING
    JOB_WAS_RELEASED = RELEASED.
    IF RELEASED = 'X'.
    WRITE: / 'Job', JOBNAME, '(' ,JOBCOUNT, ')' ,'will run at', ZTIME,
    'on', ZDATE, 'with program',NAME, 'and variant', VAR.
    ELSE.
    WRITE: /
    'Unable to release job', JOBNAME, '(' ,JOBCOUNT, ')' ,'at', ZTIME,
    'on', ZDATE, 'with program',NAME, 'and variant', VAR.
    ENDIF.
    CASE FRQ2.
    WHEN 'H'.
    ZTIME = ZTIME + ( 60 * 60 * FRQ1 ).
    WHEN 'M'.
    ZTIME = ZTIME + ( 60 * FRQ1 ).
    WHEN 'S'.
    ZTIME = ZTIME + FRQ1.
    WHEN OTHERS.
    ENDCASE.
    ENDWHILE.
    Thanks for your time
    Rahul

    Sloved

  • RPTARQPOST background scheduling

    Dear All,
    As i am new to SAP EP, i seek your valuable advices on this issue.
    At my client side they have implemented SAP ESS for leave request  , now everythig is fine but in some cases the leave request after getting approved also is not getting posted.
    I checked it though PTARQ and could find that we are running the background scheduling of the report RPTARQPOST .
    This report is run three times a day , and from three diffrent ID's .
    This is because there are employees of different personnel areas so we are running report from the ID's of three diffrent HR Executives which belong to three diffrent personnel subareas and authorization levels.
    but in case of one id the leaves are not getting posted ,because the 1st scheduling is done from that ID and leave requests of other personnel subareas also gets included , and these leves which have errors are not getting posted.
    Kindly suggest .
    Regards,
    Neha

    Standard Practice 1 is - use a BATCH user id with all authorizations to run batch jobs and update data in batch. This BATCH user ID will not be a DIALOG user id, hence no one will be able to log in using this id and misuse it. Disucss with Basis admin
    for threshing out the details.
    Standard practise 2 - for RPTARPOST - schedule it with much greater frequency ... in many places I have worked the frequency is once every hour. This ensures that leave requests are posted almost as soon as they are approved.
    Standard Practise 3 - On selection screen of RPTARQPOST there is a check box "Post with Infotype Match"... this will ensure that requests which errored out will be reconsidered in subsequent runs.
    Hope this helps.

  • Gui_download Function module is not working in Background Scheduling

    Hi Experts,
    Function modules like GUI_DOWNLOAD are not working in background scheduled jobs, It is raising an exception. Though it is working fine in foreground execution.
    Please provide me solution for this challenging task.
    you could be rated well for this question.
    Thanks,
    Rama Krishna.

    Hello,
    work with open dataset and close dataset...
    just loop over itab and transfer itab field for field into a string field separated by ;
    Here is an extract of coding:
    OPEN DATASET p_dath FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
      LOOP AT itab_pos.
        CLEAR satz.
        MOVE itab_pos-vbeln TO satz-vbeln.
        MOVE ';' TO satz-fill1.
        MOVE itab_pos-kunnr TO satz-kunnr.
        MOVE ';' TO satz-fill2.
        MOVE itab_pos-ktgrd TO satz-ktgrd.
        MOVE ';' TO satz-fill3.
        MOVE itab_pos-fkdat TO satz-fkdat.
        MOVE ';' TO satz-fill4.
        MOVE itab_pos-budat TO satz-budat.
        MOVE ';' TO satz-fill5.
        MOVE itab_pos-cpudt TO satz-cpudt.
        MOVE ';' TO satz-fill6.
        MOVE itab_pos-fkimg TO satz-fkimg.
        MOVE ';' TO satz-fill7.
        MOVE itab_pos-netwr TO satz-netwr.
        MOVE ';' TO satz-fill8.
        MOVE itab_pos-vrkme TO satz-vrkme.
        MOVE ';' TO satz-fill9.
        MOVE itab_pos-ktgrm TO satz-ktgrm.
        MOVE ';' TO satz-fill10.
        MOVE itab_pos-matnr TO satz-matnr.
        MOVE ';' TO satz-fill11.
        MOVE itab_pos-mattxt TO satz-mattxt.
        MOVE ';' TO satz-fill12.
        MOVE itab_pos-gewei TO satz-gewei.
        MOVE ';' TO satz-fill13.
        MOVE itab_pos-brgew TO satz-brgew.
        TRANSFER satz TO p_dath.
      ENDLOOP.
      CLOSE DATASET p_dath.
    It is not so comfortable as it is with GUI_DOWNLOAD but it works in background!

  • Email background schedule report to gmail or yahoo mail

    Dear Expert,
    My self Nayan Lad having 1 year exp in SAP ABAP.
    Now my request is How can I send mail the background schedule report to some person's personal mail id through SAP.
    Please guide me so I can explore my knowledge.
    Thanks & regards,
    Nayan Lad
    Moderator Message: Please search for available information.
    Edited by: kishan P on Nov 11, 2010 11:03 AM

    hai ,
    please go through this example bcs_example8.
    thankyou,
    anji.

  • MB5T background schedule ouput in alv format

    Hi all,
    Please help me to get MB5T report ouput of background schedule in ALV.
    I have put that report in bacground scheduling & the output of the same in BEST format but my client want the output in AlV format.
    Please suggest.
    Regards,
    Anant

    Output of MB5T can't be in ALV format in background. In foreground also this is done in two steps., In first system display in BEST format..this can be changed to ALV manually in second step.

  • MC75 - background schedule option not available

    Hi
    i got a requirement to schedule the tcode MC75 in background mode.  But SAP has not given the option in the menu bar -> execute in background option like the tcode MD74. 
    Even the save button is disabled in the tcode MC75 hence not possible to save like a variant.
    I found a SAP notes relevant to that. The note no is 381061. But i am not able to implement the note in my system. I tried to customize the program by copying to zprogram using the code correction given In sap notes 381061. But could not find relevant to background scheduling.
    Can any one tell me how to customize the tcode for background scheduling.
    Regards
    Rajani Yeluri

    Hi Rajani,
    Could you please let me know how did you solve this issue? I am also looking for the same.
    I appreciate your response.
    Thank you.
    Murali

  • Background Schedule - Hardcore Input data

    Hi Experts
             I am developing a BDC, now i want to schedule the program into background.
            So i want to hardcore the input data like
             Select Method (Genrate session/Call transaction)
             Processing Mode
             Update Mode
             Nodata Indicator.
    These data i need to hardcore in the program itself for further processing of background schedule.
              How to do it, pls advise me on this.
    Thanks in advance.
    Regards
    Rajaram

    Hi Rajaram,
    As of my understanding do you want to put the following on your selection screen?
    Select Method (Genrate session/Call transaction)
    Processing Mode
    Update Mode
    Nodata Indicator
    then do so.
    There is a structure for call transaction parameters, which you can use for setting of selection screen and can set the default values as wellin initialization event.
    Structure name : CTU_PARAMS
    Reward pointsif useful.
    Thanks & Regards
    Rajini Rajuladevi
    Edited by: Rajini R M on Jun 4, 2008 8:44 AM

  • Background schedule process

    Hi
    I am new to Oracle 9iAS. Can someone tell me if there is any
    better way to implement a background scheduled process ?
    Currently, I am doing it via AT command. Just wondering if
    Oracle9iAS has any scheduler that I can make use of.
    Thanks
    CT

    You can set up the different step while schedule the back ground job. Each step will have the program name, variant.
    You can do his using transaction SM36 -> JOB WIZARD.
    Thanks,
    Srinivas

  • Power BI Scheduling Error

    Hi,
    I am getting the following scheduling error for the report which I ceated using Power Query and publish on O365. If anyone has any insight on the same please help.
    I am trying to pull the data from Sharepoint list into excel for the report
    Refresh on demand 
    We're sorry. We can't open the workbook in the browser because it uses these unsupported features: • SharePoint lists
    Correlation ID:
    a9fc9d7f-95d7-43e9-90e4-c6d9fb65531e
    Thanks
    Mohammed

    Are you pulling data from SharePoint List using Power Query?
    As of now SharePoint List is not not supported datasource for scheduled refresh on O365.
    Only SQL Server is supported right now.
    Thanks,
    Sagar K
    (Blog: http://datamazik.blogspot.in/)

  • Background Scheduling - Deadline Monitoring

    Hi Experts,
    I have created new maintenance plan , its around 250 for Mechanical and 250 for Electrical
    Maintenance plan having strategy like every two month , every three month , every six month etc..
    Scheduling period is 3 year
    Now scheduling will be done through IP10 one time , but after first call object scheduling will get hold.
    I want to make it background scheduling - Deadline Monitoring
    Now the requirement is , For Example :
    Maintenance plan X have PM plan date is 21.07.2014
    Maintenance plan Y have PM plan date is 24.07.2014
    Maintenance plan Z have PM plan date is 29.07.2014
    As per above example each equipment will have different plan date , background scheduling can be done through IP30 but by the date is concern how can make it possible ?
    Please advise each maintenance plan has to be run as per their plan date.
    Thanks,
    Abhishek

    Hi Mr.Jogeshwara,
    Nice Document , Its really useful
    But my query is each equipment have different plan date , as explained in above example
    If Maintenance plan have Cycle Unit 60 day and Plan X date is on 21.07.2014 then 21.07.2014+60day , same as if maintenance plan Y date is 25.07.2014 then 25.07.2014 +60day
    Like that
    background scheduling needs to be done as per cycle unit
    If i will do background scheduling together of both the above maintenance plan X and Y then scheduling will be run exactly after 60 day and order will be generated in advance for Maintenance plan Y.
    Hope you understand my query.
    Thanks,
    Abhishek

  • Background Scheduling Z Report

    Hi,
    I have developed one report , it can output its result in alv report and excel file, So my requirement is to schedule the report and in background only email the report to the specified email id's. How can I achieve functionality of background scheduling and automatic email.
    I know we can do background scheduling with SA38 or SM36/SM37 but upon scheduling it is not saving my excel file at desired location.
    Ankesh

    You should search forums about this....
    You will need to save to the SAP Application server (in a folder which has write permission for SAP jobs) and possibly FTP to some shared drive within the network.  Local PC, local MS network, like C:\, D:\, etc. is not visible to a background job, since there is NO GUI/PRESENTATION server involved in a background job.  Outside of MS Office, an .XLS file is an unknown file type, probably....  how do you think you're creating a .XLS file in a background SAP job?

Maybe you are looking for

  • Where can I find out which type of ipod I have?

    I'm confused by the different generations, color display etc. I think it's almost 2 years old, it's the size of a lrg credit card, and it does play color videos. I am not able to see my videos on the TV screen (even with TV out enabled). Then I read

  • Not able to create the delivery document in '000' client of IDES

    Dear Experts,                        I am facing a problem while creating an sd process flow in the client '000' of SAP IDES system. I am working over SD CIN. Previously I received an error while generating sales order. The error was stating that cer

  • Help with Errors please!

    Hi, I'm building a Flash website. I've used frames with names to contain the different 'pages' of the site. On the frame called 'SVHS1' I've built an XML mp3 player with buttons and a volume slider. I'm having a couple of problems with this section o

  • Flash Player 10 osx install Crashes

    My safari was crashing, and the error I got was that it was because of flash. After unistalling it from my computer and runing disk utility to repair my permissions and resetting safari and clearing the cache. I downloaded the new version and after 6

  • 2 BW to one ECC6

    Gurus, Can we have 2 BW system connect to the same ECC6? If yes, how can we ensure that the same data (full load + Delta) will be send into two different BW system? Please advise, thank you.