Idoc for Material Change

Hi Experts,
The requirement is to receive a standard Idoc for material change and trigger the material creation process in case the material does not exist.
Secondly, what is the Idoc for material change?
Thanks and Regards,
Ravi

Hi,
Go through the following Steps for Creating IDoc Via ALE
ALE IDOC
Sending System(Outbound ALE Process)
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Create Model View
Tcode BD82 ? Generate partner Profiles & Create Ports
Tcode BD64 ? Distribute the Model view
Message Type MATMAS
Tcode BD10 ? Send Material Data
Tcode WE05 ? Idoc List for watching any Errors
Receiving System(Inbound ALE )
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 ? Idoc List for inbound status codes
ALE IDOC Steps
Sending System(Outbound ALE Process)
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Create Model View
Tcode BD82 !V Generate partner Profiles & Create Ports
Tcode BD64 !V Distribute the Model view
This is Receiving system Settings
Receiving System(Inbound ALE )
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 !V Idoc List for inbound status codes
Message Type MATMAS
Tcode BD10 !V Send Material Data
Tcode WE05 !V Idoc List for watching any Errors
1)a Goto Tcode SALE
Click on Sending & Receiving Systems-->Select Logical Systems
Here Define Logical Systems---> Click on Execute Button
go for new entries
1) System Name : ERP000
Description : Sending System
2) System Name : ERP800
Description : Receiving System
press Enter & Save
it will ask Request
if you want new request create new Request orpress continue for transfering the objects
B) goto Tcode SALE
Select Assign Client to Logical Systems-->Execute
000--> Double click on this
Give the following Information
Client : ERP 000
City :
Logical System
Currency
Client role
Save this Data
Step 2) For RFC Creation
Goto Tcode SM59-->Select R/3 Connects
Click on Create Button
RFC Destination Name should be same as partner's logical system name and case sensitive to create the ports automatically while generating the partner profiles
give the information for required fields
RFC Destination : ERP800
Connection type: 3
Description
Target Host : ERP000
System No:000
lan : EN
Client : 800
User : Login User Name
Password:
save this & Test it & RemortLogin
3)
Goto Tcode BD64 -- click on Change mode button
click on create moduleview
short text : xxxxxxxxxxxxxx
Technical Neme : MODEL_ALV
save this & Press ok
select your just created modelview Name :'MODEL_ALV'.
goto add message type
Model Name : MODEL_ALV
sender : ERP000
Receiver : ERP800
Message type :MATMAS
save & Press Enter
4) Goto Tcode BD82
Give Model View : MODEL_ALV
Partner system : ERP800
execute this by press F8 Button
it will gives you sending system port No :A000000015(Like)
5) Goto Tcode BD64
seelct the modelview
goto >edit>modelview-->distribute
press ok & Press enter
6)goto Tcode : BD10 for Material sending
Material : mat_001
Message Type : MATMAS
Logical System : ERP800
and Execute
7)goto Tcode : BD11 for Material Receiving
Material : mat_001
Message Type : MATMAS
and Execute --> 1 request idoc created for message type Matmas
press enter
Here Master Idoc set for Messge type MATMAS-->press Enter
1 Communication Idoc generated for Message Type
this is your IDOC
Change Pointers
I know how to change the description of a material using ALE Change Pointers.
I will give the following few steps
1) Tcode BD61---> check the change pointers activated check box
save and goback.
2) Tcode BD50---> check the MATMAS check box save and comeback.
3) Tcode BD51---> goto IDOC_INPUT_MATMAS01 select the checkbox save and comeback.
4) Tcode BD52---> give message type : matmas press ok button.
select all what ever you want and delete remaining fields.
save & come back.
5) 5) go to Tcode MM02 select one material and try to change the description and save it
it will effects the target systems material desciption will also changes
6) goto Tcode SE38 give program Name is : RBDMIDOC and Execute
give Message type : MATMAS and Executte
ALE/IDOC Status Codes/Messages
01 Error --> Idoc Added
30 Error --> Idoc ready for dispatch(ALE Service)
then goto SE38 --> Execute the Program RBDMIDOC
29 Error --> ALE Service Layer
then goto SE38 --> Execute the Program RSEOUT00
03 Error --> Data Passed to Port ok
then goto SE38 --> Execute the Program RBDMOIND
12 Error --> Dispatch ok
Inbound Status Codes
50 Error --> It will go for ALE Service Layer
56 Error --> Idoc with Errors added
51 Error --> Application Document not posted
65 Error --> Error in ALE Service Layer
for 51 or 56 Errors do the following steps
goto WE19 > give the IDOC Number and Execute>
Press on Inbound function Module
for 65 Error --> goto SE38 --> Execute the Program RBDAPP01 then your getting 51 Error.
hope this helps you.
plz reward if useful.
thanks,
dhanashri.

