‎2008 Mar 19 10:05 PM
Hi,
Is there any concept like Message Function related to IDOC's, ALE scenarios..
Please do not get confused with Message type
thanks
Dan
‎2008 Mar 19 10:10 PM
Dan,
As far as i know message function and message codes can be used to assign uniqueness for a partner profile when several idoc types have same message type.
‎2008 Mar 20 4:49 AM
Hi Dan,
The message function and message code acts as a key combination to distinguish the IDOCs.
In WE20 (partner profile), you can same msg type several times by changing the msgcode and msgfunction.
Below is the tabular form:
Partn. fun msg type msg code msg function
LS ORDERS ZMD ZMF
LS ORDERS ZMD ZML
LS ORDERS ZMD ZMK
LS ORDERS ZMD ZMR
LS ORDERS ZMD ZMM
LS ORDERS ZMD ZMO
LS ORDERS ZMD ZMP
So, you can maitain several partner profiles just by chaning msg. function.
Also this is very useful in case of Inbound IDOC, where you can have several vendores of the same msg.type, then you can easily distinguish by this method.
While reading the EDIDD of IDOC, you have to write if condition as below :
If idoc_control-msgcod = 'ZMD' and idoc_control-msgfct = 'ZMK'. Then -
statement----
endif.
I hopw this will clear your ideas
Please reward if useful.
Regards,
Ramesh