2009 Jun 16 2:30 PM
hi,
i am looking a program (PAI) and i see
a lot of statements like
CHAIN.
FIELD gs_telling-zuonr_uit5.
FIELD gs_telling-sgtxt_uit5.
FIELD gs_telling-dmbtr_uit5.
ENDCHAIN.
does anyone know if this could have a function without module in it.
Gr., Frank
2009 Jun 16 2:46 PM
If there is any error while doing the PAI...the user should be allowed to contniue with the correction of the record...
It allows user to correct the entry and then proceed.
There fore we use Chain and EndChain..
If there is any error while doing the PAI...the user should be allowed to contniue with the correction of the record...
It allows user to correct the entry and then proceed.
There fore we use Chain and EndChain..
2009 Jun 16 2:34 PM
whatever module we write in chain ... endchain block that is trigerred whenever a field inside the chain statement is changed when re-running the report....
2009 Jun 16 2:36 PM
Yes, that part i know.
But can it have a usefull function if there is no module in it?
Thanx in advance.
2009 Jun 16 2:42 PM
Hi
I think this would give you a better idea.
[CHAIN....ENDCHAIN|http://help.sap.com/saphelp_46c/helpdata/en/9f/dbabbd35c111d1829f0000e829fbfe/content.htm]
2009 Jun 16 2:46 PM
If there is any error while doing the PAI...the user should be allowed to contniue with the correction of the record...
It allows user to correct the entry and then proceed.
There fore we use Chain and EndChain..
2009 Jun 16 3:09 PM
2009 Jun 16 3:11 PM
Hi,
From this code snippet all that can be figured out is that the fields within the CHAIN and ENDCHAIN block are intended for a common processing or individual Module Processing. Generally all the fields within chain and endchain will be intended to be processed with a same module. This is applicable for a general or common error handling or user validation scenario.
But, as the module statement is not present here, i guess the PAI event will be triggered but it will not process anything.
You can have a look at this demo code for the CHAIN ENDCHAIN Keyword from the DEMO Program:
DEMO_DYNPRO_FIELD_CHAIN.
Hope this will help.
Thanks,
Samantak.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |