‎2009 Apr 14 4:42 AM
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
‎2009 Apr 14 5:24 AM
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.
‎2009 Apr 14 4:50 AM
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_CREATEthis will definitely solve the problem,
just pass all the data into the table
komdlgnthe mandatory fields that have to be passed are
vstel
vkorg
vtweg
spart
lfart = 'LO' " ----> Without order referencekunwe
matnr
werks
wadat
lfimg
vrkme
any more doubts are welcome.
thanks & regards
Sarves
‎2009 Apr 14 11:34 AM
hi ,
still i m getting error
E VL 009 Article & is not defined for sales org. & distr.chann. & lang. &**
regards
Bhavesh
‎2009 Apr 14 12:42 PM
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
‎2009 Apr 14 5:24 AM
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.
‎2009 May 13 4:57 AM
‎2010 Jul 28 9:03 AM
Hi,
Can you send me your code on how you have created the delivery (VL01NO) by using FM: GN_DELIVERY_CREATE.
Thanks.
‎2013 Jul 01 7:37 PM
‎2013 Jul 01 7:38 PM
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!!