ALE Interface Error

Experts
Im trying to generate an ALE interface for BUS0050. The process errors with "Segment ZIBP_0050_ITEM is used multiple times in IDOC types".
I have also tried this using a copy of the Object and get the same result
thanks for your help
Andy

hi,  I think segment ZIBP_0050_ITEM  is a customize segment which be added by EEWB, right?
Sometime, the problem in EEWB enhance field will impact our idoc generation.
in my opinion,  you'd better delete all the customziing idoc type for BUS0050.
Then go to EEWB, delete the custimizing field related to ZIBP_0050_ITEM, and create them again.

Similar Messages

  • ALE INTERFACE BOR KNA1 error generetion in transaction BDGD

    Moderator message: Do not use the word "urgently" in your posts.  It is generally considered quite rude to do so.  I have edited the subject.
    Hello! i would like to implement ALE interface of the BAPI BAPI_CUSTOMER_CREATEFROMDATA1 (business object KNA1) to use it in transaction LSMW but until i generate the interface using transaction BDGD the program block the generation and give me the follow error:
    Segment Z1BPKNA105 is used multiple times in IDoc types
    Message no. EA799
    Diagnosis
    Segment type Z1BPKNA105 is used multiple times in the IDoc type. A segment type may only be used once in each IDoc type.
    What i have to do for resolve the error and generate ALE interface of BAPI BAPI_CUSTOMER_CREATEFROMDATA1???
    HELP ME THANKS!!
    Edited by: Matt on Nov 7, 2008 5:25 PM
    Edited by: Matt on Nov 7, 2008 5:25 PM

    >
    Matt wrote:
    > What would you like me to change it to?
    I was going to add a "Too late ;-)" but it probably doesn't matter now
    Rob

  • Inbound ALE interface for HR Master and OM data

    Dear Experts,
    I have a requirement for ALE interface to create and maintain HR master and OM data with the details coming from external HR system and I need to send back the pernrs,position or org. unit created back to external system.I am trying to use HRMD_A message type for this interface which will use  FM IDOC_INPUT_HRMD to post the idocs which will update the DB tables of infotypes directly.But in my case i need to create the pernr or position with details coming from external system and send them back.how i can create and catch these details using this standard FM IDOC_INPUT_HRMD?
    Thanks a lot in anticipation!!

    Hi Ramnaresh,
    Did you get the solution for this. we have the similar requirement from people soft to SAP but only one direction.
    We are using the IDOC ( IDOC_INPUT_HRMD). It is working fine except for the fields KOSTL (Cost Center), ORGEH (Org Key), SETLL (Job key) in infotype 0001. the values are showing in generated IDOC but not updating the infotype table PA0001.
    The functionality is working fine for other fields and other infotypes.
    When I debug the program it is dealing with the config table T77S0 parameters: PLOGI , ORGA , Value 'X'.
    If we maintain this value, I am getting the below error message.
    The EMPLOYEE_ORG_ASSIGNMENT-COSTCENTER field cannot be maintained in dialog, which means you cannot fill it with data at this point. It is calculated automatically by the system.
    If the Config, table parameters are not maintained, then IDOC is in successful state but not updating the cost center in PA0001.
    Can you please let me know if you get any solution on this.
    Thanks,
    Jitender

  • Tcode BDBG - Generate ALE Interface for BAPI

    Hi All,
    I'm trying to generate an ALE interface for the BAPI - BAPI_BUSPROCESSND_CREATEMULTI for my LSMW project, for which I have created a bespoke object in SWO1 (ZBUS), but each time I try to generate the ALE interface for the BAPI I get the error as follows -
    Segment Z1BPBUS20001_HEADER_INS is used multiple times in IDoc types
    Message no. EA799
    Diagnosis
    Segment type Z1BPBUS20001_HEADER_INS is used multiple times in the IDoc type. A segment type may only be used once in each IDoc type.
    I agree, segment BAPIBUS20001_HEADER_INS is used more than once in BAPI_BUSPROCESSND_CREATEMULTI for the HEADER and CREATED_PROCESS tables, so is there any alternate solution to it?
    I have also tried running BDBG for BAPI_ACTIVITYCRM_CREATEMULTI, and I get athe same error message as above for the segment - BAPIBUS20001_APPOINTMENT_INS - but I cannot see this segment being used anywhere else except for tables DATE.
    Kind regards,
    Arijit Das

    Hi Suresh,
    thanks for your reply.
    Method of BAPI has not been deleted,
    but message type, idoc type and FM for Outbound processing.
    These objects are within SAP namespace, so recreation will not work.
    Regards
    rea

  • ALE interface generation from BAPI_POEC_CREATE

    Hi,
    I want to generate an ALE interface from BAPI_POEC_CREATE (object type BUS2201).
    FUNCTION BAPI_POEC_CREATE.
    *"*"Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(I_PO_HEADER) LIKE  BAPI_PO_HEADER_C STRUCTURE
    *"        BAPI_PO_HEADER_C
    *"     VALUE(I_PO_HEADER_CUST) LIKE  BAPI_PO_HEADER_CUST_C STRUCTURE
    *"        BAPI_PO_HEADER_CUST_C OPTIONAL
    *"     VALUE(I_TESTRUN) TYPE  BBPS_BAPI2091-TESTRUN DEFAULT SPACE
    *"  EXPORTING
    *"     VALUE(E_PO_HEADER) TYPE  BAPI_PO_HEADER_D
    *"     VALUE(E_PO_HEADER_CUST) TYPE  BAPI_PO_HEADER_CUST_D
    *"  TABLES
    *"      I_PO_ITEMS STRUCTURE  BAPI_PO_ITEM_C OPTIONAL
    *"      I_PO_ITEMS_CUST STRUCTURE  BAPI_PO_ITEM_CUST_C OPTIONAL
    *"      I_PO_ACCASS STRUCTURE  BAPI_ACC_C OPTIONAL
    *"      I_PO_ACCASS_CUST STRUCTURE  BAPI_ACC_CUST_C OPTIONAL
    *"      I_PO_PARTNER STRUCTURE  BAPI_BUP_C OPTIONAL
    *"      I_PO_TEXT STRUCTURE  BAPI_TEXT_I OPTIONAL
    *"      I_PO_ATTACH STRUCTURE  BAPI_ATT_C OPTIONAL
    *"      I_PO_ORGDATA STRUCTURE  BAPI_ORG_C OPTIONAL
    *"      I_PO_LIMIT STRUCTURE  BAPI_LIMIT_C OPTIONAL
    *"      I_PO_SDLN STRUCTURE  BAPI_SDLN_C OPTIONAL
    *"      E_PO_ITEMS STRUCTURE  BAPI_PO_ITEM_D OPTIONAL
    *"      E_PO_ITEMS_CUST STRUCTURE  BAPI_PO_ITEM_CUST_D OPTIONAL
    *"      E_PO_ACCASS STRUCTURE  BAPI_ACC_D OPTIONAL
    *"      E_PO_ACCASS_CUST STRUCTURE  BAPI_ACC_CUST_D OPTIONAL
    *"      E_PO_PARTNER STRUCTURE  BAPI_BUP_D OPTIONAL
    *"      E_PO_ORGDATA STRUCTURE  BAPI_ORG_D OPTIONAL
    *"      E_PO_LIMIT STRUCTURE  BAPI_LIMIT_D OPTIONAL
    *"      E_PO_SDLN STRUCTURE  BAPI_SDLN_D OPTIONAL
    *"      E_PO_TEXT STRUCTURE  BAPI_TEXT_I OPTIONAL
    *"      E_PO_STATUS STRUCTURE  BAPI_BBP_STATUS OPTIONAL
    *"      E_PO_ATTACH STRUCTURE  BAPI_ATT_D OPTIONAL
    *"      RETURN STRUCTURE  BAPIRET2 OPTIONAL
    1) I encoutered a first problem : as you can see, these are two parameters with the same type BAPI_TEXT_I. So it gives an error message during generation in BDBG. I can bypass this error by deleting the second parameter (E_PO_TEXT) in debug. But I don't like this method of course...
    2) I have a second problem : the three parameters I_PO_HEADER_CUST, I_PO_ITEMS_CUST, I_PO_ACCASS_CUST are not taken in account in the generated FM (ZIDOC_INPUT_ZPURCHASEORDEREC_C), even if corresponding EDI segments are generated. I needed to add them manually (at the end of the following code) :
    FUNCTION zidoc_input_zpurchaseorderec_c.
    *"*"Interface locale :
    *"  IMPORTING
    *"     VALUE(INPUT_METHOD) LIKE  BDWFAP_PAR-INPUTMETHD
    *"     VALUE(MASS_PROCESSING) LIKE  BDWFAP_PAR-MASS_PROC
    *"  EXPORTING
    *"     VALUE(WORKFLOW_RESULT) LIKE  BDWF_PARAM-RESULT
    *"     VALUE(APPLICATION_VARIABLE) LIKE  BDWF_PARAM-APPL_VAR
    *"     VALUE(IN_UPDATE_TASK) LIKE  BDWFAP_PAR-UPDATETASK
    *"     VALUE(CALL_TRANSACTION_DONE) LIKE  BDWFAP_PAR-CALLTRANS
    *"  TABLES
    *"      IDOC_CONTRL STRUCTURE  EDIDC
    *"      IDOC_DATA STRUCTURE  EDIDD
    *"      IDOC_STATUS STRUCTURE  BDIDOCSTAT
    *"      RETURN_VARIABLES STRUCTURE  BDWFRETVAR
    *"      SERIALIZATION_INFO STRUCTURE  BDI_SER
    *"  EXCEPTIONS
    *"      WRONG_FUNCTION_CALLED
    *  this function module is generated                                   *
    *          never change it manually, please!        10.06.2008         *
      DATA:
          z1zpurchaseorderec_create LIKE z1zpurchaseorderec_create,
          z1bp_po_header_c LIKE z1bp_po_header_c,
          z1bp_po_item_c LIKE z1bp_po_item_c,
          z1bp_acc_c LIKE z1bp_acc_c,
          z1bp_bup_c LIKE z1bp_bup_c,
          z1bp_bup_c1 LIKE z1bp_bup_c1,
          z1bp_bup_c2 LIKE z1bp_bup_c2,
          z1bp_text_i LIKE z1bp_text_i,
          z1bp_att_c LIKE z1bp_att_c,
          z1bp_org_c LIKE z1bp_org_c,
          z1bp_limit_c LIKE z1bp_limit_c,
          z1bp_po_item_d LIKE z1bp_po_item_d,
          z1bp_po_item_d1 LIKE z1bp_po_item_d1,
          z1bp_acc_d LIKE z1bp_acc_d,
          z1bp_bup_d LIKE z1bp_bup_d,
          z1bp_bup_d1 LIKE z1bp_bup_d1,
          z1bp_bup_d2 LIKE z1bp_bup_d2,
          z1bp_org_d LIKE z1bp_org_d,
          z1bp_limit_d LIKE z1bp_limit_d,
          z1bp_bbp_status LIKE z1bp_bbp_status,
          z1bp_att_d LIKE z1bp_att_d,
    * go through all IDocs                                                 *
      LOOP AT idoc_contrl.
    *   select segments belonging to one IDoc                              *
        REFRESH t_edidd.
        LOOP AT idoc_data WHERE docnum = idoc_contrl-docnum.
          APPEND idoc_data TO t_edidd.
        ENDLOOP.
    *   through all segments of this IDoc                                  *
        CLEAR error_flag.
        REFRESH bapi_retn_info.
        CATCH SYSTEM-EXCEPTIONS conversion_errors = 1.
          LOOP AT t_edidd INTO idoc_data.
            CASE idoc_data-segnam.
              WHEN 'Z1ZPURCHASEORDEREC_CREATE'.
                z1zpurchaseorderec_create = idoc_data-sdata.
                MOVE z1zpurchaseorderec_create-i_testrun
                  TO i_testrun.
              WHEN 'Z1BP_PO_HEADER_C'.
                z1bp_po_header_c = idoc_data-sdata.
                MOVE-CORRESPONDING z1bp_po_header_c
                   TO i_po_header.                              "#EC ENHOK
                IF z1bp_po_header_c-doc_date
                   IS INITIAL.
                  CLEAR i_po_header-doc_date.
                ENDIF.
                IF z1bp_po_header_c-pcdat_to
                   IS INITIAL.
                  CLEAR i_po_header-pcdat_to.
                ENDIF.
                IF z1bp_po_header_c-vper_start
                   IS INITIAL.
                  CLEAR i_po_header-vper_start.
                ENDIF.
                IF z1bp_po_header_c-vper_end
                   IS INITIAL.
                  CLEAR i_po_header-vper_end.
                ENDIF.
              WHEN 'Z1BP_PO_ITEM_C'.
                z1bp_po_item_c = idoc_data-sdata.
                MOVE-CORRESPONDING z1bp_po_item_c
                   TO i_po_items.                               "#EC ENHOK
                IF z1bp_po_item_c-deliv_date
                   IS INITIAL.
                  CLEAR i_po_items-deliv_date.
                ENDIF.
                APPEND i_po_items.
              WHEN 'Z1BP_ACC_C'.
                z1bp_acc_c = idoc_data-sdata.
                MOVE-CORRESPONDING z1bp_acc_c
                   TO i_po_accass.                              "#EC ENHOK
                APPEND i_po_accass.
              WHEN 'Z1BP_BUP_C'.
                z1bp_bup_c = idoc_data-sdata.
                MOVE-CORRESPONDING z1bp_bup_c
                   TO i_po_partner.                             "#EC ENHOK
                READ TABLE t_edidd TRANSPORTING NO FIELDS WITH KEY
                             segnam = 'Z1BP_BUP_C1'.
                IF sy-subrc <> 0.
                  APPEND i_po_partner.
                ENDIF.
              WHEN 'Z1BP_BUP_C1'.
                z1bp_bup_c1 = idoc_data-sdata.
                MOVE-CORRESPONDING z1bp_bup_c1
                   TO i_po_partner.                             "#EC ENHOK
                READ TABLE t_edidd TRANSPORTING NO FIELDS WITH KEY
                             segnam = 'Z1BP_BUP_C2'.
                IF sy-subrc <> 0.
                  APPEND i_po_partner.
                ENDIF.
              WHEN 'Z1BP_BUP_C2'.
                z1bp_bup_c2 = idoc_data-sdata.
                MOVE-CORRESPONDING z1bp_bup_c2
                   TO i_po_partner.                             "#EC ENHOK
                APPEND i_po_partner.
              WHEN 'Z1BP_TEXT_I'.
                z1bp_text_i = idoc_data-sdata.
                MOVE-CORRESPONDING z1bp_text_i
                   TO e_po_text.                                "#EC ENHOK
                APPEND e_po_text.
              WHEN 'Z1BP_ATT_C'.
                z1bp_att_c = idoc_data-sdata.
                MOVE-CORRESPONDING z1bp_att_c
                   TO i_po_attach.                              "#EC ENHOK
                APPEND i_po_attach.
              WHEN 'Z1BP_ORG_C'.
                z1bp_org_c = idoc_data-sdata.
                MOVE-CORRESPONDING z1bp_org_c
                   TO i_po_orgdata.                             "#EC ENHOK
                APPEND i_po_orgdata.
              WHEN 'Z1BP_LIMIT_C'.
                z1bp_limit_c = idoc_data-sdata.
                MOVE-CORRESPONDING z1bp_limit_c
                   TO i_po_limit.                               "#EC ENHOK
                APPEND i_po_limit.
              WHEN 'Z1BP_PO_ITEM_D'.
                z1bp_po_item_d = idoc_data-sdata.
                MOVE-CORRESPONDING z1bp_po_item_d
                   TO e_po_items.                               "#EC ENHOK
                IF z1bp_po_item_d-deliv_date
                   IS INITIAL.
                  CLEAR e_po_items-deliv_date.
                ENDIF.
                READ TABLE t_edidd TRANSPORTING NO FIELDS WITH KEY
                             segnam = 'Z1BP_PO_ITEM_D1'.
                IF sy-subrc <> 0.
                  APPEND e_po_items.
                ENDIF.
              WHEN 'Z1BP_PO_ITEM_D1'.
                z1bp_po_item_d1 = idoc_data-sdata.
                MOVE-CORRESPONDING z1bp_po_item_d1
                   TO e_po_items.                               "#EC ENHOK
                APPEND e_po_items.
              WHEN 'Z1BP_ACC_D'.
                z1bp_acc_d = idoc_data-sdata.
                MOVE-CORRESPONDING z1bp_acc_d
                   TO e_po_accass.                              "#EC ENHOK
                APPEND e_po_accass.
              WHEN 'Z1BP_BUP_D'.
                z1bp_bup_d = idoc_data-sdata.
                MOVE-CORRESPONDING z1bp_bup_d
                   TO e_po_partner.                             "#EC ENHOK
                READ TABLE t_edidd TRANSPORTING NO FIELDS WITH KEY
                             segnam = 'Z1BP_BUP_D1'.
                IF sy-subrc <> 0.
                  APPEND e_po_partner.
                ENDIF.
              WHEN 'Z1BP_BUP_D1'.
                z1bp_bup_d1 = idoc_data-sdata.
                MOVE-CORRESPONDING z1bp_bup_d1
                   TO e_po_partner.                             "#EC ENHOK
                READ TABLE t_edidd TRANSPORTING NO FIELDS WITH KEY
                             segnam = 'Z1BP_BUP_D2'.
                IF sy-subrc <> 0.
                  APPEND e_po_partner.
                ENDIF.
              WHEN 'Z1BP_BUP_D2'.
                z1bp_bup_d2 = idoc_data-sdata.
                MOVE-CORRESPONDING z1bp_bup_d2
                   TO e_po_partner.                             "#EC ENHOK
                APPEND e_po_partner.
              WHEN 'Z1BP_ORG_D'.
                z1bp_org_d = idoc_data-sdata.
                MOVE-CORRESPONDING z1bp_org_d
                   TO e_po_orgdata.                             "#EC ENHOK
                APPEND e_po_orgdata.
              WHEN 'Z1BP_LIMIT_D'.
                z1bp_limit_d = idoc_data-sdata.
                MOVE-CORRESPONDING z1bp_limit_d
                   TO e_po_limit.                               "#EC ENHOK
                APPEND e_po_limit.
              WHEN 'Z1BP_BBP_STATUS'.
                z1bp_bbp_status = idoc_data-sdata.
                MOVE-CORRESPONDING z1bp_bbp_status
                   TO e_po_status.                              "#EC ENHOK
                APPEND e_po_status.
              WHEN 'Z1BP_ATT_D'.
                z1bp_att_d = idoc_data-sdata.
                MOVE-CORRESPONDING z1bp_att_d
                   TO e_po_attach.                              "#EC ENHOK
                APPEND e_po_attach.
    *** JSE 12/06/08 segments "forgotten" by BDBG
              WHEN 'Z1BP_PO_HEADER_CUST_C'.
                z1bp_po_header_cust_c = idoc_data-sdata.
                MOVE-CORRESPONDING z1bp_po_header_cust_c
                  TO i_po_header_cust_c.
              WHEN 'Z1BP_PO_ITEM_CUST_C'.
                z1bp_po_item_cust_c = idoc_data-sdata.
                MOVE-CORRESPONDING z1bp_po_item_cust_c
                   TO s_po_items_cust.                          "#EC ENHOK
                APPEND s_po_items_cust TO i_po_items_cust.
              WHEN 'Z1BP_ACC_CUST_C'.
                z1bp_acc_cust_c = idoc_data-sdata.
                MOVE-CORRESPONDING z1bp_acc_cust_c
                   TO s_po_accass_cust.                         "#EC ENHOK
                APPEND s_po_accass_cust TO i_po_accass_cust.
    *** JSE 12/06/08
            ENDCASE.
          ENDLOOP.
        ENDCATCH.
    As for first point, I don't like this method, because it modifies a generated FM. Is there a way to force generation of this 3 parameters by BDBG ?
    3) Considering the risk of overwriting modications in the generated FM, I have these questions : when are regenerated interfaces created by BDBG ? Are they regenerated always manually ? Or are they regenerated during transport for example ?
    Thanks a lot for your help.
    Julien.

    Hi,
    Pls see this very useful thread:
    Re: 'BAPI_POEC_CREATE' function doesn't work with extended classic scenario
    BR,
    Disha.
    Do reward points for useful answers.

  • Making BDBG Easy (Generate ALE Interface for BAPI)

    <b>Making BDBG Easy</b>
    Transaction BDBG is used to generate an ALE interface for SAP standard or custom developed BAPIs. Once a BAPI is given an ALE interface, it can be used in LSMW for migrating data or just as another IDoc. Quite a few SAP standard BAPIs cannot be used in LSMW as they do not come with an ALE interface. OSS note Documentation on Transaction BDBG (note number 125776) details the necessary steps to use transaction BDBG but it does not comprehensively cover the technical issues that one may encounter in order to create an ALE interface.
    BAPI_ACTIVITYCRM_CREATEMULTI, which is used to create Activities in CRM, will be used to illustrate a step-by-step approach to using transaction BDBG.
    Go to Object Navigator (transaction SE80) and create a bespoke function group, we will call ours Z_CRM_ACTIVITY. Activate it.
    Then go to Function Builder (transaction SE37), and copy the BAPI to a bespoke function module. Thus, BAPI_ACTIVITYCRM_CREATEMULTI is copied to Z_BAPI_ACTIVITYCRM_CREATEMULTI and assigned to the function group that we created in the previous step – Z_CRM_ACTIVITY. Edit the bespoke function module, go to the Attributes tab, and release the function module (<i>Menu Path – Function Module >> Release >> Release</i>). Now activate the function module.
    IDoc segment types have a maximum length of 27 characters. Each associated type for the Parameters (tabs – Import, Export, Changing, and Tables) in a BAPI becomes a segment in the IDoc. Thus, an associated type in a BAPI cannot exceed 27 characters. During the ALE generation process anything beyond the 27th character gets truncated. This leads to more than 1 segment being called the same, and as a result an error occurs when the ALE interface is generated in the final step as an IDoc cannot have the same segment twice.
    Eg: Table parameters DATE and DATEX correspond to types BAPIBUS20001_APPOINTMENT_INS (28 characters long) and BAPIBUS20001_APPOINTMENT_INSX (29 characters) respectively.
    Also, a developer does not have the option to reduce the segment name during the ALE generation process. So in order to have an error free ALE generation happening in the end, bespoke associated types need to be created and assigned to our bespoke BAPI.
    Go to ABAP Dictionary (transaction SE11), and create ZXXXXXXXXXXXXXXXX data types for the structures in the BAPI that are greater than 27 characters. Activate all these bespoke structures.
    Bespoke structures – ZBAPIBUS20001_APP_INS and ZBAPIBUS20001_APP_INSX can be used in lieu of the standard SAP ones for parameters DATE and DATEX. The same correction method needs to take place for other excessively long types, like the types being referenced by LOCATION and LOCATIONX.
    Go to Business Object Builder (transaction SWO1). A search for Activity as the short description produces a few hits. After examining all the objects returned in the hit, we see that BAPI_ACTIVITYCRM_CREATEMULTI belongs to 2 Business Objects - BUS2000110 (CRM Activity) and BUS2000126 (CRM Business Activity).
    Copy either of these objects to a bespoke object ZXXXXXXXXX, we will copy BUS2000110 and rename it to ZBUS200010, program RBUS2000110 should also be copied to a Z version (ZRBUS2000110), and the object name can be changed to Company Name (eg: XXX) followed by ActivityCRM (XXXActivityCRM).
    Now we edit our bespoke object, and create a method for it by placing the mouse cursor on methods in the object type tree and clicking the create button on the menu bar.
    A pop-up appears on the screen with the following text –
    <i>Create with function module
    as template? </i>         
    After clicking on Yes, another pop-up asks for a function module to be entered, enter the bespoke function module Z_BAPI_ACTIVITYCRM_CREATEMULTI here and click the tick button.
    Accept all the default values in the next pop-up – Create Method: Method Properties, and do the same for the next pop-up – Create Method: Create Parameters. In the next pop-up click Yes to the question –
    <i>Method ZBAPIACTIVITYCRMCREATEMULTI not
    yet implemented                       
    Do you want to generate a template    
    automatically for the missing section?</i>
    Double-click on the newly created method and go to the ABAP tab, the Function Module option will be selected as the default, make the API function as the default and click OK. Generate the business object.
    Now, click on the method of the object and release the method (<i>Menu Path – Edit >> Change Release Status >> Object Type Component >> To Released</i>). Double-click on the method to confirm that the Status is released.
    Save all the changes made, and Back out of the Edit mode and go the main Business Object Builder screen. Re-generate the business object. First implement, then release the main object ZBUS200010 (<i>Menu Path – Object Type >> Change Release Status To >> Implemented, then follow the same menu path and click on Released</i>).
    Go to the BAPI Explorer (transaction BAPI), click on the filter icon on the menu bar, and select radiobutton – All. Click on the alphabetical tab. Look for XXXActivityCRM in the list. Release status should be Released for this object.     
    Now we should be able to generate the ALE interface for the BAPI. Execute transaction BDBG, enter the bespoke object (ZBUS200010), do a drop down on the method field and select the bespoke method from the list. Click on the create button on the menu bar. In the first pop-up accept Message Type ZBAPIACTIVITYCRM and click OK. In the next pop-up the following values should be there by default –
    IDoc type – ZBAPIACTIVITYCRM01,
    ALE Outbound Processing
    Function Module – ZZ_ALE_ACTIVITYCRM_CREATEMULTI,
    Function Group – Z_CRM_ACTIVITY, and
    ALE Inbound Processing
    Function Module – ZIDOC_INPUT_ZBAPIACTIVITYCRM,
    Function Group – Z_CRM_ACTIVITY.
    The option – Call in update task – should be ticked.
    Now our BAPI has an ALE Interface to it and can be used in conjunction with either the BAPI or IDoc option in LSMW. The default values for an IDoc Inbound Processing should be maintained in order to use the bespoke BAPI / IDoc.

    Great

  • ALE interface with BAPI

    Hi,
    Am trying to create generate ALE interface for a BAPI(BDBG). After the creation an error comes
    “There is no entry in the object directory (TADIR) for R3TR TABL Z1BUSINESSPARTNERERM_CREATE”. (representative error mess)
    Can anyone help in resolving the same?
    Thanks and regards

    Hi Saurabh,
    This type of error occurs when you have to do some changes in standard table. Can you check whether you have to maintain this perticular entry
    "Z1BUSINESSPARTNERERM_CREATE" in a perticular table ?
    <b>Allot proint if my post helps!!</b>
    Best regards,
    Vikash.

  • BAPI to ALE interface

    Hi All,
    I'm trying to generate an ALE interface for the BAPI -
    BAPI_CASE_CREATE for my LSMW project, for object  SCASE , but each time I try to generate the ALE interface for the BAPI I get the error as follows -
    Segment 'SAGMENT NAME' is used multiple times in IDoc types
    Message no. EA799
    'Segment type  is used multiple times in the IDoc type. A segment type may only be used once in each IDoc type'.
    Please Reply ASAP

    Hi,
    You can use any middle ware(webmethods/EAI etc) which can invoke an RFC enable FM/BAPI...
    You need to do an ALE here..
    Since most of the BAPI have the return tables which stores the error or sucess messages you can use the after invoking the FM that will response the middleware(Synchronous method)..
    Hence the return tables store the errors which can be used, But if you want to store those errors in SAP then better create a custom table and update the same whenever the error occurs..(for this u can create a wrapper of the std Fm that you use and implement the logic for updation of errors/custom table)
    Hope this helps you
    regards
    shiva

  • Interface errors (crc, in/output, collisions etc.) via snmp

    Hi,
    I'm trying to understand how to get interface errors via SNMP.  I do get stats via SNMP for ifInErrors / ifOutErrors etc, but I'm trying to get output via SNMP for the errors visible via the 'sh int x' command - CRC errors, input / output errors, collisions, runts. giants etc.).
    1) The SNMP ifInError / ifOutError seems to give an overall counter of all errors from the time the device has started - Am I correct about this?
    2) Is there any way I can get the interface-specific errors noted above via SNMP?
    Thanks,
    Mario

    Depends on the device and version of code, but most likely you will get what you want from the CISCO-IF-EXTENSION-MIB.  Look at objects like cieIfInRuntsErrs, cieIfInGiantsErrs, and cieIfInFramingErrs.  You will also get some ethernet-specific errors from the ETHERLIKE-MIB.

  • Interface errors

    Is there an script that can monitor interface errors (input and output errors) and send an email out when it reaches threshold?
    Thanks
    Sent from Cisco Technical Support iPhone App

    Sure.  Here's an example:
    event manager applet error_monitor_GigabitEthernet0/1
    event interface name GigabitEthernet0/1 parameter input_errors entry-op ge entry-val 5 entry-type increment poll-interval 10
    action 2.0 cli command "enable"
    action 3.0 cli command "show int GigabitEthernet0/1 | inc error"
    action 4.0 mail server 10.1.1.1 from [email protected] to [email protected] subject "Errors on interface GigabitEthernet0/1" body "
    Interface GigabitEthernet0/1 has seen $_interface_delta_value input errors in the past 10 seconds: $_cli_result"

  • Open DeviceNet interface error when TestStand call VIs of NI PCI-8532

    Hello,
    We use NI PCI-8532 was used as DeviceNet master to do functionality test with a slave (AC Drive).
    But when open DeviceNet interface, it happen the error.
    We can't find the solution and hope to find help from you.
    The basic sequence in TestStand is:
    1). Call "Open DeviceNet Interface.vi" to open interface and creat interface object.
         Interface(master) setting: interface name=dnet0, MAC ID=0, baudrate=125000bps
    2). Call "Open DeviceNet IO.vi" to creat DeviceNet IO object.
         Device(slave) setting: MAC ID=63
    3). Call "Operate DeviceNet Interface.vi" and operation code=start
    4). Call "Wait For State.vi"
    5). Call "Read DeviceNet IO.vi" to read data from IO object
    6). Call "Close Object.vi" to close IO object handle
    7). Call "Close Object.vi" to close interface object handle
    Remark, these DeviceNet VIs locates at "C:\Program Files\National Instruments\LabVIEW 2012\vi.lib\DeviceNet\VIAPI".
    First time to run sequece in TestStand, it can pass to run step 1) to open DeviceNet interface.
    But once there is some error with these steps, and it will happen "Open DeviceNet Interface" error (error code=0xBFF62006) when run these steps again.
    Then even use LabVIEW DeviceNet example to test, and it happen the same error except restart computer.
    The DeviceNet example locates at "C:\Program Files\National Instruments\LabVIEW 2012\examples\NI-Industrial Communications for DeviceNet\Basic Examples\PXI & PCI\MixedCommunication.vi".
    Some information more:
    PC operate system: Windows XP SP3
    LabVIEW version: 2012 SP1
    TestStand version: 2012 SP1
    PCI 8532 driver version: 2.3.0
    Other installed PCI board: PCI 8531 CANOpen

    The following errors may be resolved by resetting the CAN, DeviceNET or LIN device:
    Error -1074388986 occurred at ...
    NI-CAN:  (Hex 0xBFF62006) The object is already open in another application.  Solutions: Ensure that only one application at a time uses an object , and that you close all objects prior to exiting your application (don't use LabVIEW toolbar's Abort button).
    Error -1074388969 occurred at ...
    NI-CAN: (Hex 0xBFF62017) This attribute's value must be provided prior to the Open. Solutions: Set the attribute using the Config function before the Open, and do not set the attribute at any later time; Do not configure multiple CAN Objects for the same ID.
    SO,you should reset the DeviceNet.
    And another similar issue can explain some points of your problem  http://digital.ni.com/public.nsf/allkb/7D9383E9BEAD0B21862571640002F687?OpenDocument

  • Can't burn CD's - "Interface error 5"

    Hello, I haven't used my old firewire LaCie CD burner (LaCie 1394, blue front with the slide out tray) in a while but recently I needed to put some graphics files on a CD. The sw I'm using is Toast 6. No matter what I tyry to do I get the following message: "Interface Error: 5 The connection is not stable"
    I tried different CD brands, no effect.
    This is the setup.
    Machine Name: Power Mac G4 Cube
    Machine Model: PowerMac5,1
    CPU Type: PowerPC 60? (1.1)
    CPU Speed: 1.3 GHz
    L2 Cache (per CPU): 512 KB
    L3 Cache (per CPU): 2 MB
    Memory: 1.25 GB
    Bus Speed: 100 MHz
    Boot ROM Version: 4.1.9f1
    System Version: Mac OS X 10.4.2 (8C46)
    Kernel Version: Darwin 8.2.0
    Looking for answers I found an (unanswered) message on a macosx.com forum. I'm reposting it because it provides more info about the same problem:
    [quote]
    "Burning the disc failed because communication to the disc drive failed. (Error code 0x80020022)" -- Is the error code when I attempt to burn any disc using the Finder or Disk Utility.
    "Interface Error: 5 The connection is not stable.
    The drive reported an error:
    Sense Key = Illegal Request
    Sense Code = 0x210x02
    BUFFER UNDERRUN" --
    Are the errors when I attempt to use Toast Titanium v6.x and v7.x.
    I'm using an iMac G5 running 10.4.2. I have two burners, both of which give me the errors and will no longer burn to CD's or DVD's (cheap or expensive media, I've tried many different types). The burners i have are an internal superdrive that came with the mac (MATSHITA DVD-R UJ-825) and an external LaCie Firewire DL drive (_NEC DVD_RW ND-3500AG). Both drives started giving this error at the same time and I can't think of anything that I installed that could effect these. I don't have any speed tools installed.
    I have tried all that Apple suggests in the articles http://docs.info.apple.com/article.html?artnum=25750.
    I've experienced the same errors twice before, though not both drives at the same time. What fixed it the first time was simply upgrading the firmware on the burner. Second time, there were problems on the hard drive that I was burning from (directory issues if i remember) and running a combination of Tech Tool and Disk Utilitity fixed that.
    But this time, I'm at my wits end and can't find anything helpful online. I'm hoping to find an answer before I end up trying a complete system reinstall.
    Any info would be greatly appreciated.
    [/quote]
    Yes, any info ...
    TIA
    Cube, 2 ibooks   Mac OS X (10.4.2)  

    I'm having the same problem using Toast 7 to burn a Video TS movie I made. I'm using an external Lacie 16X DVD-R DL drive and an iMac G5 2.0, and Mac OS 10.4.3
    After several failures with Interface Error 5, I tried copying a DVD movie I made from another DVD. This was created with the same Lacie drive using Mac OS 10.3 and my old iMac FP 15 inch. I got the same failure message.
    I then switched my Lacie Drive to the USB port and everything is working fine. I switched it back to FireWire and I get the same error message again.
    I can play DVD's on the Lacie with either the USB or FireWire port without any problem, I just can't record using the FireWire port. The FireWire ports on the computer work fine with all my other FireWire devices.
    It must be a combination of 10.4.3, Toast 7 and Lacie FireWire. I'm going to recheck Lacie's site to make sure I have all of the updates.
    iMac G5   Mac OS X (10.4.2)   Mac OS 10.4.3

  • EEM interface errors not matching

    I have the event applet configured below.  I test by changing the controller time-slots to 1-15 instead of 1-24 in order to generate errors on my Serial0/1/0:0 interface.  Errors are generated, but the eem applet does not match even though the errors are incrementing.  I've turned on all suggested eem debugging and it shows 0 matches while I can see that the interface is incrementing the errors that should be triggering the actions from the eem.  
    configuration:
    event manager applet multiple_if
    event tag if_1 interface name Serial0/1/0:0 parameter input_errors_crc entry-op ge entry-val 2 entry-type increment poll-interval 60
    event tag if_2 interface name Serial0/1/0:0 parameter input_errors entry-op ge entry-val 2 entry-type increment poll-interval 60
    event tag if_3 interface name Serial0/1/0:0 parameter input_errors_frame entry-op ge entry-val 2 entry-type increment poll-interval 60
    event tag if_4 interface name Serial0/1/0:0 parameter input_errors_overrun entry-op ge entry-val 2 entry-type increment poll-interval 60
    event tag if_5 interface name Serial0/1/0:0 parameter output_errors entry-op ge entry-val 2 entry-type increment poll-interval 60
    event tag if_6 interface name Serial0/1/0:0 parameter output_errors_underrun entry-op ge entry-val 2 entry-type increment poll-interval 60
    trigger
    action 100 cli command "enable"
    action 200 cli command "config t"
    action 300 cli command "int Serial0/1/0:0"
    action 400 cli command "description script worked!"
    action 500 syslog msg "CRC failure leased line $_interface_name"
    action 600 mail server "$_mail_smtp" to "$_mail_rcpt" from "$_info_routername@$_mail_domain" subject "ALERT: Serial Interface $id shutdown due to excessive interface error rate" body "\n$_syslog_msg"
    action 999 end
    debug ouput:
    Jun 20 14:20:48 EDT: fh_fd_syslog_event_match: num_matches = 0
    Jun 20 14:20:48 EDT: fh_fd_data_syslog: num_matches = 0
    Jun 20 14:20:48 EDT: fh_fd_syslog_event_match: num_matches = 0
    Jun 20 14:20:48 EDT: fh_fd_data_syslog: num_matches = 0
    Jun 20 14:21:00 EDT: fh_fd_timer_process_async
    Jun 20 14:21:00 EDT: cron_tick: num_matches 0
    Jun 20 14:21:22 EDT: %HSRP-5-STATECHANGE: FastEthernet0/0.4 Grp 4 state Standby -> Active
    Jun 20 14:21:22 EDT: fh_fd_syslog_event_match: num_matches = 0
    Jun 20 14:21:22 EDT: fh_fd_data_syslog: num_matches = 0
    Jun 20 14:22:00 EDT: fh_fd_timer_process_async
    Jun 20 14:22:00 EDT: cron_tick: num_matches 0
    Jun 20 14:23:00 EDT: fh_fd_timer_process_async
    Jun 20 14:23:00 EDT: cron_tick: num_matches 0
    Jun 20 14:24:00 EDT: fh_fd_timer_process_async
    Jun 20 14:24:00 EDT: cron_tick: num_matches 0
    output showing interface errors:
    csc-lab01#sh int s0/1/0:0
    Serial0/1/0:0 is up, line protocol is up
      Hardware is GT96K Serial
      Internet address is x.x.x.x/30
      MTU 1500 bytes, BW 1536 Kbit/sec, DLY 20000 usec,
         reliability 255/255, txload 1/255, rxload 1/255
      Encapsulation PPP, LCP Open
      Listen: CDPCP
      Open: IPCP, loopback not set
      Keepalive set (10 sec)
      CRC checking enabled
      Last input 00:00:00, output 00:00:00, output hang never
      Last clearing of "show interface" counters 02:44:23
      Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
      Queueing strategy: Class-based queueing
      Output queue: 0/1000/0 (size/max total/drops)
      30 second input rate 2000 bits/sec, 3 packets/sec
      30 second output rate 2000 bits/sec, 2 packets/sec
         9139 packets input, 1049231 bytes, 0 no buffer
         Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
         224 input errors, 224 CRC, 117 frame, 95 overrun, 0 ignored, 81 abort
         10737 packets output, 1511507 bytes, 0 underruns
         0 output errors, 0 collisions, 15 interface resets
         0 unknown protocol drops
         0 output buffer failures, 0 output buffers swapped out
         0 carrier transitions
      Timeslot(s) Used:1-24, SCC: 0, Transmitter delay is 0 flags

    A few other things I noticed.  Try this:
    event manager applet multiple_if
    event tag if_1 interface name  Serial0/1/0:0 parameter input_errors_crc entry-op ge entry-val 2  entry-type increment poll-interval 60
    event tag if_2 interface  name Serial0/1/0:0 parameter input_errors entry-op ge entry-val 2  entry-type increment poll-interval 60
    event tag if_3 interface  name Serial0/1/0:0 parameter input_errors_frame entry-op ge entry-val 2  entry-type increment poll-interval 60
    event tag if_4 interface  name Serial0/1/0:0 parameter input_errors_overrun entry-op ge entry-val 2  entry-type increment poll-interval 60
    event tag if_5 interface  name Serial0/1/0:0 parameter output_errors entry-op ge entry-val 2  entry-type increment poll-interval 60
    event tag if_6 interface  name Serial0/1/0:0 parameter output_errors_underrun entry-op ge  entry-val 2 entry-type increment poll-interval 60
    trigger occurs 1
    correlate event if_1 or event if_2 or event if_3 or event if_4 or event if_4 or event if_5 or event if_6
    action 100 cli command "enable"
    action 200 cli command "config t"
    action 300 cli command "int Serial0/1/0:0"
    action 400 cli command "description script worked!"
    action 401 set syslog_msg "CRC failure leased line $_interface_name"
    action 500 syslog msg "$syslog_msg"
    action 501 info type routername
    action 600 mail server "$_mail_smtp" to "$_mail_rcpt" from  "$_info_routername@$_mail_domain" subject "ALERT: Serial Interface $_interface_name  shutdown due to excessive interface error rate" body "\n$syslog_msg"

  • Can we set the Option "Show add-in user interface errors" with VBA?

    Does anyone know if the advanced Option "Show add-in user interface errors" can be set with VBA in Project Pro 2013?
    \Spiro Theopoulos, Montreal, QC (Canada)

    Spiro,
    Sorry but as far as I know that option is not available through VBA.
    John

  • Help: Net.lib interface error

    Hi!
    I'm using the Palm Emulator to make a HTTP connection to my servlet. The same MIDlet works on my Palm, but when I run it on the emulator (in order to some screen captures), I get error mesg that says "Net.lib interface error: 0x0000120C", followed by java.io.IOException.
    I've already set my proxy IP ...
    Can someone pls help? TIA!
    Rgds

    Hi ....
    Is anyone have any ideas to solved if this problem occur on the real palm m505 machine ??
    Please advice and kindly reply
    Thank
    SL

Maybe you are looking for

  • Can I change the order of the images that are displayed in apple tv?

    Hello, I have manually arranged the images in an event (let's call it "myEvent") in iPhoto'11 v9.4.2. When turn on my apple TV and go to computers -> myMac -> Photos -> myEvent the order of the images is not the same. Does anybody know how I can forc

  • Budget checking for Q Category

    Hi Experts, We are using WBS Elements in Procurement Process, When we creating PR with account assignment to WBS with Category P System is checking Budget and availability control is working fine but when i Creating PR against the AA Category Q Syste

  • Starting sql agent manually - operating rules

    Hi We run std 2008 r2.  Today after overriding the 1st step's behavior in a sql agent job to end and report success after completing successfully, I 1) rt clicked "start at step..." (saw the turning green arrow on rt pop up immediately)  2) highlight

  • Exchange 2010: Resource mailbox not sending conflict notification

    Hi, I configured meeting room mailbox on exchange 2010, and I configured it to not allow conflict reservation. I tried to sent two meeting requests in same time and it accepted both. please advice.

  • Channels not working. Help!

    I have spent hours on the phone trying to resolve this and am considering just cancelling. I was transferred 6 times and each time the person told me they didn't know why I was transferred to them. My wife and I separated. The account was in her name