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

IDOC Query

Former Member
0 Likes
587

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

4 REPLIES 4
Read only

Former Member
0 Likes
560

just a correction to my question. I created the inbound process code via we42.

Read only

0 Likes
560

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.

Read only

Former Member
0 Likes
560

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

Read only

Laxmana_Appana_
Active Contributor
0 Likes
560

Hi,

Assign the Z- function module in the transaction BD51.

Regards

L Appana