BDC and Background Job

Hi gurus,
Is it possible for a BDC to behave like online mode when in run in using background job (SM36)?
Thanks,
Andre

Hi Rimpa,
Is there a way to call the ATP screen even in Background/schedule job mode? What happens is when I simulte background in SHDB only the message "Availability check was carried out" and the ATP screen does not appear.
If this is not possible, is there any BAPI or FM that can be used to update the Confirmed Qty in ATP. My requirement is to set confirmed qty to 0.
Thanks,
Andre

Similar Messages

  • Difference between batch job and Background Job

    Hi Forum,
    Can anyone distinguish between batch job and background job for me please ?
    SK

    Hi,
    Batch Job:
    A batch job is a process that runs in the background, often deferred and unattended, to process data in groups (batch) rather than by individual transactions (e.g. a monthly phone bill rather than a bill for each individual phone call). A batch job executes a sequence of programs and technical instructions that are stored in a command file. Progress and error messages are output to a log file allowing users to determine, at any time, if the batch job completed successfully or identify the cause of the problem. Because batch jobs run in the background they are less visible to the end user.
    In a business-computing context, batch job scheduling implies the automatic execution of background tasks (batch jobs) at pre-determined points in time (e.g. every day at 8pm, midday on Wednesday).
    3 types of batch job scheduling can be distinguished: native, basic and advanced batch job scheduling.
    Most operating systems and some business solutions software come equipped with native batch job scheduling tools that provide a limited service (e.g. Windows Scheduled Tasks, UNIX crontab, SAP CCMS) locally to each installation. However, business processes may span multiple platforms, applications, countries and companies. Their complexity may require much more functional power as provided by basic batch job scheduling including national and regional variations in the working calendar, sequence variations according to the day of the month, triggering of jobs by the successful completion of preceding jobs, elimination of gaps and reduced batch windows. Major benefits of basic batch job scheduling are enhanced productivity, operations reliability and cost-reduction. For e-business applications that require real-time processing, the distance between interactive individual processing and batch processing tends to decrease. Advanced batch job scheduling can handle these advanced requirements: event-driven scheduling for a real-time synchronization with interactive processing, just-in-time scheduling to run operations as soon as possible, cross-platform and cross application services for the entire IT landscape, real-time overall monitoring to track background operations for all applications on all servers.
    The standard benefits of batch job scheduling are drastically amplified when job schedulers can handle the end-to-end automation and monitoring requirements for all background operations.
    To schedule a back ground job follow the below steps:
    1. Use Transaction SM36.
    2. Assign a job name.
    3. Set the job’s priority, or “Job Class”:
    High --- Class A
    Medium --- Class B
    Low ---Class C
    4. Here you can specify,when the job is to start by choosing Start Condition. If you want the job to repeat, or be periodic, check the box at the bottom.
    Else click on the immediate and save this.
    5. Now,define the job’s steps by choosing Step.
    Here you need to give the ABAP program that has been used and the name of the variant thats being used.
    6. Save the fully defined job to submit it to the background processing system.(You need to click save button on the main screen i.e SM36)
    7. When you need to modify, reschedule, or otherwise manipulate a job after you've scheduled it the first time, you'll manage jobs from the Job Overview.
    8. Release the job so that it can run.
    The job, even those scheduled for immediate processing, can not run without first being released.So,do remember to release.
    Hope this helps you.
    Regards,
    Rakesh

  • BDC in background job with file upload

    I create one report BDC for Mass Upload, in the foreground i select the file and its working fine. when i am assigning  to background the job is create and released but the code is not execute. when i see the logs it show the error "there is no file".
    what is the problem?
                 i create variants and i declare it in the job creation. i thing the file path is the problem. the file is in presentation server while assign to background job it can't able to pick the file.
                 My requirement is, i need to pick a file for my network path and upload it to the sap database using BDC. can any one help pls!!!
    Edited by: sudhakar.ssm on Jul 19, 2010 1:10 PM

    Mr . Bala Duvvuri
    i know that but my requirement is different. i need to open a file in my network path, there it have a folder called DATA there every day they put a file. i need to upload it into sap Database. for that can u help me... when i search it in google it say i need to create a interface code with RFC Destination....         
               like that can u gave me a solution pls...

  • ALV, initialization and background job

    Hi,
    I've got a basic report that is causing some problems.
    On my selection screen there are 2 buttons ,say Button 1 and Button 2. If you click button 1 set gv_var to 'A', click button 2 and gv_var is set to 'B'.
      IF sy-ucomm = 'PB_1'.
        gv_ var = 'A'.
      ELSEIF sy-ucomm = 'PB_2'.
        gv_var = 'B'.
    ENDIF.
    In the initialization section gv_var is initialized to A.
    When I execute this report in the foreground there are no problems. However, when I Execute it in the background gv_var doesn't change. It just stays at the value it was set at in the Initialization section.
    Any ideas?

    Hi,
    Please note that AT USER-COMMAND will not get triggered for background jobs.
    Even your custom defined Menu bar will not be available for Background jobs.
    The reason is: According to SAP system, you have scheduled a job, and the job is run. And if the job status is completed, you will view the output.
    There you cannot capture the Sy-ucomm value, since according to SAP system the job is completed, meaning that the report is run and the output is displayed. No more events can be triggered at that place.
    Which is not the case with foreground mode, since, until you leave the program, the program is still under execution only.
    Best Regards,
    Suresh

  • Mail configuration and background job scheduling for ST22 Data

    Experts,
    I want to know how can i schedule a background job in SAP to extract data from ST22 and send a automated mail for the same?
    Any help will be appreciated, Thanks!!!
    Regards,
    Vinit Pagaria

    You don't need to do that, simply configure CCMS (RZ20) to send you an alert via mail when a dump occurs.
    Read,
    http://help.sap.com/saphelp_nw04/helpdata/EN/90/4e313f8815d036e10000000a114084/frameset.htm
    Regards
    Juan

  • Creating EXCEL documents and background jobs

    Hi there,
    I was wondering whether the method 'SAVE_DOCUMENT_TO_URL' of the interface 'i_oi_spreadsheet' will work when called in a background job with the intention to store the information somewhere on the SAP servers filepath ...
    If so then I would assume that one needs to install both SAPGUI and MS EXCEL on the server to get it actual working?
    Thx,
    Steven

    Yes it does seem silly that there is check like that.  However have a look at the first perform in the function: Create_Spreadsheet.  Right inside of that form there is another perform for get_spreadsheet_interface.  The following is the very first executable line in this perform:
    * don't do anything in batch, because there is no GUI...
      check sy-batch is initial.
    By exiting at this point, l_iref_spreadsheet will be initial and message e893(ux) will be issued.  Based upon that; the if sy-batch is initial around the SAPGUI_PROGRESS_INDICATOR call can never not be true.

  • Batch job and background job

    Hi
    what is the difference between a batch job and backgroun job ??
    thanks
    kumar

    hi kumar,
    As far as I know
    Batch job are the jobs created with sessions. You can process those sessions in SM35. These are not direct update methods.
    Where as the background jobs are the jobs running in the background with out user interaction. Once you schedule the job for the background job it will run with out user interaction according to the given schedule.
    You can run the batch jobs also in background.

  • Difference between Batch jobs and background jobs...

    hi APO Gurus ....
    This may sound a very silly question. What is  the exact difference between a batch run and executing a background job ?

    If i understand correctly  your question is  executing a program (for example) in background and running in a batch jobs.  You can execute a program in background while you are online, go to menu program->execute in background and enter print parameter, schedule parameter. System creates and starts job dynamically. You can check in SM37.  Batchjob is you create job using   SM36 (with program and Variant) define run frequency. System automatically run job in specified frequency.  I my experience, technically both are same, system behaves exactly same. One dynamically creates job other one runs on predefined freq.
    Thanks,
    Niranjan

  • JOB_CLOSE and Background Job Process a FM

    HI Guys,
    I have my code like this:
    data: jobname like tbtcjob-jobname value
                                 'TESTJOB'.
    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.
    data: lv_weekday type WEEK_DAY.
    CALL FUNCTION 'DATE_TO_DAY'
      EXPORTING
        DATE          = sy-datum
    IMPORTING
       WEEKDAY       = lv_weekday.
    Close job
      starttime-sdlstrtdt = sy-datum.
      starttime-sdlstrttm = SY-UZEIT.
      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 = 'X'                  "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.
    This is the Program I want the Batch Job to Execute a BAPI Function Module in the Place of DATE_TO_DAY function module. Is it Possible ??????
    And also I get an error at the JOB_CLOSE Function Module with SY-SUBRC = 5.
    Can anyone know why this is happening and what should be done to overcome this.
    Thanks & Regards,
    YJR.

    Hi Ravi,
    The below code which has an EXPORT and IMPORT commands
    The IMPORT does'nt work in Background.
    Do I need to do anything else.
    REPORT  ZTEST_LM22.
    DATA: LV_NAME(10) TYPE C.
    LV_NAME = 'HELLO'.
    export lv_name to memory id 'ZNAM'.
    submit ztest_lm22_a.
    REPORT  ZTEST_LM22_A.
    DATA: GV_JOBNAME  TYPE BTCJOB VALUE 'TEST_UNPACK',
          GV_JOBCOUNT TYPE BTCJOBCNT.
    data: lv_date type SYDATUM,
          lv_time type SYUZEIT.
    lv_date = SY-datum.
    lv_time = sy-uzeit.
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        JOBNAME          = GV_JOBNAME
        SDLSTRTDT        = lv_date
        SDLSTRTTM        = lv_time
      IMPORTING
        JOBCOUNT         = GV_JOBCOUNT
      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 ztest_lm22_b AND RETURN
                                   VIA JOB GV_JOBNAME
                                   NUMBER GV_JOBCOUNT.
    CALL FUNCTION 'JOB_CLOSE'
      EXPORTING
        JOBCOUNT             = GV_JOBCOUNT
        JOBNAME              = GV_JOBNAME
        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
        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.
    REPORT  ZTEST_LM22_B.
    DATA: LV_NAME(10) TYPE C,
          GV_NAME(10) TYPE C.
    IMPORT LV_NAME = GV_NAME FROM MEMORY ID 'ZNAM'.
    WRITE: GV_NAME.
    If you see in SM37 the Spool does'nt have this value.
    Could you just run a quick test and see what else should be done...
    Thanks & Regards,
    YJR.

  • Background job for Standard (T-code F.80) and Background Job via Submit (for same standard program) provides separate spool layout

    Hello Experts,
    I am using SUBMIT Program to execute a standard T-code (F.80).
            SUBMIT sapf080 WITH SELECTION-TABLE rspar
                                         AND RETURN.
    When I execute the program in background and compare it with F.80 and execute it in background too, spool layout for both are different.
    For F.80, It is more detailed with every info like doc number, company code and fiscal year with messages, but for my program only messages are displayed in the spool which is getting unconvinient as I don't know for which document number that message was generated.
    Can you please suggest why am I getting 2 different spool layouts for the same program executed in 2 different ways.
    Thanks,
    Ankit Khanna

    Hello,
    Thanks for your replies.
    I have added a list option along with SUBMIT statement to get similar spool layouts.
    Below piece of code will solve the issue.
              DATA list_tab TYPE TABLE OF abaplist.
            SUBMIT sapf080 WITH SELECTION-TABLE rspar EXPORTING LIST TO MEMORY
                          AND RETURN.
            CALL FUNCTION 'LIST_FROM_MEMORY'
              TABLES
                listobject = list_tab
              EXCEPTIONS
                not_found  = 1
                OTHERS     = 2.
            IF sy-subrc = 0.
              CALL FUNCTION 'WRITE_LIST'
                TABLES
                  listobject = list_tab.
            ENDIF.

  • In BDC using background job scheduling

    Hello Experts,
    I have taken one input field if i enter some number in that field according to that it will run the bdc for that please help .
    If any thing possible please send the sample code.
    Regards

    Hello Experts,
    I have taken one input field if i enter some number in that field according to that it will run the bdc for that please help .
    If any thing possible please send the sample code.
    Regards

  • Will BDC work in Background job

    I have written the BDC program and i want to  scheduled the program in Background job in the late night and see the result of processed records as a ALV report.Is it possible to run BDC as Background job..........

    TYPE-POOLS: SLIS.
    DATA : PRDAT(8).
    DATA : WF_ORG(30).
    DATA   PERNR    TYPE STANDARD TABLE OF KOMV_INDEX
                         WITH HEADER LINE INITIAL SIZE 50.
    DATA  MOD VALUE 'N'.                                         "E
    DATA: MASK(64) VALUE
    ',Tab Delimited Text Files(.txt),.txt,All Files(.),..'.
    DATA:  WF_DATE1(10) TYPE C,
           WF_TIME(10) TYPE C.
    DATA: AUART LIKE VBAK-AUART .  "VALUE 'ZQT'.
    DATA: WF_SNO TYPE I .
    DATA XTP LIKE TEXTPOOL OCCURS 0 WITH HEADER LINE.
    Internal table for reading file
    DATA: BEGIN OF XFILE OCCURS 0,
           RESWK LIKE EKKO-RESWK,
           EKORG LIKE EKKO-EKORG,
           EKGRP LIKE EKKO-EKGRP,
           BUKRS LIKE EKKO-BUKRS,
           MATNR  LIKE EKPO-MATNR,
           MENGE LIKE EKPO-MENGE,
           MEINS LIKE EKPO-MEINS,
           RECPLT LIKE EKPO-WERKS,
           BWTAR LIKE EKPO-BWTAR,
           END OF XFILE.
    Invalid customers listing file
    *data: xout_err like xout occurs 0 with header line.
    DATA: BEGIN OF XOUT_ERR OCCURS 0,
            KUNNR LIKE KNA1-KUNNR,
            WERKS LIKE VBAP-WERKS,         "Plant
          END OF XOUT_ERR.
    Internal Table for Error in file
    DATA: BEGIN OF XERR OCCURS 0,
          INDEX LIKE SY-TABIX,
          MSG(132),
          END OF XERR.
    DATA: BEGIN OF BDCDATA OCCURS 0.
            INCLUDE STRUCTURE BDCDATA.
    DATA: END OF BDCDATA.
    DATA BEGIN OF MSGCOLL OCCURS 10.
            INCLUDE STRUCTURE BDCMSGCOLL.
    DATA END OF MSGCOLL.
    Internal table for writing final report
    DATA: BEGIN OF XOUT OCCURS 0,
              SERIAL_NO        TYPE I,
              RECPLT LIKE EKPO-WERKS,
              MATNR  LIKE EKPO-MATNR,
              KBETR LIKE  KOMV-KBETR,
              KPEIN  LIKE KOMV-KPEIN,
              KMEIN LIKE KOMV-KMEIN,
              MAKTX LIKE MAKT-MAKTX,
              REMARKS(30),
              DATE(10) TYPE C,
            END OF XOUT.
    *****Structures For ALV**********************************************
    DATA : L_VARIANT LIKE DISVARIANT,
           WF_VARIANT LIKE DISVARIANT.
    DATA:  WF_REPORT LIKE SY-REPID.
    DATA: WF_EVENTS TYPE SLIS_T_EVENT .
    DATA: GT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.
    DATA: GT_FIELDCATALL TYPE SLIS_T_FIELDCAT_ALV.
    DATA: LAYOUT TYPE SLIS_LAYOUT_ALV.
    DATA: G_REPID LIKE SY-REPID.
    DATA: IT_SORT  TYPE SLIS_T_SORTINFO_ALV .
    DATA: GS_LAYOUTALL TYPE SLIS_LAYOUT_ALV.
    DATA: GT_EVENTS   TYPE SLIS_T_EVENT.
    DATA: GT_EVENTSALL   TYPE SLIS_T_EVENT.
    DATA: GS_KEYINFO  TYPE SLIS_KEYINFO_ALV.
    DATA: G_TABNAME_HEADER TYPE SLIS_TABNAME.
    DATA: G_TABNAME_ITEM   TYPE SLIS_TABNAME.
    DATA  ST_SORT  TYPE SLIS_SORTINFO_ALV  .
    DATA: S_LIST_TOPOFPAGE TYPE SLIS_LISTHEADER.
    DATA: IST_LIST_TOPOFPAGE TYPE SLIS_T_LISTHEADER .
    DATA: WF_EVENT TYPE SLIS_ALV_EVENT.
    CONSTANTS: FORMNAME_TOP_OF_PAGE TYPE SLIS_FORMNAME VALUE 'TOP_OF_PAGE'.
    *****Selection Screen************************************************
    ***Selection Screen
    SELECTION-SCREEN SKIP 3.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS: FILENAME LIKE RLGRAP-FILENAME OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK B1.
    *******Initialization Events******************************************
    INITIALIZATION.
    Read the column heading from textpool
      REFRESH XTP.
      READ TEXTPOOL SY-REPID INTO XTP LANGUAGE SY-LANGU.
    *******AT SELECTION SCREEN Events*************************************
    AT SELECTION-SCREEN .
      WF_REPORT = SY-REPID.
      L_VARIANT = WF_REPORT.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR FILENAME.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          PROGRAM_NAME  = SYST-CPROG
          DYNPRO_NUMBER = SYST-DYNNR
          FIELD_NAME    = ' '
        IMPORTING
          FILE_NAME     = FILENAME.
    *******Start Of Selection Events**************************************
    START-OF-SELECTION.
      WF_SNO = 1.
      WF_REPORT = SY-REPID.
      WRITE SY-DATUM TO WF_DATE1.
      WRITE SY-UZEIT TO WF_TIME.
    Upload the file into XFILE
      CALL FUNCTION 'WS_UPLOAD'
        EXPORTING
          FILENAME                = FILENAME
          FILETYPE                = 'DAT'
        TABLES
          DATA_TAB                = XFILE
        EXCEPTIONS
          CONVERSION_ERROR        = 1
          FILE_OPEN_ERROR         = 2
          FILE_READ_ERROR         = 3
          INVALID_TABLE_WIDTH     = 4
          INVALID_TYPE            = 5
          NO_BATCH                = 6
          UNKNOWN_ERROR           = 7
          GUI_REFUSE_FILETRANSFER = 8
          OTHERS                  = 9.
      LOOP AT XFILE.
        REFRESH PERNR.
        CLEAR PERNR.
        PERFORM CALL_ME21N.
       IMPORT PERNR FROM MEMORY ID 'PERNR'.
        FREE MEMORY ID 'PERNR'.
        READ TABLE PERNR WITH KEY KSCHL = 'ZASV'.
        IF SY-SUBRC = 0.
          XOUT-KBETR      =  PERNR-KBETR.
          XOUT-KPEIN   =  PERNR-KPEIN.
          XOUT-KMEIN  = PERNR-KMEIN.
          XOUT-RECPLT = XFILE-RECPLT.
          XOUT-MATNR =  XFILE-MATNR.
          XOUT-SERIAL_NO = WF_SNO.
         XOUT-DATE = WF_DATE1.
         CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
           EXPORTING
             INPUT         = XOUT-MATNR
          IMPORTING
            OUTPUT        = XOUT-MATNR
    SELECT SINGLE MAKTX INTO XOUT-MAKTX FROM MAKT
                              WHERE MATNR = XOUT-MATNR.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
    EXPORTING
    *INPUT         = XOUT-MATNR
                         IMPORTING
    OUTPUT        = XOUT-MATNR  .
          CLEAR PERNR.
          APPEND XOUT.
          ELSE.
          XOUT-KBETR      = ''.
          XOUT-KPEIN   =  ''.
          XOUT-KMEIN  = ''.
          XOUT-RECPLT = XFILE-RECPLT.
          XOUT-MATNR =  XFILE-MATNR.
          XOUT-SERIAL_NO = WF_SNO.
          XOUT-REMARKS = 'ERROR'.
          XOUT-DATE = WF_DATE1.
           APPEND XOUT.
        ENDIF.
        CLEAR XFILE.
        WF_SNO = WF_SNO + 1.
      ENDLOOP.
    DELETE XOUT WHERE MATNR = ''.
      PERFORM WRITE_OUTPUT.
    *&      Form  CALL_ME21N
    FORM CALL_ME21N.
      DATA : DATE(10).
      REFRESH BDCDATA.
      CLEAR BDCDATA.
      CLEAR DATE.
         CONCATENATE SY-DATUM6(2) SY-DATUM4(2)
                                   SY-DATUM+0(4) INTO  PRDAT.
    PERFORM BDC_DYNPRO      USING 'SAPLMEGUI' '0014'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                  '=MEDOCTYPE'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                  'MEPO_TOPLINE-BSART'.
    PERFORM BDC_FIELD       USING 'MEPO_TOPLINE-BSART'
                                  'UB'.
    PERFORM BDC_FIELD       USING 'MEPO_TOPLINE-BEDAT'
                                 '25.07.2007'.
    PRDAT.
    PERFORM BDC_FIELD       USING 'DYN_6000-LIST'
                                  '                                      1'.
    PERFORM BDC_DYNPRO      USING 'SAPLMEGUI' '0014'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                  '/00'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                  'MEPO_TOPLINE-SUPERFIELD'.
    PERFORM BDC_FIELD       USING 'MEPO_TOPLINE-BSART'
                                  'UB'.
    PERFORM BDC_FIELD       USING 'MEPO_TOPLINE-SUPERFIELD'
                                   XFILE-RESWK.
    PERFORM BDC_FIELD       USING 'MEPO_TOPLINE-BEDAT'
    PRDAT.
    PERFORM BDC_FIELD       USING 'MEPO1222-EKORG'
                                 '1000'.
    XFILE-EKORG.
    PERFORM BDC_FIELD       USING 'MEPO1222-EKGRP'
                                  'STO'.
    PERFORM BDC_FIELD       USING 'MEPO1222-BUKRS'
                                 '1000'.
    XFILE-BUKRS.
    PERFORM BDC_FIELD       USING 'DYN_6000-LIST'
                                  '                                      1'
    PERFORM BDC_DYNPRO      USING 'SAPLMEGUI' '0014'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                  '=MEV4001BUTTON'.
    *perform bdc_field       using 'BDC_CURSOR'
                                 'MEPO_TOPLINE-SUPERFIELD'.
    *perform bdc_field       using 'MEPO_TOPLINE-BSART'
                                 'UB'.
    *perform bdc_field       using 'MEPO_TOPLINE-SUPERFIELD'
                                 '2100 EOL RMT'.
    *perform bdc_field       using 'MEPO_TOPLINE-BEDAT'
                                 '25.07.2007'.
    *perform bdc_field       using 'MEPO1222-EKORG'
                                 '1000'.
    *perform bdc_field       using 'MEPO1222-EKGRP'
                                 'STO'.
    *perform bdc_field       using 'MEPO1222-BUKRS'
                                 '1000'.
    *perform bdc_field       using 'DYN_6000-LIST'
                                 '                                      1'
    PERFORM BDC_DYNPRO      USING 'SAPLMEGUI' '0014'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                  '/00'.
    *perform bdc_field       using 'MEPO_TOPLINE-BSART'
                                 'UB'.
    *perform bdc_field       using 'MEPO_TOPLINE-SUPERFIELD'
                                 '2100 EOL RMT'.
    *perform bdc_field       using 'MEPO_TOPLINE-BEDAT'
                                 '25.07.2007'.
    *perform bdc_field       using 'MEPO1222-EKORG'
                                 '1000'.
    *perform bdc_field       using 'MEPO1222-EKGRP'
                                 'STO'.
    *perform bdc_field       using 'MEPO1222-BUKRS'
                                 '1000'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                  'MEPO1211-MEINS(01)'.
    PERFORM BDC_FIELD       USING 'MEPO1211-EMATN(01)'
                                 '3000'.
    XFILE-MATNR.
    WF_ORG = XFILE-MENGE.
    CONDENSE WF_ORG .
    PERFORM BDC_FIELD       USING 'MEPO1211-MENGE(01)'
    WF_ORG.
    PERFORM BDC_FIELD       USING 'MEPO1211-MEINS(01)'
                                 'l'.
    XFILE-MEINS.
    PERFORM BDC_FIELD       USING 'MEPO1211-NAME1(01)'
                                 '4102'.
    XFILE-RECPLT.
    *perform bdc_field       using 'DYN_6000-LIST'
                                 '                                      1'
    PERFORM BDC_DYNPRO      USING 'SAPLMEGUI' '0014'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                  '/00'.
    *perform bdc_field       using 'MEPO_TOPLINE-BSART'
                                 'UB'.
    *perform bdc_field       using 'MEPO_TOPLINE-SUPERFIELD'
                                 '2100 EOL RMT'.
    *perform bdc_field       using 'MEPO_TOPLINE-BEDAT'
                                 '25.07.2007'.
    *perform bdc_field       using 'MEPO1222-EKORG'
                                 '1000'.
    *perform bdc_field       using 'MEPO1222-EKGRP'
                                 'STO'.
    *perform bdc_field       using 'MEPO1222-BUKRS'
                                 '1000'.
    *perform bdc_field       using 'BDC_CURSOR'
                                 'MEPO1211-NAME1(01)'.
    *perform bdc_field       using 'MEPO1211-NAME1(01)'
                                 '4102'.
    *perform bdc_field       using 'DYN_6000-LIST'
                                 '                                      1'
    PERFORM BDC_DYNPRO      USING 'SAPLMEGUI' '0014'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                  '/00'.
    *perform bdc_field       using 'MEPO_TOPLINE-BSART'
                                 'UB'.
    *perform bdc_field       using 'MEPO_TOPLINE-SUPERFIELD'
                                 '2100 EOL RMT'.
    *perform bdc_field       using 'MEPO_TOPLINE-BEDAT'
                                 '25.07.2007'.
    *perform bdc_field       using 'MEPO1222-EKORG'
                                 '1000'.
    *perform bdc_field       using 'MEPO1222-EKGRP'
                                 'STO'.
    *perform bdc_field       using 'MEPO1222-BUKRS'
                                 '1000'.
    *perform bdc_field       using 'DYN_6000-LIST'
                                 '                                      1'
    *perform bdc_field       using 'BDC_CURSOR'
                                 'MEPO1313-BWTAR'.
    *perform bdc_field       using 'MEPO1313-UEBTO'
                                 '10.0'.
    *perform bdc_field       using 'MEPO1313-MAHN1'
                                 '10'.
    *perform bdc_field       using 'MEPO1313-MAHN2'
                                 '20'.
    *perform bdc_field       using 'MEPO1313-MAHN3'
                                 '30'.
    PERFORM BDC_FIELD       USING 'MEPO1313-BWTAR'
                                 'OWN_D'.
    XFILE-BWTAR.
    *perform bdc_field       using 'MEPO1313-IPRKZ'
                                 'D'.
    PERFORM BDC_DYNPRO      USING 'SAPLMEGUI' '0014'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                  '=TABIDT8'.
    *perform bdc_field       using 'MEPO_TOPLINE-BSART'
                                 'UB'.
    *perform bdc_field       using 'MEPO_TOPLINE-SUPERFIELD'
                                 '2100 EOL RMT'.
    *perform bdc_field       using 'MEPO_TOPLINE-BEDAT'
                                 '25.07.2007'.
    *perform bdc_field       using 'MEPO1222-EKORG'
                                 '1000'.
    *perform bdc_field       using 'MEPO1222-EKGRP'
                                 'STO'.
    *perform bdc_field       using 'MEPO1222-BUKRS'
                                 '1000'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                  'MEPO1211-EEIND(01)'.
    *perform bdc_field       using 'DYN_6000-LIST'
                                 '                                      1'.
    *perform bdc_field       using 'MEPO1313-UEBTO'
                                 '10.0'.
    *perform bdc_field       using 'MEPO1313-MAHN1'
                                 '10'.
    *perform bdc_field       using 'MEPO1313-MAHN2'
                                 '20'.
    *perform bdc_field       using 'MEPO1313-MAHN3'
                                 '30'.
    PERFORM BDC_FIELD       USING 'MEPO1313-BWTAR'
                                 'OWN_D'.
    XFILE-BWTAR.
    *perform bdc_field       using 'MEPO1313-IPRKZ'
                                 'D'.
    PERFORM BDC_DYNPRO      USING 'SAPLMEGUI' '0014'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                  '=V69A_KONY'.
    *perform bdc_field       using 'MEPO_TOPLINE-BSART'
                                 'UB'.
    *perform bdc_field       using 'MEPO_TOPLINE-SUPERFIELD'
                                 '2100 EOL RMT'.
    *perform bdc_field       using 'MEPO_TOPLINE-BEDAT'
                                 '25.07.2007'.
    *perform bdc_field       using 'DYN_6000-LIST'
                                 '                                      1'.
    *perform bdc_field       using 'BDC_CURSOR'
                                 'KOMV-KSCHL(01)'.
    PERFORM BDC_DYNPRO      USING 'SAPMSSY0' '0120'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                  '05/04'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                  '=PICK'.
    PERFORM BDC_DYNPRO      USING 'SAPLMEGUI' '0014'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                  '=MESAVE'.
    *perform bdc_field       using 'MEPO_TOPLINE-BSART'
                                 'UB'.
    *perform bdc_field       using 'MEPO_TOPLINE-SUPERFIELD'
                                 '2100 EOL RMT'.
    *perform bdc_field       using 'MEPO_TOPLINE-BEDAT'
                                 '25.07.2007'.
    PERFORM BDC_FIELD       USING 'DYN_6000-LIST'
                                  '                                      1'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                  'KOMV-KSCHL(01)'.
    PERFORM BDC_DYNPRO      USING 'SAPLSPO2' '0101'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                  '=CANC'.
    PERFORM BDC_DYNPRO      USING 'SAPLMEGUI' '0014'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                  '=MELEAV'.
    *perform bdc_field       using 'MEPO_TOPLINE-BSART'
                                 'UB'.
    *perform bdc_field       using 'MEPO_TOPLINE-SUPERFIELD'
                                 '2100 EOL RMT'.
    *perform bdc_field       using 'MEPO_TOPLINE-BEDAT'
                                 '25.07.2007'.
    PERFORM BDC_FIELD       USING 'DYN_6000-LIST'
                                  '                                      1'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                  'KOMV-KSCHL(01)'.
    PERFORM BDC_DYNPRO      USING 'SAPLSPO1' '0100'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                  '=NO'.
      CALL TRANSACTION 'ME21N' USING BDCDATA MODE MOD
                              MESSAGES INTO MSGCOLL.
    ENDFORM.                                                    " CALL_VA21
    FORM BDC_DYNPRO USING  PROGRAM DYNPRO.
      CLEAR BDCDATA.
      BDCDATA-PROGRAM = PROGRAM.
      BDCDATA-DYNPRO  = DYNPRO.
      BDCDATA-DYNBEGIN = 'X'.
      APPEND BDCDATA.
    ENDFORM.                               " BDC_DYNPRO
    FORM BDC_FIELD USING FNAM FVAL.
      CLEAR BDCDATA.
      BDCDATA-FNAM = FNAM.
      BDCDATA-FVAL = FVAL.
      APPEND BDCDATA.
    ENDFORM.                               " BDC_FIELD
    FORM FIELDCAT_INIT USING LT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.
      DATA: LS_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
      DATA POS TYPE I VALUE 0.
      POS = POS + 1.
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-COL_POS      = POS.
      LS_FIELDCAT-TABNAME      = 'XOUT'.
      LS_FIELDCAT-FIELDNAME    = 'SERIAL_NO'.
      LS_FIELDCAT-SELTEXT_M    = 'Sr No'.
      LS_FIELDCAT-EMPHASIZE    = 'C410'.
      LS_FIELDCAT-OUTPUTLEN    = '4'.
      APPEND LS_FIELDCAT TO LT_FIELDCAT.
      POS = POS + 1.
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-COL_POS      = POS.
      LS_FIELDCAT-TABNAME      = 'XOUT'.
      LS_FIELDCAT-FIELDNAME    = ' RECPLT'.
      LS_FIELDCAT-SELTEXT_M    = 'RECEVIENG PLANT'.
      LS_FIELDCAT-HOTSPOT      = 'X'.
      LS_FIELDCAT-EMPHASIZE    = 'C410'.
      LS_FIELDCAT-OUTPUTLEN    = '15'.
      APPEND LS_FIELDCAT TO LT_FIELDCAT.
      POS = POS + 1.
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-COL_POS      = POS.
      LS_FIELDCAT-TABNAME      = 'XOUT'.
      LS_FIELDCAT-FIELDNAME    = 'MATNR'.
      LS_FIELDCAT-SELTEXT_M    = 'Material Code'.
      LS_FIELDCAT-HOTSPOT      = 'X'.
      LS_FIELDCAT-EMPHASIZE    = 'C410'.
      LS_FIELDCAT-OUTPUTLEN    = '15'.
      APPEND LS_FIELDCAT TO LT_FIELDCAT.
      POS = POS + 1.
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-COL_POS      = POS.
      LS_FIELDCAT-TABNAME      = 'XOUT'.
      LS_FIELDCAT-FIELDNAME    = 'MAKTX'.
      LS_FIELDCAT-SELTEXT_M    = 'Mat Description'.
      LS_FIELDCAT-EMPHASIZE    = 'C410'.
      LS_FIELDCAT-OUTPUTLEN    = '15'.
      APPEND LS_FIELDCAT TO LT_FIELDCAT.
      POS = POS + 1.
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-COL_POS      = POS.
      LS_FIELDCAT-TABNAME      = 'XOUT'.
      LS_FIELDCAT-FIELDNAME    = 'KBETR'.
      LS_FIELDCAT-SELTEXT_M    = 'GAQ'.
      LS_FIELDCAT-EMPHASIZE    = 'C410'.
      LS_FIELDCAT-OUTPUTLEN    = '15'.
      APPEND LS_FIELDCAT TO LT_FIELDCAT.
      POS = POS + 1.
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-COL_POS      = POS.
      LS_FIELDCAT-TABNAME      = 'XOUT'.
      LS_FIELDCAT-FIELDNAME    = 'KPEIN'.
      LS_FIELDCAT-SELTEXT_M    = 'Per'.
      LS_FIELDCAT-EMPHASIZE    = 'C410'.
      LS_FIELDCAT-OUTPUTLEN    = '15'.
      APPEND LS_FIELDCAT TO LT_FIELDCAT.
      POS = POS + 1.
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-COL_POS      = POS.
      LS_FIELDCAT-TABNAME      = 'XOUT'.
      LS_FIELDCAT-FIELDNAME    = 'KMEIN'.
      LS_FIELDCAT-SELTEXT_M    = 'UNit'.
      LS_FIELDCAT-EMPHASIZE    = 'C410'.
      LS_FIELDCAT-OUTPUTLEN    = '15'.
      APPEND LS_FIELDCAT TO LT_FIELDCAT.
      POS = POS + 1.
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-COL_POS      = POS.
      LS_FIELDCAT-TABNAME      = 'XOUT'.
      LS_FIELDCAT-FIELDNAME    = 'DATE'.
      LS_FIELDCAT-SELTEXT_M    = 'DATE'.
      LS_FIELDCAT-EMPHASIZE    = 'C410'.
      LS_FIELDCAT-OUTPUTLEN    = '15'.
      APPEND LS_FIELDCAT TO LT_FIELDCAT.
      POS = POS + 1.
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-COL_POS      = POS.
      LS_FIELDCAT-TABNAME      = 'XOUT'.
      LS_FIELDCAT-FIELDNAME    = 'REMARKS'.
      LS_FIELDCAT-SELTEXT_M    = 'REMARKS'.
      LS_FIELDCAT-EMPHASIZE    = 'C410'.
      LS_FIELDCAT-OUTPUTLEN    = '15'.
      APPEND LS_FIELDCAT TO LT_FIELDCAT.
    ENDFORM.                    " fieldcat_init
    *&      Form  layout
    FORM LAYOUT .
      LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
      LAYOUT-ZEBRA = 'X'.
    ENDFORM.                    "layout
    **&      Form  write_alv_grid
    FORM WRITE_ALV_GRID.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          I_CALLBACK_PROGRAM = WF_REPORT
          I_BACKGROUND_ID    = 'ESSARLOGO'
          IS_LAYOUT          = LAYOUT
          IT_FIELDCAT        = GT_FIELDCAT[]
          IT_SORT            = IT_SORT
          I_SAVE             = 'A'
          IS_VARIANT         = WF_VARIANT
          IT_EVENTS          = WF_EVENTS
        TABLES
          T_OUTTAB           = XOUT
        EXCEPTIONS
          PROGRAM_ERROR      = 1
          OTHERS             = 2.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " write_alv_grid
    *&      Form  top-of-page
    FORM TOP_OF_PAGE.
    ***This function for heading
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          IT_LIST_COMMENTARY = IST_LIST_TOPOFPAGE.
       I_LOGO                   =
       I_END_OF_LIST_GRID       =
    ENDFORM.                    "heading
    **&      Form  write_output
    FORM WRITE_OUTPUT .
    ***To get the events
      PERFORM CREATE_EVENT USING WF_EVENTS.
    ***Heading for grid
      PERFORM WRITE_TOPOFPAGE USING IST_LIST_TOPOFPAGE .
      PERFORM FIELDCAT_INIT  USING GT_FIELDCAT[].
      PERFORM LAYOUT.
    ***Display the ALV
      PERFORM WRITE_ALV_GRID.
    ENDFORM.                    " write_output
    *&      Form  write_topofpage
    FORM WRITE_TOPOFPAGE USING L_IT_LIST_TOPOFPAGE
                         TYPE  SLIS_T_LISTHEADER.
      CLEAR S_LIST_TOPOFPAGE.
      S_LIST_TOPOFPAGE-TYP  = 'H'.
      S_LIST_TOPOFPAGE-INFO = TEXT-012  .
      APPEND S_LIST_TOPOFPAGE TO L_IT_LIST_TOPOFPAGE.
      CLEAR S_LIST_TOPOFPAGE.
      S_LIST_TOPOFPAGE-TYP  = 'S'.
      S_LIST_TOPOFPAGE-KEY = TEXT-013 .
      S_LIST_TOPOFPAGE-INFO = SY-UNAME.
      APPEND S_LIST_TOPOFPAGE TO L_IT_LIST_TOPOFPAGE.
      S_LIST_TOPOFPAGE-KEY = TEXT-014 .
      S_LIST_TOPOFPAGE-INFO = WF_DATE1  .
      APPEND S_LIST_TOPOFPAGE TO L_IT_LIST_TOPOFPAGE.
      S_LIST_TOPOFPAGE-KEY = TEXT-015 .
      S_LIST_TOPOFPAGE-INFO = WF_TIME  .
      APPEND S_LIST_TOPOFPAGE TO L_IT_LIST_TOPOFPAGE.
    ENDFORM.                    " write_topofpage
    *&      Form  CREATE_EVENT
    FORM CREATE_EVENT USING L_EVENTS TYPE SLIS_T_EVENT.
    *This  Function is to get the events
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          I_LIST_TYPE     = 0
        IMPORTING
          ET_EVENTS       = WF_EVENTS
        EXCEPTIONS
          LIST_TYPE_WRONG = 1
          OTHERS          = 2.
      READ TABLE WF_EVENTS  INTO WF_EVENT WITH KEY NAME =
    SLIS_EV_TOP_OF_PAGE.
      IF SY-SUBRC = 0.
        MOVE FORMNAME_TOP_OF_PAGE TO WF_EVENT-FORM.
        APPEND WF_EVENT TO WF_EVENTS.
      ENDIF.
    ENDFORM.                    " eventsENDFORM.                    " events                           .
    iam manually scheduled program in the Background
    through menu  -
    > program -
    > F9.

  • Background job not automatically poopulating Dependant Demand

    Hi Users,
    We've recently set up a POS & PA using the DP-BOM selection and characteristics, manually created PPM's and generated CVC's using the BOMS. All of this is set up fine in our SCM 7.0.
    The background job has created the forecasts for the ouptput products but NOT the input product.
    Now if I call up the parent material, and then choose to show the input products the dependant demand is generated. If I now return to the material with the dependant demand, it now shows the demand from the parent.
    Or, if the forecast is genereated interactively, then the dependant demand is poopulated.
    Is there an automated method to populate the dependant demand when using background jobs? I would like to think that we don't have to query every sales BOM parent in DP and drill into the input products to load the dependant demand?
    Please let me know if there is an easier way to do this as part of the background processing.
    Thanks
    Edited by: Paul_111 on Mar 31, 2011 4:20 PM

    Hi Andand,
    Thanks for your reply and sorry if my post is confusing.
    As far as the PPM with imputs A & B, output C - I have this relationship working and calcuclating demand in DP no problems.
    If I now add a new PPM combination inpput X, Y and output Z. Create the BOM CVC and TSO so its all set to go. Add to selection profiles and background jobs.
    Now, if I run the background job to create the forecast and this runs successfully. Now I check my products.
    Z has the forecast generated, X & Z have no dependant demand showing.
    The only way I've found that pushes the demand to X & Z is:
    - open product Z in demand planning and then choose the option to show input products from the header
    OR - from demand planning, select the univariate forecast to run interactively.
    My issue:
    The background job (if run alone) does not push the forecast on Z to X & Y.
    And if I show the input products or create forecast (as bove) the dependat demand is shown on X & Y.
    This is going to be a slow process if we have to do this everytime we run the backgound job.
    What am I missing when running the background job?

  • SAP_COLLECTOR_FOR_PERFMONITOR background job cancelled in SM37

    Dear all ,
    One of the scheduled background job has been  cancelled .
    Kindly check the below loga and Background job details .
    Job name        SAP_COLLECTOR_FOR_PERFMONITOR
    Job class       C
    Status          Canceled
    (ABAP Program
    Name           RSCOLL00
    Variant
    Language       EN)
    Job Log :
    30.05.2010 06:20:32 Job started
    30.05.2010 06:20:32 Step 001 started (program RSCOLL00, variant , user ID DDIC)
    30.05.2010 06:20:37 Clean_Plan:Cleanup of DB13 Plannings
    30.05.2010 06:20:37 Clean_Plan:started by RSDBPREV                       on server PRDCIXI
    30.05.2010 06:20:38 Clean_Plan:Cleaning up jobs of system IRP
    30.05.2010 06:20:39 Clean_Plan:finished
    30.05.2010 06:20:43 ABAP/4 processor: DBIF_RTAB_SQL_ERROR
    30.05.2010 06:20:43 Job cancelled
    Kindly suggest

    Dear all ,
    Kindly check the ST22 error logs .
    Short text SQL error occurred in the database when accessing a table. What happened? The database system detected a deadlock and avoided it by rolling back your transaction. What can you do? If possible (and necessary), repeat the last database transaction in the hope that locking the object will not result in another deadlock. Note which actions and input led to the error. For further help in handling the problem, contact your SAP administrator . You can use the ABAP dump analysis transaction ST22 to view and manage termination messages, in particular for long term reference. Error analysis The database system recognized that your last operation on the database would have led to a deadlock. Therefore, your transaction was rolled back to avoid this. ORACLE always terminates any transaction that would result in deadlock. The other transactions involved in this potential deadlock are not affected by the termination. Last error logged in SAP kernel Component............ "SAP-Gateway" Place................ "SAP-Gateway on host PRDCIXI / sapgw01" Version.............. 2 Error code........... 679 Error text........... "program prodoradb.sapccmsr.99 not registered" Description.......... "TP prodoradb.sapccmsr.99 not registered" How to correct the error Database error text........: "ORA-00060: deadlock detected while waiting for resource" Internal call code.........: "[RTAB/UPD /MONI ]" Please check the entries in the system log (Transaction SM21). If the error occures in a non-modified SAP program, you may be able to find an interim solution in an SAP Note. If you have access to SAP Notes, carry out a search with the following keywords: "DBIF_RTAB_SQL_ERROR" " " "RSHOST3M" or "RSHOST3M" "PUT_LOGBOOK" If you cannot solve the problem yourself and want to send an error notification to SAP, include the following information: 1. The description of the current problem (short dump) To save the description, choose "System->List->Save->Local File (Unconverted)". 2. Corresponding system log Display the system log by calling transaction SM21. Restrict the time interval to 10 minutes before and five minutes after the short dump. Then choose "System->List->Save->Local File (Unconverted)". 3. If the problem occurs in a problem of your own or a modified SAP System call.......... " " Module............... "gwr3cpic.c" Line................. 1835 The error reported by the operating system is: Error number..... " " Error text....... " "
    for detail log.
    System environment
    SAP-Release 700
    Application server... "PRDCIXI"
    Network address...... "10.54.145.32"
    Operating system..... "AIX"
    Release.............. "5.3"
    Hardware type........ "000184CAD400"
    Character length.... 16 Bits
    Pointer length....... 64 Bits
    Work process number.. 8
    Shortdump setting.... "full"
    Database server... "PRODORADB"
    Database type..... "ORACLE"
    Database name..... "IRP"
    Database user ID.. "SAPSR3"
    Terminal................. " "
    Char.set.... "C"
    SAP kernel....... 700
    created (date)... "Mar 7 2010 21:00:49"
    create on........ "AIX 2 5 005DD9CD4C00"
    Database version. "OCI_102 (10.2.0.2.0) "
    Patch level. 246
    Patch text.. " "
    Database............. "ORACLE 10.1.0.., ORACLE 10.2.0.., ORACLE 11.2...*"
    SAP database version. 700
    Operating system..... "AIX 1 5, AIX 2 5, AIX 3 5, AIX 1 6"
    Memory consumption
    Roll.... 1217248
    EM...... 0
    Heap.... 0
    Page.... 32768
    MM Used. 1050520
    MM Free. 146024
    and Transaction
    Client.............. 000
    User................ "DDIC"
    Language key........ "E"
    Transaction......... " "
    Transactions ID..... "4BFF227871E00187E10080000A369120"
    In the source code you have the termination point in line 521
    of the (Include) program "RSHOST3M".
    The program "RSHOST3M" was started as a background job.
    Job Name....... "SAP_COLLECTOR_FOR_PERFMONITOR"
    Job Initiator.. "DDIC"
    Job Number..... 02033500
    In the source code you have the termination point in line 521
    of the (Include) program "RSHOST3M".
    The program "RSHOST3M" was started as a background job.
    Job Name....... "SAP_COLLECTOR_FOR_PERFMONITOR"
    Job Initiator.. "DDIC"
    Job Number..... 02033500
    Program............. "RSHOST3M"
    Screen.............. "SAPMSSY0 1000"
    Screen line......... 6
    rmation on where terminated
    Termination occurred in the ABAP program "RSHOST3M" - in "PUT_LOGBOOK".
    The main program was "RSHOST3M ".

  • File path problem in background job spool

    Hello ,
    i have probelm in file path of the background job in spool.
    i have selection screen
    Radiobutton : p_local
    parameter: path1.
    Radibutton: p_applicatioserver
    parameter: path2.
    if i keep program in background job, it will alwas take second option.
    Now user selected first option and executed job in abckground. File stored in the spplication server with corect file  path name. (path2)
    But when i go to sm37 entered job name and checked the spool, it gives me the file path name path1. but i need the file path1 in the background spool. my question whether i need to change the file path name in program or whether i have to change the setting
    Regards,
    zub

    First of all, local is not an option in background job; you can only save to the apps server, and your program should take that into consideration by checking for sy-batch = 'X', for example.  You should be checking in your at selection-screen to be sure the user has not chosen local path and file and background job.

