Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Cusromizing a ALV report.

Former Member
0 Likes
287

Hi experts,

i have customized a report(MB5B) in which i have added material group as select -option in selection screen.now i have wite validations for material group and material number.the condition is for a range of material number i have to check whether range of material number is exists in range of material group or not .if material number exists in material group thn it should o/p else it should display a error message in selection screen.can ny one help me in this issue.

Here both material group and material number are select-options.

Regards,

AShok kumar

Hi experts,

i have customized a report(MB5B) in which i have added material group as select -option in selection screen.now i have wite validations for material group and material number.the condition is for a range of material number i have to check whether range of material number is exists in range of material group or not .if material number exists in material group thn it should o/p else it should display a error message in selection screen.can ny one help me in this issue.

Here both material group and material number are select-options.

Regards,

AShok kumar

1 REPLY 1
Read only

Former Member
0 Likes
266

Select MATNR

MATKL

from mara

into table i_mara

where matnr in s_matnr

and matkl in s_matkl.

if sy-subrc ne 0.

message 'No data found!' type 'E'.

endif.