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: 

User exit DESADV

Former Member
0 Kudos

I need an user exit for modify an outbound idoc of DESADV by the WE19 transaction(standard output button),

Thank you in advance.

3 REPLIES 3

Lakshmant1
Active Contributor
0 Kudos

Hi Carl,

Please refer 318573 and 86479 ossnotes. May be it will be of some help.

Thanks

Lakshman

Former Member
0 Kudos

Hi,

In the function module IDOC_OUTPUT_DESADV01 go to the routine PERFORM SEGMENTS_FILL.

FORM SEGMENTS_FILL.

DESPATCH_ADVICE_NUMBER = OBJECT-OBJKY(10).

  • shipment header is filled with delivery data

PERFORM SEND_SEGMENT_E1EDK07_DESADV.

  • shipment partner is empty; manadatory segment

PERFORM SEND_SEGMENTS_E1EDKA1.

  • shipment dates is empty; mandatory segement

PERFORM SEND_SEGMENT_E1EDK03_DESADV.

  • delivery segments e1edk08 to e1edpt2

PERFORM SEND_SEGMENT_E1EDK08_DESADV.

  • sums of shipment

PERFORM SEND_SEGMENT_E1EDS02_DESADV.

ENDFORM. "SEGMENTS_FILL

Within these perform statements the uesr-exits exist.

For ex:PERFORM USEREXIT_E1EDK07 in SEND_SEGMENT_E1EDK07_DESADV

regards

Aveek

Former Member
0 Kudos

Hi carl,

You need to get an access key from OSS and use it to modify the program LVED2FZZ where empty FORM routines are provided for you to use for each of the segments.

Srinivas