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

Interface for function *** is incorrect

Former Member
0 Likes
4,330

Hi!

I want to test the inbound function module in we19, but it says:

"Interface for function EXIT_SAPLVEDF_002 is incorrect"

the same with other FM:

"Interface for function IDOC_OUTPUT_INVOIC is incorrect"

Will reward,

Mindaugas

1 ACCEPTED SOLUTION
Read only

ferry_lianto
Active Contributor
0 Likes
2,438

Hi,

Your approach is correct but you enter incorrect FM. IDOC_OUTPUT_INVOIC is used for outbound purpose. Please try the above FM as I mentioned earlier.

To debug the FM, please check call in debugging mode option and select in foreground.

Regards,

Ferry Lianto

7 REPLIES 7
Read only

suresh_datti
Active Contributor
0 Likes
2,438

You can check these function modules ie EXIT_SAPLVEDF_002 & IDOC_OUTPUT_INVOIC in SE37.

~Suresh

Read only

ferry_lianto
Active Contributor
0 Likes
2,438

Hi,

If you want to test inbound IDoc for invoice (WE19), please click on inbound function module button and use one following FM.

For MM:

IDOC_INPUT_INVOIC_MM

IDOC_INPUT_INVOIC_MRM

For FI:

IDOC_INPUT_INVOIC_FI

Regards,

Ferry Lianto

Read only

0 Likes
2,438

Hi,

I want to test inbound IDoc for Invoice List...

That is why I am in WE19 and I need to trigger debug mode, so I enter FM name in WE19 when pressing inbound function module...

M.

Read only

Former Member
0 Likes
2,438

Hi,

WE19 - is an idoc test tool, not a Function module test tool.

And both the Function Modules you are using are not inbound IDOC processing FMs . So the error.

For testing Function modules you are using the worng transaction WE19, you have to use SE37.

If you are testing IDOC inbound processing.. you are using the wrong Function Modules.

Thank,

Kalyan Tej Musunuri

Read only

Clemenss
Active Contributor
0 Likes
2,438

Hi Mindaugas,

EXIT_SAPLVEDF_002 is not an IDOC inbound interface function

IDOC_OUTPUT_INVOIC is for outbound

The function must be configured for the message type, check transaction WE57 to find out which function module is the right one.

Try F4 on FM in WE19, this will give you the FMs configured for your IDOC.

Regards,

Clemens

Read only

ferry_lianto
Active Contributor
0 Likes
2,439

Hi,

Your approach is correct but you enter incorrect FM. IDOC_OUTPUT_INVOIC is used for outbound purpose. Please try the above FM as I mentioned earlier.

To debug the FM, please check call in debugging mode option and select in foreground.

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
2,438

Simple Note :

If Function module starts Like :

IDOC_OUTPUT_* - This is outbound

IDOC_INPUT_* - This is Inbound