05-28-2008 10:31 AM
can i know the function module assciated with basic type of idoc if i do not know the process code for the same
05-28-2008 10:44 AM
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
05-28-2008 10:52 AM
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.
05-28-2008 11:37 AM
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....