Package processing in CCM (AUTH_UPDATE batch-job)

Hello all
We're using CCM 2.0 with SP03. We send CatalogueUpdateNotification_in messages (in XML format) to our XI and route it 1:1 to our CCM system. There it is processed by an <b>async started AUTH_UPDATE batch-job</b>. This job finally processes our catalog items.
As log as this batch-job runs the concerned catalog being updated is locked for other updates. And this is what causes us some head aches!
We send XML messages containing up to 2000 catalog items. This makes the batch job run quite long (up to 1.5h). Now, when we have more than 2000 updates to send to our catalog, we split it up into packages with up to 2000 items each.
Each package being sent from XI to CCM creates such a AUTH_UPDATE batch-job. The 1st starting is able to lock the catalog but this way of course also blocks processing of all other packages.
Every single minute the next (waiting / blocked) package tries to lock the catalog itself before it can be processed. This ensures parallel update processings but the other way around it also causes to fall into a timeout after lets say ca. 30 retries.
From XI point of view the timedout out package(s) sent to CCM were successfully processed... means: not restartable!
In CCM I can't find a way trying to re-process such a timedout package.
Re-generating the same package from the source system is not an option for us as well... it takes to much efforts.
Is there a way to change the wait time between retrying to lock the catalog?
OR
Is there a way to ensure that only 1 AUTH_UPDATE batch-job is started at the same time?
Thanks for some ideas to solve this.
Renaud

Hi
<b>Please go through the SAP OSS Notes and pointers as well -></b>
Note 908054 - CCM 2.0 SP03 on Netweaver 04s SP Stack 06
Note 1002775 - Asynchronous deletion of old version after publication
Note 955096 - Rule condition (Not Equal with Not Valuated) in the view
Note 887328 - CCM20 - modifications for /CCM/VERIFY_CATALOG
Note 865138 - CCM20SP0 upload overview message "Category not found"
Note 873340 - Problems with BMECat mapping after patching XI
Note 864313 - Input help for mass editor
<u>Related links -></u>
Re: Transfer Contract Data to CCM
Re: CCM CSE_ENRICHMENT BAdI debuging
Incase this does not help, please raise a customer OSS Message with SAP as well for faster resolution of your queries.
Do let me know. Hope this will help.
Regards
- Atul

