Errors occurred during call of function module BUPR_EMPLO_DELETE

when distributing employee data from (HCM) to (CRM) there is an error that appears in relation with the settings for the Business Parner:
"Errors occurred during call of function module BUPR_EMPLO_DELETE
Message no. R11335
Diagnosis
The business partner BAPIs were called up incorrectly. The indicator IV_X_SAVE was given differing settings when the modules were called.
Within a LUW, the indicator must be consistently set or not set.
System Response
The indicator IV_X_SAVE should be set or not set once off. Up to COMMIT WORK the content of the field may not be changed, as problems will otherwise occur with the internal memory, thus leading to runtime errors."
This prevents CRM to be updated with the changes. Kindly help me on the same.

Hi Sai,
This is too late to reply this post, but to let everyone know about the issue I am posting here.
Start new UI session and put breakpoint at BUPR_EMPLO_DELETE and check parameter IV_X_SAVE everytime, till you get the error message. The parameter IV_X_SAVE should be same/consistent (either ' ' or 'X') in whole Logical Unit of Work. It should not change in between.
I faced the same kind of problem and found that standard was passing IV_X_SAVE = ' ' and in our custom code we were passing IV_X_SAVE = 'X'. I changed it to IV_X_SAVE = ' ' and my problem got resolved.
You can try the same. Please post the alternate solution if you find it.
Best Regards,
Rahul Koshti

