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
How does the system handle roll areas for external program components?
What are the types of views? : sap abap data dictionary
What is value table?
Explain read dataset in sap abap?
10) How to get Item Header in Sales Order?
How to upload data using catt ? : abap hr
Explain how to create any functions?
How to debug a script in abap?
How do you document abap/4 programs? Do you use program documentation menu option?
How will you transfer data into a file in application server?
What is human resource information systems (chris)? : sap abap hr
What are the Various Types of internal tables?
How to eliminate duplicate entries in internal tables? : abap data dictionary
How to find the return code of a statement in abap programs?
Name the function module used to convert logical file names to physical file names in abap/4 programs?