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

Inbound IDOC Processing

buddhika_krishantha
Active Participant
0 Likes
312

Hi,

I created inbound "ZMATMAS_LSP" IDOC type which includes following segment types.

E1MVKEM                        Master material sales data (MVKE)

E1MEANM                        Master Material European Article Number (MEAN)

E1MARMM                        Master material units of measure (MARM)

E1MARCM                        Master material C segment (MARC)

E1MAKTM                        Master material short texts (MAKT)

E1MARAM                        Master material general data (MARA)

Please let me know, do I need to create a new process code for process that idoc.

1 REPLY 1
Read only

Former Member
0 Likes
275

What was the reason for creating a new message type?

If the answer to the above question is that you want to add your own processing logic then "YES" you need to create a new process code.

The process code is nothing more than a wrapper for the FM that will get called to process the idoc. If you want to use standard SAP FM to process the idoc but wanted to use a custom message type then you dont have to create a new process code, just use exiting one.

V.