Error while running BDC in Background

Hi,
I am using BDC for a custom transaction YMMFGC. The operation that I am acheiving using this transaction is updating Materials from SalesOrg/Dist Chnl to another SalesOrg/Dist Chnl. When I am trying to run the Program in Foreground in No Screens Mode or Visible screen navigations, the data is getting updated in the MVKE table. Extension is verified for in this table. But when I try to run the program in the background, the job is getting finished successfully, but the data is not getting updated in the table. Please suggest how to proceed with this.
Thanks!!!
ChK

Write your BDC_OPEN_GROUP in the following manner..
p_group  - Name of BDC session
             p_keep   - set to 'X' to keep session after process
             p_user   - User ID for authorizations
             p_subrc  - returned status.
  CALL FUNCTION 'BDC_OPEN_GROUP'
       EXPORTING
            client            = sy-mandt
            group             = p_group
            keep              = p_keep
            user              = p_user
       IMPORTING
            qid               = p_qid
       EXCEPTIONS
            client_invalid    = 1
            group_invalid     = 3
            group_is_locked   = 4
            running           = 8
            system_lock_error = 9
            user_invalid      = 10
            OTHERS            = 11.
also..what does update mode 'P' means..it should be either 'S' or 'A' or 'L'..
Check below...
ctumode LIKE ctu_params-dismode
  "          A: show all dynpros
  "          E: show dynpro on error only
  "          N: do not display dynpro
cupdate LIKE ctu_params-updmode
  "          S: synchronously
  "          A: asynchronously
  "          L: local
  TRANSLATE: p_tcode  TO UPPER CASE,
             ctumode   TO UPPER CASE,
             cupdate TO UPPER CASE.
  CALL TRANSACTION p_tcode USING         p_tb_bdc
                           MODE          ctumode
                           UPDATE        cupdate
                           MESSAGES INTO p_tb_bdcmsg.

