Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SM30 Wrong Data retention on screen

Former Member
0 Likes
675

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

4 REPLIES 4
Read only

sreekanthgo
Contributor
0 Likes
628

Hi

Check this Thread.. [LINK|https://wiki.sdn.sap.com/wiki/display/Snippets/TableMaintenancein+ABAP]

Read only

0 Likes
628

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

Read only

0 Likes
628

Yes. This is possible in single screen too. You need to follow the similar process.

Regards,

Sreekanth

Read only

0 Likes
628

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 ?