BDC Failing abruptly

Hi Guys
i am doing a BDC to change a sales order.i am using this BDC in a Sales Order Change BAPI.the BDC works fine with the material number '1000000002' in the material field as shown below. but when i try passing the same material number in the FM which calls this BDC it fails.any clue why its acting like this?i also tried clipping the additional 0's as well keeping them.it just fails. please see the code below. the first one is working fine and the second one fails.any help will be greatly appreciated and ofcourse rewarded. thanks all
perform bdc_dynpro      using 'SAPLV46R' '4001'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'BDC_CURSOR'
                              'V46R_ITEM-MATNR_G(02)'.
perform bdc_field       using 'V46R_ITEM-MENGE(02)'
                              MENGE_02_012.
perform bdc_field       using 'V46R_ITEM-MATNR_G(02)'
                              '1000000002' .
perform bdc_field       using 'V46R_ITEM-VORGA_VAL_106(02)'
                              'X'.
and this one fails
perform bdc_dynpro      using 'SAPLV46R' '4001'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'BDC_CURSOR'
                              'V46R_ITEM-MATNR_G(02)'.
perform bdc_field       using 'V46R_ITEM-MENGE(02)'
                              MENGE_02_012.
perform bdc_field       using 'V46R_ITEM-MATNR_G(02)'
                              MATNR_G_02_013.
perform bdc_field       using 'V46R_ITEM-VORGA_VAL_106(02)'
                              'X'.
Thanks again

Hi Sanket,
Please, always, give what the error message is. That will enable others to pinpoint the problem.
In your case, is it just not updating, or is it giving you an error message, if so what message or is it dumping, if so what is the dump? Also, you say BAPI, but which one?
You can try a couple of things here. Always send your material in internal format by using CONVERSION_EXIT_MATN1_INPUT. Then make sure your quantities don't contain any formating characters except decimal point. So a quantity like '123.5' is ok but '1,234.5' is not ok. You have to remove the ','. To do that you can use the following logic.
TRANSLATE myquantity USING ', '.
CONDENSE myquantity NO-GAPS.
Hope this helps,
Srinivas

