Application Development 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: 

BAPI for Idoc message Type WHSCON

alejandro_lpez
Contributor
0 Kudos

Hi experts,

I'm trying to use the IDoc basic type DELVRY03 with message types WHSCON. But when i execute the Idoc, i get the message error: Function module not allowed: BAPI_IDOC_INPUT1.

I think that the error ocurrs because i created in wrong way the partner profile for message type WHSCON in transaction WE20.

Which is the correct way or correct configuration to define and execute the IDoc DELVRY03?

I am using SAP Version ECC6.0.

Thanks in advance.

Alejandro

5 REPLIES 5

ferry_lianto
Active Contributor
0 Kudos

Hi Alejandro,

Did you use process code <b>DELV</b> (IDOC_INPUT_DELVRY) for message type WHSCON and IDoc type DELVRY03/DELVRY01?

Hope this will help.

Regards,

Ferry Lianto

0 Kudos

You can find inbound process codes for given message types in table TMSG2.

alejandro_lpez
Contributor
0 Kudos

Hi,

How can i change the process code for a message, because by defect the message type WHSCON has procces code BAPI and Function Name BAPI_IDOC_INPUT1?

Thanks,

Alejandro.

0 Kudos

Use WE42 to maintain inbound process codes.

ferry_lianto
Active Contributor
0 Kudos

Hi,

Please go to WE20 (Partner Profile) and change the process code from BAPI to DELV for inbund parameter message type WHSCON. Once done, please ensure save the changes.

Regards,

Ferry Lianto