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: 

Is there any enhancement for ALE_OUTB_DELIVERY_SAVEREPLICA Function module ?

356

Hi All,

Is there any enhancement for ALE_OUTB_DELIVERY_SAVEREPLICA Function module ?

My requirement is to fill the segment E1BPADR11 with email-address when the PARTN_ROLE = 'XX'. Is there any enhancement for this as i cannot find any Exit for this.

Please let me know if you have any suggestions.

2 REPLIES 2

former_member650260
Participant
0 Kudos
157

You can use the central BADIs

IDOC_DATA_MAPPER

IDOC_DATA_INSERT

for all incoming and outgoing IDOCs

I prefer to have all manipulations of IDOCs in these BADIs, you have everything in one single point and you can (should) add a protocol (status 69) as well.

As I said, if you have an active implementation every IDOC is transferred through these BADIs

Do a central case for the control-mestyp and/or partner and add a method for this combination

* check, fill here
* don't forget the counter

IF  ls_edid4-segnam = YOUR_SEGNAM_WHERE TO_ADD.
lv_new_counter = ls_edid4-counter + 1.
ls_new_entries-counter = lv_new_counter.
ls_new_entries-segnam  = 'E1BPADR11'.
ls_new_entries-segnum =  lv_segnum.
ls_new_entries-sdata = YOUR DATA.
APPEND ls_new_entries TO e_tab_idocins.

* must be filled if changes should work
have_to_change = abap_true.

* also fill the protocol
 e_protocol-stamid = 'ZXYZ'.
 e_protocol-stamno = '123'.
 e_protocol-stapa1 = YOUR_VALUE.
 e_protocol-repid = sy-repi2.

0 Kudos
157

Hi Aniket,

I have almost the same requirement, it is to clear the E1BPADR11 email address in some cases.

I did some searching and came across user exit EXIT_SAPLV50K_012 that contains the email address field.

Since your post is from April 2020 you probably solved this one already?