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


Please Help Members By Posting Answers For Below Questions

Why do we use Abstract classes give an example from your project?

890


What are the domains and data element?

567


How do you send files to the legacy systems from SAP and vice versa? How does one know that the legacy files have come on to the SAP server you are working on?

729


Reports: Event functionality.

891


What are base tables of an aggregate object?

625






If a table that is to be extended contains a long field, we cannot use append structures why? : abap data dictionary

662


What is a 'z' report?

649


In delivery processing which step comes first picking, packing, posting goods issue ?

1643


What is your approach to find exit and BAdi?

871


how to use the xk01 in realtime.can it apply the others. how it it will goes to first page and next page.

1724


What is difference between check table and value table ?

648


How can we declare a table control in the abap/4 program?

644


How to Solve a Particular Ticket in Realtime ?

1754


can anyone do BDC or BAPI for F-02 and F-04 transactions.If it LSMW also.Kindly let me know.

3047


In the MM module for finding out the standard cost what is the view one has to look at?

618