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: 

Delivery Creation using FM RV_DELIVERY_CREATE

Former Member
0 Kudos
1,365

Hi

Can some one send me the code to create Delivery using FM RV_DELIVERY_CREATE.

4 REPLIES 4

Former Member
0 Kudos
424

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

0 Kudos
424

can you send me the code in detail

0 Kudos
424

Hi Sreekanth,

Could you please check the standard program MV50SSAM. ?This function module has been used in this program.

Former Member
0 Kudos
424

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