Skip to Content

SHP_OBDLV_SAVE_REPLICA Modification - for external warehouse

Dear Colleagues,

I created a new Z Idoc for Shipment Outbound Delivery Save Replica for our new external warehouse. These Idoc are generated.

I know that SAP provide a BaDI to extend the IDoc with segment E1BPEXTC, E1BPEXT but it's very unconformtable, if the external warehouse needs more than 50 special fields.

Therefore I created a new one:

My procedure:

1. Create new Business Object ZLIKP with Super Type LIKP.

2. Create new Method ZSAVEREPLICA.

3. Copy and create a new function module ZBAPI_OUTB_DELIVERY_SAVEREPLICA and assign as API on my method.

4. Generate a new Message type ZSHP_OBDLV_SAVE_REPLICA from Z function module.

5. Assign & generated the basis type ZSHP_OBDLV_SAVE_REPLICA04

6. Create new partner profile and distribution model with my new BAPI

So this settings are fine.

My problem:

How can I trigger my new IDoc/Message type for Shipment Outbound Delivery Save Replica, if a new outbound delivery created for external warehouse in SAP.

There are no customizing settings to set or assign the warehouse no. with my new message type.

Currently the systems works only with the standard Message Type SHP_OBDLV_SAVEREPLICA.

Have anyone the solution?

Thanks in advance.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 27, 2016 at 08:30 AM

    Dear Armin,

    Have you found a solution for this issue?

    Best wishes,


    Add a comment
    10|10000 characters needed characters exceeded

    • Hello Atul,

      There is no a solution by SAP to assign a new Message Type (Basis Idoc) for one external warehouse. Message type SHP_OBDLV_SAVEREPLICA is hardcorded in the SAP standard program. So you have to modify the standard program. But it's not recommend.

      You have to use the extension segments E1BPEXTC or E1BPEXT in SHP_OBDLV_SAVEREPLICA .



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.