Similar Messages

  • Run time error while running BDC for production order creation and confirmation:

    Dear Gurus,
    We have a situation, where the users are trying to do the entries creation of order or confirmation (through manual and BDC). But, if there is any kind of a deficit quantities in consumption or GR quantity, then it is going to run time error and Dumps are coming in program SAPLCORB
    and the transaction code is coming for CO11N.
    How to avoid this error to run the production system in smoothing way...Any flash lights on this will be great full
    Regards,
    Madhu.G

    Hi Madhu,
    Expert Caetano has rightly point out. Refer Note 1840705 - RAISE_EXCEPTION short dump if running CO11N in background
    Cause
    The short dump is triggered because SAP transaction CO11N contains new GUI elements that cannot always be dealt with in a background process,
    such as the confirmation texts.
    Resolution
    SAP recommends that the standard production order BAPIs, such as BAPI_PRODORDCONF_CREATE_TT, should be used to post a confirmation in background.
    If this is not feasible, the following workaround may be uses:
    Define a confirmation profile in transaction OPK0; 
    In the detail areas, remove the area "Confirmation text"; 
    Set this profile as standard, so that it is chosen automatically by the system when a batch-job
    is started; 
    Assign this confirmation profile to the batch user with transaction SU3 using parameter CORUPROF.
    Also see Note 429432 - CO11N: Batch input in background dumps if long text is maintained
    Refer to note 1154692 - Endless loop during confirmation in background if you doing Auto GR during confirmations
    Thanks & Regards,
    Ramagiri

  • Fatal error while executing BDC in background for PFCG transaction

    Hello,
    I have requirement where I have to create or modify roles in PFCG transaction.
    I used BDC to do this. While executing in foreground it works fine but in
    background mode it is giving me runtime error as
    "Control Framework: Fatal error - GUI cannot be reached". What
    could be the reason behind it.
    Is there any BAPI available to meet this functionality where I can modify or
    create new roles in PFCG Transaction code.
    Thank You.
    Regards,
    Dipak

    Hi Dengyong,
    I tried searching with that. But did not get any suitable BAPI or FM to meet this functionality.
    Regards,
    Dipak

  • Error while executing BDC in background.

    Hi
    I have written a program that creates a background job to execute a BDC on Transaction CKMPRPN. This transaction is used to update future price of Materials. When this program is executed in foreground it works perfect. But when it is executed in background it throws these error messages. Same error messages are displayed when I process the BDC recording in background.
    Enter at least one plant                                              
    Enter at least one plant                                              
    Spool request (number 0000023938 ) created without immediate output   
    No batch input data for screen SAPMSSY0 0120                          
    Can anyone tell me why this problem is occuring only during background execution?
    Or Do I need to find out a Function Module to update the future price of materials?

    Thanks Kris,
    Its a useful answer.. But unfortunately in 4.6C version we dont have this option of 'simulate background mode'.
    Anyways.. I was able to find the solution.. I used call transaction and executed the BDC program in background and it worked. Earlier I was executing a single transaction for set of materials. But now I m executing separate transaction for each material. It gives these messages at every execution but it also updates the database. Dont know how..

  • Error while Running BDC

    i have made BDC for Creating Customer XD01 but when i run it in foreground it runs well, but when i run it in backgroung it gives the following error i don't know why
    <b>No batch input data for screen SAPMF02D 1361</b>
    cany any one tell me why it is happening, its urgent pl. reply asap
    abhishek suppal

    i hv commented few lines in ur code(u hv did bdc for 4 contact person & i hv commented 2,3,4 ).
    Can u try this & let us know that u r getting same error
    report ZBDC
           no standard page heading line-size 255.
    include bdcrecx1.
    start-of-selection.
    perform open_group.
    perform bdc_dynpro      using 'SAPMF02D' '0100'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'USE_ZAV'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'RF02D-BUKRS'
                                  '2000'.
    perform bdc_field       using 'RF02D-VKORG'
                                  '2000'.
    perform bdc_field       using 'RF02D-VTWEG'
                                  '10'.
    perform bdc_field       using 'RF02D-SPART'
                                  '20'.
    perform bdc_field       using 'RF02D-KTOKD'
                                  '0001'.
    perform bdc_field       using 'USE_ZAV'
                                  'X'.
    perform bdc_dynpro      using 'SAPMF02D' '0111'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=VW'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'SZA1_D0100-SMTP_ADDR'.
    perform bdc_field       using 'SZA1_D0100-TITLE_MEDI'
                                  'Messers'.
    perform bdc_field       using 'ADDR1_DATA-NAME1'
                                  'SAI LAKSHMI IND. PVT. LTD.'.
    perform bdc_field       using 'ADDR1_DATA-NAME2'
                                  'NATIONAL PAPER INDUSTRIES'.
    perform bdc_field       using 'ADDR1_DATA-SORT1'
                                  'SAI LAKSHMI IND. PVT'.
    perform bdc_field       using 'ADDR1_DATA-STREET'
                                  'URBAN ESTATE'.
    perform bdc_field       using 'ADDR1_DATA-POST_CODE1'
                                  '110076'.
    perform bdc_field       using 'ADDR1_DATA-CITY1'
                                  'LUDHIANA'.
    perform bdc_field       using 'ADDR1_DATA-COUNTRY'
                                  'IN'.
    perform bdc_field       using 'ADDR1_DATA-REGION'
                                  '19'.
    perform bdc_field       using 'ADDR1_DATA-LANGU'
                                  'EN'.
    perform bdc_field       using 'SZA1_D0100-TEL_NUMBER'
                                  '3333333'.
    perform bdc_field       using 'SZA1_D0100-MOB_NUMBER'
                                  '4444444'.
    perform bdc_field       using 'SZA1_D0100-FAX_NUMBER'
                                  '5555555'.
    perform bdc_field       using 'SZA1_D0100-SMTP_ADDR'
                                  '[email protected]'.
    perform bdc_dynpro      using 'SAPMF02D' '0120'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'KNA1-STCEG'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=OPFI'.
    perform bdc_field       using 'KNA1-LIFNR'
                                  'SG00112'.
    perform bdc_field       using 'KNA1-STCEG'
                                  'vat .5435435'.
    perform bdc_dynpro      using 'SAPLJ1I_MASTER' '0200'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=CIN_CUSTOMER_FC2'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'J_1IMOCUST-J_1IEXCO'.
    perform bdc_field       using 'J_1IMOCUST-J_1IEXCD'
                                  'ecc'.
    perform bdc_field       using 'J_1IMOCUST-J_1IEXRN'
                                  'ecc reg no.'.
    perform bdc_field       using 'J_1IMOCUST-J_1IEXRG'
                                  'ecc range'.
    perform bdc_field       using 'J_1IMOCUST-J_1IEXDI'
                                  'ecc division'.
    perform bdc_field       using 'J_1IMOCUST-J_1IEXCO'
                                  'commisionerate'.
    perform bdc_field       using 'J_1IMOCUST-J_1IEXCICU'
                                  '1'.
    perform bdc_dynpro      using 'SAPLJ1I_MASTER' '0200'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=CIN_CUSTOMER_FC3'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'J_1IMOCUST-J_1ILSTNO'.
    perform bdc_field       using 'J_1IMOCUST-J_1ICSTNO'
                                  'cst no.'.
    perform bdc_field       using 'J_1IMOCUST-J_1ILSTNO'
                                  'lst no.'.
    perform bdc_dynpro      using 'SAPLJ1I_MASTER' '0200'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=BACK'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'J_1IMOCUST-J_1IPANNO'.
    perform bdc_field       using 'J_1IMOCUST-J_1IPANNO'
                                  'pan no.'.
    perform bdc_dynpro      using 'SAPMF02D' '0120'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'KNA1-LIFNR'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=VW'.
    perform bdc_field       using 'KNA1-LIFNR'
                                  'SG00112'.
    perform bdc_field       using 'KNA1-STCEG'
                                  'VAT .5435435'.
    perform bdc_dynpro      using 'SAPMF02D' '0125'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'KNA1-JMJAH'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=VW'.
    perform bdc_field       using 'KNA1-KUKLA'
                                  '01'.
    perform bdc_field       using 'KNA1-UMSA1'
                                  '43242'.
    perform bdc_field       using 'KNA1-UWAER'
                                  'inr'.
    perform bdc_field       using 'KNA1-UMJAH'
                                  '2004'.
    perform bdc_field       using 'KNA1-JMZAH'
                                  '  1000'.
    perform bdc_field       using 'KNA1-JMJAH'
                                  '2004'.
    perform bdc_dynpro      using 'SAPMF02D' '0130'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'KNBK-BKREF(04)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=VW'.
    perform bdc_field       using 'KNBK-BANKS(01)'
                                  'in'.
    perform bdc_field       using 'KNBK-BANKS(02)'
                                  'in'.
    perform bdc_field       using 'KNBK-BANKS(03)'
                                  'in'.
    perform bdc_field       using 'KNBK-BANKS(04)'
                                  'in'.
    perform bdc_field       using 'KNBK-BANKL(01)'
                                  'vendor'.
    perform bdc_field       using 'KNBK-BANKL(02)'
                                  'vendor'.
    perform bdc_field       using 'KNBK-BANKL(03)'
                                  'vendor'.
    perform bdc_field       using 'KNBK-BANKL(04)'
                                  'vendor'.
    perform bdc_field       using 'KNBK-BANKN(01)'
                                  'ac.no1  556688'.
    perform bdc_field       using 'KNBK-BANKN(02)'
                                  'ac.no2  556688'.
    perform bdc_field       using 'KNBK-BANKN(03)'
                                  'ac.no3 666'.
    perform bdc_field       using 'KNBK-BANKN(04)'
                                  'ac.no4  556688'.
    perform bdc_field       using 'KNBK-KOINH(01)'
                                  'acc holder 1'.
    perform bdc_field       using 'KNBK-KOINH(02)'
                                  'ACC HOLDER 2'.
    perform bdc_field       using 'KNBK-KOINH(03)'
                                  'ACC HOLDER 3'.
    perform bdc_field       using 'KNBK-KOINH(04)'
                                  'ACC HOLDER 4'.
    perform bdc_field       using 'KNBK-BKREF(01)'
                                  'icici'.
    perform bdc_field       using 'KNBK-BKREF(02)'
                                  'SC'.
    perform bdc_field       using 'KNBK-BKREF(03)'
                                  'HSBC'.
    perform bdc_field       using 'KNBK-BKREF(04)'
                                  'hdfc'.
    perform bdc_dynpro      using 'SAPMF02D' '0340'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'KNVA-KNFAK(04)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=VW'.
    perform bdc_field       using 'KNVA-ABLAD(01)'
                                  'MUMBAI'.
    perform bdc_field       using 'KNVA-ABLAD(02)'
                                  'pune'.
    perform bdc_field       using 'KNVA-ABLAD(03)'
                                  'CHITTAGONG'.
    perform bdc_field       using 'KNVA-ABLAD(04)'
                                  'MELBOURNE'.
    perform bdc_field       using 'KNVA-DEFAB(01)'
                                  'X'.
    perform bdc_field       using 'KNVA-KNFAK(01)'
                                  'IN'.
    perform bdc_field       using 'KNVA-KNFAK(02)'
                                  'IN'.
    perform bdc_field       using 'KNVA-KNFAK(03)'
                                  'IN'.
    perform bdc_field       using 'KNVA-KNFAK(04)'
                                  'IN'.
    perform bdc_dynpro      using 'SAPMF02D' '0370'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RF02D-KUNNR'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=VW'.
    perform bdc_field       using 'KNA1-CIVVE'
                                  'X'.
    perform bdc_dynpro      using 'SAPMF02D' '0360'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'KNVK-NAMEV(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=LSDP'.
    perform bdc_field       using 'KNVK-NAMEV(01)'
                                  'Contat first name 1'.
    *perform bdc_field       using 'KNVK-NAMEV(02)'
                                 'Contat first name 2'.
    *perform bdc_field       using 'KNVK-NAMEV(03)'
                                 'Contat first name 3'.
    *perform bdc_field       using 'KNVK-NAMEV(04)'
                                 'Contat first name 4'.
    perform bdc_field       using 'KNVK-NAME1(01)'
                                  'Contact Name 1'.
    *perform bdc_field       using 'KNVK-NAME1(02)'
                                 'Contact Name 2'.
    *perform bdc_field       using 'KNVK-NAME1(03)'
                                 'Contact Name 3'.
    *perform bdc_field       using 'KNVK-NAME1(04)'
                                 'Contact Name 4'.
    perform bdc_field       using 'KNVK-ABTNR(01)'
                                  '0001'.
    *perform bdc_field       using 'KNVK-ABTNR(02)'
                                 '0002'.
    *perform bdc_field       using 'KNVK-ABTNR(03)'
                                 '0003'.
    *perform bdc_field       using 'KNVK-ABTNR(04)'
                                 '0004'.
    perform bdc_field       using 'KNVK-PAFKT(01)'
                                  '01'.
    *perform bdc_field       using 'KNVK-PAFKT(02)'
                                 '02'.
    *perform bdc_field       using 'KNVK-PAFKT(03)'
                                 '03'.
    *perform bdc_field       using 'KNVK-PAFKT(04)'
                                 '04'.
    perform bdc_dynpro      using 'SAPMF02D' '1361'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'KNVK-ABTNR'
                                  '0001'.
    perform bdc_field       using 'KNVK-PAFKT'
                                  '01'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'SZA5_D0700-TEL_NUMBER'.
    perform bdc_field       using 'ADDR3_DATA-NAME_LAST'
                                  'Contact Name 1'.
    perform bdc_field       using 'ADDR3_DATA-NAME_FIRST'
                                  'Contat first name 1'.
    perform bdc_field       using 'SZA5_D0700-TEL_NUMBER'
                                  '5555555'.
    perform bdc_field       using 'SZA5_D0700-SMTP_ADDR'
                                  '[email protected]'.
    *perform bdc_dynpro      using 'SAPMF02D' '0360'.
    *perform bdc_field       using 'BDC_CURSOR'
                                 'KNVK-NAMEV(02)'.
    *perform bdc_field       using 'BDC_OKCODE'
                                 '=LSDP'.
    *perform bdc_dynpro      using 'SAPMF02D' '1361'.
    *perform bdc_field       using 'BDC_OKCODE'
                                 '/00'.
    *perform bdc_field       using 'KNVK-ABTNR'
                                 '0002'.
    *perform bdc_field       using 'KNVK-PAFKT'
                                 '02'..
    *perform bdc_field       using 'BDC_CURSOR'
                                 'SZA5_D0700-SMTP_ADDR'.
    *perform bdc_field       using 'ADDR3_DATA-NAME_LAST'
                                 'Contact Name 2'.
    *perform bdc_field       using 'ADDR3_DATA-NAME_FIRST'
                                 'Contat first name 2'.
    *perform bdc_field       using 'SZA5_D0700-TEL_NUMBER'
                                 '6666666'.
    *perform bdc_field       using 'SZA5_D0700-SMTP_ADDR'
                                 '[email protected]'.
    *perform bdc_dynpro      using 'SAPMF02D' '0360'.
    *perform bdc_field       using 'BDC_CURSOR'
                                 'KNVK-NAMEV(03)'.
    *perform bdc_field       using 'BDC_OKCODE'
                                 '=LSDP'.
    *perform bdc_dynpro      using 'SAPMF02D' '1361'.
    *perform bdc_field       using 'BDC_OKCODE'
                                 '/00'.
    *perform bdc_field       using 'KNVK-ABTNR'
                                 '0003'.
    *perform bdc_field       using 'KNVK-PAFKT'
                                 '03'.
    *perform bdc_field       using 'BDC_CURSOR'
                                 'SZA5_D0700-SMTP_ADDR'.
    *perform bdc_field       using 'ADDR3_DATA-NAME_LAST'
                                 'Contact Name 3'.
    *perform bdc_field       using 'ADDR3_DATA-NAME_FIRST'
                                 'Contat first name 3'.
    *perform bdc_field       using 'SZA5_D0700-TEL_NUMBER'
                                 '8888888'.
    *perform bdc_field       using 'SZA5_D0700-SMTP_ADDR'
                                 '[email protected]'.
    *perform bdc_dynpro      using 'SAPMF02D' '0360'.
    *perform bdc_field       using 'BDC_CURSOR'
                                 'KNVK-NAMEV(04)'.
    *perform bdc_field       using 'BDC_OKCODE'
                                 '=LSDP'.
    *perform bdc_dynpro      using 'SAPMF02D' '1361'.
    *perform bdc_field       using 'BDC_OKCODE'
                                 '/00'.
    *perform bdc_field       using 'KNVK-ABTNR'
                                 '0004'.
    *perform bdc_field       using 'KNVK-PAFKT'
                                 '04'.
    *perform bdc_field       using 'BDC_CURSOR'
                                 'SZA5_D0700-SMTP_ADDR'.
    *perform bdc_field       using 'ADDR3_DATA-NAME_LAST'
                                 'Contact Name 4'.
    *perform bdc_field       using 'ADDR3_DATA-NAME_FIRST'
                                 'Contat first name 4'.
    *perform bdc_field       using 'SZA5_D0700-TEL_NUMBER'
                                 '8888888'.
    *perform bdc_field       using 'SZA5_D0700-SMTP_ADDR'
                                 '[email protected]'.
    perform bdc_dynpro      using 'SAPMF02D' '0360'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'KNVK-NAMEV(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=VW'.
    perform bdc_dynpro      using 'SAPMF02D' '0210'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'KNB1-AKONT'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=VW'.
    perform bdc_field       using 'KNB1-AKONT'
                                  '24400000'.
    perform bdc_dynpro      using 'SAPMF02D' '0215'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'KNB1-XZVER'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=VW'.
    perform bdc_field       using 'KNB1-ZTERM'
                                  's000'.
    perform bdc_field       using 'KNB1-XZVER'
                                  'X'.
    perform bdc_dynpro      using 'SAPMF02D' '0220'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'KNB5-MAHNA'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=VW'.
    perform bdc_dynpro      using 'SAPMF02D' '0230'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'KNB1-VRSNR'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=VW'.
    perform bdc_dynpro      using 'SAPMF02D' '0610'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=VW'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RF02D-KUNNR'.
    perform bdc_dynpro      using 'SAPMF02D' '0310'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'KNVV-VERSG'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=VW'.
    perform bdc_field       using 'KNVV-BZIRK'
                                  '000001'.
    perform bdc_field       using 'KNVV-AWAHR'
                                  '100'.
    perform bdc_field       using 'KNVV-VKBUR'
                                  'zlud'.
    perform bdc_field       using 'KNVV-KDGRP'
                                  '01'.
    perform bdc_field       using 'KNVV-WAERS'
                                  'INR'.
    perform bdc_field       using 'KNVV-KALKS'
                                  '1'.
    perform bdc_field       using 'KNVV-VERSG'
                                  '1'.
    perform bdc_dynpro      using 'SAPMF02D' '0315'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'KNVV-VSBED'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=VW'.
    perform bdc_field       using 'KNVV-LPRIO'
                                  '02'.
    perform bdc_field       using 'KNVV-KZAZU'
                                  'X'.
    perform bdc_field       using 'KNVV-VSBED'
                                  '01'.
    perform bdc_field       using 'KNVV-ANTLF'
                                  '9'.
    perform bdc_dynpro      using 'SAPMF02D' '0320'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'KNVV-KTGRD'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=VW'.
    perform bdc_field       using 'KNVV-BOKRE'
                                  'X'.
    perform bdc_field       using 'KNVV-PRFRE'
                                  'X'.
    perform bdc_field       using 'KNVV-INCO1'
                                  'exw'.
    perform bdc_field       using 'KNVV-INCO2'
                                  'BANGALORE'.
    perform bdc_field       using 'KNVV-ZTERM'
                                  's000'.
    perform bdc_field       using 'KNVV-KTGRD'
                                  '11'.
    perform bdc_dynpro      using 'SAPMF02D' '1350'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'KNVI-TAXKD(04)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=VW'.
    perform bdc_field       using 'KNVI-TAXKD(01)'
                                  '1'.
    perform bdc_field       using 'KNVI-TAXKD(02)'
                                  '1'.
    perform bdc_field       using 'KNVI-TAXKD(03)'
                                  '1'.
    perform bdc_field       using 'KNVI-TAXKD(04)'
                                  '1'.
    perform bdc_dynpro      using 'SAPMF02D' '0324'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'KNVP-PARVW(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=VW'.
    perform bdc_transaction using 'XD01'.
    perform close_group.
    regards
    gv

  • Error while running TDS in background

    Hii,
    When  our FI consultant is running TDS Certificate using Tx  J1INCERT  in back ground process.
    we are getting following error message.
    Date       Time     Message text
    25.06.2010 13:15:15 Job started
    25.06.2010 13:15:15 Step 001 started (program J_1IEWT_CERT, variant &0000000000011, user ID MPD
    25.06.2010 13:25:43 No data selected for printing
    25.06.2010 13:25:43 Job cancelled after system exception ERROR_MESSAGE.
    kindly help me regarding this.
    Regards,
    Venkat.

    I don't know what this is, but most likely not related to ABAP development. Please post in the correct functional forum.
    Also analyse the message "No data selected for printing".
    Thread locked.
    Thomas

  • Error while running background deployment, program /SAPAPO/RMSDPDEP

    Hi all,
    For the second time in 3 months, I encounter this strange error while running a daily background deployment job, using program /SAPAPO/RMSDPDEP.
    The job starts correctly and does a part of its job, but then interrupt with this message in the job log :
      -->  "no valid simulation guid"  (class SAPAPO/OM_TS, n° 101)
      -->  "Unknown error"  (class SAPAPO/OM, n° 100)
      -->  "Job cancelled  after system exception ERROR_MESSAGE"  (class 00, n° 564)
    I just can't find any clue about what causes the problem...
    Did anyone encounter that kind of difficulties before ? Any help would be usefull...
    Thanks !
    Fabrice

    Hi Siva,
    In this range of time, I effectively run 13 parallel deployment jobs, as follow :
    n° 1, 2, 3, 4 and 5 : same location (factory 1) and each treats a products selection
    n° 6, 7, 8, 9 and 10 : same location (factory 2) and each treats a products selection
    n° 11 : all products of factory 3
    n° 12 : all products of factory 4
    n° 13 : all products of factory 5
    A product can only be produced in a single location, so there might not have access concurencies during parallel jobs. Do you think it could be some kind of a technical problem (not enough process available ?). Note that the problem can't come from CPU, we use CPU auto-allocation, and it works well.
    What do you think ?
    Thanks
    Fabrice

  • Error while running in background for inherintance

    Hi All,
    i am inherinting the customised class from the standard class
    CLASS zcl_history DEFINITION INHERITING FROM cl_gui_alv_grid FINAL.
    But while running in the background it is showing fatal error .

    Because there is no GUI to communicate while your program is running in background.
    Regards,
    Naimesh Patel

  • Error while creating TO in background

    Hi Guys,
    I am getting error while creating TO in background using Transaction code LB13.
    The error is "No batch input data for screen SAPLSTXBC 0100" this is the screen which comes after saving a TO. Here we can give the printing details. If we are doing the TO in foreground with same transaction the data for this screen comes automatically. but in background it is showing the error.
    So help me in getting rid of the problem.
    Thanks and Regards
    Sukant

    Hi Manasa,
    What is your source for creation of CVC? Are you trying to create CVCs from infocube?
    Could you try out the following to identify the root cause?
    In the create CVC (/sapapo/mc62) variant, uncheck the check boxes for all the 3 checks at bottom of the variant, and also uncheck the "adjust time series objects" checkbox.
    Come to "selection condition", and select one or few CVCs from your source (Infocube, or flat file, whatever).
    Then try to run the job, which should only create one or few CVCs as per your selection criteria.
    If you are able to create CVCs in this way, that could mean that you might be having some issue during some check or generation of time series. Delete the created CVCs and again try to create them by activating the checks one by one.
    If the above helps in identification of the issue, then it might be possible to attack and resolve the issue e.g. special character, etc.
    PS: You could also try the "load to worklist" option to try to identify the CVC having issue. There you can specify one or few CVCs to be created in one go, and this might help in identifying if there is an issue with a certain CVC.
    Thanks - Pawan

  • Getting error while running Foreign currency valuation

    Hi,
    Thanks in advance
    User getting error while running Foreign Currncy valutaion i.e. Internal error with background job sheduling sapf100.
    Do not have good exposure in Foreign Currecy valutaion please help me out..
    Edited by: kudalamallikarjuna on Oct 12, 2011 4:00 PM

    Dear,
    Once you get the error, please go to SM37, put user ID and appropriate dates and Execute
    System will show all jobs submitted by the user id, check if there is any job which is cancelled, select the line and click on Job log,
    In job log please let us know what is shown there..
    Br,Vivek

  • I am getting an error while running Batch input session.

    While running BDC getting error that "Enter Discount Base, Automatic calculation not possible". I checked all the settings at company code level, tax code settings, document type settings. I am not getting it. While doing mannual posting the error is not coming.
    Please help me on this.

    Hi,
       While creating Material master sometime warning message will come for some materials . So while doing the LSMW Recording method it will record howmany times you are entering the "Enter" key also. So while doing batch input fome article it may stop at some point, so better run the LSMW in foreground and check were it stops exactly.
    Regards
    GK.

  • Error while running a Java Program

    Can anyone help me,
    I am getting the following error while running a Java program, Below is the exception thrown, please help.
    java.nio.BufferOverflowException
    at java.nio.Buffer.nextPutIndex(Buffer.java:425)
    at java.nio.DirectByteBuffer.putChar(DirectByteBuffer.java:463)
    at org.jetel.data.StringDataField.serialize(StringDataField.java:295)
    at org.jetel.data.DataRecord.serialize(DataRecord.java:283)
    at org.jetel.graph.DirectEdge.writeRecord(DirectEdge.java:216)
    at org.jetel.graph.Edge.writeRecord(Edge.java:288)
    at com.tcs.re.component.RESummer1.run(RESummer1.java:505)
    java.nio.BufferOverflowException
    at java.nio.Buffer.nextPutIndex(Buffer.java:425)
    at java.nio.DirectByteBuffer.putChar(DirectByteBuffer.java:463)
    at org.jetel.data.StringDataField.serialize(StringDataField.java:295)
    at org.jetel.data.DataRecord.serialize(DataRecord.java:283)
    at org.jetel.graph.DirectEdge.writeRecord(DirectEdge.java:216)
    at org.jetel.graph.Edge.writeRecord(Edge.java:288)
    at com.tcs.re.component.RECollectCont.run(RECollectCont.java:304)

    Ok, let's see. Write the following class:
    public class Grunt {
      public static void main(String[] args) {
        System.out.println("Hello Mars");
    }Save it as "C:\Grunt.java", compile by typing:
    javac c:\Grunt.javaRun by typing:
    java -classpath "C:\" GruntDoes it say "Hello Mars"? If yes, go back to your program and compare for differences (maybe you used the "package" statement?).
    Regards

  • Error while running a report

    Hi all,
    I am getting this particular error while running a report. The error is:
    <b>SQL Error: 604
    System error in program SAPLRRK0 and form RSRDR;SRRK0F30-01-
    Diagnosis
    This internal error is a targeted termination since the program has an
    incorrect status.
    Procedure
    Analyse the situation and inform SAP.
      Notification Number BRAIN 299 </b>
    Could anyone tell me what that means?
    Thanks In advance,
    Raj

    Hi Raj,
    There are a few OSS Notes for your issue.
    If your Query has hierarchy in it then check 734184
    If your query is based on Infoset then check Note 784502 and 701941.
    Also check 668921.
    Bye
    Dinesh

  • Error While Running a page on JDeveloper

    Hi All ,
    I am getting the following error while running a page in Jdeveloper . Can any body help me?
    (AppsContext.java:686) at oracle.apps.fnd.common.WebAppsContext.(WebAppsContext.java:846) at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:351) at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144) at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80) at runregion.jspService(runregion.jsp:96) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797) at java.lang.Thread.run(Thread.java:534) oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-00904: "SERVERRESP_ENABLED_FLAG": invalid identifier ; (Could not lookup message because there is no database connection) at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888) at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:862) at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:980) at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:352) at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144) at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80) at runregion.jspService(runregion.jsp:96) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797) at java.lang.Thread.run(Thread.java:534) ## Detail 0 ## java.sql.SQLException: ORA-00904: "SERVERRESP_ENABLED_FLAG": invalid identifier at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289) at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583) at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1983) at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1141) at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2487) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2854) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:622) at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:550) at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1328) at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:384) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:210) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:169) at oracle.apps.fnd.profiles.ExtendedProfileStore.getMultiSpecificProfileFromDB(ExtendedProfileStore.java:368) at oracle.apps.fnd.common.WebAppsContext.setProfileValues(WebAppsContext.java:4177) at oracle.apps.fnd.common.AppsContext.setDBEnv(AppsContext.java:3407) at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2508) at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2398) at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2257) at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2072) at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1976) at oracle.apps.fnd.profiles.Profiles.getConnection(Profiles.java:2494) at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1304) at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:384) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:210) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:169) at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148) at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1147) at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1008) at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:977) at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:944) at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:931) at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570) at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:873) at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:858) at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:827) at oracle.apps.fnd.common.AppsContext.(AppsContext.java:686) at oracle.apps.fnd.common.WebAppsContext.(WebAppsContext.java:846) at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:351) at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144) at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80) at runregion.jspService(runregion.jsp:96) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797) at java.lang.Thread.run(Thread.java:534) ">

    check your DBC file, we have discussed this issue in the forum, search for SERVERRESP_ENABLED_FLAG

  • Error while running a KPI Watchlist in obiee 11g dashboard

    I am getting the following error while running a KPI Watchlist :
    *" Odbc driver returned an error (SQLExecDirectW) "*
    I added two KPI's (KPI 1 & KPI 2)into that Watchlist , one from the default "Sample Sales Lite" (sub 1) and another from sub 2 which have essbase as data source .
    KPI 1 (created from sub 1) is working fine , but while placing KPI 2 (created from sub 2 ) in the watchlist , its throwing the above error . However , while running KPI 2 individually , its showing meaningful results .
    Let me know if the problem statement is not clear .
    OBIEE version used : 11.1.1.5.0 .

    Could anyone reply this thread. I am also getting the same error . Even server logs are also not helping.

