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

process code in IDOC..

Former Member
0 Likes
875

Hi

can anybody clarify me the term PROCESS CODE..

upto my knowledge ...

a FM wud be attached to this..which wud process the IDOC..

i find N number of Pcodes for a msg type (ORDRSP)..

actually what this process code does in each turn?

thanks in advance...

6 REPLIES 6
Read only

Former Member
0 Likes
730

Hi,

It is a 4 char code to identify which function module to call while generating IDOC.

Sreedhar

Read only

Former Member
0 Likes
730

yep u r right...

can a msg have multiple process code (each with dif FM)?

if it is so..

can u tell me a scenario where we use multiple process codes for a msg type with some example..

thanks,

Raja

Read only

Former Member
0 Likes
730

I do not understand the question exactly....

But, you can add additional coding to each processed ORDERS-EDIDD-Segment in a user-exit wich can be accessed with N number of Pcodes .

SMOD: MM06E001

Read only

Former Member
0 Likes
730

Hi Raj,

Can you pls tell me exact scenario u have to do??

Sreedhar

Read only

Former Member
0 Likes
730

sree i am new to this i want to learn & work...

MSG type: ORDRSP

Process codes attached to this:

Pcode---Fmodule

SD01---SD_EDI_ORDRSP_ORD_ID01

SD10---IDOC_OUTPUT_ORDRSP

like these

i wud like to know what these do?

will they develop IDOC in a dif manner from SD01 to SD10?

IF so the receipeint sys shud use the same process code?

But basically this msg type is for PO confirmation...

So y two process codes?

waiting for ur reply

Read only

0 Likes
730

Hi Raja,

Process code is for identification of a inbound function module in the inbound processing. Now coming to your question, it is not just enough if you have a process code for the corresponding message type but it should also have to be configured in the partner profiles.

For your question which process code would be chosen, depends upon the process code that you have configured for the partner.

For your question no.2 why?, This may be because I want to handle the same message type coming from two different partners differently.

Hope this helps.

Regards,

Srikanth