‎2007 Apr 16 11:11 AM
Hi all,
Can anybody tell me how I can assign a z-function module to my own z-process code?
I created the process code via we41. But when i proceed further it only asks me to use anyone of the listed funtion modules in the next screen.
Where can I assign my own z-func.modole to a z-process code?
Thanks,
Faraz
‎2007 Apr 16 11:13 AM
just a correction to my question. I created the inbound process code via we42.
‎2007 Apr 16 11:19 AM
in we42 itself double click ur z-process code.
in that in identification field specify ur z-function module.
in processing type select Processing by function module.
‎2007 Apr 16 11:21 AM
Hi,
When you create a process code in WE42, there is option to select, Processing with ALE Service or Processing with FUNCTION MODULE
If you select the second option, it will ask for the function module in the next screen,which you enter and save.
Before that you ensure that in WE57 you have assigned the Fun module to TYPE F to IDoc type, Message Type and Object Type(business).
and in BD51 define the setting for the fun module. like Input = 0.
just check the other steps:
First Create Partner Profile(WE20 Tcode) and Port Definition in WE19 Tcodes.
take the Basis help to create them.
1.First create segments in WE31 Tcode with the required dataelements
2.Create the Basic Idoc Type in WE30
release the Segments and IDOC type.
3.Create Message type in We81
4.Assign the message type to IDOC type in WE82 T code
5.Create the process code in We41 (for Outbound) WE42 (for Inbound)
6.Create A fun module in SE37 starting with ZIDOC_OUTPUT_.. by copying some Inbound (for Inbound) Outbound Fun module
7.Create Workflow setting if needed ..
8. Assign the fun module to Idoc Type, Message Type and WF object (if it is there0
9.Define setting for fun module in BD51
10.Assign the Processs Code to Fun module
reward if useful
regards,
Anji
‎2007 Apr 16 11:26 AM
Hi,
Assign the Z- function module in the transaction BD51.
Regards
L Appana