Skip to Content
0
Former Member
Mar 04, 2008 at 08:48 AM

BAPI ' 'BAPI_GOODSMVT_CREATE''

311 Views

Hi All,

I am using BAPI ''BAPI_GOODSMVT_CREATE' for posting goods receipt for 161 movement tpye.

with this BAPI , Material document is generated, but Qty in delivery note and Unit is not getting updated. When i see MIGO in display mode it is showing 1) Qty in delivery note as

'0.000' and unit is blank even if i am passing both paramters to item level.

Following is the code

Data : p_meins(3),

p_ENTRY_QNT like BAPI2017_GM_ITEM_CREATE-ENTRY_QNT.

wa_goodsmvt_item-entry_qnt = p_ENTRY_QNT.

wa_goodsmvt_item-entry_uom = p_meins.

CALL FUNCTION 'BAPI_GOODSMVT_CREATE'

EXPORTING

goodsmvt_header = goodsmvt_header

goodsmvt_code = goodsmvt_code

  • TESTRUN = ' '

IMPORTING

  • GOODSMVT_HEADRET =

materialdocument = g_mblnr " materialdocument

  • MATDOCUMENTYEAR =

TABLES

goodsmvt_item = goodsmvt_item

  • GOODSMVT_SERIALNUMBER =

return = return1

.

Please give me solution . Tell me which parameters should i pass for Qty in Del note & unit.

Regards.

ulhas