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

Create IDOC type and Message Type

Former Member
0 Likes
542

Hi folks,

I have a requirement that is....

Allow user to set up by supplier to send out purchase orders through EDI with prices including taxes. In this case I'm planning to change the program ZXM06U02 to update the corresponded field as needed.

Since I need to control which message must be considered to update the field...my question is...Can a create or copy a message type? Or could I create a copy of the IDoc type?

Thanks in advance!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
502

You don't have to create the another IDoc or message. Just write your code to update the particular field on the IDoc. For this you have to put your code in the above include.

3 REPLIES 3
Read only

Former Member
0 Likes
503

You don't have to create the another IDoc or message. Just write your code to update the particular field on the IDoc. For this you have to put your code in the above include.

Read only

0 Likes
502

Tks for your answer. But in this case I can not update the field in all messages. The information should be updated according the vendor. Because of that, I'm thinking to create a copy of the idoc type then the user will be able to set up the message type on partner profile. What do you think about it?

Read only

0 Likes
502

Solution adopted:

We created a copy of idoc type ORDERS02 and assign it to the same message type.