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

Idocs - Inbound function module

Former Member
0 Likes
2,611

Hi All,

I'm facing a prolem while testing the inbound function module thru transaction WE19.

The steps i'm following.

1) i'll give the message type & will proceed further

2) when i select the idoc & click on the push button "inbound function module " , My Z FM will displayed afterwards when i press enter a error message will be displayed.as"Interface for the Z function module is Incorrect"

i have created Z funtion module, Z message type,Z IDOC type,Z segment type. Z process Code

All the configuration like WE57,WE20,WE42 has been done.

Please help.

Points will be rewarded

Thanks,

Sureshkumar

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,584

HI,

did you assign you Function module to your process code,

go to BD67 and assign the FM to the process code you created..

Hope this helps you..

rewards if useful

regards,

nazeer

8 REPLIES 8
Read only

Former Member
0 Likes
1,585

HI,

did you assign you Function module to your process code,

go to BD67 and assign the FM to the process code you created..

Hope this helps you..

rewards if useful

regards,

nazeer

Read only

Former Member
0 Likes
1,584

Hi Nazeer,

i have done with BD67.

i am facing problem when i select the idoc & click on the push button "inbound function module " , My Z FM will displayed afterwards when i press enter a error message will be displayed.as"Interface for the Z function module is Incorrect"

Thanks,

Sureshkumar

Read only

0 Likes
1,584

Hi ,

Goto WE19. Give the idoc number XXXXXXXXXX press Execute.

OR enter idoc type and execute and fill all the data in the segments.

Then check the Control data information , which will be the first row displayed in your we19 as segment . Check whether sender and receiver are Correct.

2. The go to option 'STANDARD INBOUND'. Now check whether partner profile and function module are displayed correctly or not.

3. Now goto option' INBOUND FUNCTION MODULE'. Now enter manually your function module and set foreground or back ground and check ok.

If doesn't work obsiously configuration settings or activate the function gruop.

Thanks

Manju.

Read only

0 Likes
1,584

Hi Manju,

I have completed points 1,2,3 & activated the function group also.....

But still getting the same error.

U have said that it cud be a configuration setting problem...

Can u tell me where it is..

Thanks,

Sureshkumar

Read only

0 Likes
1,584

HI ,

Check all this First.

Process Code : WE42.

Function Module : SE37

Message : WE81

Assign message : WE82

Assgin FM : we57

Characterstics OF FM : BD51

Check all this ?

Let me know, Are you in bangalore?

Thanks

Manju

Read only

0 Likes
1,584

Suresh , please check if ure function module interface is as per the template below:

IMPORTING

INPUT_METHOD LIKE BDWFAP_PAR-INPUTMETHD

MASS_PROCESSING LIKE BDWFAP_PAR-MASS_PROC

EXPORT

WORKFLOW_RESULT LIKE BDWFAP_PAR-RESULT

APPLICATION_VARIABLE LIKE BDWFAP_PAR-APPL_VAR

IN_UPDATE_TASK LIKE BDWFAP_PAR-UPDATETASK

CALL_TRANSACTION_DONE LIKE BDWFAP_PAR-CALLTRANS

TABLES

IDOC_CONTRL STRUCTURE EDIDC

IDOC_DATA STRUCTURE EDIDD

IDOC_STATUS STRUCTURE BDIDOCSTAT

RETURN_VARIABLES STRUCTURE BDWFRETVAR

SERIALIZATION_INFO STRUCTURE BDI_SER

This is the general required format for IDoc inblund processing using FM.

Message was edited by:

Ayan Banerjee

Read only

Former Member
0 Likes
1,584

Hi Suresh,

to check with the config u can select Standard Inbound. It first checks the necessary config settings so if the status comes in green then no need to worry about the config.

Thanks and reward if useful.

Read only

Former Member
0 Likes
1,584

Resolved