Skip to Content
avatar image
Former Member

how to restrict the records of Z table when using parameter transaction which uses SM31 update view?

Hi All,

I have just joined this community group and very new to this, so apologies if not asking the question right way..

I have a Z table (ZPRO) which consists of some records which end user needs marking with X in one one of the table field 'processed' when they have done with the record whatever they need to do..

I have created a parameter transaction called ZPARK which opens ZPRO table in SM31 with maintenance allowed. So when end user runs this transaction they can see all the records of ZPRO table in SM31 mode and when they have actioned the record they put 'X' in one of the table field 'processed'.

My requirement is when they run the transaction ZPARK , they should only see the record where 'processed' field is not equal to 'X'.

This question is very similar to thread 1953184 but not sure how to achieve this? can someone please help?



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Jan 08, 2015 at 05:32 AM

    Hi Ashok,

    You have try with TMG - Event approach.

    Step 1- SE11-> Utilities -> Table Maintenance Generator (TMG)

    Step 2- Environment -> Modification ->Events

    Step - 3 Create a new entry -> and use event 26

    Step - 4 Create a new program (include with form ) beside the event

    Step - 5 Capture the entries inside the form and put your logic to delete the entries which you don't need

    I suggest deletion logic inside the form should be based on Authority object , as it might be needed to correct the entries for which the flag is 'X'

    So if you don't have the authority to display the record then you delete else not, this will have a better control on records being maintained.

    Let me know if this helps.

    - Thanks , Somnath

    Add comment
    10|10000 characters needed characters exceeded