‎2008 Feb 06 8:46 AM
Hi experts,
I have developed a function module which creates/changes the material in the system, using the data from the legacy system. My requirement is, if the material doesn't get created/updated, I need to create an IDOC and pass all the fields to that IDOC in the program. Can you please give me the details, how should I go ahead with it. Can I have some sample code for doing it. I want to use a standard IDOC type.
Also, I am creating classification data for that material. So which IDOC type will suit me better?
Thanks,
Ganesh
‎2008 Feb 06 9:03 AM
Hi,
the configurations which we do for material master is below...we don't give any output for material master,becoz its a master data not transactional data..
For distributing master data like material master, vendor master, customer master we have standard transaction codes that are provided by sap.
Bd10(send material master)
Bd12(send customer master)
Bd14(send vendor master)
Bd30(boms)
The order of Tcodes are:
Bd54 (creating logical systems)
Scc4 (assigning logical systems )
Sm59 (rfc destination)
We81 ( message type)
We30 ( idoc type)
We31 ( segment type)
We82 (linking message type and idoc type)
We21 (creating port)
We20 (partner profiles)
Bd64 (Distribution model)
Bd10 (material master)
Ex: material master.
Message type: matmas.
Idoc type: matmas05.
Reward Points if found helpfull..
Cheers,
Chandra Sekhar.