Application Development and Automation 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: 
Read only

Problem when creating out delevry

Former Member
0 Likes
3,407

Hi ,

I m creating out bond delivery without ref of oreder by using function SHP_DELIVERY_CREATE_NOREF

CALL FUNCTION 'SHP_DELIVERY_CREATE_NOREF'

EXPORTING

IF_VSTEL = P_VSTEL

IF_LFART = p_lfart

IF_VKORG = p_vkorg

IF_VTWEG = p_vtweg

IF_SPART = p_spart

IF_KUNWE = p_kunnr

  • IS_HEAD =

IS_DATES = it_dates

IT_ITEMS = It_ITEMS

  • IT_SERNR =

IT_PARTNER = it_partner

  • IT_TEXT_HEADER =

  • IT_TEXT_LINES =

IMPORTING

ET_DLV_ITEMS = ET_DLV_ITEMS

ET_MESSAGES = ET_MESSAGES .

when i used in one prog it is creating bt when i used this function in stabndard module pool then i m getting error

*E VL 009 Article & is not defined for sales org. & distr.chann. & lang. &*

plz help i tried a lot bt not get success

1 ACCEPTED SOLUTION
Read only

Former Member
2,193

VL01NO Create Outbound Dlv. w/o Order Ref.

GN_DELIVERY_CREATE

pass lfart as lf for outbound delivery.

LFART = LF --> Outbound Delivery

Regards,

Lalit Mohan Gupta.

8 REPLIES 8
Read only

Former Member
0 Likes
2,193

HI,

The function module no more exist in the version ECC5 and more may be it is better using other Function module

Try using the FM

GN_DELIVERY_CREATE

this will definitely solve the problem,

just pass all the data into the table

komdlgn

the mandatory fields that have to be passed are

vstel

vkorg

vtweg

spart

lfart = 'LO'   " ----> Without order reference

kunwe

matnr

werks

wadat

lfimg

vrkme

any more doubts are welcome.

thanks & regards

Sarves

Read only

0 Likes
2,193

hi ,

still i m getting error

E VL 009 Article & is not defined for sales org. & distr.chann. & lang. &**

regards

Bhavesh

Read only

0 Likes
2,193

Hi,

Try to go to VL01NO tcode and provide the same data what you are passing it in the function module, if the problem persists there also,

Then the material might not be defined in the particular sales organization or distribution channel try to find out with the SD consultant or MM consultant about the data availability of the particular sales organization.

if the problem is not there in VL01NO then

Can you send the code what you have written to check it and give you the solution.

thanks & regards

Sarves

Read only

Former Member
2,194

VL01NO Create Outbound Dlv. w/o Order Ref.

GN_DELIVERY_CREATE

pass lfart as lf for outbound delivery.

LFART = LF --> Outbound Delivery

Regards,

Lalit Mohan Gupta.

Read only

Former Member
0 Likes
2,193

thnx all i ve complete it by gn_DELIVERY_CREATE

Read only

0 Likes
2,193

Hi,

Can you send me your code on how you have created the delivery (VL01NO) by using FM: GN_DELIVERY_CREATE.

Thanks.

Read only

0 Likes
2,193

This message was moderated.

Read only

0 Likes
2,193

Hello Bhavesh,

Its been a long time for this post but this is very critical for our go live. Could you please tell how you were able to do it. 

Thanks Much!!