Skip to Content
avatar image
Former Member

Maintenance View with Subset Fields

Hi All,

I have created a maintenance view based on a single DB table. Two key fields are defined to be as subset fields. No selection conditions are added to the view. I have used table maintenance genrator to define the screen (one step) along with the events.

In SM30, i get the popup to fill the subset fields.

I have created an event for AA (to replace default read). I am filling total attribute here.

a) Is there some other attribute that i need to fill apart from total?

I receive following dump

" Exception condition "NO_VALUE_FOR_SUBSET_IDENT" is raised"

When i set <status>-sbsid_rcvd = 'R' in read routine along with total, then the above exception doesn't appear.

But filtering based on the subset values doesn't happen automatically.

b) I also need have to have routines to perform insert, copy and validation.

c) Would the contents displayed be automatically filtered based on the subset values or we need to process this in user routines for read and so on?

As i find very limited documentation available for maintenance views with subset fields, could you suggest me some example to do the above?

Thanks in Advance,

Regards,

Rekha

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Aug 05, 2010 at 08:48 PM

    Hello Rekha,

    Yes I've same idea, documentation for maintenance screens is inadequate.

    But there is way to find examples for all events,

    table TVIMF is storing the Table name - Event - Form name columns.

    For example when u want to do something about "creating a new entry"

    Just go se11 > Table maintenance generator and find related event : 05

    - Then go to TVIMF and display a record for event = 05

    - than go to function group of maintenance screen of the TABLE in that record

    - find the subroutine form ( TVIMF-FORMNAME) in that function group

    This is a working example for that event, try or copy & use.

    I hope it helps you for the coding for all the events.

    Bulent

    Edited by: Bulent Balci on Aug 5, 2010 11:28 PM

    Edited by: Bulent Balci on Aug 5, 2010 11:29 PM

    Add comment
    10|10000 characters needed characters exceeded