2009 Oct 29 3:19 AM
Hi,
I have a doubt in the configurations for setting up an interface between systems using ALE/EDI.
For a given message type and basic idoc type, we will be setting up the function module that needs to be executed for an inbound idoc in transaction WE57.
Also, in partner profile setup, using transaction WE20, we will be specifiying the inbound message types that will be received from a particular partner. Here, however, we specify message type vs. process code. Now, for the process code itself, we can specify eitther a function module or workflow task in transaction WE42.
For eg. consider the below setup:
WE20:
LS - ZTESTSYS
Incoming Mess Type - ZTESTMESS , Proc Code - ZTEST
WE42:
Proc Code - ZTEST
Identification - TS12345678(some standard task)
WE57:
FM - ZPROCESSINCOMING
Mess Type - ZTESTMESS
Basic Type - ZBASIC
My question is how does the system determine how to process the incoming idoc? Whether task or FM?
Hi,
I have a doubt in the configurations for setting up an interface between systems using ALE/EDI.
For a given message type and basic idoc type, we will be setting up the function module that needs to be executed for an inbound idoc in transaction WE57.
Also, in partner profile setup, using transaction WE20, we will be specifiying the inbound message types that will be received from a particular partner. Here, however, we specify message type vs. process code. Now, for the process code itself, we can specify eitther a function module or workflow task in transaction WE42.
For eg. consider the below setup:
WE20:
LS - ZTESTSYS
Incoming Mess Type - ZTESTMESS , Proc Code - ZTEST
WE42:
Proc Code - ZTEST
Identification - TS12345678(some standard task)
WE57:
FM - ZPROCESSINCOMING
Mess Type - ZTESTMESS
Basic Type - ZBASIC
My question is how does the system determine how to process the incoming idoc? Whether task or FM?
2009 Oct 29 7:28 AM
Hi,
While creating the process code in WE42, we select the readio button "Processing by Task" or "Processing by function module".
Thanks,
Asit Purbey.
2009 Oct 29 7:58 AM
Hi Asit,
Thanks for your reply.
But this doesnt answer my query. I m not asking about the 'steps' to follow to set up the pre-requisite configurations. Its more a query on how the system determines the FM module to be used.
Lets forget about workflows for now. Consider this setup:
WE20:
LS - ZTESTSYS
Incoming Mess Type - ZTESTMESS , Proc Code - ZTEST
WE42:
Proc Code - ZTEST
Identification - ZPROCESSINCOMING1
WE57:
FM - ZPROCESSINCOMING2
Mess Type - ZTESTMESS
Basic Type - ZBASIC
Now, when my ystem receives an idoc of type ZBASIC and message ZTESTMESS, which function module will process it? ZPROCESSINCOMING1 or ZPROCESSINCOMING2?
2009 Oct 29 1:00 PM
Adarsh,
Its based on process code. Fm assigned against process code will be taken as reference.
Regards
Ram
2009 Oct 30 5:36 AM
Hi,
Thanks for your reply.
What is the use of the setup that is done in WE57? At what stage is it used?
Ask it because, the system has all the required data to process an inbound idoc from all other configurations - partner profile, message type and process code from WE20, the FM/task to process idoc from WE42.
So, is WE57 actually redundant?
Thanks,
Adarsh
2009 Oct 30 6:55 AM
Hi,
I suggest, you create one process code in WE42 then you will come to know the importance of WE57. Process code is nothing but a alias of processing function module. While creating the process code you need a processing function module to link with this process code. And this function module will appear in F4 help in WE42 only if it is available in WE57.
Thanks,
Asit Purbey.
2009 Oct 30 2:18 PM
Adarsh,
No need of WE57 settings. For inbound process maintaining Process code ( we42 ) is enough. I don't know why you are going for WE57.
Ram
2009 Oct 30 2:44 PM
HI
when you create a process code in we42. under processing type we have 3 radio buttons.out of 3 you should select the Processing by function modlue.then system knows and expects FM will come in Identification field.
Main thing here when click on F4 help in the identification,it will not show the FM in that list untill you made chagnes in BD51 and WE57.Configuration settings in these two codes must and should.
in BD51.
click on new entries.
enter your FM name and in Input field give 1 for individual input.save and come back
now go to WE57.
click on new entires
give the FM name which is given in BD51 and
Function Type : Function Module
enter ur basic type and message type below.
Basic IDoc type :
Message type :
these 4 entries should be entered in WE 57 save and come back.
now go to we42 click on the identification F4 help.now you can see the FM which u have created in BD51.
write your own code in the FM according to your requirement.
Thanks
Kiran Jagana
2009 Oct 30 7:42 PM
Hi,
I understand that for my custom FM to show up in WE42s dropdown list, it should first be setup in BD51 and WE57.
Thanks for the info.
However, my original query still remains. What is the use of WE57? Is it only used as a sort-of F4 help in WE42?
Thanks & Regards,
Adarsh Hatwar
2009 Oct 31 11:37 AM
Hi , this is the one .
And the second thing is actually like this is he place where ur linking the inbound idoc , message type and FM,
For eg:
SEE in this case
ZSD_IDOC_INPUT_ORDCHG F Function module ORDERS05 ZSDORDERS05 ZORDCHG
In this case system identifies that when he process the extendede idoc type ZSDORDERS05 whose basic type is ORDERS05 and mesage type is ORDCHG he has to use the fm ZSD_IDOC_INPUT_ORDCHG to process order change idoc.
So this is also the use of we57.
Hope it clears .
Regrds
2009 Nov 02 10:04 AM
HI
WE57 is used for link the our FM(which contains the code to receive the idoc from receiver system to our system) to Message type and IDoc type.
after these settings only we can receive the idoc from receiver system and staus will be 53.
points should be satisfactory
KIran
2009 Oct 30 11:38 AM
When u craete a Process code at that time u select a option from the three radio buttons ,
if u selct the option ,
processing by fm, then systme know this and expects a fm to enter in the identification,
which helps to perocess the idoc.
As per ur second question why u want a entry in we 57 ,
because ur fm that u want to assign to the process code wil appear in the list box only when
u make a entry in we57 and bd51.
So u need to make a entry .
Rajendra
2009 Nov 06 6:21 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |