Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Enhancement and Function Module Exit for Inbound Delivery

Hi,

I'm adding Custom segments and Fields for Inbound Delivery Idoc.

Further Details:

Message Type: DESADV

Basic Type: DELVRY03

Inbound Process Code: DELV

FM: IDOC_INPUT_DELVRY

Output Type: OPOD


Doubt 1: What will be the exact Enhancement and Function Module Exit Name?

Doubt 2: Kindly conform the below Enhancement and FM Exit for the above requirement regarding Idoc ZSegments.

                (a) SMOD: Enhancement: V55K0005.

               (b). CALL CUSTOMER-FUNCTION '005'
       IMPORTING
           PROCESSING_PROTOCOL = T_PROX[]
       TABLES
           IDOC_DATA           = IDOC_DATA
       CHANGING
           IDOC_CONTROL        = IDOC_CONTRL
       EXCEPTIONS
           IDOC_ERROR          = 1
           DO_NOT_PROCESS_IDOC = 2
           OTHERS              = 3.

(c).    FUNCTION EXIT_SAPLV55K_005.
*"----------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*"       EXPORTING
*"             VALUE(PROCESSING_PROTOCOL) TYPE  DELIF_T_PROTT
*"       TABLES
*"              IDOC_DATA STRUCTURE  EDIDD
*"       CHANGING
*"             VALUE(IDOC_CONTROL) LIKE  EDIDC STRUCTURE  EDIDC
*"       EXCEPTIONS
*"              IDOC_ERROR
*"              DO_NOT_PROCESS_IDOC
*"----------------------------------------------------------------------
-
INCLUDE ZXTRKU13 .

ENDFUNCTION.

With Regards,

Sudhir.

Former Member replied

Hi,

For outbound delivery please look for below exit. The data will be available in table  int_edidd.

Function Module - IDOC_OUTPUT_DELVRY

Customer Exit - customer-function '002'

FM Exit name - EXIT_SAPLV56K_002

Include -   zxtrku02


Regards,

Aashika Agarwal

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question