Regarding TC: VL04 execution in back ground (runing delivery due lists

Dear SAP Experts,
I have a query regarding delivery due lists.
TC: VL04 .
When I enter the shipping points ,sales area ,office and other mandatory feild and execute in foreground the deliveries are shown.
But when I do the execution in background .
In the SM37 screen the job gets cancelled.
The job log says :
Job started
Step 001 started (program RV50SBT1, variant &0000000000003, user ID PWC)
Fill in all required entry fields
Job cancelled after system exception ERROR_MESSAGE
Please explain how can I run the delivery lists without errors &
as there no incomplete procedure predefined in the VL04 screen what would be the possible solution.
Thanks in advance.
Please help me out
regards,
Amlan Sarkar

Dear friend !
Even after filling the mandatory fields the messege again pops up and job is cancelled.
When the jon ncan be executed in the foreground with all the lists of deliveries to be created appears .why do the background job scheduling not possible.
Please help?
regards,
Amlan Sarkar

Similar Messages

  • Automatic creation of deliveries in back ground through delivery due lists

    Hi ,
    We are generating the delivery due list by scheduling the Vl10C tarnsaction.But Vl10C tarnsaction only generates the delivry due list.Our requirement is to create deliveries automatically through scheduled background job from this delivery due list.
    Can you please let me know how can I achieve this?
    regards,
    sachin

    Hi Sachin,
    You can set up a batch job AUTO DELIVERY GENERATE using SM36 T-code
    Here you can give the variant of your choice. You can make the system create delvieries based on shipping point or sold to parties or plant. All this can be set up in a variant.
    To set up variant use SE38 T-code input program RVV50R10C and then select Variants radio box and then click on create.
    You can also create a variant with sales organization or distribution channnel.
    Once you schedule this batch job in SM37 T-code using menu and immediate schedule or on periodic basis, system will call for VL10 T-code or VL10C based on variant and will automatically generate deliveries in background. Manual interference is NOT required.
    Feel free to revert back with questions if any!
    Regards,
    Syed Nasir

  • Porgram execution as back ground job-how to set periodically twice in a day

    Dear Gurus,
         I got a requirement to run a program in R/3 every day 2 times in different timings. I want to set it periodically everyday. Please help me how I can do it. I have data selections for the program.
    Ram
    Edited by: Ram Kris on Oct 20, 2009 5:50 AM

    Hi,
    you can use SM36 to schedule your program... You can set a variant and give the time...
    how sm36 a job that will be executed every 2 hours in current day.
    Regards
    Andreas

  • Avoid page break in back ground execution of report

    Hi Friends,
    Normally when we execute any report in back ground it will have page break. eg: FL3N
    But we dont see this in foreground execution of a report.
    may i know how to avoid this page break when we execute in background.
    Thanks in advance
    NNS

    Hi Badari,
    when you set the Background Job via <b>SM36</b>, you can mention the Variant. and set the time , so that the report will run for every 5 minutes with the mentioned variant. Check it.
    Regards
    Vijay

  • How to suppress the back-ground execution of a query in design mode

    hi guys,
    there is a bahaviour of the system, that I'd like to change. So, when we
    1. start EXCEL
    2. go to the designer mode to create a report
    3. first drop an InfoProvider (e query) into a cell,
    4. second - pull e.g a filter element into another cell, still being in the design mode.
    Just in this moment, the query itself has been already started in the back groud, aiming to fill the cache, I guess.
    Does anyone know how to suppress the back-ground execution? I'd like to control, when to start the reports execution.
    Thanks in advance.
    Neven

    Hello,
    There is no way to do that if you are creating thru BEx Analyzer.
    Instead use the BEx Analyzer, try to create using directly BEx Query Designer.
    In that way, the query will not be executed, until you want to...
    Thank you
    Edward John

  • Hi regarding back ground jobs

    I have a report which is scheduled to run 2 times in the background.
    here i am using OO ALV when to display output when run in back ground.
    but i am getting an error when the same report is run in the back ground, stating there is a problem with the object references.
    but one of my friend tried it and is successful to run in the background but another problem, when run in foreground 10 records are displayed and when run in background only 2 records are displayed for the same criteria.in both the cases i am sending the output to the file on appl server.
    pls help me its urgent.
    pionts are assured.

    Ravi,
    I have faced the same problem when I schedule the job in background.
    When the report was run in forground, it gives expected results, and when it run in background, it will supress some fields and disply the report output.
    This problem, I have debugged it and corrected, and its application specific I can say, cant conclude it  by seeing the problem, needs to do much research and fix it up.
    Regards,
    Sujatha.

  • Regarding back ground job scheduling

    Hi,
        one of our program was sheduled for back ground job, by another user, so just i need to knwo when this job is sheduled and it is executing daily, so, i need to knwo whether he has created a background job through , sm36, or through a program, how could i found it out.
    thanks in advance.
    jogu

    It is difficult to say. But if you can go to SM37 and check the log of the JOB it will dispaly you some messages.
    This might help you.
    Regards,
    Naimesh Patel

  • Function Module to find the Last Execution date of Back ground Job

    Hi,
    Is there any function module to find the <b>last execution date of back ground job</b>.
    So that I can transfer the data from SAP to Legacy system based on the document creation date should be in between last execution date and current date.
    thanks in advance.
    Eswar.

    Don't know of a function module, but you should be able to use the information in table TBTCO to get the last start date and time of the job you are interested in.

  • Back ground execution of t.code with variant !!

    Hi Team,
              I need excute the Z transaction code ( which is assigned to to stnadard program).
      How can i execute this transaction in back ground with the given specified variant.  (program should be executed for every 5 mts).
    Regards
    Badari Talanki

    Hi Badari,
    when you set the Background Job via <b>SM36</b>, you can mention the Variant. and set the time , so that the report will run for every 5 minutes with the mentioned variant. Check it.
    Regards
    Vijay

  • Regarding back ground processing for excel.

    Hi,
    i want to create the Excel sheet and i want to save in Back ground Processing....
    give me some suggestionss.......................

    This can create any file (spreadsheet/plain text/ dat files). but to add workbooks to the sheet you need to use OLE Object concepts.
    PARAMETERS:    p_terms(256) TYPE c OBLIGATORY,
                p_del(1)     TYPE c OBLIGATORY DEFAULT cl_abap_char_utilities=>horizontal_tab.
    DATA:       lv_str       TYPE string,
          lv_char(256) TYPE c,
          lr_descrref  TYPE REF TO cl_abap_typedescr.
    FIELD-SYMBOLS: <comp> TYPE ANY.
      IF itab IS NOT INITIAL.
        OPEN DATASET p_terms FOR OUTPUT IN LEGACY TEXT MODE .
        IF sy-subrc EQ 0.
          CLEAR : lv_str.
    Header of the file
          CONCATENATE
            'Action'
            'Name'
            'EE User ID'
            'Termination Date'
            'Last Day Worked'
            'End Of Notice'
            'Employee Type'
            'Department'
            'Department_type'
            'Office Location'
            'Manager Name'
            'Has Cellphone'
            'Has Home Office'
            'VP and Above'
           cl_abap_char_utilities=>cr_lf
          INTO lv_str SEPARATED BY p_del.
          LOOP AT itab INTO ls_terms.
            WHILE sy-subrc EQ 0.
              ASSIGN COMPONENT sy-index  OF STRUCTURE ls_terms TO <comp>.
              IF sy-subrc NE 0.
                EXIT.
              ENDIF.
              lr_descrref = cl_abap_typedescr=>describe_by_data( <comp> ).
              IF lr_descrref->type_kind = 'P'.
                WRITE <comp> TO lv_char DECIMALS 2.
              ELSE.
                WRITE <comp> TO lv_char.
              ENDIF.
              SHIFT lv_char LEFT DELETING LEADING space.
              IF sy-index NE 1.
                CONCATENATE lv_str lv_char INTO lv_str SEPARATED BY p_del.
              ELSE.
                CONCATENATE lv_str lv_char INTO lv_str.
              ENDIF.
              CLEAR: lv_char.
            ENDWHILE.
            TRY.
    This statement passes the content of data object to the file specified
                TRANSFER lv_str TO p_terms.
              CATCH cx_sy_file_authority .
                FORMAT COLOR 6 ON.
                WRITE:/ 'No authorization to access the Term file'.
            ENDTRY.
            CLEAR lv_str.
          ENDLOOP.
          CLOSE DATASET p_terms.
        ENDIF.
      ENDIF.

  • Regarding bdc back ground job

    hi,
              i want to run the bdc from the program itself  not using any transaction
              could u plz tell me the syntex clearly with comments.
          very urgent plz.

    Hi,
    The name Batch Input Session itself tells u that a batch session will be craeted and u have to run it manually.
    Automatically it will not get executed.
    Go for ''call  transaction'' to execute it immediately...
    However if u want to use Batchinput session method, then u have to capture teh session name first and then u can run that Session in the back ground by creating the 'Background job' by sm36.
    Cheers,
    Simha.

  • Regarding back ground job sheduling

    hi,
    could u plz clear my issu
             i am running a report which i want to shedule in back ground by writing the code within in that program.
    very urgent

    There are two ways for you to handle,
    one manually setting up the job through SM36 which is better and convinient,
    secondly through program using FM's JOB_OPEN, SUBMIT, JOB_CLOSE.
    Find below steps in doing both:
    Procedure 1:
    1. Goto Trans -> SM36
    2. Define a job with the program and variant if any
    3. Click on start condition in application tool bar
    4. In the pop-up window, click on Date/Time
    5. Below you can see a check box "Periodic Job"
    6. Next click on Period Values
    7. Select "Other Period"
    8. Now give '15' for Minutes
    9. Save the job
    In SM37 u can check the status of the jobs that u have assigned to background...
    Here u mention the job name or the report name to check the status of the job...
    After mentioning the job name or program name u just execute it.. ( without any name also u can execute then it gives u all the jobs set by your user name..
    the status colud be released,active,finished etc..
    Procedure 2 via Program:
    Below is a sample code for the same. Note the ZTEMP2 is the program i am scheduling with 15mins frequency.
    DATA: P_JOBCNT LIKE TBTCJOB-JOBCOUNT,
          L_RELEASE(1) TYPE c.
       CALL FUNCTION 'JOB_OPEN'
         EXPORTING
           JOBNAME                = 'ZTEMP2'
        IMPORTING
          JOBCOUNT               = P_JOBCNT
        EXCEPTIONS
          CANT_CREATE_JOB        = 1
          INVALID_JOB_DATA       = 2
          JOBNAME_MISSING        = 3
          OTHERS                 = 4.
       IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       ENDIF.
       SUBMIT ZTEMP2 VIA JOB 'ZTEMP2' NUMBER P_JOBCNT
              TO SAP-SPOOL WITHOUT SPOOL DYNPRO
              WITH DESTINATION = 'HPMISPRT'
              WITH IMMEDIATELY = SPACE
              WITH KEEP_IN_SPOOL = 'X' AND RETURN.
       CALL FUNCTION 'JOB_CLOSE'
         EXPORTING
           JOBCOUNT                          = P_JOBCNT
           JOBNAME                           = 'ZTEMP2'
           STRTIMMED                         = 'X'
           PRDMINS                          = 15
        IMPORTING
          JOB_WAS_RELEASED                  = L_RELEASE
        EXCEPTIONS
          CANT_START_IMMEDIATE              = 1
          INVALID_STARTDATE                 = 2
          JOBNAME_MISSING                   = 3
          JOB_CLOSE_FAILED                  = 4
          JOB_NOSTEPS                       = 5
          JOB_NOTEX                         = 6
          LOCK_FAILED                       = 7
          INVALID_TARGET                    = 8
          OTHERS                            = 9.
       IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       ENDIF.
    *Submit report as job(i.e. in background) 
    data: jobname like tbtcjob-jobname value
                                 ' TRANSFER TRANSLATION'.
    data: jobcount like tbtcjob-jobcount,
          host like msxxlist-host.
    data: begin of starttime.
            include structure tbtcstrt.
    data: end of starttime.
    data: starttimeimmediate like btch0000-char1.
    Job open
      call function 'JOB_OPEN'
           exporting
                delanfrep        = ' '
                jobgroup         = ' '
                jobname          = jobname
                sdlstrtdt        = sy-datum
                sdlstrttm        = sy-uzeit
           importing
                jobcount         = jobcount
           exceptions
                cant_create_job  = 01
                invalid_job_data = 02
                jobname_missing  = 03.
      if sy-subrc ne 0.
                                           "error processing
      endif.
    Insert process into job
    SUBMIT zreport and return
                    with p_param1 = 'value'
                    with p_param2 = 'value'
                    user sy-uname
                    via job jobname
                    number jobcount.
      if sy-subrc > 0.
                                           "error processing
      endif.
    Close job
      starttime-sdlstrtdt = sy-datum + 1.
      starttime-sdlstrttm = '220000'.
      call function 'JOB_CLOSE'
           exporting
                event_id             = starttime-eventid
                event_param          = starttime-eventparm
                event_periodic       = starttime-periodic
                jobcount             = jobcount
                jobname              = jobname
                laststrtdt           = starttime-laststrtdt
                laststrttm           = starttime-laststrttm
                prddays              = 1
                prdhours             = 0
                prdmins              = 0
                prdmonths            = 0
                prdweeks             = 0
                sdlstrtdt            = starttime-sdlstrtdt
                sdlstrttm            = starttime-sdlstrttm
                strtimmed            = starttimeimmediate
                targetsystem         = host
           exceptions
                cant_start_immediate = 01
                invalid_startdate    = 02
                jobname_missing      = 03
                job_close_failed     = 04
                job_nosteps          = 05
                job_notex            = 06
                lock_failed          = 07
                others               = 99.
      if sy-subrc eq 0.
                                           "error processing
      endif.
    Thanks

  • This is regarding back ground job scheduling

    Hi to all...........
    1....here iam using background job scheduling for a report to run under background.I difine the backgorund job at sm36 and i had given the job name and time ,date in sm37.
                            With this details the report executed sucessfully.Now i want to see the output list for that report.Please tell that where i have to see the output list.
    what is the transaction code for displaying that output list?????????????????
    Thanks and regards,
    k.swaminath

    Go to SM36.. select ownjobs..
    List will come.. Select your job (check box) and click SPOOL ...
    Output will come like this..
      Spool no.  Type Date       Time  Status  Pages Title
           16501      24.10.2007 11:25 Waiting    7  LIST1S LOCA Z00_SELECT_S
    Press the Icon under Type...
    Output will get displayed..
    Message was edited by:
            Rama Jyothi

  • How To Finish a back ground task

    Hi
    I have created a back ground task which mark attendance of specific type in pa30 .what i do is  created a bapi and submit that bdc report in it  using call transaction. It is working fine . when i see in pa30 after its execution it is marking attendance  but in log it shows that step is under process. how can i finish it so that workflow move to next step
    Regards
    Ammad

    Hi,
    when a background task is in process for a long time then probably the method raised a short-dump somewhere.
    So investigate this first.
    For continuing the flow manually you can use the technical workitem display in the workflow log, put it to change and manually complete that workitem.
    Kind regards, Rob Dielemans

  • How to debug the back ground job

    Hi All,
    I want to debug the program, but it is taking more time so iam running it in back ground, but i need to debug the program from some particular point....is there any other way to debug the program...
    Means...to run the program in background upto particular point and later i need to run it in debug mode.
    Please suggest.
    Thanks & Regards,
    Hari

    Hi,
    You can do this only after the job has finished execution. This will simulate the exact background scenario with the same selection screen values as used in the job and sy-batch set to 'X'.
    Use SM37 to get list of jobs , type 'JDBG' in the command line ( no '/' ), put the cursor on the job and press ENTER
    You are in debug mode now. Step through SAP program (press F7 couple of times) until you get to code you need.
    Hope this helps u.
    Thanks.

Maybe you are looking for