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: 

functiopn module associated with basic type of idoc without process code

Former Member
0 Kudos

can i know the function module assciated with basic type of idoc if i do not know the process code for the same

3 REPLIES 3

franois_henrotte
Active Contributor
0 Kudos

link between message type, idoc type and function module is maintained with transaction WE57

if you find it more convenient, you can do an SE16 based on table EDIFCT and specify the idoc type

Former Member
0 Kudos

hi saurabh,

download.oracle.com/docs/cd/B10464_05/integrate.904/b10299/intro.htm

CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'

EXPORTING

master_idoc_control = wa_edidc

TABLES

communication_idoc_control = it_edidc

master_idoc_data = it_edidd

  • EXCEPTIONS

  • ERROR_IN_IDOC_CONTROL = 1

  • ERROR_WRITING_IDOC_STATUS = 2

  • ERROR_IN_IDOC_DATA = 3

  • SENDING_LOGICAL_SYSTEM_UNKNOWN = 4

  • OTHERS = 5

.

IF sy-subrc <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

ENDIF.

  • ENDIF.

ENDMETHOD.

i think this will help u

regards,

sindhu.

Former Member
0 Kudos

Hi execute WE19 t.code,

provide basic idoc type, execute,

select on inbound function module,

press F4 help( u will get list of possible function module entries for corresponding basic idoc type).

reward pts if it helps....