2009 Feb 10 1:27 PM
Hi
Can some one send me the code to create Delivery using FM RV_DELIVERY_CREATE.
2009 Feb 10 1:34 PM
Hi,
Find the sample code for FM :
REFRESH YVBLS.
CALL FUNCTION 'RV_DELIVERY_CREATE'
EXPORTING
VBSK_I = VBSK
SELEKTIONSDATUM = VBCO2-LEDAT_BIS
IMPORTING
VBSK_E = VBSK
TABLES
LVBFS = YVBFS
LVBLS = YVBLS
LVBAK = CVBAK
LVBUK = CVBUK
LVBAP = CVBAP
LVBUP = CVBUP
LVBEP = CVBEP
LVBPA = CVBPA
LVBFA = CVBFA
LVBKD = CVBKD.
Thanks
Parvathi
2009 Feb 10 1:35 PM
2009 Feb 10 1:39 PM
Hi Sreekanth,
Could you please check the standard program MV50SSAM. ?This function module has been used in this program.
2009 Feb 10 2:41 PM
Hi,
LV50R_CREAF07
This program is using this particular Function module.
you can do one thing. just put break-point on this function module and run vl10 transaction by giving sales order number and choose any red color line and select in background mode.
then the program stops you at LV50R_CREAF07 -- >RV_DELIVERY_CREATE function module.
you check the values what are all passed in debugging mode and pass same values.
but normally we use
" SHP_VL10_DELIVERY_CREATE "
function module to create delivery.
If you find some reqt that is to be solved with the FM you mentioned carry with the procedure what i mentioned.
Thanks
Parvathi