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: 

Call Transaction 'MIGO'

Former Member

Dear All,

I am using call transaction 'MIGO' in report.If i click on MBLNR number of report output then it lead to MIGO transaction.

I use the following code.

SET PARAMETER ID 'MBN' FIELD I_VALUE.

CALL TRANSACTION 'MIGO' AND SKIP FIRST SCREEN.

I am passing the MBLNR values into I_VALUE variable.

It is not working fine.

If i choose A04 Display , R02 Materail document and MBLNR number in MIGO transaction and run the progarm then above piece of code is working fine.

If i choose other values instead of A04 Display , R02 Materail document in MIGO transaction and run the report above piece of code is not working.

The Above piece is not working it showing latest values selected in MIGO transaction only.

Please let me know the solution for this.

Thanks.

Regards,

Simha.

1 ACCEPTED SOLUTION

kesavadas_thekkillath
Active Contributor
0 Kudos

check with this


CALL FUNCTION 'MIGO_DIALOG'
EXPORTING
I_ACTION = 'A04'
I_REFDOC = 'R02'
I_NOTREE = 'X'
I_NO_AUTH_CHECK = ' '
I_DEADEND = 'X'
I_SKIP_FIRST_SCREEN = 'X'
I_OKCODE = 'OK_GO'
I_MBLNR = I_FINAL-MBLNR
I_MJAHR = I_FINAL-MJAHR
I_ZEILE = I_FINAL-ZEILE.

3 REPLIES 3

kesavadas_thekkillath
Active Contributor
0 Kudos

check with this


CALL FUNCTION 'MIGO_DIALOG'
EXPORTING
I_ACTION = 'A04'
I_REFDOC = 'R02'
I_NOTREE = 'X'
I_NO_AUTH_CHECK = ' '
I_DEADEND = 'X'
I_SKIP_FIRST_SCREEN = 'X'
I_OKCODE = 'OK_GO'
I_MBLNR = I_FINAL-MBLNR
I_MJAHR = I_FINAL-MJAHR
I_ZEILE = I_FINAL-ZEILE.

0 Kudos

Thank You Very much.

Former Member

Try This.


SET PARAMETER ID 'MBN' FIELD wa_output-mblnr.

  CALL TRANSACTION 'MIGO_GO' AND SKIP FIRST SCREEN.