Similar Messages

  • Idoc for PO changes

    Hi,
    For any new PO created, an idoc is getting triggered automatically and the same is communicated to vendor through portal.
    Please let me know how to trigger idoc for any changes / amendments to the purchase order.
    regards,
    C. ASHOK RAJ

    Hi Ashok,
    Goto ME20,
    Select your vendor
    On the right hand side, you will find "Outbound parmtrs."
    Select the "Messsage Type" of your Purchase Order.
    Double click on it OR press Display button.
    In the 'Messsage Control' tab
    Add
    (1) Application
    (2) Message Type
    (3) Process Code ME21N
    (4) Check the 'Change' option box.
    Hope this will help you.
    Rewards are useful.

  • 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.

  • Idoc for material characteristics

    Hi Friends,
    I know the IDoc message type for material batch characteristics (SKU_COLOR , SKU_SIZE , SKU_WINDOW, etc.,) is CLFMAS. Does anybody know the message and basic type for Material characteristics (ART_WIDTH , ART_DEPTH , ART_HEIGHT, etc.,) ?
    Regards,
    Dikshitha G

    Hi,
    You need to do the ALE confguration for change pointers of materials to trigger the idoc. Please search in SCN , you will find information reagrding change pointers of Idoc.
    Regards,
    Nagaraj

  • Inbound Idoc for material document cancellation

    Hello,
    Could you update me whether there is any Inbound Idoc type available for material document cancellation (like t.code MBST).  I found message type MGBMCR, but it's only allowing me to create the material document like GRs but not cancellations.
    /Mallik

    To my knowledge, there is no such IDoc. Cancellation is an exceptional situation and should be treated as such. If one needs an IDoc interface for cancellations, I'd have to say there is something very wrong with the business process.

  • IDOC for material upload

    hi friends,
    if we use idoc or bapi for material upload.will it create internal material number by itself has it does in bdc
    and also plz suggest me which is best method for data upload.
    regards
    raj

    its beteer to go uploading with LSMW
    for uploading
    and in LSME with direct input pethod its the easiest way to upload the data

  • Workflow for material changed

    Hi Gurus,
    I would like to implement a workflow with a mail which wil be triggered whenever a material is changed.
    I have created a workflow using SWDD..How can I link this workflow to Material change transaction(MM02)..
    I am new to this workflow...Pls help me...
    Thanks in advance...
    Regards,
    Saj

    Hi,
    you need to create an event for your change document  BOR 1001006 thru SWEC.
    create a similar event in your BOR Event and use this event in the Basic Data of your WF.
    So whenever a material is changed your event would trigger your WF.
    Hope I am clear,
    any issues reply back to this thread.
    Aditya.
    P.S
    just a suggestion, could you put in your name instead F1 (as I like referring to names, though I just address all by initials) offcourse no hard n fast rule,
    but since its a <b>wonderful Forum</b>, lets know each other .
    Well my friend I still have no issues with your Display Name, it was just a thought.

  • Difference between IDOC for creation, change and deletion

    Hi,
    As per the requirement, an IDOC will be generated for PO, Vendor Masters and Goods receipt when ever a PO or Vendor or Goods receipt is created or changed. How can we identify whether the IDOC has been created for creation or change of a particular thing? Is there any identifier where in we can check whether the IDOC generated is for creation or change?
    And also how to identify that a particular PO or VM or GR has been deleted or cancelled?
    Thanks & Best Regards,
    Phani.

    hi,
    to check the idoc status ie idoc created or changed --use transaction WE05
    we02 to diplay idoc
    please rewrd points if helpful,
    shylaja

  • IDoc for  -Schedule Changing of Material- Table PCDPOS and / PCDHDR

    Hi Experts,
    i have an very big Problem. I have to find a way to transfer Change Master Data to a target system. I am not talking about ECMMAS. I need the Content of an future change in my target system.
    MATMAS only distributes the current Material Status. But not the future status, which is the on I needed. E.g. Use TA CC03 and enter a change master number and select one of the objects. Here you can see the Material Master how it looks "in future" and this is the view i need to send from my source to my target system. Has anybody an idea, how i can do this?
    Big Thanks in Advance
    Udo

    Hi Rahul,
    For that classification data fields
    there is no change log option checked in the data element level.
    or there is no associated changelog class.
    check in <b>SCDO</b> transaction for change log class.
    Regards
    vijay

  • How to generate Outbound idoc for Material Reservation

    Hi Experts,
    I want to send outbound IDoc when a material reservation is created with tcode MB21.
    I have been working on this issue and finding the solution in SCN for a week...
    I found some messages similar to this but I could not find out the correct way how to do that.
    At this moment, I configured BD64/WE20 referring the following topic which seems to be feasible solution but could not find any outbound IDocs created, unfortunately.
    Implement ALE_RESERVATION_CREATE
    I appreciate if someone can help me how to create outbound IDoc with MB21 or advice some possibility of missing configuration or steps.
    Best Regards,
    Kenji

    Hi;
    Have been able to find the solution to create the IDoc MRESCR after entering a reservation? 
    I am in the same situation and I do not see the IDoc output in the BD87. 
    It would be nice if you share the solution.
    Thanks in advance

  • OutBound IDoc for Material master

    Hi everyone
    I need to send Material Masterdata whenever data is saved in MM01,MM02 using BTE1250 .
    I need to use function module MASTERIDOC_CREATE_REQ_MATMAS to send idoc.
    Can anyone please help me with a basic program/ code for sending Idoc using MASTERIDOC_CREATE_REQ_MATMAS.
    I am new to Idoc and could not understand programs given in SDN.
    Thanks in advance.

    Hi,
    Refer to SAP standard program "RBDSEMAT".
    Regards
    Vinod

  • Idoc for Material Master Specific to SAP AFS

    Hi All,
    I have requirement to create & extend the material master from Non-SAP to SAP specific to AFS industry, however can anyone suggest which inbound idoc needs to be configured in details like (Message type, basic type & process code)
       Also please suggest how it can be extend at the same time to different plants
    Thanks & Regards
    Parag

    Hi Tomek,
    Thanks for details, can you please guide / suggest on extend the mateial for other plants & Storage location as well after creation of material.
    Thanks
    Parag  

  • IDOC after Material Change

    Hi all,
    I would like to send a IDOC after a material has changed.
    I have to send the complete material by IDOC, so not by the change pointers (TC BD21).
    Normally a user would change a material and then would start BD10 to send the material.
    I have found a user exit EXIT_SAPLMGMU_001 but a that point the material is not saved.
    How can I start BD10 after the material has been saved?
    Or does someone know another way to achieve this?
    Greetings Fred.

    Hi Frek ,
    If u r working ECC after saving the material (Please Check the code) . After this code create an  Enhance Spot . where u can call ur transaction .
    I hope it resolves ur problem .
    Rgds
    Sree M
    Edited by: Sree  Merugu on Apr 21, 2008 5:00 PM

  • IDOCs for PO Change

    Hi SAP Gurus,
    I am very new to SAP IDOCs & I have requirement related to IDOCs and which may be a simpler one for many but Im finding it difficult as I am new to it.
    The requirement is, whenever a PO is changed it should send out a IDOC to replicate those changes in another PO which would be in another system.
    Whenever there is change in delivery quantity & delivery address, this IDOC should be triggered.
    I am okay with the O/P determination part and can handle that but need help in partner profile & other areas, and my first area of concern is the basic type.
    I checked in WE30 for basic types(related to PO change) ORDERS04/PORDCH01 but couldn't find an appropriate segment to send out the data. Can you pls explain how to handle this.
    Also, shall we consider IDOC Basic type extension as an option??
    Your inputs are highly appreciated..
    Thanks

    Hello ,
    you can use the IDOCBasic type extension to meet this functionality and check with your ABAPER to get this done.

  • Mdm_clnt_extr is not able to create idoc for material

    Hello ,
    In my scenario material data has to transfered from ECC6.0 to MDM5.5 using XI.
    Scenario is configured in XI.
    Trying to extreact materials from ECC6.0 using mdm_clnt_extr.
    Material_extract is extraction object used in variant required for mdm_clnt_extr.
    once I give values for matnr and starts extraction, background job goes into error
    saying 'This idoc is permitted for XI logical system'. where In we20 of ECC6.0 , I have MATMAS04 and MATMAS05. In both cases I am getting error 'This idoc is permitted for XI logical system'.
    At the same one bp document od MDM , message type MATMDM is given, but i dont see that in ECC6.0.
    Pl can anyone suugest on this.
    thanks,
    Sharada

    Hi Sharada,
    i think there is some problem in your RFC destination settings,tats why the error is coming.
    I am trying to get the exact solution for your error,meanwhile you can check your configuration settings.
    I will outline the ALE Settings .
    1 WE21 : Set up the port in IDOC Processing
    2 SM59 : Set the RFC Destination to XI and check it.
    3 WE20 : Create a partner profile with Partner Type LS (Logical System) for XI
    Include the message types : DEBMDM, MATMAS, MDMRECEIPT
    4 BD64 : Create a Distribution model with Sender as SAP and receiver as XI.
    Include the message type DEBMDM,MDMRECEIPT,MATMAS,/SAPSSLL/MATMAS_SLL
    5 Generate partner profile. This will generate it in the receiving system.
    Following transactions are useful for trouble shooting any idoc issues
    WE02, WE20 ,BD87,SMQ2,SMQ3 and SALE->System Monitor->trfc check
    Hope it will solve your problem.
    <b>Please remark iof it really helped you :-)</b>
    Thanks,
    shiv prashant dixit

Maybe you are looking for