How you can perform field-validation in your dialog
program ?

Answer Posted / aditya panwar

WRITE THE L0OP SCREEN CODE AFTER THE PBO MODULE.

PROCESS BEFORE OUTPUT.

LOOP AT SCREEN.
IF SCREEN-NAME = 'FIELD_NAME'.
SCREEN-INPUT = '1'.
SCREEN-REQUIRED = '1'. "for mandatory
SCREEN-LENGHT = '10'. "for lenght
ENDIF.
MODIFY SCREEN.
ENDLOOP.

MODULE STATUS_1000.

PROCESS AFTER INPUT.
MODULE USER_COMMAND_1000.

Is This Answer Correct ?    3 Yes 26 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a transparent table exist in the data dictionary but not in the database physically?

811


function modules are also external subroutines. State true or false. : abap modularization

779


Explain different types of locks?

778


What is the difference between table and template?

776


HOW CAN YOU USE A PAGE COUNT IN CALLING A PAGE IN SMARTFORM?

1830


What is a bsp application? : sap abap hr

819


What are the steps to execute session method?

784


Can you create a table with fields not referring to data elements? : abap data dictionary

1014


What do you mean by pooled tables in sap abap? Also explain what do you mean by table pool? : abap data dictionary

765


What is the advantage of structures?

786


What is the Difference between At Line selection and At user-command?

851


Specify the types of data dictionary objects.

702


What is interactive reporting?

819


What are the differences between primary and secondary indexes?

832


Update function modules are classified as either v1 or v2. Which type of update is performed first and in what mode (asynchronously, synchronously or locally) can each type be processed in?

746