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: 

Inserting/ deleting a line item in MIGO Transaction ( Goods Issue )?

Former Member
0 Kudos

Hi,

Can anyone help me with the logic for Inserting / deleting a line item in MIGO Transaction?

Thanks,

cs

3 REPLIES 3

Former Member
0 Kudos

Hi

The following user exits and badis for migo:

Check the mb_migo_badi and check the method 'LINE_MODIFY' for u r purpose.

For undestanding see the documentation of the badi and see the example implementation

class: CL_EXM_IM_MB_MIGO_BADI

Enhancement/ Business Add-in Description

Enhancement

MB_CF001 Customer Function Exit in the Case of Updating a Art. Doc.

MBCF0011 Read from RESB and RKPF for print list in MB26

MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE1

MBCF0009 Filling the storage location field

MBCF0007 Customer function exit: Updating a reservation

MBCF0006 Customer function for WBS element

MBCF0005 Article document item for goods receipt/issue slip

MBCF0002 Customer function exit: Segment text in article doc. item

Business Add-in

MB_RESERVATION_BADI MB21/MB22: Check and Complete Dialog Data

MB_QUAN_CHECK_BADI BAdI: Item Data at Time of Quantity Check

MB_PHYSINV_INTERNAL Connection: Core Inventory and Retail AddOn

MB_MIGO_ITEM_BADI BAdI in MIGO for Changing Item Data

MB_MIGO_BADI BAdI in MIGO for External Detail Subscreens

MB_DOC_BADI_INTERNAL BAdIs when Creating an Article Document (SAP Internal)

MB_DOCUMENT_UPDATE BADI when updating article document: MSEG and MKPF

MB_DOCUMENT_BADI BAdIs when Creating an Article Document

MB_CIN_MM07MFB7_QTY Proposal of quantity from Excise invoice in GR

MB_CIN_MM07MFB7 BAdI for India Version exit in include MM07MFB7

MB_CIN_LMBMBU04 posting of gr

MB_CHECK_LINE_BADI BAdI: Check Line Before Copying to the Blocking Tables

ARC_MM_MATBEL_WRITE Check Add-On-Specific Data for MM_MATBEL

ARC_MM_MATBEL_CHECK Check Add-On-Specific Criteria for MM_MATBEL

If it is helpfu rewards points

Regards

Pratap.M

0 Kudos

Well, we have implemented the BADI and am using the method Line_modify in it.

I am unable to insert a new line as its dependant on the field global_counter in internal table t_goitem.

Also am unable to delete a line item by using the code.

READ TABLE T_GOITEM TRANSPORTING NO FIELDS

WITH KEY GLOBAL_COUNTER = 2.

IF SY-SUBRC EQ 0.

DELETE T_GOITEM INDEX SY-TABIX.

ENDIF.

getting the following error:

When changing or deleting one or more lines of the internal table

"\OBJECT=11<\CLASS=ZCL_IM_MIM_MIGO_INDIRMTLS>\DATA=????" or when inserting in

the table "\OBJECT=11<\CLASS=ZCL_IM_MIM_MIGO_INDIRMTLS>\DATA=????", 0 was used

as

the line index. An index less than or equal to zero is not

allowed.

Thanks,

cs

Former Member
0 Kudos

This message was moderated.