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: 

GN_DELIVERY_CREATE

Former Member
0 Kudos

Hi expert,

I am creating inbound delivery create with reference to Purchase order.

Please help what FM will i use. Is it possible to use the FM GN_DELIVERY_CREATE?

Sample codes is greatly appriciated.

Thanks in advance.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

this function module inside calls the function module

GN_DELIVERY_CREATE'

Regards,

Siva chalasani.

2 REPLIES 2

Former Member
0 Kudos

Hi,

Instead of using that function module

you as use the below function module which in turns creates a delivery with ref to PO and Poitem

DATA: IS_INB_DELIVERY_HEADER LIKE BBP_INBD_L.

-


IS_INB_DELIVERY_HEADER-DELIV_EXT = 12121

IS_INB_DELIVERY_HEADER-DELIV_DATE = 08/16/2006

DATA: T_DETAIL LIKE LIKE BBP_INBD_D OCCURS 0 WITH HEADER LINE.

-


T_DETAIL-MATERIAL = 'xxx'.

T_DETAIL-DELIV_QTY = '10.000'.

T_DETAIL-UNIT = 'EA'.

T_DETAIL-PO_NUMBER = '45XXXXXX.

T_DETAIL-PO_ITEM = '000010'.

APPEND T_DETAIL.

DATA: T_RETURN LIKE BAPIRETURN OCCURS 0 WITH HEADER LINE.

DATA: V_VBELN TYPE VBELN_VL.

CALL FUNCTION 'BBP_INB_DELIVERY_CREATE'

EXPORTING

is_inb_delivery_header = is_inb_delivery_header

IMPORTING

EF_DELIVERY = V_VBELN

tables

it_inb_delivery_detail = T_DETAIL

return = T_RETURN

.

Regards,

Siva chalasani.

<b>REWARD POINTS IF USEFULL</b>

Former Member
0 Kudos

this function module inside calls the function module

GN_DELIVERY_CREATE'

Regards,

Siva chalasani.