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

How link customize IDOC message type with FM ?

Former Member
0 Likes
1,892

Hi,

I have created new IDOC message type ZCOST and FM ZMASTERIDOC_CREATE_COST. (Outbound).

Please advise how link the message type and FM ? so everytime i am executing BD21 with message type ZCOST the program always calling FM ZMASTERIDOC_CREATE_COST to generate the IDOC.

Thank You and Best Regards

Fernand

Hi,

I have created new IDOC message type ZCOST and FM ZMASTERIDOC_CREATE_COST. (Outbound).

Please advise how link the message type and FM ? so everytime i am executing BD21 with message type ZCOST the program always calling FM ZMASTERIDOC_CREATE_COST to generate the IDOC.

Thank You and Best Regards

Fernand

2 REPLIES 2
Read only

Former Member
0 Likes
1,242

Hi,

Maintain the Records in View T_TBDME using SM30.

Regards

Vinod

Read only

Former Member
0 Likes
1,242

HI,

You need to link Mssage type, IDOC type and the FM (also extension idoc type if exits) in TCODE: WE57 --> go to change mode

--> then new entries --> even you need to gove the direction inbound/outbound.

Also you need to create a outbound custom process code in WE41. and link the FM to the process code.

This process code shold be assigned to the partner profile in we20 in outbound parameters -> so you FM will be picked up qutomatically.

regards,

Nazeer

Edited by: N a z e e r on Jul 14, 2010 3:14 PM