2009 Jul 21 7:22 PM
Hi ,
I have a requirement as follows :
Create a table maintenance for a table with material number and plant as primary key.Then while maintaining the values
I have to check if that matnr+werks is present in MARC table . If say 10 material plant are entered in the table maintenance (1 screen) and 5 are invalid combination , then 5 should be saved in the table and rest 5 should remain on the SM30 2nd screen as it is with no saving .
I have validated the data from MARC by using table maintenance events and only the required records are added in the table but the ones which are not correct do no re-appear on the 2nd screen of SM30 because of which the user has to re-enter all the data instead of just rectifying the wrong data.
Please suggest some idea asap
Thanks ,
Supriya
Hi ,
I have a requirement as follows :
Create a table maintenance for a table with material number and plant as primary key.Then while maintaining the values
I have to check if that matnr+werks is present in MARC table . If say 10 material plant are entered in the table maintenance (1 screen) and 5 are invalid combination , then 5 should be saved in the table and rest 5 should remain on the SM30 2nd screen as it is with no saving .
I have validated the data from MARC by using table maintenance events and only the required records are added in the table but the ones which are not correct do no re-appear on the 2nd screen of SM30 because of which the user has to re-enter all the data instead of just rectifying the wrong data.
Please suggest some idea asap
Thanks ,
Supriya
2009 Jul 21 8:37 PM
Hi
Check this Thread.. [LINK|https://wiki.sdn.sap.com/wiki/display/Snippets/TableMaintenancein+ABAP]
2009 Jul 22 5:14 AM
Hi Sreekanth,
Thanx for your input .
I have not yet tried the solution you gave but is this possible with single screen (as mine is a single screen ) instead of the 2 screen solution you provided ?
Thanks ,
Supriya
2009 Jul 22 11:02 AM
Yes. This is possible in single screen too. You need to follow the similar process.
Regards,
Sreekanth
2009 Aug 10 12:12 PM
In the method you gave , the correct values will not get saved , till the wrong ones are corrected .
I want the correct ones to be saved along with displaying of error message
Is this possible ?
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |