For what purpose Chain Endchain statement is used?
Answers were Sorted based on User's Feedback
Answer / jackbenson
To validate a group of fields we use those fields in between
CHAIN
ENDCHAIN
Is This Answer Correct ? | 5 Yes | 1 No |
Answer / 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 |
What is dynamic action? : sap abap hr
How to implement a program (batch input) which reads a external text file with inventory data, and write these data in sap?
Can we use same Domain for more than Data element?
How to reprocess the failed IDOC? How wil u know idoc is failed?What are tcodes?
Types of updating in call tr?
Give an example of interface from your project explaining why you used it?
can u add a new view to the existing view
I have 2 transactions,the output of 1st transaction is input of 2nd transaction.In this senario...Which method we use to upload the Data,Call trans or Session maethod?How?
Can we set page headers to details lists?
Can you call a subroutine of one program from another program?
In which particular scenario we use sorted table and which particular scenario we use standard table?
how to read the standard field value in your custom program.