Maybe you are looking for

  • Looking for a new laptop, please help

    I am looking into purchasing a new laptop in the next couple weeks in the $700 price range and am wondering what the best options are. I have basically narrowed it down to the Toshiba P745-S4217 and Asus U46E-BAL5. But I also like the sony VPCEG16FM/

  • Set Date and Time Automatically...doesn't

    We've noticed that the setting to automatically synchronize date and time to Apple's time server doesn't work if the system preference is 'locked' In other words, if the user that's logged in currently, isn't an admin user, then the machine doesn't s

  • Matrix Editor & Multiple Regions: Moving Note Start Earlier Doesn't Work

    Hi, When viewing multiple regions in the Matrix editor, I can't move the start time of a note to the left (leaving the end position the same). This move works just fine when viewing a single region in Matrix. Funny thing is that although the note won

  • Connect mac 10.8.4 to server 2012 print

    Hi I work as a printersupporter. We have a customer who has an office hotel (e.g tenants rent a table or room for a specific time). This enviroment consist of 150 individual users. Theese users has a variation of Windows and Mac. We've setup a printe

  • Can't find still images???

    I dragged and dropped some still images into iMovie '09 for a project to use with some video clips.   When I right-click on these images in the Project window to "reveal in finder", nothing happens?  This works for all the video clips in my project,