2010 Mar 04 11:25 AM
Dear experts,
I have a module pool program.It is fully developed and functionally working quite well.
I have one problem as follows.
When i push save button, an autoseries number is generated and records are generated on some header
and detail tables.Now as i see the number and press save once more other duplicate record gets created
with another new series number and sequence goes further on pressing save button everytime.
This behaviour is wrong.
The behaviour which i anticipate is that once a number is generated and information is saved,
all entry fields must be refresh to capture new entries on grid (Detail) as well as on header.
Presently i have control things some how that when i push save,records are added to table and with that i used
' leave program'.But this is not looking good as control must be trsansffered back after save action.
Plz help.
2010 Mar 04 11:28 AM
You can use "LEAVE TO TRANSACTION ..." if you MP is called by a transaction code. This way all fields are refreshed.
Dear experts,
I have a module pool program.It is fully developed and functionally working quite well.
I have one problem as follows.
When i push save button, an autoseries number is generated and records are generated on some header
and detail tables.Now as i see the number and press save once more other duplicate record gets created
with another new series number and sequence goes further on pressing save button everytime.
This behaviour is wrong.
The behaviour which i anticipate is that once a number is generated and information is saved,
all entry fields must be refresh to capture new entries on grid (Detail) as well as on header.
Presently i have control things some how that when i push save,records are added to table and with that i used
' leave program'.But this is not looking good as control must be trsansffered back after save action.
Plz help.
2010 Mar 04 11:28 AM
You can use "LEAVE TO TRANSACTION ..." if you MP is called by a transaction code. This way all fields are refreshed.
2010 Mar 04 11:38 AM
I am using subscreen,i thought it will not happen but it works !!.Thanx
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |