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

Regarding process code

Former Member
0 Likes
595

hi guys,

when you design a customer specific message type, you need to assign it to a process code in the inbound system just like matmas to matm. But how come u do with customer specific message type's is there any process to build user specific process code's or u need to use existing process code's itselves.

can u please help me with this,

thanks very much

pavan

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
563

You will have to create the process code yourself for custom message types. The transaction code for the same is WE41 / 42.

Regards,

Ravi

Note : Please mark all the helpful answers

4 REPLIES 4
Read only

Former Member
0 Likes
564

You will have to create the process code yourself for custom message types. The transaction code for the same is WE41 / 42.

Regards,

Ravi

Note : Please mark all the helpful answers

Read only

Former Member
0 Likes
563

Hi Pawan,

When ur dealing with IDOC.

each idoc which comes in ur system needs to processed.

each process code is attached to a

Function Module

or

Task.

These FM & Task helps in processing data which comes in the idoc.

Many Idoc Type ( Idocs ) can be attached to single

Message type.

Single Mesage Type is attached to single Process Code.

single Process Code is attached to single FM or Task or Process

u can attach many idoc type to Message type .

this mean follwoing realtionship ( with cardinality ).

IDOC Type -:<b>N</b>----:<b>1</b>Message Type :<b>1</b>-:<b>1</b>Process Code-:<b>1</b>----:<b>1</b>Function Module or Task.

Indirectly Idoc is attached to FM or Task.

But this should capable of Processing the IDOC.

If u dessign customer specific IDOC ; existing Function Module or Task will not be able to Execute it.

So have define Custom Message type , Process Code & FM.

Refer this linkf for further details & Step by Development.

<b>ALE/ IDOC</b>

http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm

http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc

http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419

http://www.netweaverguru.com/EDI/HTML/IDocBook.htm

http://www.sapgenie.com/sapedi/index.htm

<b>Mark Helpful Answers & Reward Points</b>

Read only

Former Member
0 Likes
563

Hi,

Goto tcode WEDI and under development menu u can create ur own process code for both inbound and outbound.

rgds,

latheesh

Read only

Manohar2u
Active Contributor
0 Likes
563

You can assign process code to your custom message type or idoc type from WE42.

1. Create Custom message type

2. Assign to idoc type (Link idoc type and message type)

3. From we57 link message type - idoc type - Function module

4. BD51, make an entry for inbound Function module

5. Create process code in WE42 with message type and function module

6. Use this process code in WE20 for partner profile configuration.

7. When idoc with this messge type triggers, then this process code will automatically triggers your custom FM.

Regds

Manohar