Skip to Content
avatar image
Former Member

What does Rs, RSR, RSBC correspond to in TOBJ Table

I have an abap program which has the following text.This ABAP program is used to test the authorisations present in the system

But pls help me understand of why the words RS, RSR, RSBC are included in the Select statement

select *

from TOBJ into corresponding fields of TABLE it_authobj

where OCLSS IN ('RS','RSR','RSBC').

if sy-subrc = 0.

LOOP AT IT_authobj INTO WA_authobj.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 21, 2007 at 10:43 AM

    Hello Balaji,

    This is an ABAP issue not a basis issue. Anyways your report will be making use of select option where 'RS','RSR','RSBC' would be variable denoting them within the code. These three fields should show up in the selection screen of your report.

    This line

    select *

    from TOBJ into corresponding fields of TABLE it_authobj

    where OCLSS IN ('RS','RSR','RSBC').

    means that you need to select those entries from table TOBJ into internal table it_authobj where the value of field OCLSS is equal to the values mentioned in the selection screen against the fields 'RS','RSR','RSBC'.

    Regards.

    Ruchit.

    Add comment
    10|10000 characters needed characters exceeded