on 2022 Oct 31 8:42 AM
Hello everyone,
I want to create a Specific Transaction ( ZHIST_ETIQ ) for a Client that allows him to view a ZTable (ZSD_ETIQUETTE) that exists in SE16N.
The Client should not access to SE16N, I followed this article Assign a Z-Transaction to a table maintenance | SAP Blogs, but when I reached the 7th step I found out that my table is not defiened in SM30 or something like that so instead I wrote SE16N.
The Transaction is now displaying my Table but on SE16N, which is not what I need,
Am not sure if it's related to SM30 or not, But I know that the client should not access to neither SE16N and SM30.
Any help?
THANK YOU VERY MUCH
Request clarification before answering.
You can create a little Report like this
SELECT * FROM t006 INTO TABLE @DATA(gt_t006) ORDER BY PRIMARY KEY.
DATA gr_alv TYPE REF TO cl_salv_table.
TRY.
cl_salv_table=>factory(
IMPORTING
r_salv_table = gr_alv
CHANGING
t_table = gt_t006 ).
CATCH cx_salv_msg ##no_handler.
ENDTRY.
"if you don't want to see the column MANDT add this TRY/ENDTRY-block
TRY.
gr_alv->get_columns( )->get_column( 'MANDT' )->set_technical( value = abap_true ).
CATCH cx_salv_not_found ##no_handler.
ENDTRY.
gr_alv->display( ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
9 | |
9 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.