Similar Messages

  • Error in CCMS monitoring Batch job SAP_CCMS_MONI_BATCH_DP.

    Hi All,
    I am using a Sanbox system for CCMS Monitoring activities. I assigned a method CCMS_ONAlert_Email under auto reaction to the MTE class ABAP shortdumps on node System errors. So the requirement is when an alert triggered i have to receive an alert email. I just found there is an error in Batch job created for Alert monitoring, please find the error details mentioned below. Please let me know how to solve this error
    Job started
    Step 001 started (program RSAL_BATCH_TOOL_DISPATCHING, variant , user ID NBKIPXP)
    :Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :  Kernel Error ID:
    :  SYSID: ES1
    :  SY-SUBRC: 1208
    :  Message: ADBC error
    :  SQL statement: SELECT '20110613075617',0 as DB6PMCF_PARTITION,FS_NAM
    :  E,'T','20110521174003','700',FREE_KB,USED_KB,TOTAL_KB,NUM_IUSED,PCT_IU
    :  SED FROM SYSIBM.SYSDUMMY1, TABLE(SAPTOOLS.DB6PMCF('/db2/ES1/sapdata1')
    :  ) AS FS_CONFIG
    :  Database:
    :caused by
    :Exception CX_SQL_EXCEPTIONin class CL_SQL_RESULT_SET
    :  Kernel Error ID:
    :  DB Error: Yes
    :  SQL Code: 444-
    :  SQL Message: SQL0444N Routine "SAPTOOLS.DB6PMCF" (specific name "D
    :  B6PMCF") is implemented with code in library orpath "/usr/sap/ED2/SYS
    :  /exe/run/db6pmudf", function "Db6pmcf" which cannot be accessed. Reas
    :  on code: "4". SQLSTATE=42724
    :  DB Object Exists: No
    :  Duplicated Key: No
    :  Internal Error: 1
    :  Invalid Cursor: No
    :  Unknown Connection: No
    :  Connection Closed: No
    Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :  Kernel Error ID:
    :  SYSID: ES1
    :  SY-SUBRC: 1208
    :  Message: ADBC error
    :  SQL statement: SELECT '20110613075633',0 as DB6PMCF_PARTITION,FS_NAM
    :  E,'T','20110521174003','700',FREE_KB,USED_KB,TOTAL_KB,NUM_IUSED,PCT_IU
    :  SED FROM SYSIBM.SYSDUMMY1, TABLE(SAPTOOLS.DB6PMCF('/db2/ES1/log_dir/NO
    :  DE0000/') ) AS FS_CONFIG
    :  Database:
    :caused by
    :Exception CX_SQL_EXCEPTION in class CL_SQL_RESULT_SET
    :  Kernel Error ID:
    :  DB Error: Yes
    :  SQL Code: 444-
    :  SQL Message: SQL0444N Routine "SAPTOOLS.DB6PMCF" (specific name "D
    :  B6PMCF") is implemented with code in library orpath "/usr/sap/ED2/SYS
    :  /exe/run/db6pmudf", function "Db6pmcf" which cannot be accessed. Reas
    :  on code: "4". SQLSTATE=42724
    :  DB Object Exists: No
    :  Duplicated Key: No
    :  Internal Error: 1
    :  Invalid Cursor: No
    :  Unknown Connection: No
    :  Connection Closed: No
    Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :  Kernel Error ID:
    :  SYSID: ES1
    :  SY-SUBRC: 1208
    :  Message: ADBC error
    :  SQL statement: SELECT '20110613075633',0 as DB6PMCF_PARTITION,FS_NAM
    :  E,'T','20110521174003','700',FREE_KB,USED_KB,TOTAL_KB,NUM_IUSED,PCT_IU
    :  SED FROM SYSIBM.SYSDUMMY1, TABLE(SAPTOOLS.DB6PMCF('/db2/ES1/sapdata4/d
    :  b2es1/NODE0000/ES1/T0000003/C0000000.TMP') ) ASFS_CONFIG
    :  Database:
    :caused by
    :Exception CX_SQL_EXCEPTION in class CL_SQL_RESULT_SET
    :  Kernel Error ID:
    :  DB Error: Yes
    :  SQL Code: 444-
    :  SQL Message: SQL0444N Routine "SAPTOOLS.DB6PMCF" (specific name "D
    :  B6PMCF") is implemented with code in library orpath "/usr/sap/ED2/SYS
    :  /exe/run/db6pmudf", function "Db6pmcf" which cannot be accessed. Reas
    :  on code: "4". SQLSTATE=42724
    :  DB Object Exists: No
    :  Duplicated Key: No
    :  Internal Error: 1
    :  Invalid Cursor: No
    :  Unknown Connection: No
    :  Connection Closed: No
    Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :  Kernel Error ID:
    :  SYSID: ES1
    :  SY-SUBRC: 1208
    :  Message: ADBC error
    :  SQL statement: SELECT '20110613075634',0 as DB6PMCF_PARTITION,FS_NAM
    :  E,'T','20110521174003','700',FREE_KB,USED_KB,TOTAL_KB,NUM_IUSED,PCT_IU
    :  SED FROM SYSIBM.SYSDUMMY1, TABLE(SAPTOOLS.DB6PMCF('/db2/ES1/sapdata2/d
    :  b2es1/NODE0000/ES1/T0000003/C0000001.TMP') ) ASFS_CONFIG
    :  Database:
    :caused by
    :Exception CX_SQL_EXCEPTION in class CL_SQL_RESULT_SET
    :  Kernel Error ID:
    :  DB Error: Yes
    :  SQL Code: 444-
    :  SQL Message: SQL0444N Routine "SAPTOOLS.DB6PMCF" (specific name "D
    :  B6PMCF") is implemented with code in library orpath "/usr/sap/ED2/SYS
    :  /exe/run/db6pmudf", function "Db6pmcf" which cannot be accessed. Reas
    :  on code: "4". SQLSTATE=42724
    :  DB Object Exists: No
    :  Duplicated Key: No
    :  Internal Error: 1
    :  Invalid Cursor: No
    :  Unknown Connection: No
    :  Connection Closed: No
    Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :  Kernel Error ID:
    :  SYSID: ES1
    :  SY-SUBRC: 1208
    :  Message: ADBC error
    :  SQL statement: SELECT '20110613075634',0 as DB6PMCF_PARTITION,FS_NAM
    :  E,'T','20110521174003','700',FREE_KB,USED_KB,TOTAL_KB,NUM_IUSED,PCT_IU
    :  SED FROM SYSIBM.SYSDUMMY1, TABLE(SAPTOOLS.DB6PMCF('/db2/ES1/sapdata1/d
    :  b2es1/NODE0000/ES1/T0000003/C0000002.TMP') ) ASFS_CONFIG
    :  Database:
    :caused by
    :Exception CX_SQL_EXCEPTION in class CL_SQL_RESULT_SET
    :  Kernel Error ID:
    :  DB Error: Yes
    :  SQL Code: 444-
    :  SQL Message: SQL0444N Routine "SAPTOOLS.DB6PMCF" (specific name "D
    :  B6PMCF") is implemented with code in library orpath "/usr/sap/ED2/SYS
    :  /exe/run/db6pmudf", function "Db6pmcf" which cannot be accessed. Reas
    :  on code: "4". SQLSTATE=42724
    :  DB Object Exists: No
    :  Duplicated Key: No
    :  Internal Error: 1
    :  Invalid Cursor: No
    :  Unknown Connection: No
    :  Connection Closed: No
    Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :  Kernel Error ID:
    :  SYSID: ES1
    :  SY-SUBRC: 1208
    :  Message: ADBC error
    :  SQL statement: SELECT '20110613075634',0 as DB6PMCF_PARTITION,FS_NAM
    :  E,'T','20110521174003','700',FREE_KB,USED_KB,TOTAL_KB,NUM_IUSED,PCT_IU
    :  SED FROM SYSIBM.SYSDUMMY1, TABLE(SAPTOOLS.DB6PMCF('/db2/ES1/sapdata3/d
    :  b2es1/NODE0000/ES1/T0000003/C0000003.TMP') ) ASFS_CONFIG
    :  Database:
    :caused by
    :Exception CX_SQL_EXCEPTION in class CL_SQL_RESULT_SET
    :  Kernel Error ID:
    :  DB Error: Yes
    :  SQL Code: 444-
    :  SQL Message: SQL0444N Routine "SAPTOOLS.DB6PMCF" (specific name "D
    :  B6PMCF") is implemented with code in library orpath "/usr/sap/ED2/SYS
    :  /exe/run/db6pmudf", function "Db6pmcf" which cannot be accessed. Reas
    :  on code: "4". SQLSTATE=42724
    :  DB Object Exists: No
    :  Duplicated Key: No
    :  Internal Error: 1
    :  Invalid Cursor: No
    :  Unknown Connection: No
    :  Connection Closed: No
    Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :  Kernel Error ID:
    :  SYSID: ES1
    :  SY-SUBRC: 1208
    :  Message: ADBC error
    :  SQL statement: SELECT '20110613075634',0 as DB6PMCF_PARTITION,FS_NAM
    :  E,'T','20110521174003','700',FREE_KB,USED_KB,TOTAL_KB,NUM_IUSED,PCT_IU
    :  SED FROM SYSIBM.SYSDUMMY1, TABLE(SAPTOOLS.DB6PMCF('/db2/ES1/sapdata3/d
    :  b2es1/NODE0000/ES1/T0000004/C0000003.UTM') ) ASFS_CONFIG
    :  Database:
    :caused by
    :Exception CX_SQL_EXCEPTION in class CL_SQL_RESULT_SET
    :  Kernel Error ID:
    :  DB Error: Yes
    :  SQL Code: 444-
    :  SQL Message: SQL0444N Routine "SAPTOOLS.DB6PMCF" (specific name "D
    :  B6PMCF") is implemented with code in library orpath "/usr/sap/ED2/SYS
    :  /exe/run/db6pmudf", function "Db6pmcf" which cannot be accessed. Reas
    :  on code: "4". SQLSTATE=42724
    :  DB Object Exists: No
    :  Duplicated Key: No
    :  Internal Error: 1
    :  Invalid Cursor: No
    :  Unknown Connection: No
    :  Connection Closed: No
    Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :  Kernel Error ID:
      SYSID: ES1
      SY-SUBRC: 1208
      Message: ADBC error
      SQL statement: SELECT '20110613075634',0 as DB6PMCF_PARTITION,FS_NAM
      E,'T','20110521174003','700',FREE_KB,USED_KB,TOTAL_KB,NUM_IUSED,PCT_IU
      SED FROM SYSIBM.SYSDUMMY1, TABLE(SAPTOOLS.DB6PMCF('/db2/ES1/sapdata4/d
      b2es1/NODE0000/ES1/T0000004/C0000000.UTM') ) ASFS_CONFIG
      Database:
    caused by
    Exception CX_SQL_EXCEPTION in class CL_SQL_RESULT_SET
      Kernel Error ID:
      DB Error: Yes
      SQL Code: 444-
      SQL Message: SQL0444N Routine "SAPTOOLS.DB6PMCF" (specific name "D
      B6PMCF") is implemented with code in library orpath "/usr/sap/ED2/SYS
      /exe/run/db6pmudf", function "Db6pmcf" which cannot be accessed. Reas
      on code: "4". SQLSTATE=42724
      DB Object Exists: No
      Duplicated Key: No
      Internal Error: 1
      Invalid Cursor: No
      Unknown Connection: No
      Connection Closed: No
    xception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
      Kernel Error ID:
      SYSID: ES1
      SY-SUBRC: 1208
      Message: ADBC error
      SQL statement: SELECT '20110613075634',0 as DB6PMCF_PARTITION,FS_NAM
      E,'T','20110521174003','700',FREE_KB,USED_KB,TOTAL_KB,NUM_IUSED,PCT_IU
    :  SED FROM SYSIBM.SYSDUMMY1, TABLE(SAPTOOLS.DB6PMCF('/db2/ES1/sapdata2/d
    :  b2es1/NODE0000/ES1/T0000004/C0000001.UTM') ) ASFS_CONFIG
    :  Database:
    :caused by
    :Exception CX_SQL_EXCEPTION in class CL_SQL_RESULT_SET
    :  Kernel Error ID:
    :  DB Error: Yes
    :  SQL Code: 444-
    :  SQL Message: SQL0444N Routine "SAPTOOLS.DB6PMCF" (specific name "D
    :  B6PMCF") is implemented with code in library orpath "/usr/sap/ED2/SYS
    :  /exe/run/db6pmudf", function "Db6pmcf" which cannot be accessed. Reas
    :  on code: "4". SQLSTATE=42724
    :  DB Object Exists: No
    :  Duplicated Key: No
    :  Internal Error: 1
    :  Invalid Cursor: No
    :  Unknown Connection: No
    :  Connection Closed: No
    Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    :  Kernel Error ID:
    :  SYSID: ES1
    :  SY-SUBRC: 1208
    :  Message: ADBC error
    :  SQL statement: SELECT '20110613075634',0 as DB6PMCF_PARTITION,FS_NAM
    :  E,'T','20110521174003','700',FREE_KB,USED_KB,TOTAL_KB,NUM_IUSED,PCT_IU
    :  SED FROM SYSIBM.SYSDUMMY1, TABLE(SAPTOOLS.DB6PMCF('/db2/ES1/sapdata1/d
    :  b2es1/NODE0000/ES1/T0000004/C0000002.UTM') ) ASFS_CONFIG
    :  Database:
    :caused by
    :Exception CX_SQL_EXCEPTION in class CL_SQL_RESULT_SET
    :  Kernel Error ID:
    :  DB Error: Yes
    :  SQL Code: 444-
    :  SQL Message: SQL0444N Routine "SAPTOOLS.DB6PMCF" (specific name "D
    :  B6PMCF") is implemented with code in library orpath "/usr/sap/ED2/SYS
    :  /exe/run/db6pmudf", function "Db6pmcf" which cannot be accessed. Reas
    :  on code: "4". SQLSTATE=42724
    :  DB Object Exists: No
    :  Duplicated Key: No
    :  Internal Error: 1
    :  Invalid Cursor: No
    :  Unknown Connection: No
    :  Connection Closed: No
    Exception CX_DBA_ADBC in class CL_DB6_RDI method GET_SNAPSHOT line 431
    Job finished

    Hi Dinesh,
    Please check the note is applicable for you [Note 978319 - DB6: Incorrectly cataloged table functions|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=978319]
    so please check wheter db2<sid>user has enough permission
    Thanks,
    Jansi

  • Process chain in APO - batch jobs

    Dear Friends
    what for process chain in APO is used
    For instance in the sytem i noticed
    there are many process chain created
    Daily Master data
    Daily transfer of forcast
    there are so many process chain created
    what for it is used
    can you please give me a clear  idea ..
    Thanks & Regards
    Raj

    Hi
    In APO DP or SNP we have many jobs which have to following certain sequence. For example after loading the sales history only you can generate the CVCs. All these jobs has to start and finish in sequence. In the process chain you can defined or sequence all the your jobs according your need. You can also schedule these process chain as pre our requirement.
    So I will say process chain is better and more flexible way of scheduling and sequencing different jobs in APO. For example In you case you have daily process chain which might be loading the data in different Infoobjects  which are master data.
    Thanks
    Amol

  • Force FM execution on batch job work process

    Hi!
    Is it possible to asynchronously start FM execution on batch job work process?
    Additions:
    CALL FUNCTION func STARTING NEW TASK taskname.
    CALL FUNCTION func IN BACKGROUND TASK.
    starts FM execution just on another dialog process.
    Context of requirement:
    There is a program that may be logically splitted into two parts:
    - dialog part where data is collected from user input
    - BAPI call with a tons of parameters(structures, internal tables) formed on user input
    So the problem - system dump by timeout during BAPI execution.
    The only solution is to execute BAPI functionality on work process without timeout limitations - batch job work process.
    There may be two approaches:
    - pass parameters to report and schedule its execution in background job. But here arise question how to pass these dynamic parameters? SAP memory doesn't available for background job work process and "SUBMIT WITH FREE SELECTIONS texpr" seems to be intended for LDB or anyway not for such purposes.
    - force FM execution on background job work process - so how if it possible?
    Appreciate your suggestions.
    Regards,
    Maxim.

    Hi Maxim,
    Look at this example program where the user can run it online to enter the input values in the selection screen and then the program just goes into background mode, basically achieved by submitting the same program again skipping the selection screen. This is one more option for you.
    REPORT ztest.
    PARAMETERS: p_vbeln LIKE vbak-vbeln,
                p_bkrun NO-DISPLAY.
    DATA: ls_vbak LIKE vbak.
    DATA: v_answer,
          v_jobcount LIKE tbtcjob-jobcount.
      IF p_bkrun IS INITIAL.
    *-- not background processing
        CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
             EXPORTING
                  textline1      = 'This may time out.'
                  textline2      = 'Do you want to run in background?'
                  titel          = 'Warning!!!'
                  cancel_display = space
             IMPORTING
                  answer         = v_answer.
        IF v_answer = 'J'.
    *-- run in the background
          CALL FUNCTION 'JOB_OPEN'
               EXPORTING
                    jobname          = 'ZTEST'
               IMPORTING
                    jobcount         = v_jobcount
               EXCEPTIONS
                    cant_create_job  = 1
                    invalid_job_data = 2
                    jobname_missing  = 3
                    OTHERS           = 4.
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE 'E' NUMBER sy-msgno
                    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            EXIT.
          ENDIF.
    *-- submit the program in the background
          SUBMIT ztest
            WITH p_bkrun = 'X'
            WITH p_vbeln = p_vbeln
            USER sy-uname
            VIA JOB 'ZTEST' NUMBER v_jobcount AND RETURN.
    *-- close the job
          CALL FUNCTION 'JOB_CLOSE'
               EXPORTING
                    jobcount             = v_jobcount
                    jobname              = 'ZTEST'
                    strtimmed            = 'X'
               EXCEPTIONS
                    cant_start_immediate = 1
                    invalid_startdate    = 2
                    jobname_missing      = 3
                    job_close_failed     = 4
                    job_nosteps          = 5
                    job_notex            = 6
                    lock_failed          = 7
                    OTHERS               = 8.
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE 'W' NUMBER sy-msgno
                    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
          EXIT.
        ELSE.
          CLEAR v_answer.
        ENDIF.
      ENDIF.
      CHECK v_answer IS INITIAL.
      SELECT SINGLE * FROM vbak
                      INTO ls_vbak
                     WHERE vbeln = p_vbeln.
      IF sy-subrc <> 0.
        WRITE:/ 'Invalid Order Id.'.
      ENDIF.
    END-OF-SELECTION.
      CHECK v_answer IS INITIAL.
      IF p_bkrun IS INITIAL.
        WRITE:/ 'Here is the result running the program in foreground.'.
      ELSE.
        WRITE:/ 'Here is the result running the program in background.'.
      ENDIF.
      WRITE:/ ls_vbak-vbeln,
              ls_vbak-vkorg.
    Let me know if you have any questions.
    Srinivas

  • Help needed in creating a batch job for delivery

    Hi gurus
    Can somebody tell me the process of creating a batch job ..for creation of delivery.. is this the same process to create the batch jobs for invoices also?
    thankyou
    bj

    hello jaya ,gsl
    thankyou very much for ur help .. I have tried creating a variant .. in vl10batch.. and ive assigned it a scheduled time .. i craeted a open order..  and when the scheduled time has arrived and is over,i went to the order and still i dont see any delivery doc created .. and in sm37 its shows that the job is finished ..i even tried sm36 .. of creating a job for the variant.that ive craeted in vl10batch .and then assigning the job in sm37.. i can see the job that ive created in sm37 it is changing its status from released to finished .. as per the scheduled time but the delivery is not created .. i tried vf06 for a billing   variant.. and went to sm36 craeted a job for the variant..using the program name.. and next to sm37 i can  see the created  job in the spool also..but somehow it is  not creating the billing doc also..
    can u help me to find where it actually went wrong with me ?
    thanksalot in advance..

  • Extraction Batch Job

    Dear All,
    In my company I am using Data services and system generate daily order ststus report every day (webi report)
    The extraction batch jobs are set at 6:00, 6:30 and 8:30 everyday.
    My order ststus job is taking 10 hours to complete which is way to high and on top of it sends out the empty report.
    I have checked and noticed that I need to simplfy the R/3 process and minimize the dataflows , In othe words I might use 1 table per R/3 dataflow,
    But before I start this tedious process I have come up with a temporary solution that is to cancel the 6:00 and 6:30 job and instead of 8:30 job I reschedule it for 10:00 which means that daily report will now run at 10:30.
    This solution doesnt seems to work as well becuase now at 10:30 I am getting a empty report as well.
    I would like to know what is the reason that I am getting empty reports even after I rescheduled the batch job to different time.
    Also what else can I do to improve the processing time of these batch job so it can run faster.
    I would appreciate if you guys can advise me the solution based on your experience in data services.
    Regards.

    Hi Tom,
    Batch Job and BAdi's are two different things but their purpose is somewhat similar i.e. background processing.
    BAdi's are SAP enhancmenents where in you can attach your own code to SAP code which is getting executed so that along with std code to ger our job is done.
    Background jobs are scheduled to run in system periodically. Here we can code like it will check for certain things and then if required it will execute some code.
    Thanks and Regards,
    Vaibhav Pendse

  • Creation of Vendors by batch jobs:  Bypass the 'confirmation' process

    Hello,
    Need your kind suggestions please. When we create a vendor master data it's a two step process. In the first place we create and save it. In the second step a different user needs to log in and confirm the same before the vendor gets active in the system.
    Now, our client usually have to create a huge load of vendors on a regular basis. So they want to automate this process by creating the vendors using a background job. Since the vendors would be created by the batch job, security issues would automatically be taken care of.
    Therefore they want to avoid the second step of 'confirming' the vendors to get them 'active' in the system.
    Is it possible to bypass the 'confirm' procedure so that no one has to log in and keep confirming the huge number of vendors that would need to be created?
    Please advice. if you need more information, please let me know and I would try to answer as far as my knowledge goes.
    Regards,
    Suvarghya

    Hi,
    Go to the following path,
    IMG >> Financial Accounting >> Accounts Recievables and Accounts Payable >> Vendor Accounts >> Master Data >> Preparations for Creating Vendor Master Data >> Define sensitive Fields for Dual Controls (Vendors).
    Click that activity, and delete all the fields that exists which makes it not necessary to confirm any of the vendors when they are created/made a change.
    Good Luck,
    SAP Solutioning

  • Parallel process define for batch job

    Hi,
    I would like to run a batch job with a few processes run parallel together. May I know where can i define it ? T-code ?
    Regards
    Lauran

    Hi Lauren,
    First of all there is no transaction code as such.
    First of all the report that  needs to be run in background should enable you to do parrallel processing. For that code has to be written accordingly.
    Check this link:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/fa/096e92543b11d1898e0000e8322d00/content.htm
    It gives details of function modules needed for this purpose.
    After this you need to create a variant for the report and schedule it to run in background using either SE38 (dirrectly) or by creating a job explicitily- SM36.
    A standard report that has parallel processing feature available is RBDAPP01.
    Also check transactions like BD18. They also make use of parallel processing.
    Regards.
    Ruchit.

  • Batch job for IDOC processing in 64 status

    Hi experts ,
    i want to know the name of Batch job for IDOC processing in 64 status.
    I have configured the partner profiles as 'process immediatly'.
    So with this configuration whenever an idoc comes in production it gets processed immediatly and automatically.
    i want to know how they are getting processed automatically.
    is there any job which looks for these idocs(in 64 status and process immediatly flag) and process it.
    What is the trigger for thiese idocs processing???
    Please guide me
    thanks in advance
    Anit gautam

    Hi Thanks for ur reply.
    =====Upon arrival, "process immediately" should fire that process =====
    how it is getting fire?
    means is there any batch job running which looks for idoc in 64 status or is there any event which get triggered when an idoc
    comes in 64 status.
    why we use OYEB transaction???
    Regards

  • Reassign packages in batch job?

    Hi,
    i know how workbench objects can be reassigned online - but can this be done in a batch job reassigning them from package z_a (no transport route) to z_b (with transport route)?
    In worst case a batch input possibility or even a Z-Report is appreciated.

    In the resulting tree list of SE03 "change object directory entries" you can select multiple entries and use OK-Code "MASS" to change several packages in one go.
    If this is not sufficient, then look at the function module TR_TADIR_INTERFACE for a programming solution. I think batch input is too tedious.
    Thomas

  • Flat File Processing using Batch Job

    Hello,
    I need some ABAP advice...
    The scenario: There's a batch job that runs every hour and picks up all the files from APP server and processes them to creates idocs. Sometimes, while a batch job is running, a file is being created on the app server. But although the file is being written to and is not yet complete, the batch job picks up this file to create an idoc and hence leads to errors. Is there a way I can check if a file is already complete and then only the batch job should process the file.
    I am using SAP 4.6c and it doesnt allow me to use GET DATASET attributes...
    Any suggestions on how to check.....

    Hi Shipra,
    Check this code taken from another post to get the creation time of the file:
    *& Report  ZFILE_CREATE_DATE
    REPORT  zfile_create_date.
    TABLES epsf.
    PARAMETERS dir
      LIKE epsf-epsdirnam DEFAULT 'directory here'.
    PARAMETERS file LIKE epsf-epsfilnam DEFAULT 'file here'.
    DATA : mtime TYPE p DECIMALS 0,
                time(10),
               date LIKE sy-datum.
    CALL FUNCTION 'EPS_GET_FILE_ATTRIBUTES'
         EXPORTING
              file_name              = file
              dir_name               = dir
         IMPORTING
              file_size              = epsf-epsfilsiz
              file_owner             = epsf-epsfilown
              file_mode              = epsf-epsfilmod
              file_type              = epsf-epsfiltyp
              file_mtime             = mtime
         EXCEPTIONS
              read_directory_failed  = 1
              read_attributes_failed = 2
              OTHERS                 = 3.
    IF sy-subrc NE 0.
      WRITE: / 'error:', sy-subrc.
    ELSE.
    *The subroutine p6_to_date_time_tz is sap std present in rstr0400.
      PERFORM p6_to_date_time_tz(rstr0400) USING mtime
                                                 time
                                                 date.
      WRITE: / 'mtime:',mtime.
      WRITE: / 'date: ', date.
      WRITE: /  'time:',time.
    ENDIF.
    Regards,
    Gilberto Li

  • Status processing within Batch job.

    Hello SAP-Guru's,
    I have question, we have to set the field MSTAE status in Mara. We have a written a programm and when we excute this programm online...it works. But the same programm when we run in batch programm (SM37) we are not able to process the status.
    For example: Status should be changed from YN to Blank.
    Any ideas how can we debug in batch job and find out where is the problem...why it is not working in batch job.
    Cheers
    Sanjeev

    Hi Sanjeev,
    You can use Tcode JDBG or use Capture background job in SM37 for debugging job.
    Regards,
    Mohaiyuddin

  • Automatic batch job processing

    Hi all,
    I'm using a customized abap program to update data in one of the Controlling table. This abap prg is scheduled background to run twice daily.
    This program will generates batch job in sm35 and i have to manually process it so that the data in CO table will be updated.
    Could anybody tell me where should i configure so that the batch job in sm35 process automatically instead of process it manually.a

    Hello Suhana
    Check this link
    http://help.sap.com/erp2005_ehp_02/helpdata/en/2d/351b15448c11d189420000e829fbbd/frameset.htm
    Reg
    *assign points if useful

  • How to restore system RAM memory when i run DI batch job process

    How to restore system RAM memory when i run DI batch job process
    I use SAP-B12005SP53 and i develop with Business Partner Object

    HI ALL
    TAKE CARE: Nothing was working in VB6, but in .NET it sets the default value !
    from help of VS.
    When you assign Nothing to an object variable, it no longer refers to any object instance. If the variable had previously referred to an instance, setting it to Nothing does not terminate the instance itself. The instance is terminated, and the memory and system resources associated with it are released, only after the garbage collector (GC) detects that there are no active references remaining.
    Garbage Collector distroyes the objects at the end of the sub of function, not in the loop.
    So use local variables when you loading the 7000 items. For me working fine and i do not have a memory problems. I am loading 50000 items with prices from EDI file, and memory usage stops at 120MB.
    1st solution  create a sub or a function to populate the data, and run this for every items by as single rutin,
      sub x
        Dim obj As New Object()
            Try
    ... put here your update code
            Catch ex As Exception
            Finally
                GC.Collect()
            End Try
      end sub
    This free up the memory when Garbage
    2nd solution: use inner loop definition
      sub x
    Try
                Do While True
                    Dim obj As New Object()
                Loop
            Catch ex As Exception
            Finally
                GC.Collect()
            End Try
      end sub
    This free up the memory inside the loop.
    I recommend to use Friend Class keyword for your addon declaration and do not use modules.
    Modules and shared classes will be free up the memory when your program terminates execution.
    For more information see MSDN help http://msdn.microsoft.com/en-us/library/7ee5a7s1(VS.80).aspx
    and http://msdn.microsoft.com/en-us/library/0x9tb07z(VS.80).aspx
    Regards,
    J
    Edited by: János Nagy on Oct 15, 2009 2:17 PM

  • Automating F110 through a batch job process

    Is there a possibility of automating F110 through a batch job process? If yes, could somebody explain me how can that be done.

    Hi Shilpa ,
    To Run F110 First we hav to give run Date & identification,
    1) select PARAMETER TAB Enter Posting date , Document Date , Company code Pament method , Next pament date And specify the Customer / Vendor Number for which u like to do the payment.
    2) in Additional Log Select Check Box Due date check , Payment method selection if not scussefull, Line items of the payment documents & Vendor / Customer number . SAVE THIS.
    3) Slect the PROPOSAL RUN ( START IMD )
    4) Select PAYEMNT RUN ( STArt IMD) RUN
    5) if u want to print the document Mantain varint & Specify the varint in front the progeramme
    HOPE THIS WILL HELP YOU

Maybe you are looking for

  • Material Type for Test Equipments

    Hi, What is the standard material type used for Test Equipment.This material type is not used for consumtion.This is used only for testing purposes. Regards, Nitin Amritkar

  • Highlighting Selected Segments of Video

    How can I mark a segment of video in the timeline that I want to go back to later to show someone or to determine if I want to delete it? Is there some way to highlight selected portions of the timeline? Thanks.

  • Authenticate using a token

    in this F LASH M EDIA SERV ER 4.0 DEVELOPER'S GUIDE document, The control flow is as follows: 1The client SWF requests an authentication token from a third party. 2The third party returns the token to the client. 3The client sends the token with its

  • Structure inside while should work only one time ?

    Hi Everyone ,                   I have coded a program that if i click a button ( switch untill released) . inside that structure should work only one times .                    and i have coded and its working fine .. but its looks compilcated..    

  • Moving existing time machine backups to time capsule

    I have so far not been able to copy over the existing backups I have on an external drive to my new time capsule. Dragging them across does not work neither does cp in the terminal. I get an error message saying file attributes cant be copied over. H