2009 Jul 31 7:08 AM
Hi ...
I need to perform a validation check before a record inserted / updated into my own table.
It was done through a maintenance view.
What I am doing is to code a function ( under Screens - access through SE80 )
process after input.
... codes
--> i put my function here.
... codes
module set_update_flag on chain-request.
I am just wondering what happen over here.
In the function I developed, will SAP call this function 1 record at a time OR all the records that changed in the table in batch ?
Thanks.
2009 Aug 01 3:12 AM
hello D ,
yeah , SAP will execute ur functions.
one thing u need to remember while adding add.functionality in TMG screen , when u re-generate these screen , ur codes will be goes off..
sample codes looks like
Process after input.
loop at extract.
module liste_init_workarea.
chain.
field ytable-versnc *module versn.*--> ths is my validatin module for field versnc
module set_update_flag on chain-request.
endchain.
hello D ,
yeah , SAP will execute ur functions.
one thing u need to remember while adding add.functionality in TMG screen , when u re-generate these screen , ur codes will be goes off..
sample codes looks like
Process after input.
loop at extract.
module liste_init_workarea.
chain.
field ytable-versnc *module versn.*--> ths is my validatin module for field versnc
module set_update_flag on chain-request.
endchain.
2009 Aug 01 3:12 AM
hello D ,
yeah , SAP will execute ur functions.
one thing u need to remember while adding add.functionality in TMG screen , when u re-generate these screen , ur codes will be goes off..
sample codes looks like
Process after input.
loop at extract.
module liste_init_workarea.
chain.
field ytable-versnc *module versn.*--> ths is my validatin module for field versnc
module set_update_flag on chain-request.
endchain.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |