on 03-09-2006 9:06 AM
Hi everyone,
I have a strange problem with an ALV grid control I have created to display a list of entities selected from a database. It is working fine for almost everybody except one user - the grid shows no entries for him though they are obviously selected from the db (when he clicks on define filter rules, the entries are shown in the F4 entry help).
It is nor an authorization problem but rather seems to be specific to that system. It's working fine in any other system for this user.
Has anyone ever experienced this or can give me a hint on where to find a possible solution? It must be something specific to the user in that system but I can't imagine anything except the authorizations (which are fine).
Best regards,
David
HI,
there might be a default variant which is user specific was set to alv layout. that is the reason it is not showing any thing for that user. if you remove that variant layout, you can see the data in alv.
regards
vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Vijay, that explains a lot. Problem is that the user has defined a layout for another grid control (which should have nothing to do with the current one) and it is taken as default.
Obviously the grid doesn't distinguish between variants for different grids.
Do I have to alter the structure of type DISVARIANT I pass to set_table_for_first_display?
Up to now, I do it like in the example BCALV_GRID_09 (for both grids):
* 'gs_layout' must at least contain the report-id to allow
* saving a layout.
g_repid = sy-repid.
* § 2.At least field REPORT of this structure has to be filled!
gs_layout-report = g_repid.
Shouldn't the repid do the differentiation?
gs_layout is of type DISVARIANT and has the following structure:
REPORT REPID
HANDLE SLIS_HANDL
LOG_GROUP SLIS_LOGGR
USERNAME SLIS_USER
VARIANT SLIS_VARI
TEXT SLIS_VARBZ
DEPENDVARS SLIS_DEPVS
Hi David,
Hope the person has logged on a different client..
i think that shud be the problemm.. Not with ALV..
regards
satesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.