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

BAPI for Delivery Creation

Former Member
0 Likes
14,537

Hello Freinds,

I am looking for a BAPI for Delivery Creation from sales order.

I want to Replace the BDC for VL01N ( deliver creation ) with the New BAPI.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
7,957

Check this FM.

'SHP_VL10_DELIVERY_CREATE'

Also check this BAPI BAPI_DELIVERYPROCESSING_EXEC.

Check this thread for sample code.

Regards,

Maha

Edited by: Mahalakshmi Padmanaban on Jan 17, 2008 7:06 AM

4 REPLIES 4
Read only

Former Member
0 Likes
7,958

Check this FM.

'SHP_VL10_DELIVERY_CREATE'

Also check this BAPI BAPI_DELIVERYPROCESSING_EXEC.

Check this thread for sample code.

Regards,

Maha

Edited by: Mahalakshmi Padmanaban on Jan 17, 2008 7:06 AM

Read only

0 Likes
7,957

Hello Mahalakshmy...Thanks for the reply...

I found that FM 'SHP_VL10_DELIVERY_CREATE'

can be useful to me. Can you help me figuring out the mandatory fields for the same?.

Read only

0 Likes
7,957

I am pasting the Piece of code from my program.

***Create Delivery from Purchase order

CALL FUNCTION 'SHP_VL10_DELIVERY_CREATE'

EXPORTING

IF_LEDAT = SY-DATUM

IF_NUR_VORGABE_POS = 'X'

IT_KEY_ENQUE_READ = ITAB_KEY

IT_KOMDLGN = ITAB_XKOMDLGN

  • IF_SEL_CRIT_IGNORE_ITEM =

  • TABLES

  • IT_VETVG =

  • IT_LEDAT_RANGE =

  • IT_VSBED_RANGE =

  • IT_MATNR_RANGE =

  • IT_MATKL_RANGE =

  • IT_WAKTI_RANGE =

  • IT_WERKS_RANGE =

  • IT_LGORT_RANGE =

  • IT_ABLAD_RANGE =

  • IT_AULWE_RANGE =

  • IT_WADAT_RANGE =

  • IT_WAUHR_RANGE =

CHANGING

CX_SD_ORDER = ITAB_ORDER

CT_VBSK_ALL = ITAB_VBSK

CT_VBLS = ITAB_VBLS

CT_KEY_LATE = ITAB_KEY_LATE

CT_VORGABE_DATEN = ITAB_DATEN.

  • CT_VORGABE_LATE =

.

Regards,

Maha

Read only

Former Member
0 Likes
7,957

Hi,

You may use the BAPI:

BAPI_OUTB_DELIVERY_CREATE_SLS

Please reward points if solved your issue.

Regards,

Renjith Michael.