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
IF RS_SELFIELD-FIELDNAME EQ 'MBLNR'.
IF NOT RS_SELFIELD-VALUE IS INITIAL AND
RS_SELFIELD-VALUE NE SY-ULINE.
CALL TRANSACTION 'MIGO'.
IF R_UCOMM EQ SPACE.
ENDFORM. " SY_UCOMM_FOR_MBLNR
What is the remedy ????
Expecting ur answers....
Thanks in Advance