Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Mandatory display fields cannot be hidden

Former Member
0 Kudos


Hi,

I want to  hid field which are mandatory  in report at FIAA  S_alr_87011990- "Asset history sheet", but it not allowed. It shows message  no. 0K101. Are any ways to hid this field?

Rgds, Stenwa

1 ACCEPTED SOLUTION

Former Member
0 Kudos

If you want to hide the asset number/sub-number on the output, you can do that with a default ALV layout since this is an ALV report.  However users would be able to adjust the layout to see the fields if they want to.  If you have to make sure users can't do this, I think you'd have to make a copy of the report and set the field catalog TECH value to "X" when the field catalog is created.    

11 REPLIES 11

former_member201275
Active Contributor
0 Kudos

Click on the SAVE button to create a variant. Here there is a "Hide Field" column, simply click on the fields you want to hide.

Former Member
0 Kudos

Hi,

First I must move field Asset i Subnumber towards Hidden  field and it first step is impossible. If i click on field appears info "Mandatory display fields cannot be hidd". Do you try it on this report?

0 Kudos

Yes I tried it on this report and it worked.

Please can you explain which field/s you want hidden, and also why.

0 Kudos

Hi,

I want to hide field - asser number and subnumber, I wrote about this. This field are further, I don't want to hide field on section screen. I need a report without this field, user wants it.

Rgds, Stenwa

0 Kudos

You wrote about this, but not very clearly at all.

First you say "I want to hide field", then in the next sentence "I don't want to hide field"!!!!

Here is what I did and it works perfectly.

Screen has asset and subnumber:

Now I HIDE these in the variant:

and bingo, they are not in the selection screen:

If this is not what you want then please get some help to explain in clear English your requirement.

Former Member
0 Kudos

Hi,

I am not sure which fields you are referring to. Is it the fields on the section screen or some other. Further if the fields are mandatory why do you want to hide them?

Can you please explain the purpose of doing this then maybe somebody can help you.

Regards

Former Member
0 Kudos

If you want to hide the asset number/sub-number on the output, you can do that with a default ALV layout since this is an ALV report.  However users would be able to adjust the layout to see the fields if they want to.  If you have to make sure users can't do this, I think you'd have to make a copy of the report and set the field catalog TECH value to "X" when the field catalog is created.    

0 Kudos

Hi,

Variant showed by Glen Anthony hides fields only at selection screen. Selection screen is to remain
unchanged.  I want to  hide
asset number/sub-number further, after executed report, on the output. It is only  for special user, not all. For almost users this fields will be visible.

I think, that will be needed to make a copy of report as say Jim Tasker. Could you explain me better your
solution?

Rgd, Stenwa

0 Kudos

Then this can simply be maintained by each individual user in the alv Layout option.

former_member201275
Active Contributor
0 Kudos

Is your question answered? Please close if so.

0 Kudos

Hi,

I had to use ABAP. This is not only another Layout option.

Rgds, Stenwa