Problem solve Get help with specific problems with your technologies, process and projects.

How to copy a material in same client by referring another material

How can I copy a material in same system (same client) by refering another material, using IDoc. It should take care of 'Z' fields of MARA table.
Generally, you may consider using the MASTERIDOC_CREATE_MATMAS function to do this job. However, if you copy it within the same system, there may also be a convenient alternative to call the MATERIAL_MAINTAIN_DARK directly with the correct data provided. Z-Fields in MARA table are usually copied into a new material when they are part of a proper APPEND-structure of MARA. If you send IDocs to the same system, you have to create a second logical system pointing back to your system (you can use destination NONE), as the integrity checker will not allow sending IDoc to your own system.
This was last published in June 2003

Dig Deeper on SAP MM

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.