Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SM30 - Selection Screen

Hi ,

I have a table with SM30.

and my Select query for SD report takes what are the user ID;s maintained in the Ztable.

But If the enduser is a Internal User and not maintained in the Ztable he should be able to see all the sales orders.

If the entered user is maintained in the table he should be able to see only the customers which are assigned to it.

if he tries to see the customer which is not asigned to him

it should throw a error message.

Please let me know what I should do.

My Select querry is

SELECT

kunnr

FROM zsd_c2c_auth

INTO CORRESPONDING FIELDS OF

TABLE gt_c2c_auth

WHERE kunnr IN s_kunnr

AND syuname = sy-uname.

Thanks,

Varun

Tags:
Not what you were looking for? View more on this topic or Ask a question