09-03-2009 5:13 AM
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.
09-03-2009 5:56 AM
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.
09-03-2009 5:56 AM
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.
09-03-2009 6:51 AM
04-07-2016 8:27 AM
Try This.
SET PARAMETER ID 'MBN' FIELD wa_output-mblnr.
CALL TRANSACTION 'MIGO_GO' AND SKIP FIRST SCREEN.