cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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.