Skip to Content
avatar image
Former Member

How to use BAPI_OUTB_DELIVERY_CREATENOREF EXTENSION_IN

I have Z append structures in LIKP and LIPS table. Which are the other structures need to have same extension(appended) in order to update those custom fields of LIKP/LIPS tables? I am using BAPI_OUTB_DELIVERY_CREATENOREF and want to pass the EXTENSION_IN structure.

Ref: BAPI_SALESORDER_CHANGE

For VBAP and VBAK, those structures are VBAPKOZ, VBAPKOZX, BAPE_VBAP, BAPE_VBAPX.

But i do not know what to be passed to EXTENSION_IN and also what all are the other steps.

I read teh documentation available, but could not resolve.

Please help me.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Mar 01, 2012 at 04:19 PM

    Hi,

    Maybe this will clarify the concept a bit: http://www.se80.co.uk/saptables/b/bapi/bapiparex.htm

    Cheers,

    Manu.

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 02, 2012 at 08:30 AM

    In fact the EXTENSION_IN parameter is transfered "as it is" to Enhancement Spot ES_SAPLV50I_BADI, BAdI BADI_DLV_CREATE_NOREF_EXTIN, Interface IF_DLV_CREATE_NOREF_EXTIN, Method ADDITIONAL_INPUT. It seems that you could use your own structure.

    Remark: the method has only import parameters, so I suppose you will have to store the extension data (like export to memory or the like) and use those in another delivery creation BAdI/Extension. Look at SE18 Enh. Spot ES_SAPLV50R_CREA or SMOD Enh V50R0003.

    Regards,

    Raymond

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Thanks Eduardo.

      But I am not using a SO. I am creating a delivery without Sales order reference .

      I have a Z - RFC function module to get the delivery details from SAP Portal.

      So inside that RFC, instead of using a BDC recording for VL01NO , i am using BAPI_OUTB_DELIVERY_CREATENOREF EXTENSION_IN.

      So additional Z fields in LIKP/LIPS table needs to reach the user-exit MV50AFZ1 for processing.

      As the BAPI do not have place holder, i will export it direcllty from Z function module and then try to use it.

      Not sure though whether this will work.Need to check.

  • avatar image
    Former Member
    Mar 02, 2012 at 07:51 AM

    Hi Manu,

    I had seen this thread earlier, which talks in general about extension structure.

    My doubt is specific to delivery create BAPI given.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 02, 2012 at 08:02 AM

    Hi,

    In the field STRUCTURE you need to pass the name of the structure which you have added in the LIPS, etc.

    In the field VALUEPART pass on the data in length of 240 characters each.

    For Example,

    valuepart1 = struct_name+0(240).

    valuepart2 = struct_name+240(240).

    .

    .

    .

    .

    .

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 02, 2012 at 08:38 AM

    Hi

    See SAP Note 949074 - BAPIs for generating outbound deliveries, in the section for BADI's.

    Regards

    Eduardo

    Add comment
    10|10000 characters needed characters exceeded