Skip to Content
0
Former Member
Nov 11, 2005 at 10:52 AM

Call Transaction "MIGO" in display mode only

5302 Views

Hi friends,

I have changed the standard the SAP standard program MB51 to a Customer Program 'ZMB51' based upon the user requirement.Iam able to get all the values (output)

Now my requirement is .... iam trying to call transaction "MIGO" when the user clicks on the Material Document Number (MBLNR) (as how in Standard program)

I ve used "ALV_GRID..." display. and given a callback_user_command also .... iam able to call the trasaction ...... but it is editable and not in the display mode ..........

Here my code :

FORM SY_UCOMM_FOR_MBLNR USING R_UCOMM LIKE SY-UCOMM RS_SELFIELD TYPE

SLIS_SELFIELD.

IF RS_SELFIELD-FIELDNAME EQ 'MBLNR'.

IF NOT RS_SELFIELD-VALUE IS INITIAL AND

RS_SELFIELD-VALUE NE SY-ULINE.

CALL TRANSACTION 'MIGO'.

ENDIF.

IF R_UCOMM EQ SPACE.

ENDIF.

ENDIF.

ENDFORM. " SY_UCOMM_FOR_MBLNR

So ??????????????????

What is the remedy ????

Expecting ur answers....

Thanks in Advance

Cheers,

R.Kripa.