Skip to Content
1
Former Member
Aug 05, 2006 at 04:14 AM

How to validate parameters on selection-screen

2271 Views

Dear All,

In my selection-screen I have Material Document No. and Material Number as parameters and I wish to validate Material No. on the basis of Material Document i.e the user should be able to input only those material nos. that belong to the material document no. to be inputted by the user. The code of my selection-screen looks like following:

PARAMETERS: P_MBLNR LIKE MSEG-MBLNR,

P_MATNR LIKE MSEG-MATNR,

P_GJAHR LIKE MSEG-GJAHR,

P_MENGE LIKE MSEG-MENGE,

Q_MENGE LIKE MSEG-MENGE,

P_SGTXT LIKE MSEG-SGTXT.

Please suggest a solution.

Regards,

Alok.