Skip to Content
author's profile photo Former Member
Former Member

BAPI_DELIVERYPROCESSING_EXEC

Hi experts,

I have a problem using BAPI_DELIVERYPROCESSING_EXEC,

it's creating the outbound delivery, but it's not posting the good issue...

I'm passing the parameter:

goods_issue_date

goods_issue_time.

But, even this, it's not doing the goods issue.

Thanks in advance.

Alexandre Nogueira

Add comment
10|10000 characters needed characters exceeded

3 Answers

  • Posted on Mar 10, 2006 at 05:06 PM

    HI,

    You can write code similar to below. I am able to create using the below code.

    data:lt_request like bapideliciousrequest

    occurs 0 with header line,

    lt_createditems like bapideliciouscreateditems

    occurs 0 with header line,

    lt_return like bapiret2

    occurs 0 with header line.

    if px_infile-type = 'PO' .

    lt_request-document_type = 'B'.

    lt_request-document_numb = x_infile-ebeln.

    lt_request-document_item = x_infile-posnr.

    else.

    lt_request-document_type = 'A'.

    lt_request-document_numb = x_infile-vbeln.

    lt_request-document_item = x_infile-posnr.

    endif.

    lt_request-material = x_infile-matnr.

    lt_request-plant = x_infile-werks.

    lt_request-stge_loc = x_infile-lgort.

    lt_request-quantity_base__uom = x_infile-base_uom_qty.

    lt_request-delivery_date = sy-datum.

    append lt_request.

    call function 'BAPI_DELIVERYPROCESSING_EXEC'

    • EXPORTING

    • DELIVERY_EXTEND =

    • TECHN_CONTROL =

    tables

    request = lt_request

    createditems = lt_createditems

    return = lt_return.

    Thanks,

    ramakrishna

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 10, 2006 at 05:42 PM

    Nope, it did not the goods issue.

    Alexandre Nogueira

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 01, 2006 at 05:58 PM

    Hi Alexandre,

    I have the same requirement to create the o/B delivery for PO.

    The PGI and I/B delivery.

    Wt are the parameters we need to pass into BAPI_DELIVERYPROCESSING_EXEC for creating the O/B.

    Can u suggest it, if u have the test code please give it.

    Thanks in advance.

    Regards

    Rajan

    Add comment
    10|10000 characters needed characters exceeded