Rss not validating

Then set the default text to ‘Attachments:’ 3.) Finally, lets apply some validation to this field.

Right click the field on your form and select Rules Manage Rules.

Now suppose the user enters two material number , 00000000000045 where the 2nd one does not exist in the system . TYPES : BEGIN OF ty_matnr, matnr TYPE matnr, END OF ty_matnr.

SELECT matnr FROM mara INTO TABLE li_matnr WHERE matnr IN so_matnr.

Generally , while validating select-options we write the code as below. But sy-subrc will become 0 , and the error message will not be executed .

*It is only partially correct , refer the codes below select matnr from mara into lv_mara where matnr in so_matnr. So , we have to consider the following codes that will help !!!

Param allows us to set parameters that can be used in the groovy expression.

READ TABLE li_matnr ASSIGNING WITH KEY matnr = so_matnr-low BINARY SEARCH. PERFORM error_handling USING text-e01 so_matnr-low.

READ TABLE li_matnr ASSIGNING WITH KEY matnr = so_matnr-high BINARY SEARCH. PERFORM error_handling USING text-e01 so_matnr-high.

In my case, I called the field I created Attachment Validation.

2.) Drop your field onto the form and remove the borders and background.

Leave a Reply