Similar Messages

  • System failure, during call of function module RSWR_RFC_SERVICE_TEST

    Hi Team,
         I am working with BW and Portal Integration, with the Netweaver
    2004s SP 11 version. I have a issue when i run the RSPOR_SETUP program
    to test the configuration.
    The error is on status 5 and 12, i get the following error:
    System failure, during call of function module RSWR_RFC_SERVICE_TEST,
    and when i enter at the dev_jrfc.trc log file, i have the following
    error:
    Exception thrown [Tue Jul 10 16:12:16,687]:Exception thrown by
    application running in JCo Server
    java.lang.RuntimeException: call FM RSWR_RFC_SERVICE_TEST to ProgId
    smxpedvc_PORTAL_EPD on host smxpedvc.grupoempresarialangeles.com.mx
    with SSO not authorized: No login module succeeded.
            at
    com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest
    (RFCDefaultRequestHandler.java:79)
            at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequest
    (RFCJCOServer.java:156)
            at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java:7785)
            at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest
    (MiddlewareJRfc.java:2405)
            at com.sap.mw.jco.MiddlewareJRfc$Server.listen
    (MiddlewareJRfc.java:1728)
            at com.sap.mw.jco.JCO$Server.listen(JCO.java:8145)
            at com.sap.mw.jco.JCO$Server.work(JCO.java:8265)
            at com.sap.mw.jco.JCO$Server.loop(JCO.java:8212)
            at com.sap.mw.jco.JCO$Server.run(JCO.java:8128)
            at com.sap.engine.core.thread.impl3.ActionObject.run
    (ActionObject.java:37)
            at java.security.AccessController.doPrivileged(Native Method)
            at com.sap.engine.core.thread.impl3.SingleThread.execute
    (SingleThread.java:100)
            at com.sap.engine.core.thread.impl3.SingleThread.run
    (SingleThread.java:170)
    Could you help me to solve this issue.
    Thanks so much.

    Have you checked the user that is used to connect from J2EE back to ABAP?
    I had a similar problem, went into the Visual Administrator and found the incorrect password (or possibly outdated password) was being used to communicate back to ABAP, and updating that sorted out my problem.
    Hope this helps.
    Cheers,
    Andrew

  • System failure during call of function module RSWR_RFC_SERVICE_TEST in BW

    Hello All,
                I am doing configuration with BW and EP portal when we run the program (RSPOR_SETUP) in step - 12 Maintain User Assignment in Portal = (System failure during call of function module RSWR_RFC_SERVICE_TEST) giving this error SSO is working fine.
    RFC connection is working fine with BW and portal
    When i execute the FM - RSWR_RFC_SERVICE_TEST it is giving error (SYSTEM_FAILURE) and in Portal side log file it is giving below error.
    dev_jrfc.trc
    Exception thrown [Fri Sep 05 15:14:57,928]:Exception thrown by application running in JCo Server
    java.lang.RuntimeException: Bean RSWR_RFC_SERVICE_TEST not found on host (Hostname), ProgId=EPP_PORTAL_SID: Object not found in lookup of RSWR_RFC_SERVICE_TEST.
            at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:138)
            at com.sap.engine.services.rfcengine.RFCJCOServer$J2EEApplicationRunnable.run(RFCJCOServer.java:269)
            at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
            at java.security.AccessController.doPrivileged(Native Method)
            at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
            at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Please help me find the solution.
    Thanks
    Gurpal

    Hi Gurpal,
    Please go through the below SAP notes
    878455
    - Information broadcasting: No portal user exists
    814083
    - Inf. broadcasting: Changed RFC settings as of NW 04 SP11
    1135947 - Bean not found
    Hope this solves your problem.
    Regards,
    Prithviraj.

  • I am trying to generate purchase order and i create a BAPI also which is active. But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)".

    i am trying to generate purchase order and i create a BAPI also which is active.
    But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)".

    Hi,
    Yeah i tried my Z_BAPI in R3 and then giving some ERROR.
    This is my CODE-
    FUNCTION ZBAPIPOTV2.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(POHD) TYPE  ZPOHD OPTIONAL
    *"     VALUE(POITEM) TYPE  ZPOITEM OPTIONAL
    *"  TABLES
    *"      RETURN STRUCTURE  BAPIRET1 OPTIONAL
    data: ls_pohd type bapimepoheader,
             ls_pohdx TYPE bapimepoheaderx,
             lt_poit TYPE TABLE OF bapimepoitem,
             lt_poitx TYPE TABLE OF bapimepoitemx,
             ls_poit TYPE bapimepoitem,
             ls_poitx TYPE bapimepoitemx.
       MOVE-CORRESPONDING pohd to ls_pohd.
       MOVE-CORRESPONDING poitem to ls_poit.
       ls_pohdx-comp_code = 'x'.
       ls_pohdx-doc_type = 'x'.
       ls_pohdx-vendor = 'x'.
       ls_pohdx-purch_org = 'x'.
       ls_pohdx-pur_group = 'x'.
       ls_poit-po_item = '00010'.
       APPEND ls_poit to lt_poit.
       ls_poitx-po_item = '00010'.
       ls_poitx-po_itemx = 'x'.
       ls_poitx-material = 'x'.
       ls_poitx-plant = 'x'.
       ls_poitx-quantity = 'x'.
       APPEND ls_poitx to lt_poitx.
    CALL FUNCTION 'BAPI_PO_CREATE1'
       EXPORTING
         POHEADER                     = ls_pohd
        POHEADERX                    =  ls_pohdx
    *   POADDRVENDOR                 =
    *   TESTRUN                      =
    *   MEMORY_UNCOMPLETE            =
    *   MEMORY_COMPLETE              =
    *   POEXPIMPHEADER               =
    *   POEXPIMPHEADERX              =
    *   VERSIONS                     =
    *   NO_MESSAGING                 =
    *   NO_MESSAGE_REQ               =
    *   NO_AUTHORITY                 =
    *   NO_PRICE_FROM_PO             =
    *   PARK_COMPLETE                =
    *   PARK_UNCOMPLETE              =
    * IMPORTING
    *   EXPPURCHASEORDER             =
    *   EXPHEADER                    =
    *   EXPPOEXPIMPHEADER            =
      TABLES
        RETURN                       = return
        POITEM                       = lt_poit
        POITEMX                      = lt_poitx
    *   POADDRDELIVERY               =
    *   POSCHEDULE                   =
    *   POSCHEDULEX                  =
    *   POACCOUNT                    =
    *   POACCOUNTPROFITSEGMENT       =
    *   POACCOUNTX                   =
    *   POCONDHEADER                 =
    *   POCONDHEADERX                =
    *   POCOND                       =
    *   POCONDX                      =
    *   POLIMITS                     =
    *   POCONTRACTLIMITS             =
    *   POSERVICES                   =
    *   POSRVACCESSVALUES            =
    *   POSERVICESTEXT               =
    *   EXTENSIONIN                  =
    *   EXTENSIONOUT                 =
    *   POEXPIMPITEM                 =
    *   POEXPIMPITEMX                =
    *   POTEXTHEADER                 =
    *   POTEXTITEM                   =
    *   ALLVERSIONS                  =
    *   POPARTNER                    =
    *   POCOMPONENTS                 =
    *   POCOMPONENTSX                =
    *   POSHIPPING                   =
    *   POSHIPPINGX                  =
    *   POSHIPPINGEXP                =
    *   SERIALNUMBER                 =
    *   SERIALNUMBERX                =
    *   INVPLANHEADER                =
    *   INVPLANHEADERX               =
    *   INVPLANITEM                  =
    *   INVPLANITEMX                 =
    ENDFUNCTION.
    i am trying to generate purchase order and i create a BAPI also which is active. But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)". 

  • Error occuring when calling a function via BSP

    In BSP, I call the function 'SD_DELIVERY_UPDATE_PICKING' to update a delivery. Unfortunately, when there is an error during processing this function (it is returned in the export table PROT), I found that this delivery is always locked! On the other hand, calling this function in SAP GUI, I haven't found this problem. How can I solve it. I try to use the command 'commit work.', but it doesn't work.
    Moreover, when this function raises an error message, in SAP GUI this function terminates its work according to the message type 'E' rule. However, in BSP, when this error message is raised, the page shows 'The page cannot be displayed'. How can I solve these problems.

    you should do something like below.
    call function 'SD_DELIVERY_UPDATE_PICKING'
        exporting
          vbkok_wa      = <vbkok_wa>
          synchron      = ' '
          no_messages_update = ' '
        tables
          vbpok_tab     = tvbpok
          prot          = wat_prot
        exceptions
          error_message = 2.
      case sy-subrc.
        when 0.
          describe table wat_prot lines fa_lines.
          if fa_lines = 0.
            commit work.
          else.
    * fill a vairable with a message and show it in BSP page
          endif.
        when 2.
    Regards
    Raja

  • Error when call RFC Function module in R/3

    Dear All,
    We are trying to call RFC function module CBIF_GLM1_PROCESS_ORDER_READ (This is not a BAPI and also not released ) in R/3 from XI system.
    we are facing the error "Error while lookup Exception during processing the payload. Error when calling an adapter by using the communication channel CC_PPPI_MES_RFC_Rcvr (Party: , Service: WCD_320, Object ID: 16563889b449328eac76caa6a3bc592e) XI AF API call failed. Module exception: 'error while processing the request to rfc-client: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: failed to parse BAPI response due to: com.sap.aii.adapter.rfc.util.bapi.BapiException: Parameter with name RETURN not found.'. Cause Exception: 'com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: failed to parse BAPI response due to: com.sap.aii.adapter.rfc.util.bapi.BapiException: Parameter with name RETURN not found.'."
    This is the first time we are doing this configuration.
    Could you please let me know what woulbe the reason.

    read the original message
    We are trying to call RFC function module CBIF_GLM1_PROCESS_ORDER_READ (This is not a BAPI and also not released ) in R/3 from XI system.
    I am talking about the above Receiver RFC channel which you guys are using to call R/3 from XI. That where you need to change the commit parameter

  • ERROR: -Type conflict when calling a function module

    hi to all,
    when iam executing the program in browser   Type conflict when calling a function module  error is showing, i have bind all the attribute correctly still iam getting error, WHEN I  CLICK ON THE SEARCH BUTTON DATA IS NOT COMING  TO MY TABLE ITAB1 plz help me....
      DATA:
          NODE_IP_SELECTION                   TYPE REF TO IF_WD_CONTEXT_NODE,
          ELEM_IP_SELECTION                   TYPE REF TO IF_WD_CONTEXT_ELEMENT,
          STRU_IP_SELECTION                   TYPE IF_PLANNING_HISTORY=>ELEMENT_IP_SELECTION ,
          ITAB TYPE TABLE OF ZSL_PL_UPDATE1,
          WA TYPE ZSL_PL_UPDATE1.
      navigate from <CONTEXT> to <IP_SELECTION> via lead selection
        NODE_IP_SELECTION = WD_CONTEXT->GET_CHILD_NODE( NAME = `IP_SELECTION` ).
      get element via lead selection
        ELEM_IP_SELECTION = NODE_IP_SELECTION->GET_ELEMENT(  ).
      get all declared attributes
        ELEM_IP_SELECTION->GET_STATIC_ATTRIBUTES(
          IMPORTING
            STATIC_ATTRIBUTES = STRU_IP_SELECTION ).
    CALL FUNCTION 'ZBAPI_PL_UPDATE'
            EXPORTING
              GV_LIFNR           =  STRU_IP_SELECTION-LIFNR
              GV_MATNR           = STRU_IP_SELECTION-LIFNR
              GV_GJAHR           = ' '
            GV_WEEK_LOW        =   STRU_IP_SELECTION-FROM_WEEK
             GV_WEEK_HIGH       =  STRU_IP_SELECTION-TO_WEEK
          IMPORTING
            RETURN             =
            TABLES
              GT_PL_UPDATE       = ITAB
             DATA:
               NODE_PLANN_NODE                     TYPE REF TO IF_WD_CONTEXT_NODE,
               ELEM_PLANN_NODE                     TYPE REF TO IF_WD_CONTEXT_ELEMENT,
               STRU_PLANN_NODE                     TYPE IF_PLANNING_HISTORY=>ELEMENT_PLANN_NODE,
               WA1 TYPE IF_PLANNING_HISTORY=>ELEMENT_PLANN_NODE,
               ITAB1 TYPE TABLE OF IF_PLANNING_HISTORY=>ELEMENT_PLANN_NODE.
              LOOP AT ITAB INTO WA.
               MOVE-CORRESPONDING WA TO WA1.
               APPEND WA1 TO ITAB1.
              ENDLOOP.
           navigate from <CONTEXT> to <PLANN_NODE> via lead selection
             NODE_PLANN_NODE = WD_CONTEXT->GET_CHILD_NODE( NAME = `PLANN_NODE` ).
             CALL METHOD NODE_PLANN_NODE->BIND_TABLE
               EXPORTING
                 NEW_ITEMS            = ITAB1
                SET_INITIAL_ELEMENTS = ABAP_TRUE
                INDEX                =
    ENDMETHOD.

    CALL FUNCTION 'ZBAPI_PL_UPDATE'
    EXPORTING
    GV_LIFNR = STRU_IP_SELECTION-LIFNR
    GV_MATNR = STRU_IP_SELECTION-LIFNR
    GV_GJAHR = ' '
    GV_WEEK_LOW = STRU_IP_SELECTION-FROM_WEEK
    GV_WEEK_HIGH = STRU_IP_SELECTION-TO_WEEK
    IMPORTING
    RETURN =
    TABLES
    GT_PL_UPDATE = ITAB
    Problem is here
    check out the type GV_GJAHR whether it accepts string type.
    thanks
    sarbjeet singh

  • Error:Type conflict when calling a function module RFC_ERROR_SYSTEM_Failure

    Hi Experts,
    When I run my Application in Portal, i am getting the following error.
    Type conflict when calling a function module., error key: RFC_ERROR_SYSTEM_FAILURE
    When I execute the BAPI, it is getting executed.
    My Bapi Strucute:
    Import Parameters
    IM_MAT_Search --> ZPTIP_MAT --> Import Parameters
    Tables
    IT_INFO_REC --> ZMM_GET_ITEM --> Output Parameters
    When I import the model, i am getting the structure like this
    BAPI_Name > ZMM_BAPI_Input> IM_MAT_Search(respective Parameters) , Output (respective Tables and their parameters)
                        > ZMM_Input1> Parameters
    This is the way, how i am executing in webdynpro java
    Zmm_Bapi_Ptip_Search_Input eleInput = new Zmm_Bapi_Ptip_Search_Input();
    wdContext.nodeZmm_Bapi_Ptip_Search_Input().bind(eleInput);
    Zptip_Asset eleInputAsset = new Zptip_Asset();
    eleInputAsset.setSearch("ACRS");
    wdContext.nodeZptip_Asset().bind(eleInputAsset);
    eleInput.setIm_Ast_Search(eleInputAsset);
    wdContext.nodeZmm_Bapi_Ptip_Search_Input().bind(eleInput);
    wdContext.nodeZmm_Bapi_Ptip_Search_Input().currentZmm_Bapi_Ptip_Search_InputElement().modelObject().execute();
    wdContext.nodeOutput().invalidate();
    Please let me know, how to do the same.
    Thanks in advance.
    Regards,
    Palani

    Hi David,
    I checked for the Parameter of setIm_Ast_Search, it is of Zptip_Asset.
    Hi Saleem,
    When I changed the same, i am getting the Type conflict error,
    Type conflict when calling a function module., error key: RFC_ERROR_SYSTEM_FAILURE
    Please let me know,what can be done in this regard to solve the problem.
    My BAPI Structure when imported as model
    SearchBAPI
    --> ZMM_BAPI_SEARCH_INPUT
    > IM_AST_SEARCH(zPTIP_ASSET)
    >Zptip_Asset
    >Search (Parameter)
    > OutPut(ZMM_BAPI_Search_Output)
    >IT_Asser_Rec(ZMM_Asset)
    >ZMM_Asset
    >TXT100 (output Parameter)
    --> ZMM_BAPI_SEARACH_OUTPUT
    --> ZPTIP_ASSET
    >Search (Parameter)
    Thanks & Regards,
    Palani
    Edited by: Palani Appan on Nov 11, 2009 5:31 PM

  • Call RFC Function Module in R/3 via XI during Mapping

    Hi,
    I have an XI scenario where I have to fill the IDoc ADRMAS03 in XI and send it to R/3. Unfortunately the sender system does not provide the required address number (ADRNR) for the Business Partner, only the Business Partner number. Therefore I want to call a Function Module in R/3 during the mapping in order to get the ADRNR.
    Does anybody know which RFC-Function Module I can call in R/3 4.6c providing the Busness Partner number in order to get the ADRNR?
    Thanks.
    Alex

    Hi,
    no need for RFC lookup it's better to do as he wants
    (inside an exit in R3) - just my point of view
    BTW
    don't use a FM just find a table with both values
    and create a select statement youself
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Data Quality vendor-specific error: An error occurred when calling function 'sdq_init_connector ()' in connector ": "(-8) Exception!." Detailed error message: Exception thrown by Java: java.lang.UnsatisfiedLinkError: nio (Not found in com.ibm.oti.vm.boots

    When attempting to create a new Account in siebel integrated with OEDQ the following error occurs.
    ERROR
    Data Quality vendor-specific error: An error occurred when calling function 'sdq_init_connector ()' in connector ": "(-8) Exception!." Detailed error message: Exception thrown by Java: java.lang.UnsatisfiedLinkError: nio (Not found in com.ibm.oti.vm.bootstrap.library.path)(SBL-APS-00118)
    STEPS
    The issue can be reproduced at will with the following steps:
    1) from EDQ director we have imported the EDQ_CDS,EDQ-REFERENCE DATA & EDQ_HISTORICAl DATA packages sucessfully.
    2) Created dnd.param file in SIebel server SDQCOnnector folder.
    3) Copied the libdnd.so file to siebsrvr lib directory(32 bit)
    3) In dnd.param file we have mentioned the javalib file and instllation directory path(<Siebsrvr roo>/dnd/install)
    4) Unzipped the EDQ-Siebel Connector files in dnd/install folder
    5) Copied the dnd.properties file in dnd/install directory and modified it accordingly to point to installed EDQ instance.
    6) Configured the Siebel components for EDQ integration.
    7) Realtime EDQ jobs are running.
    8) Create a new Account
    Env details are
    On : 8.2.2.14 [IP2014] version, Client Functionality
    EDQ 11.1.1.7.4
    IBM JDK 1.7 32 bit
    Using Open UI
    Any Champ have faced this issue and overcame it please let me know the resolution steps. your help is
    Regards
    Monoj Dey
    9007554589

    Hi Monoj,
    A few questions:
    - What OS is Siebel running on?
    - What version of the Siebel connector are you using?
    - Which libdnd.so file are you using?
    - What's the contents of your dnd.parms file?
    thanks,
    Nick

  • Time Constraint Error when calling a Function module from Webdynpro ABAP

    Any help will be greatly appreciated - Thanks RM
    Time Constraint Error
    Information on where terminated
        Termination occurred in the ABAP program "SAPUP50R" - in
         "CHECK_TIME_CONSTRAINT_S1".
        The main program was "MP000000 ".
        In the source code you have the termination point in line 1069
        of the (Include) program "UP50RU01".
    Error occurred during batch input processing
    Source Code Extract
          l_is_inconsistent = 'X'.
        ENDIF.
      Check if there are inverted time periods.
        IF l_prelp_line-begda > l_prelp_line-endda.
          l_is_inconsistent = 'X'.
        ENDIF.
    Check if there are overlaps or gaps.
        IF NOT l_prelp_before IS INITIAL.
          l_date_difference = l_prelp_line-begda - l_prelp_before-endda.
          IF l_date_difference <> 1.
            l_is_inconsistent = 'X'.
          ENDIF.
        ENDIF.
        l_prelp_before = l_prelp_line.
      ENDLOOP.
      IF l_prelp_before-endda <> '99991231'.
        l_is_inconsistent = 'X'.
      ENDIF.
      IF l_is_inconsistent = 'X'.
        IF p_access_type = 'R'.
    490 Datenbankschiefstand Personalnummer & Infotyp &
          MESSAGE x490 WITH l_prelp_before-pernr l_prelp_before-infty.
        ELSE.
    491 Unzulässige Daten Personalnummer & Infotyp &
    Line 1069 Error occcurs >>>>  MESSAGE x491 WITH l_prelp_before-pernr l_prelp_before-infty.
        ENDIF.
      ENDIF.
    ENDFORM.                    " CHECK_TIME_CONSTRAINT_S1     "XYVN0352581
    *&      Form  clear_no_adapter_needed              new     "XREN844998
          text
    FORM clear_no_adapter_needed .
      CLEAR no_adapter_needed.
    ENDFORM.                    " clear_no_adapter_needed
    *&      Form  set_no_adapter_needed              new     "XREN844998
          text
    FORM set_no_adapter_needed .
      no_adapter_needed = 'X'.
    ENDFORM.                    " clear_no_adapter_needed

    Hi,
    Well, are you trying to do a batch input on infotype 0000? If yes you need to check that the proposed values respects the time constraint, meaning no gap, no overlaps and no inversions. Also fields SUBTY, OBJPS, SPRPS and SEQNR must remain initial when processing IT0000...
    Kr,
    Manu.

  • Time Constraint Error when calling a Function Module

    Any help will be greatly appreciated - Thanks RM
    Time Constraint Error
    Information on where terminated
    Termination occurred in the ABAP program "SAPUP50R" - in
    "CHECK_TIME_CONSTRAINT_S1".
    The main program was "MP000000 ".
    In the source code you have the termination point in line 1069
    of the (Include) program "UP50RU01".
    Error occurred during batch input processing
    Source Code Extract
    l_is_inconsistent = 'X'.
    ENDIF.
    Check if there are inverted time periods.
    IF l_prelp_line-begda > l_prelp_line-endda.
    l_is_inconsistent = 'X'.
    ENDIF.
    Check if there are overlaps or gaps.
    IF NOT l_prelp_before IS INITIAL.
    l_date_difference = l_prelp_line-begda - l_prelp_before-endda.
    IF l_date_difference 1.
    l_is_inconsistent = 'X'.
    ENDIF.
    ENDIF.
    l_prelp_before = l_prelp_line.
    ENDLOOP.
    IF l_prelp_before-endda '99991231'.
    l_is_inconsistent = 'X'.
    ENDIF.
    IF l_is_inconsistent = 'X'.
    IF p_access_type = 'R'.
    490 Datenbankschiefstand Personalnummer & Infotyp &
    MESSAGE x490 WITH l_prelp_before-pernr l_prelp_before-infty.
    ELSE.
    491 Unzulässige Daten Personalnummer & Infotyp &
    Line 1069 Error occcurs >>>> MESSAGE x491 WITH l_prelp_before-pernr l_prelp_before-infty.
    ENDIF.
    ENDIF.
    ENDFORM. " CHECK_TIME_CONSTRAINT_S1 "XYVN0352581
    *& Form clear_no_adapter_needed new "XREN844998
    text
    FORM clear_no_adapter_needed .
    CLEAR no_adapter_needed.
    ENDFORM. " clear_no_adapter_needed
    *& Form set_no_adapter_needed new "XREN844998
    text
    FORM set_no_adapter_needed .
    no_adapter_needed = 'X'.
    ENDFORM. " clear_no_adapter_needed

    Hi,
    Well, are you trying to do a batch input on infotype 0000? If yes you need to check that the proposed values respects the time constraint, meaning no gap, no overlaps and no inversions. Also fields SUBTY, OBJPS, SPRPS and SEQNR must remain initial when processing IT0000...
    Kr,
    Manu.

  • Error occurred during CTM planning run

    Hi folks,
    Appreciate your co-operations!
    I am facing the problem while running the CTM with the profile DEMO2.
    CTM Planning Run gives one error and alert.
    Error: Error occurred during CTM planning run
    Technical Data
    Message type__________ A (Cancel)
    Message class_________ /SAPAPO/CTM1 (CTM: Messgaes)
    Message number________ 401
    Problem class_________ 1 (very important)
    Number________________ 1
    Environment Information
    CTM Action____________ G
    Message type__________ A
    Alert: Internal error has occurred (<!> Segmentation fault)
    Technical Data
    Message type__________ E (Error)
    Message class_________ /SAPAPO/CTM1 (CTM: Messgaes)
    Message number________ 571
    Message variable 1____ <!> Segmentation fault
    Number________________ 1
    Environment Information
    CTM Action____________ G
    Message type__________ C
    Log file display
    <i> 04:37:59 optsvr_main.cpp(1363) 'SuperVisor' => Commandline : 4 respected parameters ...
    Args:
    m0001006
    sapgw04
    28812935
    IDX=1
    <i> 04:37:59 optsvr_main.cpp(645) 'SuperVisor'  * SAP APO CTM Engine [CTM/ctmsvr]
    <i> 04:37:59 optsvr_main.cpp(646) 'SuperVisor'  * Copyright u00A9 SAP AG 1993-2009
    <i> 04:37:59 optsvr_main.cpp(647) 'SuperVisor'  *
    <i> 04:37:59 optsvr_main.cpp(648) 'SuperVisor'  * Version        : 7.0_REL SP05, 407661, Nov 25 2009 22:59:47
    <i> 04:37:59 optsvr_main.cpp(649) 'SuperVisor'  * Platform       : ntamd64/x64
    <i> 04:37:59 optsvr_main.cpp(650) 'SuperVisor'  * Interface      : 2.0
    <i> 04:37:59 optsvr_main.cpp(651) 'SuperVisor'  * Build date     : Nov 25 2009 22:59:47 [1259186387]
    <i> 04:37:59 optsvr_main.cpp(652) 'SuperVisor'  * Build machine  : PWDFM163
    <i> 04:37:59 optsvr_main.cpp(653) 'SuperVisor'  * Latest change  : 407661
    <i> 04:37:59 optsvr_main.cpp(654) 'SuperVisor'  * NW release     : 7100.0.3300.0
    <i> 04:37:59 optsvr_main.cpp(655) 'SuperVisor'  * Perforce branch: 7.0_REL
    <i> 04:37:59 optsvr_main.cpp(656) 'SuperVisor'  *
    <i> 04:37:59 optsvr_main.cpp(676) 'SuperVisor'  * Hostname       : m0001006
    <i> 04:37:59 optsvr_main.cpp(677) 'SuperVisor'  * OS version     : 5.2.3790 (WinServer2003, NTAMD64) SP2.0 (Service Pack 2), SERVER ENTERPRISE TERMINAL SINGLEUSERTS
    <i> 04:37:59 optsvr_main.cpp(678) 'SuperVisor'  * PID            : 6768
    <i> 04:37:59 optsvr_main.cpp(683) 'SuperVisor'  * CWD            : D:\usr\sap\SC6\DVEBMGS04\log
    <i> 04:37:59 optsvr_main.cpp(684) 'SuperVisor'  *
    <i> 04:37:59 core_sysinfo.cpp(453) 'SuperVisor' * free disk space: 190433 MB
    <i> 04:37:59 core_sysinfo.cpp(454) 'SuperVisor' *
    <i> 04:37:59 core_sysinfo.cpp(409) 'SuperVisor' * Memory information:
    <i> 04:37:59 core_sysinfo.cpp(409) 'SuperVisor' *   physical memory: 10238 MB total, 6511 MB available [63% free]
    <i> 04:37:59 core_sysinfo.cpp(409) 'SuperVisor' *   page file      : 73212 MB total, 60889 MB available [83% free]
    <i> 04:37:59 core_sysinfo.cpp(409) 'SuperVisor' *   virtual memory : 8388607 MB total, 8388499 MB available [99% free]
    <i> 04:37:59 optsvr_main.cpp(693) 'SuperVisor'  *
    <i> 04:37:59 optsvr_main.cpp(783) 'SuperVisor' * running in invoke mode
    <i> 04:37:59 optsvr_rfcconnection.cpp(871) 'MsgMgr' <RFC> RfcPing(RFC_HANDLE=1) received in thread#6912
    <i> 04:37:59 optsvr_rfcconnection.cpp(692) 'MsgMgr' <RfcConnection> using function module 'RCCF_COMM_PARAM_SET' for sending of parameters/options
    <i> 04:37:59 optsvr_rfcconnection.cpp(703) 'MsgMgr' <RfcConnection> using function module 'RCCF_COMM_PARAM_GET' for receiving of parameters/options
    <i> 04:37:59 optsvr_rfcconnection.cpp(712) 'MsgMgr' <RfcConnection> using function module 'RCCF_COMM_PROGRESS' for progress informations
    <i> 04:37:59 optsvr_rfcconnection.cpp(721) 'MsgMgr' <RfcConnection> using function module 'RCCF_COMM_MESSAGE' for messages
    <i> 04:37:59 optsvr_rfcconnection.cpp(730) 'MsgMgr' <RfcConnection> using function module 'RCCF_COMM_RESULT' for (intermediate) result informations
    <i> 04:37:59 optsvr_rfcconnection.cpp(739) 'MsgMgr' <RfcConnection> using function module 'RCCF_COMM_SYSINFO' for system informations
    <i> 04:37:59 optsvr_rfcconnection.cpp(748) 'MsgMgr' <RfcConnection> using function module 'RCCF_COMM_PERFINFO' for performance informations
    <i> 04:37:59 optsvr_rfcconnection.cpp(1269) 'MsgMgr' <RFC> skipping empty profile value [GENERAL] sPROFILE_CUST_ID
    <i> 04:37:59 optsvr_rfcconnection.cpp(1835) 'MsgMgr'
    Sender/Receiver RFC_HANDLE#1:
    <RFC> * RFC connection attributes:
      Own Host    : m0001006
      Partner Host: m0001006
      Destination : OPTSERVER_CTM01
      Program Name: SAPLRCC_COMM_ENGINE
      SystemNr    :              04       SystemId    : SC6
      Client      :             700       User        : MBATCHA    
      Language    :               E       ISO Language: EN
      CodePage    :            1100       Partner CP  : 1100
      Kernel Rel. :            701        Partner Rel.: 701
      Own Release :            711        CPIC ConvId : 28812935
      Own Type    :               E       PartnerType : 3
      Trace       :                       RFC Role    : S
    <RFC> * RFC statistic information:
      number of calls        : 7
      number of received data: 10569
      number of sent data    : 1349
      overall reading time   : 9073
      overall writing time   : 162
    <i> 04:37:59 optsvr_main.cpp(1110) 'SuperVisor' * Starting MainScript ...
    <i> 04:37:59 optsvr_main.cpp(1445) 'SuperVisor'
    ***************************** OPTSVR - OPTIONS ***************************** *
    [CTM_PROFILE]
    nCTMENGINEPACKAGESIZE = 500
    sCOMPONENT = SCM
    sCTMLOGFILE = ctm.DEMO2.0000_0001.20091201043758.log
    sCTMLOGFLAG = 0
    sCTMPROFILE = DEMO2
    sRELEASE = 700
    [general]
    bUNICODE = true
    nSLOT_MAXIMUM = 1
    nSLOT_MINIMUM = 1
    nSLOT_RESERVED = 1
    sAPO_RELEASE = 700
    sAPPLICATION = CTM
    sExeDir = d:\apoopt\ctm\bin
    sExeName = ctmsvr.exe
    sHOST = m0001006
    sInvokeMode = invoke
    sLANGU = E
    sMANDT = 700
    sPRODUCT_NAME = APO
    sPRODUCT_PATCHLEVEL = 0001
    sPRODUCT_RELEASE = 700
    sPROFILE = DEMO2
    sSESSION = tju5Bmz21}6WVG0Sn6pv3W
    sSYSTEM = SC6
    sUNAME = MBATCHA
    [init]
    sSECTION0001 = INIT
    sSECTION0002 = GENERAL
    sSECTION0003 = PASSPORT
    sSECTION0004 = CTM_PROFILE
    [PASSPORT]
    bIS_REMOTE = false
    nACTION_TYPE = 1
    nSERVICE = 1
    sACTION = /SAPAPO/CTMB
    sPRE_SYSID = SC6
    sSYSID = SC6
    sTRANSID = 2205DEDE7A5BF16DA07D001CC46CF90E
    sUSERID = MBATCHA
    ************************** OPTSVR OPTIONS - END **************************** *
    <i> 04:37:59 core_msgmgr.cpp(440) 'MsgMgr' * Sending progress number 802 to OutputInterface from []
    <i> 04:37:59 core_supervisor.cpp(728) 'SuperVisor' <M> Invoking module 'CTMModelGenerator' [6]->download
    <i> 04:37:59 core_msgmgr.cpp(440) 'MsgMgr' * Sending progress number 806 to OutputInterface from [MG]
    <i> 04:37:59 ctm_modelgen.cpp(166) 'CTMModelGenerator' ======================================================================
    <i> 04:37:59 ctm_modelgen.cpp(167) 'CTMModelGenerator' MG::download
    <i> 04:37:59 core_msgmgr.cpp(1110) 'MsgMgr' renaming tracefile
    <i> 04:37:59 core_msgmgr.cpp(1111) 'MsgMgr' old name: optsvr_trace20091201_043759_1a70.log
    <i> 04:37:59 core_msgmgr.cpp(1112) 'MsgMgr' new name: ctm.DEMO2.20091201_043759_1a70.log
    logfile reopened : Tue Dec 01 04:37:59 2009
    logfile name     : ctm.DEMO2.20091201_043759_1a70.log
    <i> 04:37:59 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_STATUS_SET
    <i> 04:37:59 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_PRDAT_RFC_READ
    <i> 04:37:59 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_PLPAR_RFC_READ
    <i> 04:37:59 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_LOC_RFC_READ
    <i> 04:37:59 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_PPM_RFC_READ
    <i> 04:38:02 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_TRANS_RFC_READ
    <i> 04:38:02 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_RES_RFC_READ
    <i> 04:38:02 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_SSTCK_RFC_READ
    <i> 04:38:02 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_CAL_RFC_READ
    <i> 04:38:02 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_PLPER_RFC_READ
    <i> 04:38:02 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_INCMD_RFC_READ
    <i> 04:38:03 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_STATUS_SET
    <i> 04:38:03 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_DEM_RFC_READ
    <i> 04:38:04 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_SUP_RFC_READ
    <i> 04:38:04 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_UCMAP_RFC_READ
    <i> 04:38:04 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_STATUS_SET
    <i> 04:38:04 core_msgmgr.cpp(440) 'MsgMgr' * Sending progress number 810 to OutputInterface from [MG]
    <i> 04:38:04 ctm_modelgen.cpp(735) 'CTMModelGenerator' MG::download done
    <i> 04:38:04 ctm_modelgen.cpp(736) 'CTMModelGenerator' ======================================================================
    <i> 04:38:04 core_supervisor.cpp(750) 'SuperVisor' <M> Returning from module 'CTMModelGenerator' [6]->download = success [ctx size : 1]
    <i> 04:38:04 core_supervisor.cpp(692) 'SuperVisor' <SCR> Starting script 'CTM Solve' with 9.22337e+012 seconds left
    <i> 04:38:04 core_supervisor.cpp(692) 'SuperVisor' <SCR> Starting script 'CTM Match' with 9.22337e+012 seconds left
    <i> 04:38:04 ctm_executionmanager.cpp(102) 'SuperVisor' ======================================================================
    <i> 04:38:04 ctm_executionmanager.cpp(103) 'SuperVisor' statistics:
    <i> 04:38:04 ctm_executionmanager.cpp(104) 'SuperVisor' number of demands: 7
    <i> 04:38:04 ctm_executionmanager.cpp(105) 'SuperVisor' ======================================================================
    <i> 04:38:04 ctm_executionmanager.cpp(107) 'SuperVisor' ======================================================================
    <i> 04:38:04 ctm_executionmanager.cpp(108) 'SuperVisor' parameters:
    <i> 04:38:04 ctm_executionmanager.cpp(118) 'SuperVisor' time continuous planning
    <i> 04:38:04 ctm_executionmanager.cpp(125) 'SuperVisor' backward scheduling
    <i> 04:38:04 ctm_executionmanager.cpp(184) 'SuperVisor' CBCLP enabled
    <i> 04:38:04 ctm_executionmanager.cpp(457) 'SuperVisor' ======================================================================
    <i> 04:38:04 core_supervisor.cpp(728) 'SuperVisor' <M> Invoking module 'CtmEngine' [7]->run
    <i> 04:38:04 ctm_executionmanager.cpp(523) 'SuperVisor' ======================================================================
    <i> 04:38:04 ctm_executionmanager.cpp(524) 'SuperVisor' EM::execute for packet 1
    <i> 04:38:04 ctm_executionmanager.cpp(1570) 'SuperVisor' EM::execute for packet 1 done
    <i> 04:38:04 ctm_executionmanager.cpp(1571) 'SuperVisor' ======================================================================
    <i> 04:38:04 core_supervisor.cpp(750) 'SuperVisor' <M> Returning from module 'CtmEngine' [7]->run = success [ctx size : 1]
    <i> 04:38:04 core_supervisor.cpp(728) 'SuperVisor' <M> Invoking module 'CTMModelGenerator' [6]->upload
    <i> 04:38:04 ctm_modelgen.cpp(1097) 'CTMModelGenerator' ======================================================================
    <i> 04:38:04 ctm_modelgen.cpp(1098) 'CTMModelGenerator' MG::upload of packet 1
    <e> 04:38:05 ctmsvr_script.cpp(229) 'SuperVisor' <!> STRING EXCEPTION : <!> Segmentation fault
    <i> 04:38:05 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_STATUS_SET
    <i> 04:38:05 optsvr_main.cpp(1166) 'MsgMgr' Current check values:
    [CHECK_EQUAL]
    [CHECK_UPPERBOUND]
    nPEAK_MEMORY_NTAMD64 = 45344
    [CHECK_LOWERBOUND]
    <i> 04:38:05 optsvr_main.cpp(1209) 'MsgMgr' Performance values:
    bSuccess     false
    nCPU_TIME     0
    nPEAK_MEMORY     45344
    nPEAK_VIRTUAL_BYTES     141844
    nREAL_TIME     6
    tracefile     ctm.DEMO2.20091201_043759_1a70.log
    <i> 04:38:05 optsvr_main.cpp(1235) 'MsgMgr' Performance Monitor values:
    ENGINE_VERSION     7.0_REL SP05, 407661, Nov 25 2009 22:59:47
    nCPU_TIME     0
    nHD_FREESPACE     190433
    nPEAK_MEMORY     45344
    nPEAK_VIRTUAL_BYTES     141844
    nREAL_TIME     6
    <i> 04:38:05 optsvr_dsr.cpp(96) 'MsgMgr' <writeDSRdata> tracing not active => no DSR written
    <i> 04:38:05 optsvr_main.cpp(1256) 'SuperVisor'
    Finished->FAILED ...
    <i> 04:38:05 core_memmgr.cpp(564) 'MsgMgr'   transferring memory of heap 6912 to main heap
    <i> 04:38:05 core_memmgr.cpp(606) 'MsgMgr'   finished transfer of heap 6912
    <i> 04:38:05 optsvr_rfcconnection.cpp(1835) 'MsgMgr'
    Sender/Receiver RFC_HANDLE#1:
    <RFC> * RFC connection attributes:
      Own Host    : m0001006
      Partner Host: m0001006
      Destination : OPTSERVER_CTM01
      Program Name: SAPLRCC_COMM_ENGINE
      SystemNr    :              04       SystemId    : SC6
      Client      :             700       User        : MBATCHA    
      Language    :               E       ISO Language: EN
      CodePage    :            1100       Partner CP  : 1100
      Kernel Rel. :            701        Partner Rel.: 701
      Own Release :            711        CPIC ConvId : 28812935
      Own Type    :               E       PartnerType : 3
      Trace       :                       RFC Role    : S
    <RFC> * RFC statistic information:
      number of calls        : 116
      number of received data: 420457
      number of sent data    : 39262
      overall reading time   : 5.30093e+006
      overall writing time   : 3831
    <i> 04:38:05 optsvr_main.cpp(1332) 'MsgMgr'
    OptimizeServer says  GOOD BYE
    Please help me to resolve this issue.
    Thanks & Regards,
    Khadar

    Hi Khadar,
    1) The information you have provided is the CTM optimiser log.
    Run the job in background and in  sm37 and click on job log &
    analyse the exact error happened.  In case if you are not able
    to do, please provide the error log.
    2) Check the livecache is stable in its operations when the job
    runs (check with basis team)
    3) Run consistency check for master data before CTM run
    4) Check for any struck queues and clear those and rerun
    5) If you feel more inconsistencies in system, run livecache
    consistency and rerun CTM run
    Regards
    R. Senthil Mareeswaran.

  • Error occur during extraction

    Hi All,
    i am activate the bussiness content RSA5 : 0job_attr & ojob_text, but check in RSA6 warning error occur. check the data in RSA6 found : Errors occurred during the extraction.
    Check in log found that :The application program for the extraction of data was called up using
    the invalid InfoSource/invalid InfoObject 0JOB_ATTR.
    another error i am found : shortext medium text longtext non maintain language 'E'
    Regards
    Priya

    Hi,
    This problem is relted to HR Module ?
    RSA6 Delete the object. Again go to RSA5 bussiness content select 0JOB_ATTR ;> transfer datasource. before goto RSA5 , inform to the Functional consultant they maintain the shortext medium text longtext non maintain language 'E' for 0JOB_ATTR. becuse DE is maintain for the object before.
    Regards
    Sangram sutar

  • Errors occurred during the extraction(Generic Extraction)

    Hi All,
    I am facing problems in solving BW Production issues .
    The following are the Problem  details.
    Actually there are two Datasources connected to BW System  One is from R/3 and other is from CRM.
    The problem is with Delta  Request which has been failed in ODS while uploading Data from R/3 in Background Scheduling but other DataSource is loading perfectly into BW System.
    Its a generic extraction created based on View.
    When i checked BW Side the error is displaying as follows:                                                                                Error occurred in the Data Selection.
         Error occurred in the Source System.
            No Data has been extracted from R/3 into BW.
    But when i checked R/3 (Source system)
    Firslty i executed RSA7  for checking Delta Records.  The records are 0 for the Datasource.
    I executed RSA3 with Full UpdateMode, the number of records extracted were displayed
    when i checked with Delta Update Mode its giving the following error.
    Errors occurred during the extraction
    Message no. RJ 012
    Diagnosis
    There was an error during the extraction phase of the extractor. An exception 'error_passed_to_mess_handler' has been triggered.
    Procedure
    Check the function module and the call from the extractor check program
    Messages from source system
    see also Processing Steps Request
    These messages are sent by IDoc from the source system. Both the extractor itself as well as the service API can send messages. When errors occur, several messages are usually sent together.
    From the source system, there are several types of messages that can be differentiated by the so-called Info-IDoc-Status. The IDoc with status 2 plays a particular role here; it describes the number of records that have been extracted in a source system and sent to BW. The number of the records received in BW is checked against this information.
    Regards,
    Chakri
    Message was edited by: Chakri
    Message was edited by: Chakri

    Hi,
    If Idoc are already sent to BW then goto Monitor in BW and in Details tab note the Idoc no in OLTP, and goto R?3 and BD20 tcode and give the Idoc no and execute it.And see the records are came or not in BW.
    Thanks
    Reddy

Maybe you are looking for