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

validate/madatory in order to avoid long time for the program execution.

Former Member
0 Likes
394

Below is my selction screen. I would like to do validations for specific fields to make them mandatory fields as well.

Could you please suggeste me what are the fields that I can validate/madatory in order to avoid long time for the program run.

*Program selections

SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-h01.

SELECT-OPTIONS : o_as4loc FOR v_as4local,

o_ddlang FOR ddlanguage,

o_vkorg FOR vkorg MEMORY ID vko,

o_auart FOR auart MEMORY ID aat,

o_fdnam FOR fdnam,

o_spart FOR spart MEMORY ID spa,

o_vbeln FOR vbeln MEMORY ID aun,

o_posnr FOR posnr,

o_matnr FOR matnr MEMORY ID mat,

o_pltyp FOR pltyp MEMORY ID vpl,

o_j_3ar FOR j_3arqda,

o_kzr00 FOR kbetr, " -ZR00

o_kalsm FOR kalsmasd,

o_kmwst FOR kbetr, " -MWST

o_kbmen FOR kbmeng,

o_land1 FOR land1 MEMORY ID LND

.

SELECTION-SCREEN : END OF BLOCK b1.

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
359

Hi,

Make key fields as well as fields on which there in an index in the database table mandatory.

Regards,

Abhijit G. Borkar

Below is my selction screen. I would like to do validations for specific fields to make them mandatory fields as well.

Could you please suggeste me what are the fields that I can validate/madatory in order to avoid long time for the program run.

*Program selections

SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-h01.

SELECT-OPTIONS : o_as4loc FOR v_as4local,

o_ddlang FOR ddlanguage,

o_vkorg FOR vkorg MEMORY ID vko,

o_auart FOR auart MEMORY ID aat,

o_fdnam FOR fdnam,

o_spart FOR spart MEMORY ID spa,

o_vbeln FOR vbeln MEMORY ID aun,

o_posnr FOR posnr,

o_matnr FOR matnr MEMORY ID mat,

o_pltyp FOR pltyp MEMORY ID vpl,

o_j_3ar FOR j_3arqda,

o_kzr00 FOR kbetr, " -ZR00

o_kalsm FOR kalsmasd,

o_kmwst FOR kbetr, " -MWST

o_kbmen FOR kbmeng,

o_land1 FOR land1 MEMORY ID LND

.

SELECTION-SCREEN : END OF BLOCK b1.

Thanks in advance.

1 REPLY 1
Read only

Former Member
0 Likes
360

Hi,

Make key fields as well as fields on which there in an index in the database table mandatory.

Regards,

Abhijit G. Borkar