Hide column in marketing document
Ina Colman
Hello,I have made a UDF 'Gewicht' as part of a table in Marketing Documents.
I don't want it to be visible in all the documents. So I tried to hide the column 'Gewicht' of the table in the Sales quotation document.
I know that when you want to hide a field, you have to enter a panelevel in the item placement that doesn't exist.
My UDF field is part of a table so the ItemUID is the same for all the columns. So when I activate the rule, the whole table dissapears.
Is there a possibility to only hide this column?
Bye,
Ina
Attachment
[url=http://www.coresystems.ch/wp-content/../wp-content/forum-file-uploads/ina_colman/hide_column.cocu]hide_column.cocu[/url]
Michael Egloff
Hi Ina,to make a column inivisible you can do that with SAP standards.
Just click 'ctrl + shift + s'
when you're on the document you want to edit.
Then it opens a new window on which you can select the rows you want to show or not (first tab).
Hope this helps.
Michael
Ina Colman
Hi Michael,Thank you for your answer, the problem is that I want to hide several columns in a few documents. And I hoped it was possible to do that in customize with 1 rule. But I'll try it in SAP standard.
Bye,
Ina
Michael Egloff
Hi again,to hide a column with customize, you can add a rule with the optimizer to the event FormLoad and add the following code:
Matrix.GetFromUID(pVal.Form, "38").Columns["YOUR COLUMNNAME"].Visible = false;
return true;
Ina Colman
Thank you! :)
0
Please sign in to leave a comment.
Comments
0 comments