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

custom outbound function module is not triggering

Former Member
0 Likes
1,923

hi ,

i have created the custom idoc zshpmnt05 and released it an created partner profiles and custom process codes and custom function module also . when i create a shipment and i assign the output type , i t gives an error saying ":The selected process does not support processing of IDoc type ZSHPMNT05." also it runs the standard function module "idoc_output_shpmnt" instead of the custom function module "z_idoc_output_shpmnt".

i have linked the process code with the function module we41,

but i have not done the linking in we57 , is it required for outbound function module also ,

i have assigned the message type to idoc type .

could anyone suggest me where i have missed any linking .

12 REPLIES 12
Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
1,484

Correct process code also has to be selected in the partner profile, WE20.

Read only

0 Likes
1,484

hi jelena ,

i have assigned the correct process code only in the partner profile , but when i try to create the idoc through message control , it show an error saying that the custom idoc cannot be processed by the standard function module . i dont know why the system is taking the standard function module for processing my custom idoc , even though i have mentioned the custom fucntion module in the process code . kindly help .

regards

Read only

0 Likes
1,484

Check message control parameters once, whether you have currect 'message type -output type' and ur custom process code.

And also check whether the output was triggerd for the right partner.

--

Reddy

Read only

0 Likes
1,484

Hi,

Check the settings in WE41.

WE41 -> Select Process Code -> Click on Logical message Option -> Add the message type.

Regards

Vinod

Read only

0 Likes
1,484

hi vinod ,

i have assigned the zmessage type in the process code also , bu tstill the problem exists any further more configuration need to be done ..

regards

Read only

0 Likes
1,484

Hi,

Check the entries in tables TMSG1 (Process code - message type mapping), TEDE1 (Process code - function modue mapping).

Regards

Vinod

Read only

0 Likes
1,484

hi vinod,

i have checked both the tables , the entries exist for my process code in those tables . hmm any other check has to be done .

regards

Read only

0 Likes
1,484

Hi,

I don't think any other configuration is there. You can check WE20, to check whether correct process code is assigned to to the Output type in Message control tab.

Regards

Vinod

Read only

0 Likes
1,484

hi vinod ,

i have checked the partner profile also , there i have assigned the correct idoc type , msg type and the process codes . but still the problem persists .

regards

Read only

0 Likes
1,484

Hi,

Have you done the Mapping between function module and message type in WE57 with direction as 1-Outbound ?

Regards

Vinod

Read only

0 Likes
1,484

hi guys

issue has been solved , the problem was , the coding in the zfunction module was being copied from the standard fucntion module there it is checking for the standard function module . if we comment his part then it is working fine .

regards

Read only

Former Member
0 Likes
1,484

Hi,

Have you created custom message type OR you have assigned the Custom idoc type to Standard message type ? Check whether you have assigned the Custom process code with the message type in WE41.

WE41 -> Select Process Code -> Click on Logical message Option -> Add the message type.

Regards

Vinod