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

creating a custom IDoc inbound function module

Former Member
0 Likes
1,728

I have created a custom idoc.I wanted to create a custom IDoc inbound function module, this Function module will provide to launch a BAPI .Tell me how to "create" inbound function module for the custom idoc ?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
823

Hi!

Use SE37 to write an own function module. Check out some standard IDoc processing ones for reference.

Then attach this FM to the relevant IDoc with transaction WE42.

Regards

Tamá

2 REPLIES 2
Read only

Former Member
0 Likes
824

Hi!

Use SE37 to write an own function module. Check out some standard IDoc processing ones for reference.

Then attach this FM to the relevant IDoc with transaction WE42.

Regards

Tamá

Read only

Former Member
0 Likes
823

Goto any standard for the Paramtetres

*" IMPORTING

*" REFERENCE(INPUT_METHOD) LIKE BDWFAP_PAR-INPUTMETHD

*" REFERENCE(MASS_PROCESSING) LIKE BDWFAP_PAR-MASS_PROC

*" EXPORTING

*" REFERENCE(WORKFLOW_RESULT) LIKE BDWFAP_PAR-RESULT

*" REFERENCE(APPLICATION_VARIABLE) LIKE BDWFAP_PAR-APPL_VAR

*" REFERENCE(IN_UPDATE_TASK) LIKE BDWFAP_PAR-UPDATETASK

*" REFERENCE(CALL_TRANSACTION_DONE) LIKE BDWFAP_PAR-CALLTRANS

*" REFERENCE(DOCUMENT_NUMBER) LIKE VBAK-VBELN

*" TABLES

*" IDOC_CONTRL STRUCTURE EDIDC

*" IDOC_DATA STRUCTURE EDIDD

*" IDOC_STATUS STRUCTURE BDIDOCSTAT

*" RETURN_VARIABLES STRUCTURE BDWFRETVAR

*" SERIALIZATION_INFO STRUCTURE BDI_SER

*" EDI_TEXT STRUCTURE EDIORDTXT1 OPTIONAL

*" EDI_TEXT_LINES STRUCTURE EDIORDTXT2 OPTIONAL

Do the below configs.

1.Recognise the funcmod as Inbound -BD51

2.Register the Function module in WE57 .

3.we42 Process code .

4. WE20 -PARTNER Profile

I hope it resolves ur Query.

Rgds

Sree M