Application Development 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: 

Idoc ORDERS05 with Custom Message Type

Former Member
0 Kudos

We want to use a Z message type for idoc type ORDERS05 to be able to separate a particular group of partners from other partners using ORDERS/ORDERS05.

The goal with our Z message type is to use the standard function IDOC_OUTPUT_ORDERS. The only problem I see is that this function checks the message type in form READ_SERVICE_PACKAGE. It would ignore this code since my message type is a Z and it's checking for message type ORDERS.

I was thinking of using a Z wrap-around function to perform the same code in form READ_SERVICE_PACKAGE if the message type is my Z message type.

I want to avoid creating a Z copy of IDOC_OUTPUT_ORDERS and all if the includes!!!

Any suggestions?

3 REPLIES 3

Former Member
0 Kudos

Hello Bruce,

The function module is associated with the process code.

Why do you need a new message type?

Regards,

Samir.

0 Kudos

ORDERS05 is used by multiple partners. Management wants to be able to track certain partners by using a custom message type instead of ORDERS. My job is to figure out the least amount of development work for this custom message type.

Former Member
0 Kudos

Why don't you use the message code and message function option then.