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: 

Problem with FM SD_DELIVERY_ASSIGN_TO_SHIPMENT : (

LucianoBentiveg
Active Contributor
0 Kudos

Hi, i´m trynig to use FM SD_DELIVERY_ASSIGN_TO_SHIPMENT, but i´m getting short dump if I_XTRLK is empty...

What fields i need to fill in I_XTRLK to make it work?

Is there a BAPI for replace this FM?

Thanx.

3 REPLIES 3

FredericGirod
Active Contributor
0 Kudos

Hi,

Same answer as previous : BAPI_SHIPMENT_CREATE

Rgd

Frédéric

former_member181966
Active Contributor
0 Kudos

Checkout the OSS note # 821483

<b>FYI</b>

Symptom

The system abends with a dump sending the message VW 002

Error at READ TABLE I_XTRLK, Key: <delivery #>

The abend happens in the function module SD_DELIVERY_ASSIGN_TO_SHIPMENT.

Other terms

Dump

MESSAGE_TYPE_X

VW 002

SD_DELIVERY_ASSIGN_TO_SHIPMENT

SD_DELIVERY_FOR_TRANSPORT_SCRN

READ TABLE I_XTRLK

Reason and Prerequisites

The BAPI BAPI_SHIPMENT_CREATE or the function module SD_SHIPMENT_PROCESS was called, when it abends.

Before this call the function module SD_DELIVERY_FOR_TRANSPORT was called with selection criteria where the selection fails, i.e. no deliveries were found.

Solution

Implement the code corrections.

Hope this’ll give you idea!!

<b>P.S award the points.</b>

Good luck

Thanks

Saquib Khan

"Knowledge comes but wisdom lingers!!"

0 Kudos

Does it helps you ? or not ?

<b>P.S award the points.</b>

Good luck

Thanks

Saquib Khan

"Knowledge comes but wisdom lingers!!"

Message was edited by: Saquib Khan