Skip to Content
0
Former Member
Jan 19, 2010 at 05:12 AM

user_command error

20 Views

Hi,

I have defined the following User_Command

CASE RS_SELFIELD-FIELDNAME.
    WHEN 'VBELN'.
      SET PARAMETER ID 'VF' FIELD RS_SELFIELD-VALUE.
      CALL TRANSACTION 'VF03'  AND SKIP FIRST SCREEN.
    WHEN 'VBELN_GRP' or  'VBELV'.
      SET PARAMETER ID 'AUN' FIELD RS_SELFIELD-VALUE.
      CALL TRANSACTION 'VA43'  AND SKIP FIRST SCREEN.
*    WHEN 'VBELV'.
*      SET PARAMETER ID 'AUN' FIELD RS_SELFIELD-VALUE.
*      CALL TRANSACTION 'VA43'  AND SKIP FIRST SCREEN.
  ENDCASE.

when the field id VBELN,the call transaction is working fine.

in either case where VBELN_GRP / VBELV are the fields,the call transaction is not working.I have checked for the parameter ID.The error being the first screen of VA43 being displayed,or the OLD contract previously opened in different session is getting displayed.

please suggest changes to rectify this error.

Thanks.