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: 

Serial No in MB_MIGO_BADI

Former Member
0 Kudos
364

Dearest all,

how do i get Serial No in MIGO using BADI ?

I am using MB_MIGO_BADI, but I am surprised that it didnt return serial no... from any method of it...

Please help me,

Thank you and Best regards,

Me

7 REPLIES 7

Former Member
0 Kudos
173

Hi,

You should check this post:

Regards,

Eric

0 Kudos
173

Dear Eric,

I couldnt get any BADI which return Serial no from MIGO_GO (GR for Production Order).

I have check in SAPLMIGO when after it calls method PAI_DETAIL of MB_MIGO_BADI, the next code is :

CALL METHOD lcl_migo_globals=>kernel->line_modify

EXPORTING

i_line = current_line

i_force_change = l_force_change

i_authority_check = abap_false

i_dependent_tables = abap_true

it_gofreight = t_gofreight

it_goserial = <b>t_goserial</b>

CHANGING

cs_goitem = goitem.

I need to get serial no from <b>t_goserial</b>, which I had checked it has all entered serial no.

Please help me...

me

0 Kudos
173

Hi,

At this moment i'm on vacations and can't conect to SAP, I'll be back at the office the next wednesday 24.

I'll be looking after that when I returns,

Regards,

Eric

Former Member
0 Kudos
173

Hi ,

You won't get serial numbers details in MB_MIGO_BADI. But you can use the userexit CLFM0002. This exit will be having the serial number details in TALLAUSP internal table.

rajkumar abbu

0 Kudos
173

Dear Rajkumar,

I have tried to use CLFM0002, but MIGO_GO is not calling it.

Best regards,

me

0 Kudos
173

Hi,

do you still got the problem because i find a way to set serial number in MIGO transaction.

Best regards.

0 Kudos
173

Hi Bertrand,

you got a solutio?. Please give me a hint how i can publish serial numbers in Transaction Migo.

I want to create a goods movement based on a reservation. During the transfer of the data from the reservation I want to generate new serial numbers. These numbers should be visible to the user during the usage of transaction migo and later on saved if the user press the save button.

Best Regards