Similar Messages

  • BDC failing as a Background Job

    Hi all,
    My BDC  for MIGO transaction is failing as a background job.
    Kindly advise.
    Dev

    function zs7_iedi_create_goodsreceipt.
    ""Local interface:
    *"  IMPORTING
    *"     REFERENCE(LOGNO) TYPE  ZLOGNO
    *"     REFERENCE(PO_NUMBER) TYPE  EBELN
    *"     REFERENCE(LFSNR) TYPE  LFSNR1
    *"     REFERENCE(LGOBE) TYPE  LGOBE
    *"     REFERENCE(FLAG) TYPE  CHAR0001 OPTIONAL
    *"     REFERENCE(DISMODE) TYPE  CTU_MODE DEFAULT 'N'
    *"     REFERENCE(DOCTYP) TYPE  ZDOCTYP DEFAULT 'GRE'
    *"  EXPORTING
    *"     REFERENCE(MATERIAL_DOCUMENT) TYPE  MBLNR
    *"  TABLES
    *"      L_T_RETURN STRUCTURE  MESSAGE OPTIONAL
    *"  EXCEPTIONS
    *"      GR_CREATION_FAILED
    ======================================================================
    FM Name       : ZS7_IEDI_CREATE_GOODSRECEIPT
    Creation Date : 02/21/2007
    Author        : Yogesh Sharma(SYOG)
    ======================================================================
    Description : This function module will be used by the workflow in
                  Industry EDI to create provisional/final goods receipt.
    ======================================================================
    Change History
    ======================================================================
    ChangeId     Date         Author            Request
    ======================================================================
    *&                      Clear & Refresh global data
      clear g_t_bdcdata.
      refresh g_t_bdcdata.
      clear g_wa_ctu_params.
      clear g_wa_bdcmsgcoll.
      clear g_t_bdcmsgcoll.
      refresh g_t_bdcmsgcoll.
      clear g_t_download.
      refresh g_t_download.
    *&                       BDC Recording
      if flag <> 'X' and flag is not initial.
        move text-001 to g_wa_download-msgtx.
        append g_wa_download to g_t_download.
        l_t_return[] = g_t_download[].
        raise gr_creation_failed.
      endif.
      perform f100_fill_bdc_entry using :
                   'X'  'SAPLMIGO'               '0001',
                   ' '  'BDC_OKCODE'             '=MIGO_OK_ACTION',
                   ' '  'GODYNPRO-ACTION'        'A01'.              "Goods Receipt
      perform f100_fill_bdc_entry using :
                   'X'  'SAPLMIGO'               '0001',
                   ' '  'BDC_OKCODE'             '=MIGO_OK_REFDOC',
                   ' '  'GODYNPRO-REFDOC'        'R01'.              "Purchase Order
      perform f100_fill_bdc_entry using :
                   'X'  'SAPLMIGO'               '0001',
                   ' '  'BDC_OKCODE'             '=OK_GO',
                   ' '  'GODYNPRO-PO_NUMBER'     po_number.          "Purchase Order Number
      perform f100_fill_bdc_entry using :
                   'X'  'SAPLMIGO'               '0001',
                   ' '  'BDC_OKCODE'             '=MIGO_OK_HEADER_OPEN'.
      perform f100_fill_bdc_entry using :
                   'X'  'SAPLMIGO'               '0001',
                   ' '  'BDC_OKCODE'             '=MIGO_OK_DETAIL_OPEN',
                   ' '  'GOHEAD-LFSNR'           lfsnr.                    "Delivery Note
                  ' '  'ZS7_IEDI_MKPF_EX-ZUSCH' flag.                     "Provisional/Final Deleted
      perform f100_fill_bdc_entry using :
                   'X'  'SAPLMIGO'               '0001',
                   ' '  'BDC_OKCODE'             '=OK_GO',
                   ' '  'GOITEM-LGOBE'           lgobe,                    "Stroage Location.
                   ' '  'GODYNPRO-DETAIL_TAKE'   'X'.                      "Item OK
      perform f100_fill_bdc_entry using :
                   'X'  'SAPLMIGO'               '0001',
                   ' '  'BDC_OKCODE'             '=OK_POST'.               "Save.
    *&        Parameter string for runtime of CALL TRANSACTION USING...
      g_wa_ctu_params-dismode = dismode.                          "Processing mode.
      g_wa_ctu_params-updmode = 'S'.                              "Update mode.
      g_wa_ctu_params-nobinpt = ' '.                              "No batch input mode (that is, SY-BINPT = SPACE).
      g_wa_ctu_params-nobiend = 'X'.                              "No batch input mode after the end of BDC data.
      g_wa_ctu_params-defsize = ' '.                              "Use default window size.
    *&                     Call transaction MIGO.
      set parameter id 'MBN' field space.
      call transaction 'MIGO' using g_t_bdcdata options from g_wa_ctu_params
                                                messages into g_t_bdcmsgcoll.
      if sy-subrc = '0'.
        clear g_flag.                                             "Clear Flag Value.
        get parameter id 'MBN' field material_document.           "Assigning created material document no.
        if material_document is initial.
          g_flag = 'X'.
        endif.
      else.
        g_flag = 'X'.                                             "Flag value set to 'X' to Raise Exception.
      endif.          "IF sy-subrc = '0'.
    *&         Filling Messages which occured during BDC into l_t_return.
      clear g_val.
      describe table g_t_bdcmsgcoll lines g_val.                  "Calculating number of filled lines of the table.
      if g_val <> 0.
        loop at g_t_bdcmsgcoll into g_wa_bdcmsgcoll.              "Fetching Message Text using Message-Id & Message-No.
          clear g_err_log.
          g_msgno = g_wa_bdcmsgcoll-msgnr.
          call function 'WRITE_MESSAGE'
            exporting
              msgid = g_wa_bdcmsgcoll-msgid
              msgno = g_msgno
              msgty = g_wa_bdcmsgcoll-msgtyp
              msgv1 = g_wa_bdcmsgcoll-msgv1
              msgv2 = g_wa_bdcmsgcoll-msgv2
              msgv3 = g_wa_bdcmsgcoll-msgv3
              msgv4 = g_wa_bdcmsgcoll-msgv4
            importing
              messg = g_err_log.
          move-corresponding g_err_log to  g_wa_download.
          append g_wa_download to g_t_download.                   "Storing messages text into table that occured during BDC.
        endloop.
        delete adjacent duplicates from g_t_download.
      endif.          "IF g_val <> 0.
      l_t_return[] = g_t_download[].
    *&           Raise Exception If the Call transaction failed.
      if g_flag = 'X'.
        raise gr_creation_failed.
      else.
        call function 'ZS7_IEDI_UPDATE_MESGLOG'
          exporting
            logno                        =  logno
            doctyp                       =  doctyp
            docnr                        =  material_document
          GJAHR                        =
          ITMNR                        =
            datum                        =  sy-datum
            uzeit                        =  sy-uzeit
            uname                        =  sy-uname
            tcode                        =  'MIGO'
            ttype                        =  'CRE'
         exceptions
           error_update                 = 1
           wrong_transaction_type       = 2
           others                       = 3.
        if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        endif.
      endif.          "IF g_flag = 'X'.
    This is my code of the function module and this function module is being called from a report with the importparameters being transported froma variants.

  • BDC failing at the statment "COMMIT WORK" in code

    All,
         I am working on benefits (COBRA) and I had to create a BDC for transaction HRBENUSCOB02(COBRA letter generation). Everything is fine except it hits code COMMIT WORK(this is SAP code). The program does not go any further after COMMIT WORK but if I run the transaction by itself it works fine! Does BDC does not work with steament "COMMIT WORK"? Is this because it is asynchronous? This is my sample BDC code:
    ==============================================
    perform bdc_dynpro      using 'RPUCOB02' '1000'.
      perform bdc_field       using 'BDC_CURSOR'
                                    'PNPPERNR-LOW'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '=ONLI'.
      perform bdc_field       using 'PNPPERNR-LOW'
                                      '305968'.......................................more code, I just didn't eant to paste the whole code
    l_opt-DISMODE = 'N'.
    CALL TRANSACTION 'HRBENUSCOB02' USING bdcdata OPTIONS FROM l_opt.
    =============================================
    Please give me any feedback or information if anyone has any ideas.
    Thanks.
    Mithun

    Thanks everyone for the time. Actually, I was doing trial and error and resolved this issue. There is one parameter "RACOMMIT", and I set it to TRUE and it worked!
    l_opt-RACOMMIT = 'X'.
    Thanks.
    Mithun

  • Sometimes tests fail abruptly with timeout in CUITE

    Hi,
    we have a tests suite of codedui tests, and sometimes we noticed that tests fails with timeout :
    Test 'XXXX' exceeded execution timeout period.
    The problem with this is that when we get this failure, it seems that the tests doe not execute MyTestCleanup(), so  the following tests fail.
    the header of our functions looks like the following :
           [TestMethod, Timeout(5  60  1000)]
            [Description("Description")]
            [Owner("pm")]
            [TestCategory("C1"), TestCategory("Regression"), TestCategory("C2"), Priority(2)]
            public void VerifyFunctionality1()
    is there any wahy to make the tests execute the MytestCleanup() when they timeout ?? please note we use vstest.console.exe and visual studio 2012.
    Regards

    Hi kaki2000,
    >>is there any wahy to make the tests execute the MytestCleanup() when they timeout ?? please note we use vstest.console.exe and visual studio 2012.
    The real issue is that where you design the MytestCleanup(), do you use the cleanup method like ClassCleanup Attribute or the TestCleanup Attribute?
    If so, I think it would have a limitation for it, for example,
    the TestCleanup: Identifies a method that contains code that must be used after the test has run and to free resources obtained by all the tests in the test class.
    I think you could get useful information here "How Cleanup Methods Affect Test Run Time-Outs
    https://msdn.microsoft.com/en-us/library/ms243175.aspx?f=255&MSPPError=-2147217396 
    The test run might have a time-out value assigned. The amount of time that is used by the cleanup methods is added to the total amount of time that is used by the test run. In other words, the cleanup time counts toward the time limit that you have
    imposed on the test run as a whole, and therefore could cause the test run to time out.
    Best Regards,
    Jack 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • GOOGLE APPS PROVISIONING TASKS FAILS ABRUPTLY

    Hi All,
    we have a custom connector for google apps,where in we have some tasks that gets rejected initially for few user and is successfully completed on RETRY of that Task.
    This problem is only for few users.can you please help out.
    Thanks,

    On Tue, 18 Mar 2014 00:57:58 +0000, Shivam P Singh wrote:
    I am facing Problem while Exporting the User with Google MA I am using the MA provided at Codeplex
     http://fim2010gapps.codeplex.com/
    Have you tried posting your problem on the Codeplex page for the project? I
    know the developer and I'm pretty sure that he doesn't participate here.
    Paul Adare - FIM CM MVP
    Everyone gives lip service to that 7 layer model but that fact is that the
    only thing that has ever been truly OSI 7 layer compliant is the
    Taco Bell 7 Layer Burrito. -- Kent "Dogman" Dahlgren

  • MM02 Upload Problem in BDC in Quality

    Hello Experts ,
    Currently I have situation here with BDC for MM02 . In sandbox I have recoded for only Quality Management View (which is at the 10th position). For all material types this is working fine.
    But , when in Quality Server , the position of the views are changing dynamically with each material type. Hence BDC fails to select only Quality View during Upload.
    Can anybody tell me if there is a way to encounter this ?
    Thanks ,
    Trishna

    Hi!
    use fm  'MATERIAL_BTCI_SELECTION_NEW' to get view positon
    FORM GET_POSITION USING    P_MATNR    LIKE MARA-MATNR
                      CHANGING P_POSITION TYPE N.
      DATA:
        S_BDCDATA LIKE BDCDATA OCCURS 0 WITH HEADER LINE.
      CALL FUNCTION 'MATERIAL_BTCI_SELECTION_NEW'
           EXPORTING
                MATERIAL                  = P_MATNR
                SELECTION                 = 'D'  <-- put here you view
                TCODE                     = 'MM02'
    *    IMPORTING
    *         SELSTATUS                 =
    *         SELSTATUS_IN              =
           TABLES
                BTCI_D0070                = S_BDCDATA
         EXCEPTIONS
              MATERIAL_NOT_FOUND        = 1
              MATERIAL_NUMBER_MISSING   = 2
              MATERIAL_TYPE_MISSING     = 3
              MATERIAL_TYPE_NOT_FOUND   = 4
              NO_ACTIVE_DYNPRO_SELECTED = 5
              NO_AUTHORITY              = 6
              OTHERS                    = 7.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ELSE.
    *-> in der Annahme, dau043F der Dispobereich immer auf der Sicht
    *-> 'Dispositon 1' zu finden ist.
        READ TABLE S_BDCDATA WITH KEY FVAL = K_CHAR_X.
        P_POSITION = SY-TABIX - 1.
      ENDIF.
    ENDFORM.                               " GET_POSITION
    Search forum for MATERIAL_BTCI_SELECTION_NEW and you find more examples.

  • BDC works in A-mode but not in N-mode.  Why?

    We recently upgraded from 4.6b to ERP6.  I have a BDC that fails in ERP6 so I am trying to rework it.  Something odd is happening.  I find that some BDCs run through find in A-mode while you're stepping through them but not in N-mode when it's hands-off.
    Here's the really odd thing.  I have re-recorded a BDC against tran CO01 that creates a PP work order.  I take the recording and product a function.  I test the function with all of the default values intact accept for the new work order# and the function runs in A-mode.  It FAILs in N-mode.  It appears that ERP6 cannot run it's own BDC recordings.
    I notice in A-mode that there are sometimes green info messages on the status line.  What I'm wondering is if these are ok in A-mode because I can hit enter and move on vs. N-mode that perhaps gets stuck on them.  I say that because I have seen BDCs fail and report in the MSGTAB information messages as though this is what caused the transaction to fail.
    Is there some config setting in ERP6 that tells BDCs globally not to fail because of informational status messages?
    Thank you.
    Crew

    Hi,
    this may be an issue if you or the transaction is doing any updates on screens which may fail as call transaction by default updates in the asynchronous mode...
    so try executing the call transaction in synchronous mode and then check if its giving you the same error message.
    use
    call transaction 'TCODE' using bdcdata mode 'N' update 'S'.
    Regards,
    Siddarth

  • PROGRAM WITH BAPI and BDC's

    Hi All,
    I am using a 2 BAPI's and 3 BDC's in a program. I need all these BAPI and BDC's update the tanscations in a single bundled task? that is if any of BAPI or BDC failed the sucessful BAPI/BDC should be rolled back. How can I make it happen? Any sample code will be helpful
    All Suggestion will be rewarded.

    BAPI-step by step procedure
    http://www.sapgenie.com/abap/bapi/example.htm
    list of all BAPI's
    http://www.planetsap.com/LIST_ALL_BAPIs.htm

  • Handling BDC with inbound IDOC processing

    Hi All,
    In the function module for inbound processing, I have a BDC to be executed.
    But when the IDOC is received from the WEBSPHERE(Middleware) the BDC fails. There is an exception, "CNTL_ERROR"  raised by the class "CL_GUI_CUSTOM_CONTAINER=======CP"  when in BDC for the required transaction.
    I have contacted the Basis team and they are of the view that this happens when there is a difference in screen elements of the BDC creator(me) and the executor(websphere in this case).
    Can anyone tell me how can I correct this?
    Anuj

    John,
    WEBSPHERE is a system ID so Basis team will not allow me to access it as a user ID.( I had already requested them for the same).
    But I also compared the user-id parameters with mine and there is no difference.
    Can you think of something related to BDC? or some precaution which needs to be taken to cater the requirement if the screen elements are differing?
    Thanks for your replies.
    Anuj

  • Error message in KP06 BDC

    Hi,
    I am running BDC for KP06,using CALL TRANSACTION.
    When the BDC is successful,then the bdcmsgcoll contains no success message.
    But,when the BDC fails due to wrong entries,the bdcmscoll has messages of Type 'S' as "No batch input data for screen SAPLKPP0 1000". Why is the message type coming as "S" in this case ?Why is it not coming as "E" ?
    Please help in clearing the confusion.
    Thanks&Regards
    Ananya

    Hi Ananya.
    In BDC when ever a screen sequence is missing i.e. a screen for which no data is passed, we get this message.
    If you want to check whether BDC is successful or not that you can easily do so by checking the SY-SUBRC after the CALL TRANSACTION statement and then do the processing as per your requirement.
    Regards,
    Mohan

  • XRTSGenerator & XRTSMakeBundle resolution failed

    While installing OWB, installation fails abruptly with the following logs -
    <snip>
    Before processing LOADJAVA Token
    ... I am in processLoadJavaToken ...
    arguments: '-verbose' '-order' '-resolve' '-thin' '-u' 'PARIS_REP_OWNER/PARIS_REP_OWNER@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=SEARCH3.INTERNAL)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=DWADM)))' '../../lib/int/naclient.jar' '../../lib/int/NameAddrIntf.jar' '../../lib/int/namsg.jar' '../../lib/int/nameAddrRts.jar' '../../../jlib/rts2.jar' '../../../jlib/share.jar'
    identical: META-INF/MANIFEST.MF
    creating : class oracle/wh/nas/client/NAContext
    loading : class oracle/wh/nas/client/NAContext
    creating : class oracle/wh/nas/client/NASvrConnection
    loading : class oracle/wh/nas/client/NASvrConnection
    creating : class oracle/wh/nas/client/NASvrRuntimeStatus
    loading : class oracle/wh/nas/client/NASvrRuntimeStatus
    creating : class oracle/wh/nas/client/NameAddr
    loading : class oracle/wh/nas/client/NameAddr
    creating : class oracle/wh/nas/client/SocketOpener
    loading : class oracle/wh/nas/client/SocketOpener
    identical: META-INF/MANIFEST.MF
    creating : class oracle/wh/nas/sdk/NameAddrIntf
    loading : class oracle/wh/nas/sdk/NameAddrIntf
    identical: META-INF/MANIFEST.MF
    creating : class oracle/wh/nas/msg/NAComponent
    loading : class oracle/wh/nas/msg/NAComponent
    creating : class oracle/wh/nas/msg/NAInput
    loading : class oracle/wh/nas/msg/NAInput
    creating : class oracle/wh/nas/msg/NAMsgUtil$ComponentInfo
    loading : class oracle/wh/nas/msg/NAMsgUtil$ComponentInfo
    creating : class oracle/wh/nas/msg/NAMsgUtil
    loading : class oracle/wh/nas/msg/NAMsgUtil
    creating : class oracle/wh/nas/msg/NAOptions
    loading : class oracle/wh/nas/msg/NAOptions
    creating : class oracle/wh/nas/msg/Nls
    loading : class oracle/wh/nas/msg/Nls
    creating : class oracle/wh/nas/msg/ParseReply
    loading : class oracle/wh/nas/msg/ParseReply
    identical: META-INF/MANIFEST.MF
    creating : class oracle/wh/resource/nas/NameAddrExceptions
    loading : class oracle/wh/resource/nas/NameAddrExceptions
    creating : class oracle/wh/resource/nas/NameAddrRes
    loading : class oracle/wh/resource/nas/NameAddrRes
    creating : resource META-INF/MANIFEST.MF
    loading : resource META-INF/MANIFEST.MF
    creating : class oracle/bali/rts/tools/RTSToXRTS
    loading : class oracle/bali/rts/tools/RTSToXRTS
    creating : class oracle/bali/rts/tools/XRTSParser
    loading : class oracle/bali/rts/tools/XRTSParser
    creating : class oracle/bali/rts/tools/XRTSParser$Tuple
    loading : class oracle/bali/rts/tools/XRTSParser$Tuple
    creating : class oracle/bali/rts/tools/DefaultSubkeyRTSWriter
    loading : class oracle/bali/rts/tools/DefaultSubkeyRTSWriter
    creating : class oracle/bali/rts/tools/RTSMakeBundle
    loading : class oracle/bali/rts/tools/RTSMakeBundle
    creating : class oracle/bali/rts/tools/MakeLeafNodes
    loading : class oracle/bali/rts/tools/MakeLeafNodes
    creating : class oracle/bali/rts/tools/RTSProperties
    loading : class oracle/bali/rts/tools/RTSProperties
    creating : class oracle/bali/rts/tools/RTSProperties$_MutableResult
    loading : class oracle/bali/rts/tools/RTSProperties$_MutableResult
    creating : class oracle/bali/rts/tools/ListRTSWriter
    loading : class oracle/bali/rts/tools/ListRTSWriter
    creating : class oracle/bali/rts/tools/XRTSGenerator
    loading : class oracle/bali/rts/tools/XRTSGenerator
    creating : class oracle/bali/rts/tools/OrderedDictionary
    loading : class oracle/bali/rts/tools/OrderedDictionary
    creating : class oracle/bali/rts/tools/XRTSMakeBundle
    loading : class oracle/bali/rts/tools/XRTSMakeBundle
    creating : class oracle/bali/rts/tools/RTSWriter
    loading : class oracle/bali/rts/tools/RTSWriter
    creating : class oracle/bali/rts/tools/UnicodeEscapes
    loading : class oracle/bali/rts/tools/UnicodeEscapes
    creating : class oracle/bali/rts/tools/XRTSParser$1
    loading : class oracle/bali/rts/tools/XRTSParser$1
    creating : resource oracle/bali/rts/tools/Config.txt
    loading : resource oracle/bali/rts/tools/Config.txt
    creating : resource oracle/bali/rts/tools/LeafNodes.txt
    loading : resource oracle/bali/rts/tools/LeafNodes.txt
    creating : class oracle/bali/rts/DefaultSubkeyResourceBundle
    loading : class oracle/bali/rts/DefaultSubkeyResourceBundle
    creating : class oracle/bali/rts/DefaultSubkeyResourceBundle$1
    loading : class oracle/bali/rts/DefaultSubkeyResourceBundle$1
    creating : class oracle/bali/rts/EmptyResourceBundle
    loading : class oracle/bali/rts/EmptyResourceBundle
    creating : class oracle/bali/rts/EmptyResourceBundle$EmptyEnumeration
    loading : class oracle/bali/rts/EmptyResourceBundle$EmptyEnumeration
    creating : class oracle/bali/rts/MultiResourceBundle
    loading : class oracle/bali/rts/MultiResourceBundle
    creating : class oracle/bali/rts/SubkeyResourceBundle
    loading : class oracle/bali/rts/SubkeyResourceBundle
    creating : class oracle/bali/rts/SubkeyResourceBundle$EncapsulatedBundle
    loading : class oracle/bali/rts/SubkeyResourceBundle$EncapsulatedBundle
    creating : resource oracle/bali/rts/xmldtd/rts.dtd
    loading : resource oracle/bali/rts/xmldtd/rts.dtd
    creating : resource oracle/bali/rts/2_0_6
    loading : resource oracle/bali/rts/2_0_6
    identical: META-INF/MANIFEST.MF
    creating : class oracle/bali/share/collection/LRUCache
    loading : class oracle/bali/share/collection/LRUCache
    creating : class oracle/bali/share/collection/LRUCache$LRUNode
    loading : class oracle/bali/share/collection/LRUCache$LRUNode
    creating : class oracle/bali/share/collection/SingleItemEnumeration
    loading : class oracle/bali/share/collection/SingleItemEnumeration
    creating : class oracle/bali/share/collection/EveryOtherEnumeration
    loading : class oracle/bali/share/collection/EveryOtherEnumeration
    creating : class oracle/bali/share/collection/DictionaryKeyValueEnumeration
    loading : class oracle/bali/share/collection/DictionaryKeyValueEnumeration
    creating : class oracle/bali/share/collection/StringKey
    loading : class oracle/bali/share/collection/StringKey
    creating : class oracle/bali/share/collection/CompoundEnumeration
    loading : class oracle/bali/share/collection/CompoundEnumeration
    creating : class oracle/bali/share/collection/ArrayEnumeration
    loading : class oracle/bali/share/collection/ArrayEnumeration
    creating : class oracle/bali/share/collection/ArrayMap
    loading : class oracle/bali/share/collection/ArrayMap
    creating : class oracle/bali/share/collection/ImmutableArray
    loading : class oracle/bali/share/collection/ImmutableArray
    creating : class oracle/bali/share/collection/OptimisticHashMap
    loading : class oracle/bali/share/collection/OptimisticHashMap
    creating : class oracle/bali/share/collection/OptimisticHashMap$Entry
    loading : class oracle/bali/share/collection/OptimisticHashMap$Entry
    creating : class oracle/bali/share/collection/OptimisticHashMap$Enumerator
    loading : class oracle/bali/share/collection/OptimisticHashMap$Enumerator
    creating : class oracle/bali/share/collection/Range
    loading : class oracle/bali/share/collection/Range
    creating : class oracle/bali/share/collection/Range$RangeComparator
    loading : class oracle/bali/share/collection/Range$RangeComparator
    creating : class oracle/bali/share/util/ClassLoaderUtils
    loading : class oracle/bali/share/util/ClassLoaderUtils
    creating : class oracle/bali/share/util/Timing
    loading : class oracle/bali/share/util/Timing
    creating : class oracle/bali/share/util/UnhandledException
    loading : class oracle/bali/share/util/UnhandledException
    creating : class oracle/bali/share/util/IntegerUtils
    loading : class oracle/bali/share/util/IntegerUtils
    creating : class oracle/bali/share/util/BooleanUtils
    loading : class oracle/bali/share/util/BooleanUtils
    creating : class oracle/bali/share/util/WrappingThrowable
    loading : class oracle/bali/share/util/WrappingThrowable
    creating : class oracle/bali/share/datatransfer/CompoundTransferable
    loading : class oracle/bali/share/datatransfer/CompoundTransferable
    creating : class oracle/bali/share/datatransfer/TransferUtils
    loading : class oracle/bali/share/datatransfer/TransferUtils
    creating : class oracle/bali/share/datatransfer/ObjectTransferable
    loading : class oracle/bali/share/datatransfer/ObjectTransferable
    creating : class oracle/bali/share/datatransfer/ObjectTransferable$UpFront
    loading : class oracle/bali/share/datatransfer/ObjectTransferable$UpFront
    creating : class oracle/bali/share/thread/TaskScheduler
    loading : class oracle/bali/share/thread/TaskScheduler
    creating : class oracle/bali/share/thread/TaskScheduler$TaskQueue
    loading : class oracle/bali/share/thread/TaskScheduler$TaskQueue
    creating : class oracle/bali/share/thread/TaskScheduler$Element
    loading : class oracle/bali/share/thread/TaskScheduler$Element
    creating : class oracle/bali/share/thread/TaskEvent
    loading : class oracle/bali/share/thread/TaskEvent
    creating : class oracle/bali/share/thread/Timer
    loading : class oracle/bali/share/thread/Timer
    creating : class oracle/bali/share/thread/Task
    loading : class oracle/bali/share/thread/Task
    creating : class oracle/bali/share/thread/SchedulerEvent
    loading : class oracle/bali/share/thread/SchedulerEvent
    creating : class oracle/bali/share/thread/Periodic
    loading : class oracle/bali/share/thread/Periodic
    creating : class oracle/bali/share/thread/SchedulerListener
    loading : class oracle/bali/share/thread/SchedulerListener
    creating : class oracle/bali/share/beans/JavaPropertyEditorManager
    loading : class oracle/bali/share/beans/JavaPropertyEditorManager
    creating : class oracle/bali/share/beans/JavaIntrospector
    loading : class oracle/bali/share/beans/JavaIntrospector
    creating : class oracle/bali/share/beans/GenericBeanInfo
    loading : class oracle/bali/share/beans/GenericBeanInfo
    creating : class oracle/bali/share/event/ListenerManager
    loading : class oracle/bali/share/event/ListenerManager
    creating : class oracle/bali/share/sort/StringComparator
    loading : class oracle/bali/share/sort/StringComparator
    creating : class oracle/bali/share/sort/Search
    loading : class oracle/bali/share/sort/Search
    creating : class oracle/bali/share/sort/DateComparator
    loading : class oracle/bali/share/sort/DateComparator
    creating : class oracle/bali/share/sort/LexiComparator
    loading : class oracle/bali/share/sort/LexiComparator
    creating : class oracle/bali/share/sort/Comparator
    loading : class oracle/bali/share/sort/Comparator
    creating : class oracle/bali/share/sort/NumberComparator
    loading : class oracle/bali/share/sort/NumberComparator
    creating : class oracle/bali/share/sort/Sort
    loading : class oracle/bali/share/sort/Sort
    creating : class oracle/bali/share/sort/BooleanComparator
    loading : class oracle/bali/share/sort/BooleanComparator
    creating : class oracle/bali/share/Assert
    loading : class oracle/bali/share/Assert
    creating : class oracle/bali/share/nls/LocaleUtils
    loading : class oracle/bali/share/nls/LocaleUtils
    creating : class oracle/bali/share/nls/ArrayAvailableLocaleMapper
    loading : class oracle/bali/share/nls/ArrayAvailableLocaleMapper
    creating : class oracle/bali/share/nls/BundleAvailableLocaleMapper
    loading : class oracle/bali/share/nls/BundleAvailableLocaleMapper
    creating : class oracle/bali/share/nls/StringUtils
    loading : class oracle/bali/share/nls/StringUtils
    creating : class oracle/bali/share/nls/LocaleMapper
    loading : class oracle/bali/share/nls/LocaleMapper
    creating : class oracle/bali/share/nls/AvailableLocaleMapper
    loading : class oracle/bali/share/nls/AvailableLocaleMapper
    creating : class oracle/bali/share/io/CompositeReader
    loading : class oracle/bali/share/io/CompositeReader
    creating : resource oracle/bali/share/1_1_18
    loading : resource oracle/bali/share/1_1_18
    skipping : resource META-INF/MANIFEST.MF
    resolving: class oracle/wh/nas/client/NAContext
    resolving: class oracle/wh/nas/client/NASvrConnection
    skipping : class oracle/wh/nas/client/NASvrRuntimeStatus
    resolving: class oracle/wh/nas/client/NameAddr
    skipping : class oracle/wh/nas/client/SocketOpener
    skipping : resource META-INF/MANIFEST.MF
    resolving: class oracle/wh/nas/sdk/NameAddrIntf
    skipping : resource META-INF/MANIFEST.MF
    skipping : class oracle/wh/nas/msg/NAComponent
    skipping : class oracle/wh/nas/msg/NAInput
    resolving: class oracle/wh/nas/msg/NAMsgUtil$ComponentInfo
    skipping : class oracle/wh/nas/msg/NAMsgUtil
    skipping : class oracle/wh/nas/msg/NAOptions
    skipping : class oracle/wh/nas/msg/Nls
    skipping : class oracle/wh/nas/msg/ParseReply
    skipping : resource META-INF/MANIFEST.MF
    resolving: class oracle/wh/resource/nas/NameAddrExceptions
    resolving: class oracle/wh/resource/nas/NameAddrRes
    skipping : resource META-INF/MANIFEST.MF
    resolving: class oracle/bali/rts/tools/RTSToXRTS
    resolving: class oracle/bali/rts/tools/XRTSParser
    skipping : class oracle/bali/rts/tools/XRTSParser$Tuple
    resolving: class oracle/bali/rts/tools/DefaultSubkeyRTSWriter
    resolving: class oracle/bali/rts/tools/RTSMakeBundle
    resolving: class oracle/bali/rts/tools/MakeLeafNodes
    skipping : class oracle/bali/rts/tools/RTSProperties
    skipping : class oracle/bali/rts/tools/RTSProperties$_MutableResult
    resolving: class oracle/bali/rts/tools/ListRTSWriter
    resolving: class oracle/bali/rts/tools/XRTSGenerator
    errors : class oracle/bali/rts/tools/XRTSGenerator
    ORA-29521: referenced name oracle/xml/parser/v2/SAXParser could not be found ORA-29521: referenced name oracle/xml/parser/v2/XMLParser could not be foundskipping : class oracle/bali/rts/tools/OrderedDictionary
    resolving: class oracle/bali/rts/tools/XRTSMakeBundle
    errors : class oracle/bali/rts/tools/XRTSMakeBundle
    ORA-29521: referenced name oracle/xml/parser/v2/SAXParser could not be foundskipping : class oracle/bali/rts/tools/RTSWriter
    skipping : class oracle/bali/rts/tools/UnicodeEscapes
    skipping : class oracle/bali/rts/tools/XRTSParser$1
    skipping : resource oracle/bali/rts/tools/Config.txt
    skipping : resource oracle/bali/rts/tools/LeafNodes.txt
    resolving: class oracle/bali/rts/DefaultSubkeyResourceBundle
    skipping : class oracle/bali/rts/DefaultSubkeyResourceBundle$1
    resolving: class oracle/bali/rts/EmptyResourceBundle
    skipping : class oracle/bali/rts/EmptyResourceBundle$EmptyEnumeration
    skipping : class oracle/bali/rts/MultiResourceBundle
    skipping : class oracle/bali/rts/SubkeyResourceBundle
    skipping : class oracle/bali/rts/SubkeyResourceBundle$EncapsulatedBundle
    skipping : resource oracle/bali/rts/xmldtd/rts.dtd
    skipping : resource oracle/bali/rts/2_0_6
    skipping : resource META-INF/MANIFEST.MF
    resolving: class oracle/bali/share/collection/LRUCache
    skipping : class oracle/bali/share/collection/LRUCache$LRUNode
    resolving: class oracle/bali/share/collection/SingleItemEnumeration
    resolving: class oracle/bali/share/collection/EveryOtherEnumeration
    resolving: class oracle/bali/share/collection/DictionaryKeyValueEnumeration
    resolving: class oracle/bali/share/collection/StringKey
    skipping : class oracle/bali/share/collection/CompoundEnumeration
    resolving: class oracle/bali/share/collection/ArrayEnumeration
    resolving: class oracle/bali/share/collection/ArrayMap
    resolving: class oracle/bali/share/collection/ImmutableArray
    resolving: class oracle/bali/share/collection/OptimisticHashMap
    skipping : class oracle/bali/share/collection/OptimisticHashMap$Entry
    skipping : class oracle/bali/share/collection/OptimisticHashMap$Enumerator
    resolving: class oracle/bali/share/collection/Range
    skipping : class oracle/bali/share/collection/Range$RangeComparator
    resolving: class oracle/bali/share/util/ClassLoaderUtils
    resolving: class oracle/bali/share/util/Timing
    resolving: class oracle/bali/share/util/UnhandledException
    skipping : class oracle/bali/share/util/IntegerUtils
    resolving: class oracle/bali/share/util/BooleanUtils
    skipping : class oracle/bali/share/util/WrappingThrowable
    resolving: class oracle/bali/share/datatransfer/CompoundTransferable
    resolving: class oracle/bali/share/datatransfer/TransferUtils
    resolving: class oracle/bali/share/datatransfer/ObjectTransferable
    skipping : class oracle/bali/share/datatransfer/ObjectTransferable$UpFront
    resolving: class oracle/bali/share/thread/TaskScheduler
    skipping : class oracle/bali/share/thread/TaskScheduler$TaskQueue
    skipping : class oracle/bali/share/thread/TaskScheduler$Element
    skipping : class oracle/bali/share/thread/TaskEvent
    skipping : class oracle/bali/share/thread/Timer
    skipping : class oracle/bali/share/thread/Task
    skipping : class oracle/bali/share/thread/SchedulerEvent
    resolving: class oracle/bali/share/thread/Periodic
    skipping : class oracle/bali/share/thread/SchedulerListener
    resolving: class oracle/bali/share/beans/JavaPropertyEditorManager
    resolving: class oracle/bali/share/beans/JavaIntrospector
    skipping : class oracle/bali/share/beans/GenericBeanInfo
    skipping : class oracle/bali/share/event/ListenerManager
    resolving: class oracle/bali/share/sort/StringComparator
    resolving: class oracle/bali/share/sort/Search
    resolving: class oracle/bali/share/sort/DateComparator
    resolving: class oracle/bali/share/sort/LexiComparator
    skipping : class oracle/bali/share/sort/Comparator
    resolving: class oracle/bali/share/sort/NumberComparator
    skipping : class oracle/bali/share/sort/Sort
    resolving: class oracle/bali/share/sort/BooleanComparator
    skipping : class oracle/bali/share/Assert
    resolving: class oracle/bali/share/nls/LocaleUtils
    resolving: class oracle/bali/share/nls/ArrayAvailableLocaleMapper
    resolving: class oracle/bali/share/nls/BundleAvailableLocaleMapper
    resolving: class oracle/bali/share/nls/StringUtils
    skipping : class oracle/bali/share/nls/LocaleMapper
    skipping : class oracle/bali/share/nls/AvailableLocaleMapper
    resolving: class oracle/bali/share/io/CompositeReader
    skipping : resource oracle/bali/share/1_1_18
    The following operations failed
    class oracle/bali/rts/tools/XRTSGenerator: resolution
    class oracle/bali/rts/tools/XRTSMakeBundle: resolution
    exiting : Failures occurred during processing
    [oracle@search3 unix]$
    <snip>
    Above was from stdout.
    AND FROM THE Installation log file tail.
    <snip>
    main.TaskScheduler timer[5]20050619@22:01:50.050: 00> oracle.wh.service.impl.assista
    nt.ProcessEngine.display(ProcessEngine.java:1056): Before processing SQL Token
    main.TaskScheduler timer[5]20050619@22:01:50.050: 00> oracle.wh.service.impl.assista
    nt.DatabaseEngine.display(DatabaseEngine.java:251): user = PARIS_REP_OWNER, host
    = SEARCH3.INTERNAL, port = 1521, serviceName =DWADM
    main.TaskScheduler timer[5]20050619@22:01:50.050: 00> oracle.wh.service.impl.assista
    nt.DatabaseEngine.display(DatabaseEngine.java:251): [getConnection]: Trying with oci
    main.TaskScheduler timer[5]20050619@22:01:51.051: 00> oracle.wh.service.impl.assista
    nt.DatabaseEngine.display(DatabaseEngine.java:251): [getConnection]: Connected with
    oci
    main.TaskScheduler timer[5]20050619@22:01:51.051: 00> oracle.wh.service.impl.assista
    nt.RuntimeInstaller.display(RuntimeInstaller.java:584): parseSqlFile() ======= ente
    r file: ../../browserasst/owbb/init_apps.sql
    main.TaskScheduler timer[5]20050619@22:01:51.051: 00> oracle.wh.service.impl.assista
    nt.ProcessEngine.display(ProcessEngine.java:1056): fileName =../../browserasst/owbb/
    init_apps.sql
    main.TaskScheduler timer[5]20050619@22:01:51.051: 00> oracle.wh.service.impl.assista
    nt.ProcessEngine.display(ProcessEngine.java:1056): After processing SQL token
    main.TaskScheduler timer[5]20050619@22:01:51.051: 00> oracle.wh.service.impl.assista
    nt.ProcessEngine.display(ProcessEngine.java:1056): % = 87.17434869739499
    main.TaskScheduler timer[5]20050619@22:01:51.051: 00> oracle.wh.service.impl.assista
    nt.ProcessEngine.display(ProcessEngine.java:1056): -token name = LOADJAVA; -token t
    ype = 16
    main.TaskScheduler timer[5]20050619@22:01:51.051: 00> oracle.wh.service.impl.assista
    nt.ProcessEngine.display(ProcessEngine.java:1056): Before processing LOADJAVA Token
    main.TaskScheduler timer[5]20050619@22:01:51.051: 00> oracle.wh.service.impl.assista
    nt.ProcessEngine.display(ProcessEngine.java:1056): ... I am in processLoadJavaToken
    main.TaskScheduler timer[5]20050619@22:01:51.051: 00> oracle.wh.service.impl.assista
    nt.ProcessEngine.display(ProcessEngine.java:1056): After processing LOADJAVA Token
    main.TaskScheduler timer[5]20050619@22:01:51.051: 00> oracle.wh.service.impl.assista
    nt.ProcessEngine.display(ProcessEngine.java:1056): % = 88.17635270541102
    main.TaskScheduler timer[5]20050619@22:01:51.051: 00> oracle.wh.service.impl.assista
    nt.ProcessEngine.display(ProcessEngine.java:1056): -token name = LOADJAVA; -token t
    ype = 16
    main.TaskScheduler timer[5]20050619@22:01:51.051: 00> oracle.wh.service.impl.assista
    nt.ProcessEngine.display(ProcessEngine.java:1056): Before processing LOADJAVA Token
    main.TaskScheduler timer[5]20050619@22:01:51.051: 00> oracle.wh.service.impl.assista
    nt.ProcessEngine.display(ProcessEngine.java:1056): ... I am in processLoadJavaToken
    <snip>
    Any clue what could be wrong?
    Thanks
    Pooja

    After spending many hours, I managed to find the solution to this problem. Hopefully, I can save others the time. Here is a summary of the problem and solution:
    Problem: OWB installation fails unexpectedly around 86%. The java window closes without error and the stdout console reports the following:
    The following operations failed
    class oracle/bali/rts/tools/XRTSGenerator: resolution
    class oracle/bali/rts/tools/XRTSMakeBundle: resolution
    Further up in the stdout listing are two ORA-29521 errors related to the XML parser.
    Solution: The XML objects are either not installed in the database or their installation is incomplete. To fix, remove the XML objects and reinstall as follows:
    1. log in as sysdba ("export {SID}; sqlplus / as sysdba")
    2. enter "@$ORACLE_HOME/rdbms/admin/rmxml" and press enter. Wait for it to finish.
    3. enter "@$ORACLE_HOME/rdbms/admin/initxml" and press enter. Wait for it to finish.
    4. exit
    Be sure to remove any failed OWB repositories before trying again. This may be accomplished via the repository assistant or, if all else fails, by dropping the user and all of the roles that start with "OWB".

  • MIR4- Invoice posting BDC not working in background

    Hi All,
    We have a requirement to create a BDC for posting an invoice and have created one. BDC is working in foreground and invoice is getting posted. But when we try to execute the BDC in background it is failing and invoice is not getting posted.
    Please help.
    Below is the dump in ST22.
    Category               ABAP Programming Error
    Runtime Errors         RAISE_EXCEPTION
    ABAP Program           SAPLMR1M
    Application Component  MM-IV
    A RAISE statement in the program "CL_GUI_DOCKING_CONTAINER======CP" raised the
      exception
    condition "CNTL_ERROR".
    Since the exception was not intercepted by a superior
    program, processing was terminated.
    Source code where the program terminated:
    CALL METHOD DOCK_AT_internal
         EXPORTING
             SIDE   = SIDE
             notify = space
         EXCEPTIONS
             CNTL_SYSTEM_ERROR = 1
             CNTL_ERROR = 2.
    CASE SY-SUBRC.
       WHEN 0.
       WHEN 1.
         RAISE CNTL_SYSTEM_ERROR.
       WHEN 2.
       >>>>  RAISE CNTL_ERROR.
       WHEN OTHERS.
         RAISE CNTL_ERROR.
    ENDCASE.

    When I tried checking, I understood that MIR4 transaction screen 6000 has docking container and when a screen has docking container the BDC fails in background. Any workaround other than BAPI for invoice posting as it is not of help in our requirement scenario as we have already checked.

  • Selection in ALV not recorded in BDC. how to do it?

    I am trying to write a BDC for transaction /DSD/RP_TOUR. I create a tour header and then select the header to create the tours. But the selection of the header created which is displayed in ALV kind of grid do not get recorded in the BDC recording. So I am unable to proceed ahead.
    Can anyone help?

    Look at <a href="http://www.itcserver.com/blog/2006/07/12/shdb-the-transaction-recorder/">SHDB - The Transaction Recorder</a>
    <i>The goal of using SHDB is to create BDC programs and sessions. But BDC doesn’t support Enjoy transactions. .
    Enjoy transactions use Enjoy SAP Controls like ALV Grid, ALV Tree. If you run BDC in background these Controls would not be able to communicate front-end since they need some files in front-end (client - PC), so BDC fails.
    Therefore what can be done? There are two possibilities:
    1- ) There might be a alternative, usually older version, transaction. You can use it. For example ME22N is a Enjoy transaction, but ME22 is the older one, does the same thing. So ME22 can be used. As far as I know the older version of SBWP is SO01, but when we run it it goes to same program.
    2- ) If it is available, a BAPI can be used. Whatever you want to do, you can search BAPIs and use it instead of BDC technique. I think unfortunately there isn’t any BAPI related to SAP Business Workplace.</i>
    Regards

  • Restore failed delta from ODS to cube

    Hi All,
    I have started a delta load from ODS to cube but it has failed abruptly, for some reason, with out extracting even a single record.
    I want to restart/re-schedule the load but I am confused how to do that(just a delta or repair/repeat delta).
    Can someone please suggest how to proceed.
    Rgds,
    RPK.

    Hi Ravi,
    I had to stop the request because of some other issues and now I have to start it again. There is no particular error.
    Hi PB,
    Thanks a lot for the reply. Are you sure that I have to delete this failed request first? Will it prompt for a repeat delta when I try to schedule it again?
    Sorry for asking these questions but just want to make sure about it.
    Rgds,
    RPK.

  • BDC update using KE21N

    Hello all,
    I have a request that I need to create a program to update data via KE21N.
    However, according to the old post here and by my experience after online running this transaction, it is not really suitable for batch updating.
    Is the old transaction KE21 suitable to replace KE21N in the program?  Is there any side effect to use KE21 in updating?
    Edited by: Ezra Kwan on Mar 19, 2008 9:58 AM

    hi,
    hi,
    Enjoy transactions use Enjoy SAP Controls like ALV Grid, ALV Tree. If you run BDC in background these Controls would not be able to communicate front-end since they need some files in front-end (client - PC), so BDC fails.
    Therefore what can be done? There are two possibilities:
    1- ) There might be a alternative, usually older version, transaction. You can use it. For example ME22N is a Enjoy transaction, but ME22 is the older one, does the same thing. So ME22 can be used.
    2- ) If it is available, a BAPI can be used. Whatever you want to do, you can search BAPIs and use it instead of BDC technique.
    Hope this helps, Do reward.

Maybe you are looking for