For what purpose Chain Endchain statement is used?
Answer Posted / ajoy chakraborty
You cannot perform input checks in PAI modules of programs
until you have transported the contents of the input fields
to the ABAP program. You can then use logical expressions to
check the values that the user entered. You should then
allow the user to correct any wrong entries before calling
further modules.
CHAIN.
FIELD: <f1>, <f 2>,...
MODULE <mod1>.
FIELD: <g1>, <g 2>,...
MODULE <mod2>.
...
ENDCHAIN.
all of the fields on the screen that belong to the
processing chain (all of the fields listed in the field
statements) are made ready for input again. Other fields are
not ready for input. Whenever the MODULE statement appears
within a processing chain, even if there is only one FIELD
attached to it, all of the fields in the chain (not only the
affected field) are made ready for input again, allowing the
user to enter new values. If the fields in the processing
chain are only checked once, the PAI processing continues
directly after the FIELD statement, and the preceding
modules are not called again.
Ref:
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaa4735c111d1829f0000e829fbfe/content.htm
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Work most on which module: name a few tables?
How we format the data before before write statement in report ?
How to give programe name as input in BDC report of abap ?
What is its?
How can we achieve MVC ?
Explain what is sap script? What is the purpose of sap script?
Is it possible to pass data to and from include programs explicitly? : abap modularization
Can a filed occur in several field groups?
Explain the disadvantages of abap query tool?
What is the difference between the exits created in M.M and S&D?
A subroutine can contain nested form and endform blocks. State true or false. : abap modularization
Does sap handle multiple currencies?
Workbench request are client dependent or client independent
What is the transaction code to display the payroll results ? : abap hr
How do you read files from the application server ? : abap bdc