Creting material master idocs

Hi,
   i want to create a MAterial master idoc, whenever a material is created ( it should happen automatically).
1. is it calling BD10 transaction in user exit for building IDOC
2. Can it be done through Change pointers even in the case of Creatin gthe material.
Cheers

Hi Kumar,
i have done change pointers method for a ztable,not used for standard table,but i can share the configurations which i did in my case.
1>we81
2>we31
3>we30
4>we82
5>bd61
6>scdo
7>bd52
8>bd51
9>bd60
10>we20
11>bd64
basically in ur case u have to create an object in SCDO,check the field matnr,go to dataelement and in further characteristics tabb u will find one chek box ,as its standard it will be check for zdataelement u need to check it.
i have created one function module and wrote the logic for generating an idoc.
chek all the tcodes .
regards,
Nagaraj

Similar Messages

  • Error while creatting the Material Master IDOC in ERP 2005

    Hello All,
    I am trying to create scenario from RFID-Enabled Outbound Processing - Conf Guide (SAP AII 4.0).
    I am using Auto ID 4.0 on a NW04s system. The backend is a ERP2005 system.
    The scenario requires that I need to create a material in the backend and send it to the NW04s system using IDOCs.
    After completing the configuration on the backend, I tried sending the Material Master IDOC to Auto ID from the transaction AIDMM. I get a message that IDOC is just being created. But I could not find it in the transaction WE02.
    On debugging I found that the function MARD_GENERIC_READ_MATNR_PLANT resulted in error.
    Thanks for any kind of input.
    Regards,
    Rahul
    Message was edited by:
            Rahul Gavande

    Dear,
    Check ABAPer for file settings.
    - CANNOT_SKIP_ATTRIBUTE_RECORD : The attributes could not be read in the EPS parcel. The file cannot be opened for reading, because it may have been deleted in the meantime.
    - CANNOT_DETERMINE_EPS_PARCEL : The EPS parcel is not in the EPS Inbox, because it may have been deleted. You must download the relevant patch again (for example, Hot Package).
    - CANNOT_DETERMINE_DATA_FILES : The name of a data file could not be determined, because a profile parameter was not correctly configured. Check the settings using the report RSPARAM.
    - CANNOT_DISASSEMBLE_R_DATA_FILE : An R3trans data file could not be unpacked. A possible error source is that the relevant EPS parcel was not found. The data file could not be opened for writing. An error occurred when transmitting a 20K block from the EPS Inbox to the directory /usr/sap/trans/data (UNIX).
    - CANNOT_DISASSEMBLE_D_DATA_FILE : An ADO data file could not be unpacked. The reasons are the same as with the message CANNOT_DISASSEMBLE_R_DATA_FILE .
    - CANNOT_CREATE_COFILE : The cofile could not be created from the relevant data file. One possible error source is that <sys>adm does not have write authorization for the directory /usr/sap/trans/cofiles (UNIX).
    Check Note: 70752.
    Regards,
    Syed Hussain.

  • Material Master IDOC MATMAS05 and unit of measure

    Hi
    We are using SAP standard material master IDOC type MATMAS05 to trigger IDOC. Our material master is having base unit of measure as "G". We are not using ISO unit of measurement. But Material master IDOC, segment E1MARM is populating base unit of meaurement (MEINS) as "GRM".
    Any idea why IDOC is picking ISO unit of measurement instead of material master base unit of measurement.
    Any idea how to send base unit of measurememt as "G" instead of "GRM" in DOC segment.
    Thanks
    Nilesh

    Thats the way it works.  In any interfacie to or from  external sys. , it uses the ISO code from CUNI instead of the UOM .

  • Error while sending Material Master IDOC to Auto ID 2.1

    Hello All,
    I am using Auto ID 2.1 with SP1 on NW04.
    Integration server is XI 3.0 with corresponding XI Content for Auto ID.
    The backend is ERP2004.
    I am using the config guide for Auto ID 2.1.
    After completing the configuration, I tried sending the Material Master IDOC to Auto ID.
    IDOC gets created successfully. XI says the message transfer is successfully.
    In the log of Auto ID. I am getting the following error while importing the Material Master product:
    Product ID AUTOIDAII_MAT has an invalid format
    Internal error in /AIN/DM_PROD_COMMIT
    Message no. COM_PRODUCT897
    The description says that it may be a program error.
    Or the program expects some variable to be filled which has not occured.
    Any idea what could be the error. Or where should I try looking for to get more detail info.
    Do some one knows what should be the patch levels for the different components in all three servers for Auto ID 2.1 SP1.
    Thanks for any kind of input.
    Regards,
    Arundeep Singh

    HI Arundeep,
    use the following
    1) XI 3.0 SP level 12
    2) AII 2.1 SP2
    3) check in rfid outbound configuration guide for any customising for product to be done in AII
    regards,
    ashit singh

  • Error while sending Material Master IDOC to Auto ID

    Hello All,
    I am using Auto ID 4.0 on NW04s.
    The backend is ERP2005.
    I am trying scenario from RFID-Enabled Outbound Processing - Conf Guide (SAP AII 4.0)
    After completing the configuration on the backend, I tried sending the Material Master IDOC to Auto ID.
    I get a message that IDOC is just being created. I could not find it in the transaction WE02.
    Also, they are not appearing in the AII system.
    Thanks for any kind of input.
    Regards,
    Message was edited by:
            Rahul Gavande

    Hi Rahul,
    I have not worked on these version of products. And I don't know what changes have been done in the new versions.
    But still, can you let me know, what is the exact configuration that you have done and also
    which partner are you trying to send the IDOC. And if you are trying to send the IDOC then I will suggest to debug the transaction and see till what level it proceeds.
    Best of luck,
    Arundeep

  • Creating Material Master IDoc when creating a Material

    Hi Guys,
        My requirement is to trigger an IDOC at the time when I am creating a material using MM01 transaction. The Changepointer is active and when i am tring to send materials using BD10 it's showing that the IDOC is created which certifies that the config is OK. but when I am creating a material and saving it ..the same process is not triggering an Idoc.
    Can anyone help me out ...where I am missing out.
    Thanks
    Debasis Roy Chowdhury

    Hi Debasis,
    Activating pointers for the message type do not  trigger Idoc, we need to manually or scheduled the program to create the idoc against  pointers.You need to run BD21 transaction or  schedule RBDMIDOC .
    Go through this [Idoc Triggers|Automatic Trigger of Idoc Sending to PI on Material Master Create/Change;.There is a good discussions.
    Regards,
    Madhu.
    Edited by: madhurao123 on Feb 2, 2012 9:40 PM
    Edited by: madhurao123 on Feb 2, 2012 9:43 PM

  • Material master iDOC for inbound process

    Hi,
    I am trying to post the Data to the inbound iDOC for material master and i want to set the KZKUP(coproduct Flag) in MARA table but there is no field in the E1MARAM segment of the MATMAS03 iDOC to set this flag. There is one field in the E1MARCM segment but setting that is not reflecting in the MARA table it is setting in the MARC table only.
    So can anybody help me out in this.
    Thanks.

    Hi Dirk ,
    Thanks for your reply . Can we use matmas03 for loading. What will be the differences between these two IDOCS.

  • Configuration of material master idoc interface to RFID

    Hi,
    We are planning to have SAP RFID. Once operational, do we need to send SAP Material Master field data to RFID? For ex; when the description of a material is changed, do we need to send this new information to RFID system through Idoc (or some other way)?
    Regards

    Yes. This is available in SAP AII which is configurable. Material Idoc is the best way. Activate change pointers generally (Customizing for Logistics - General -> Supply Chain Planning Interfaces (SCPI) -> Auto-ID Backend Integration -->  IDoc Processing --> Material Master Data IDocs ->  Activate Change Pointers Generally).
    Hope this helps.
    Thanks,
    Naveen

  • Post material master idoc  with class and characteristic values

    Hi,
    I need to post the class and characterstic values of material while posting the material using idoc of basic type matmas05 . Can anyone suggest me the fields and segment details to fill the class, class type and characteristic values in matmas05.
    Note : the class and characteristic values are already created in the system, my purpose is to assign them to material while creating. so please give me the field and segment details in idoc basic type matmas05.
    thanks
    Kiran

    I  try to do the samething. I see the fields E1CUVAL : CU: Characteristic valuation in the structure of MATMAS05 but when I run the IDOC, these fields never appear even they exist for the material.
    Did you find an answer to your question that can help me?

  • Material master idoc

    Hi all,
      i am transferring a material from one server to another using ALE_IDOC
      The material is getting transferred properly but i want to change the plant
      of material from A008 to I008 during the tranfer process
      i tried to find some user-exits in master_idoc_distribute but it is not stopping on
      those
      kindly guide
    Regards
    ' Tarang Shah

    Hi,
    have you checked the components of the following enhancements (SAP 46C)
    MGV00001
    MGV00002
    MGV00003
    Hope this helps.
    Best Regards, Murugesh AS

  • Material Master MATMAS IDOC and base unit of measurement

    Hi
    We are using SAP standard material master IDOC type MATMAS05 to trigger IDOC. Our material master is having base unit of measure as "G". We are not using ISO unit of measurement. But Material master IDOC, segment E1MARM is populating base unit of meaurement (MEINS) as "GRM".
    Any idea why IDOC is picking ISO unit of measurement instead of material master base unit of measurement.
    Any idea how to send base unit of measurememt as "G" instead of "GRM" in DOC segment.
    Thanks
    Nilesh

    There are ISO codes for country keys, currency keys, units of measure and shipping instructions. According to SAP design guidelines, you should use ISO codes for an IDoc if they are available. When you set up the IDoc, the SAP codes have to be replaced by ISO codes.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf

  • Problem with mass IDoc for Material Master

    Hi All,
    Can anyone suggest a solution to work with mass IDocs for Material master?
    We have DEBMDM and CREMDM as mass capable IDocs for Customer and Vendor. How do we get mass Material Master IDocs from R/3 in a single XML file?
    Also the standard Material repository supplied with SAP MDM 5.5 SP3 doesn't have any XSD definition for MATMDM. Can anyone throw some light on this problem?
    Regards
    Pooja

    Hello Pooja:
    The standard way to do it is to generate a single file containing multiple idocs (And for the sake of performance, I suggest you stick to this technique).
    In the case of material master, everything is straight forward. In the case of customer and vendor master, when data flows from R/3 to MDM no idoc conversion needs to be performed by XI.
    However, for the case of customer and vendor master, when data flows from MDM to R/3, XI needs to separate the data in CREMDM to CREMAS and ADRMAS in order for R/3 to be able to process the idocs; as well as separate the data in DEBMDM to DEBMAS and ADRMAS.
    The good thing is that you do not need to worry about all this mappings and conversions in XI. The only thing you need to do in XI is to import the standard business content for SAP MDM 5.5 into XI.
    Hope this helps.
    Regards,
    Jorge.

  • Material Master Upload though LSMW - How to add new custom segments to LSMW

    Hi,
    I have an existing LSMW to create material master idocs (ZMATMAS) from legacy file. Now I need to add new custom segment under E1MARCM, for example say ZMARC1 which will have 2 new custom fields.
    1. I created the segment through WE31 and released it.
    2. I created an extension to ZMATMAS using WE30 and released it.
    Now Im trying to change the LSMW so that I will have the new segment ZMARC1 under E1MARCM so that I can do the field mappings. But I am not able to get it done. i.e. I dont know what should I do so that I can get the new segment in LSMW.
    I tried giving the extension in the first step of LSMW. i.e. Maintain Object Attributes but its not allowing me to give an extension. Do I need to add to the basic type ZMATMAS05 and release it to get it reflected in LSMW.
    Please give your suggestions.
    Thanks a lot in advance.

    Hi
    U can not add u r 'Z' program in Maintian attributes of LSMW.
    But U can create the BAPI and assign Business object, Then u can use u r Business Object in Lsmw.
    Regards,
    Raghu.

  • Material Master Data Integration on AUTO ID

    Hi all,
    We are trying to send material master data from R3 to AII, with the help of XI forum (very good profesionals) we have obtained the communication but now we have another problem...we get this error 'Parameters required to call function module COM_CATEGORY_READ are missing 801(COM_CATEGORY)'
    We have created one hierarchy and one category in our customizing, we have associted them and defined output format and storage form...Anyone knows if we are missing something in our configuration??
    Thanks in advance!

    Hello Daniel,
    I am facing a problem while sendig Material master IDOC from ERP2004 to Auto ID 2.1.
    I understand that you have done this sucessfully. Could you please help me with my problem. The case description is given below.
    I am using Auto ID 2.1 with SP1 on NW04.
    Integration server is XI 3.0 with corresponding XI Content for Auto ID.
    The backend is ERP2004.
    I am using the config guide for Auto ID 2.1.
    After completing the configuration, I tried sending the Material Master IDOC to Auto ID.
    IDOC gets created successfully. XI says the message transfer is successfully.
    In the log of Auto ID. I am getting the following error while importing the Material Master product:
    Product ID AUTOIDAII_MAT has an invalid format
    Internal error in /AIN/DM_PROD_COMMIT
    Message no. COM_PRODUCT897
    The description says that it may be a program error.
    Or the program expects some variable to be filled which has not occured.
    Any idea what could be the error. Or where should I try looking for to get more detail info.
    Do some one knows what should be the patch levels for the different components in all three servers for Auto ID 2.1 SP1.
    Thanks for any kind of input.
    Regards,
    Arundeep Singh

  • Inbound process for material master

    hi abapers,
    i have on req my req is iam sending material master from one server to other server..
    in inbound side i want to do mapping for materials,
    like matetial type 'FERT' in sending  system ,in receving side this material type should be 'HAWA'.
    like this kind of mapping i need to do.,   for this i found one badi 'badi_matmas_alv_in'.
    In this badi there are 'idoc_control' and 'idoc_data'  exporting parameters and in changing parametes 'material tables' are there, now i did mapping passed values to different tables .
    upto now is fine but  probelms what i face is
    1. The changed records  are not updating in database.
    so how the cding should should be done in inbound side ,,
    any other exits or any sol's plaese let me know..

    thanks prabhu,
    here i found one exit 'MGV00001'
    in that there two fm's 'EXIT_SAPLMV02_002' Enhancements in Material Master: IDoc - Post
    here i want testing this by putting break point init .and going to we19 giving the idoc no executing in begguing mode in foreground,
    but here this exit is not triggering, see below code of idoc_input_matmas01.
    PERFORM CHECK_USER_EXIT TABLES T_EDIDD       " zu 3.1H
                                             USER_SEGMENTS
                                      USING  CURRENT_TABIX.
              LOOP AT USER_SEGMENTS.
                REFRESH T_RES_FIELDS.
                SY-SUBRC = 0.
                CALL CUSTOMER-FUNCTION '002'
                    EXPORTING
                         MESSAGE_TYPE      = IDOC_CONTRL-MESTYP
                         F_CUST_SEGMENT    = USER_SEGMENTS
                    TABLES
                         RES_FIELDS        = T_RES_FIELDS
                    CHANGING
                         F_MARA_UEB        = I_MARA_UEB
                    EXCEPTIONS
                         APPLICATION_ERROR = 1
                         OTHERS            = 2.
                IF SY-SUBRC NE 0.
                  APPLICATION_SUBRC = SY-SUBRC.
                  PERFORM HANDLE_ERROR
                              TABLES
                                 IDOC_CONTRL
                                 IDOC_STATUS
                                 RETURN_VARIABLES
                                 T_MERRDAT
                                 T_IDOC_MATNR     "JH/4.0C/KPr100004993
                              USING
                                 APPLICATION_SUBRC
                              CHANGING
                                 WORKFLOW_RESULT.
                  EXIT.
                ENDIF.
                APPEND_RESFIELDS COUNTER-TRANC.
              ENDLOOP.
    here it is checking user segments table ,and when i exexuted this code it show empty,for this reason it is not going to  the exit.
    just see it and help me..

Maybe you are looking for