Maybe you are looking for

  • Internal table export and import in ECC 5.0 version

    Hi friends, I am trying to export and import internal table from one program to other program. The below… export and import commands are not working when I run the program in background (using SUBMIT zxxxx via JOB name NUMBER number…..) EXPORT ITAB T

  • Importing Word Docs with Images into RH7

    Hi All, I have a large Word doc which is full of images and text that I want to import into RH7. I've tried it and tried it, even converted it to PDF and tried it, but I don't get any of the images imported. I've discovered the images folder, but the

  • Problems on selecting views with french characters into column names

    Hi All, I have views with column names such as "Détermination Planimétriq" or "Année de construction:*"; I can get in my c# function this columns names from ALL_VIEWS dictionary table, but if I try to make a selectionby use of an OracleCommand, Oracl

  • .aiff files won't play in finder (and some programs)

    Mac Pro 4.1 Doing some long-overdue file cleanup, and when I preview some .aiff files in the finder they won't play.  The Apple  .aiff sound effect files play, but things I've recorded won't play, although they will play if imported into iTunes.  Oth

  • Creative Cloud: Photoshop only includes Lightroom?

    Heyo! There is no option available to buy a CC-Lightroom license separately, only Photoshop is available. There is no info, that Lightroom is separately bookable. So, my question: If i buy a license for Photoshop, will Lightroom be included? Regards,