Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Creating the material master data IDOC through ABAP program

Former Member
0 Likes
982

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

1 REPLY 1
Read only

Former Member
0 Likes
361

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(bom’s)

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.