Ale / Idoc Customer master

hi all,
i am working with ale/idoc .
from one client i am sending customer master data using DEBMAS
I have checked in IDOC
for contact person
it is not picking fax number and email
and telephone number it is picking from KNA1 table
reagrds,
mohd.

Hi,
the data you try to distribute, even if related to customer master data, does not belong to it.
It belongs to the Business Address Services (BAS).
As a result, to distribute it you need to distribute ADR*MAS idocs types too.
According to the fields you try to distribute, idocs types ADR2MAS and ADR3MAS are definitively necessary.
You should look at [note 384462|https://service.sap.com/sap/support/notes/384462] and [note 306275 - Transferring address data|https://service.sap.com/sap/support/notes/306275].
Best regards
Alain

Similar Messages

  • ALE/IDOC[custom table transfer]

    Hi All,
    I have a doubt regarding the type of programs used to post the idocs using ALE in the outbound process.
    Please also tell me which program I will use to post a custom table of mine to another server using ALE/IDOC.
    Please also tell me the procedure to do the same mentioned above.
    Please help. Its a urgent requirement...........................
    Thanks in advance......................................................

    Hi Guru,
    if you cannot use a standard idoc then you´ll need to create a custom one starting from the segment (WE31) where you can create an Idoc segment starting from your own Z table structure using the wizard.
    Then you´ll need to also create the idoc type (WE30) and link the segment to the IDoc.
    Then you´ll need to create a message type and link the message type to the Idoc type (WE81, WE82).
    Then you´´ll use RFC "MASTER_IDOC_DISTRIBUTE" to populate the IDOC and send the data.
    This is a sample code just to give you an idea:
    DATA:          
      Z_SEGNAME(7) TYPE C VALUE 'SEGMENT',
      Z_MESTYPE(9) TYPE C VALUE 'MESSAGE',
      Z_IDOC_TYPE(8) TYPE C VALUE 'IDOC'.
    DATA:
      IDOC_CONTROL LIKE EDIDC,
      T_COMM_CONTROL LIKE EDIDC OCCURS 0 WITH HEADER LINE,
      IDOC_DATA LIKE EDIDD OCCURS 0 WITH HEADER LINE.
    *Reads data from Z table
    SELECT *
    FROM ZTABLE
    INTO TABLE L_ZTABLE.
    *Set the control data info required for the distribution
    IDOC_CONTROL-MESTYP = Z_MESTYPE.
    IDOC_CONTROL-DOCTYP = Z_IDOC_TYPE.
    *Populate the IDoc
    LOOP AT L_ZTABLE.
      CLEAR IDOC_DATA.
      IDOC_DATA-SEGNAM = Z_SEGNAME.
      IDOC_DATA-SDATA = ZTABLE.
      APPEND IDOC_DATA.
    ENDLOOP.
    *Deliver the IDOC as defined in distribution model/partner profile
    CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE' IN UPDATE TASK
      EXPORTING
        MASTER_IDOC_CONTROL          = IDOC_CONTROL
      TABLES
        COMMUNICATION_IDOC_CONTROL     = T_COMM_CONTROL
        MASTER_IDOC_DATA               = IDOC_DATA
      EXCEPTIONS
        ERROR_IN_IDOC_CONTROL               = 1
        ERROR_WRITING_IDOC_STATUS          = 2
        ERROR_IN_IDOC_DATA               = 3
        SENDING_LOGICAL_SYSTEM_UNKNOWN      = 4
        OTHERS                         = 5.
    IF sy-subrc = 0.
      COMMIT WORK.
    ENDIF.

  • ALE/IDOC[custom table]

    Hi All,
    I have a doubt regarding the type of programs used to post the idocs using ALE in the outbound process.
    Please also tell me which program I will use to post a custom table of mine to another server using ALE/IDOC.
    Please also tell me the procedure to do the same mentioned above.
    Please help. Its a urgent requirement...........................
    Thanks in advance......................................................

    hi,
    u can do it using CHANGE POINTERS method.For this u need to do the following configurations.
    1>WE81
    2>WE31
    3>WE30
    4>WE82
    5>SCDO
    6>BD61
    7>BD52
    8>BD50
    9>BD60
    10>WE20
    11>BD64.
    First create an object in tcode -SCDO,there u specify ur tablename.
    now the fields which are there in the ztable,in the further characteristics of the dataelement u need to check the check box CHANGE DOCUMENT HEADER.Now in SCDO u need to generate the upgarde program,the sap will generate four includes,u need to call them in ur program.
    U need to write one FM ,where u need to use the FM's.
    CHANGE_POINTERS_READ,
    CHANGE_POINTERS_STATUS_WRITE.
    Regards,
    nagaraj

  • ALE IDoc : Vendor Master : Cremas: Inbound IDocs are bypassing the Customiz

    Hi,
    Create Vendor master inbound IDocs - CREMAS - are overridding the customizing settings.
    For example for a particular vendor group  a number range is set in customizing.
    When we try to create a vendor through XK01 which does not fall in a particular number range as set in customising for a particular vendor group, we get a error message and creation is terminated.
    But if the same vendor is created via standard idoc CREMAS, vendor is created without any errors bypassing the customizing settings.
    So can anybody help me in this. Is there any customising setting that we need to do explicitly for Vendor IDocs. Or any other setting in standard IDoc.
    Thanks in advance.

    Hi,
    1. If your vendor changes should be updated from one system to other system through ALE, we need to active the change pointers.
    2. Change points can be activate through Tcode SALE
    3. After activating change points and your distribution model is ready, you can execute the program RBDMIDOC to genarate the IDOCs.
    4. Normally this program will be executed in the background
    5. And as you said, you have to do some validations before sending IDOCs. For this you can Filters and rules in the DM.
    OR you can write the code in user-exists of outbound posting program.
    Rewards if this info is useful.
    Thanks,

  • ALE IDOC - Material Master

    Hi,
    I have triggered Idocs for material master changes.
    For some materials, the material description is blank in idocs,however; we have the material description data in SAP.
    I have checked the changes in material master, the changes made for material description also on the respective date.
    Plesae let me know the cause of sending the material changed record with the description as blank.
    Please consider it as a priority basis and help me.
    Regards,
    Usha.
    Edited by: Usha Rani Achana on Apr 22, 2010 10:18 AM

    >
    Usha Rani Achana wrote:
    > Hi,
    >
    > I have triggered Idocs for material master changes.
    > For some materials, the material description is blank in idocs,however; we have the material description data in SAP.
    >
    > I have checked the changes in material master, the changes made for material description also on the respective date.
    >
    > Plesae let me know the cause of sending the material changed record with the description as blank.
    >
    > Please consider it as a priority basis and help me.
    >
    >
    > Regards,
    > Usha.
    >
    > Edited by: Usha Rani Achana on Apr 22, 2010 10:18 AM
    I have loaded hundredthousands of materials via ALE method and never experienced a loss of material description.
    If that would be the case, and you really just using the SAP standard, then you should open a message at SAP.
    MAybe you implemented OSS Note 1364357 - Defined language for material master transfer
    and then restricted the transfer to a certain language only.

  • ALE: IDOC material master data

    I created a reduced material idoc type with only segment:
    E1MARAM, E1MAKTM, E1MARCM and E1MBEWM and I select a handfull of fields in each segment.
    I only want views BASIC 1 & 2, Classification , Plant Stock and Label.
    I get additional views that I don't need, how do I configure to get only views I want based on data in IDoc

    Shyla,
    I did that. And the IDOCs are being sent successfully.
    The problem is that when I look at the generated material, all the views are created when I only specified data for basic views in IDOC.

  • How to find - Customer Master IDoc was created Manually or by Change pointe

    Hi all,
    I have an IDoc(Customer master) number (which I have taken from the payload in SXMB_MONI).  I would like to know whether this has been created by a user manually(BD14) or by a change pointer.
    Please help.
    Cheers
    danus

    Hi Vardharajan,
        Yes I agree with you. What I mean by IDoc created by change pointer is - 'IDoc generated because a change(pointer) is tracked by the system', in other words, due to some change made to the data.
    As you know, the other option of creating IDoc is by BDxx transaction. This option is usually used to push (unchanged) data.
    So in essence, what I am interested to know is , has the IDoc been generated because someone made a change using say, VD02 / XD02 or pushed the data manually.
    Please do ask, if anything is not clear.
    cheers
    danus

  • Changes to customer search and Pull RFC [ALE/Idoc's]

    Hi All,
    I'm having a scenario as above in my project regarding the ALE/Idocs:
    Customer Reference Server(CRS) is the Database through which the data is pulled. At present whenever customer wants the data it is pulled by the RFC method from CRS, now we must change it and pull the data through ALE/Idoc method that means we must trigger the Idoc whenever the customer pulls the records from the CRS. We must remove the RFC method entirely and implement the Idoc method.
    If possible please provide me the logic for the same how to implement the Idoc method.
    Waiting for your early response.
    Thanks in advance
    Santosh L.G

    Hi Abhishek,
      This is our scenario. We are doing an integration of SAP HR r/3 system with the CRM system. We need housing information details of the employees which we have in custom infotype 9310 in SAP HR system and we need those details in the CRM system. So am planning out for an ALE/IDOC approach for the integration and gonna  maintain the 9310 details in a custom table. In the CRM system, we gonna build a BOL layer for accessing the 9310 details. Also i'm preparing a HLD for this process. I wanna read and go through few same HLD's before i submit my proposal to my client. Please suggest me and help me out.
    Thanks in advance.
    Regards,
    Arunmozhi.

  • Regarding ALE-iDoc for Customer Master, J1ID and FD32

    Hello all
    Scenario:
    As per client's requirement we have to develop idoc so that followings requirements will meet:
    Say there are two servers a) MDM Server b) PRD Server
    1] As and when I'll create customer master data in MDM server then customer master should get created with that data in PRD server
        which I can achieve through BD12 by doing some idoc enhancements
    2] Simillarly when i'll create data using transaction J1ID and FD32 in MDM Server (Data relevant to customer master) then that data also should get created in PRD server using Idoc
    May I know which
    1)message type we can use (as we use DEBMAS in case of Customer Master) for J1ID and FD32
    2) Any transaction to send data from one server to another server for transaction J1ID and FD32 (as we use BD12 in case of Customer master for sending data created using  transaction XD01) 
    Thanks,
    Mahesh

    Hello Mahesh,
    In the case of customer master it would be better if you would use standard message types and t code to transfer ddata.
    But in the case J1ID and FD32 you can build a standalone idoc
    Follow these steps to build custom message types and futher transactions
    WE81 - Create message type
    WE31 - Create segment
    WE30 - Create Idoc type
    SALE - Define Logical system (not required if already exists)
    SM59 - Define RFC (not required if already exists)
    WE21 - Define ports (both in sender and receiver)
    WE20 - Define Partner profile (both in sender and receiver)
    BD46 - Distribue the model view.
    SE38 - Create a program to send the idoc in the sender sytem.
    SE37 - Build inbound function module to receive the idoc for receiver system
    WE57 - Assign FM to message type
    BD51 - to change the characteristics for inbound FM
    WE42 - Create Inbound process code.
    Hope this would help you.
    Thanks and Regards,
    Ranjith Nambiar

  • Customer Master Data via a Bapi/ALE

    Hello All. I am new to this forum. I have a couple of questions.
    What I am trying to do: I have to interface to SAP with Websphere Message Broker which has inbuilt nodes to interface with SAP using BAPI or ALE to send Customer Master Record (create/update/delete)
    The questions I have:
    1/ Has anyone done this? What did you use BAPI or ALE?
    2/ When a Customer Master IDOC is sent to SAP, if successful, a return code is sent back by SAP. This indicates that SAP has received the IDOC successfully. However, our requirement is that we have to know whether the IDOC was successfully posted within SAP. I am of the opinion that this is manual task within SAP and it should not be the function of the middleware layer as its responsibility is only to successfully deliver the IDOC's. I would welcome opinions on this issue. Please let me know If there is a way to determine if the IDOC has been successfully posted in SAP.
    3/ Is there anywhere where I can get an XML representation of the Customer Master Record. I want to see the structure and the available fields. How can I get this info from SAP?
    Thank you

    Hi,
    1/ Has anyone done this? What did you use BAPI or ALE?  ->USE ALE.
    2>When a Customer Master IDOC is sent to SAP, if successful, a return code is sent back by SAP. This indicates that SAP has received the IDOC successfully. However, our requirement is that we have to know whether the IDOC was successfully posted within SAP. I am of the opinion that this is manual task within SAP and it should not be the function of the middleware layer as its responsibility is only to successfully deliver the IDOC's. I would welcome opinions on this issue. Please let me know If there is a way to determine if the IDOC has been successfully posted in SAP.
    Yes u can view the idoc in WE02/WE05 (Idoc monitoring)
    3>3/ Is there anywhere where I can get an XML representation of the Customer Master Record. I want to see the structure and the available fields. How can I get this info from SAP?
    When u ase IDOC for customer , the basic type is DEBMAS05..Goto WE60, specify the basic type as DEBMAS05(latest) and then u have the all the segments , fields used with doucmentation.
    Regards,
    Nagaraj

  • Customer Master IDOC

    Hi all,
    I am new to IDOCS. And i have some knowledge regarding the same. Now i had a requirement to send as well as obtain customers from other system.
    So can i know how can i procceed. Please can any body explain me step by step how to do In-bound and Outbound fro the Customer master. And also the problems we are going to face.
    Thanks and Regards,
    sagar

    Hi,
    Do make the ale set up as per the previous posts....
    Pondering over the problems that you might face, as you had asked for might be any of the following....
    1. Idocs might not get generated, i.e., 0 communication IDocs would be generated in which case you need to re-check the distribution model configuration.
    2. If IDocs are generated, they might fail in any of the error status (status 02, 26, 29 - outbound or status 60, 51, 56 - inbound) in which case you would have to rectify the error according to the status text and then reprocess the IDocs using the standard programs, RBDMANI2, RBDAGAIN based on their present status.
    3. Idocs might stay in yellow status(unprocessed IDocs - status 30 (outbound) or 64 (inbound)) in which case you would have to recheck the partner profile configuration and then push the IDocs via programs RSEOUT00 or RBDAPP01 respectively.
    6. In case if you tend to use serialization of IDocs, IDocs might fail in 66 status(inbound) at which point of time, you need to check with the serialization.
    These are a few normal cases.......you might come across a few weird ones to.....
    ~ Bineah.

  • Working on IDOC OUTBOUND FOR Vendor Master and Customer Master

    Hi Group,
    I need to create IDOC's for Vendor master and customer master using ALE. Whenever they create vendor/customer or changes to vendor/customer should create IDOC's.
    Can anyone please help me out how to proceed? I know that we can use CREMAS/DEBMAS and CREMAS04/CREMAS...But I would like to know how to use those.
    Thank-You,
    Venky

    Hi Sai,
    Welcome to group.
    Related to CREMAS/DEBMAS, for your situation, you can use the change pointers.  With this, when ever there is an change/create, it will create an entry in CDHDR & CDPOS and based on that it will create the IDOCs for these.
    Activate the change pointers for these message types and run the application RBDMIDOC periodically (whenever you want).  This application will create the IDOCs based on your entries.
    To activate the change pointers, the TCODEs are
    BD50 Checking change pointer is activated for Message Type
    BD52 Checking which fields are configured change pointer to create.  (please make sure, an entry will exist in BDCP table)
    I hope you know the remaining configuration related to partner profile entries (WE20) i.e. to which system you want to send the idocs and Inbound or Outbound etc.
    Let me know if you need further info.
    shylesh

  • IBAN Update Issue in Customer Master IDOC

    Hi Experts,
    We need to pass the IBAN No and Swift COde via Customer MAster Interface (DEBMAS) . So IBAN No and Swift Code is being correctly updated in E1KNBKM segment . But when IDOC is processed these IBAN details are not passed to Customer Master.
    I have got OSS Note no. SAP Note 1097088 - Using ALE to distribute the IBAN: I tried configuring distributiion model as suggested in OSS Note . But still it's not working .
    PS : Bank key and Bank Account No is not passed to the IDOC .
    Please suggest how this issue  can be resolved .
    Regards,
    Kaustubh.

    Hi Kaustubh,
    SAP Note 1097088 describes using ALE to distribute the IBAN using 'IBAN_SAVEREPLICA' message type, which needs certian ALE config detailed in the note.
    However note isn't relevant as you plan to send details in DEBMAS, I'm trying to understand what field in E1KNBKM (Master customer master bank details and bank master) are you using to send the IBAN # and what table/field do you intend to save it in target system ?
    Regards,
    Abhijith.

  • Trigger Outbound Idoc on Customer Master change/ Create

    Hi everyone,
    can anyone provide me some information on how to trigger outbound IDOCs when a customer master is changed/created and which IDOC should be used.
    Kind Regards,
    Julian

    Hi Julian,
    For the automatic transfer of master data ,we can use change pointer technique.
    Following are the steps to be followed:-
    1) Enable change pointer globally (t.code BD61).
    2)Enable Change Pointers for a Message Type (t.code BD50).
    Here you have to check the Active checkbox corresponding to customer master message type 'DEBMAS'.
    3)Specify the Fields for Which Change Pointers Are to Be Written (t.code BD52).
    Various number of fields are present here corresponding to message type'DEBMAS'. If you want to add any other field , you can add here.
    Apart from above three settings, all other ALE configurations are required like( partner profile, distribution model etc.)
    For triggering the Idoc program 'RBDMIDOC' should be scheduled.
    When you make any change in the customer master , Idoc will be triggered automatically from your SAP system.
    regards,
    monica

  • Itegration with Websphere Message Broker and Customer Master IDOC

    Hello All. I am new to this forum. I have a couple of questions.
    What I am trying to do: I have to interface to SAP with Websphere Message Broker which has inbuilt nodes to interface with SAP using BAPI or ALE to send Customer Master Record (create/update/delete)
    The questions I have:
    1/ Has anyone done this? What did you use BAPI or ALE?
    2/ When a Customer Master IDOC is sent to SAP, if successful, a return code is sent back by SAP. This indicates that SAP has received the IDOC successfully. However, our requirement is that we have to know whether the IDOC was successfully posted within SAP. I am of the opinion that this is manual task within SAP and it should not be the function of the middleware layer as its responsibility is only to successfully deliver the IDOC's. I would welcome opinions on this issue. Please let me know If there is a way to determine if the IDOC has been successfully posted in SAP.
    3/ Is there anywhere where I can get an XML representation of the Customer Master Record. I want to see the structure and the available fields. How can I get this info from SAP?
    Thank you

    Hi;
    Similar issue has been answered at -Steven Chan blog*
    From blog:
    Hello, RM,
    I have not seen any Oracle-produced documentation along those lines. I don't think there are any Oracle teams that are investing in producing documentation for IBM WebSphere.
    I would suggest contacting IBM to see whether they have produced any WebSphere-specific documentation.
    Regards,
    Steven
    Referance:
    http://blogs.oracle.com/stevenChan/entry/ebusiness_suite_release_1211_now_available
    Ps: You can rise SR for your issue also
    Regard
    Helios

Maybe you are looking for