Hiding a field
Hi, Is it possibel to hide a field in master data view and allow to show a particular field to particular person? If so, how to do that?
Dear Yadav,
In my understanding if you require this setting only for one user you can check by a transaction
variant,but it will be applicable for a create material T Code.Say for MM01,I dont think its possible to do
so for a material display T Code.But to confirm this still you can also get some inputs from your BASIS
consultant.
Regards
Mangalraj.S
Similar Messages
-
Showing/Hiding certain fields based on Radioset selection
Hello all,
I'm like to know whether it is possible to Show/Hide certain fields using a RadioSet selection as it is done in Forms in ADF UIX. Kindly go through this post.
Showing/Hiding certain fields based on Radio Group selection
kindly help me out on this.
Thanks & Regards,
Arun.VHi Arun,
Here is what I do with my checkboxes, but I think that the radiobutton will do the same:
<af:selectBooleanCheckbox text="selectBooleanCheckbox 1"
label="Label 1"
binding="#{backing_page1.selectBooleanCheckbox1}"
id="selectBooleanCheckbox1"
autoSubmit="true"
immediate="true"/>
<af:inputText label="Label 1" binding="#{backing_page1.inputText1}"
id="inputText1"
disabled="#{!backing_page1.selectBooleanCheckbox1.selected}"
partialTriggers="selectBooleanCheckbox1"
value="#{backing_page1.selectBooleanCheckbox1.selected}"/> -
Dialogue tick boxes un-hiding all fields, not just the ones where value has changed to true
I am hoping someone can help me make what I want to happen, happen if certain check boxes are ticked withing the dialogue box
right now I can see on the console print that the tick box turns the value from false to true but the OK button is also un-hiding all my fields rather than just the ones where the value has turned to true. What am I missing here
//Create a Dialogue box for staff to state how many of the account owners are in branch in order for the names to show in the signing section
var Signors =
result:"cancel",
DoDialog: function(){return app.execDialog(this);},
bChk2:false,
bChk3:false,
bChk4:false,
bChk5:false,
initialize: function(dialog)
var dlgInit =
"Chk2": this.bChk2,
"Chk3": this.bChk3,
"Chk4": this.bChk4,
dialog.load(dlgInit);
commit: function(dialog)
var oRslt = dialog.store();
this.bChk2 = oRslt["Chk2"];
this.bChk3 = oRslt["Chk3"];
this.bChk4 = oRslt["Chk4"];
description:
name: "Signors",
elements:
type: "view",
elements:
type: "view",
char_height: 10,
elements:
type: "static_text",
item_id: "stat",
name: "Who is here to sign:",
char_width: 15,
alignment: "align_fill",
font: "dialog",
type: "view",
char_width: 8,
char_height: 8,
align_children: "align_top",
elements:
type: "view",
char_width: 8,
char_height: 8,
elements:
type: "check_box",
item_id: "Chk2",
name: "Primary Applicant",
type: "check_box",
item_id: "Chk3",
name: "Associate 1",
type: "check_box",
item_id: "Chk4",
name: "Associate 2",
type: "ok_cancel",
// did the value change when ticked - lets check
Signors.bChk2 = false;
Signors.bChk3 = false;
Signors.bChk4 = false;
if("ok" == Signors.DoDialog())
if (Signors.bChk2 = true)
getField("Signor1").hidden = false;
getField("Staff1").hidden = false;
getField("Date1").hidden = false;
getField("Date2").hidden = false;
if (Signors.bChk3 = true)
getField("Signor2").hidden = false;
getField("Staff2").hidden = false;
getField("Date3").hidden = false;
getField("Date4").hidden = false;
if (Signors.bChk4 = true)
getField("Signor3").hidden = false;
getField("Staff3").hidden = false;
getField("Date5").hidden = false;
getField("Date6").hidden = false;
console.println("Chk2:" + Signors.bChk2);
console.println("Chk3:" + Signors.bChk3);
console.println("Chk4:" + Signors.bChk4);
console.println("Chk5:" + Signors.bChk5);
//console.println shows if bChk.. is true or false
console.println("Chk2:" + Signors.bChk2);
console.println("Chk3:" + Signors.bChk3);
console.println("Chk4:" + Signors.bChk4);
console.println("Chk5:" + Signors.bChk5);
//Yeah, confirmed values have changed, now show fields based on staff input
//was primary applicant ticked
doWhatIWant: function(results) {
if (results [Signors.bChk2] = true)
getField("Signor1").hidden = false;
getField("Staff1").hidden = false;
getField("Date1").hidden = false;
getField("Date2").hidden = false;
//was Associate 1 ticked
if (results [Signors.bChk3] = true)
getField("Signor2").hidden = false;
getField("Staff2").hidden = false;
getField("Date3").hidden = false;
getField("Date4").hidden = false;
//was Associate 2 ticked
if (Signors.bChk4 = true)
getField("Signor3").hidden = false;
if (Signors.bChk4 = true)
("Staff3").hidden = false;
if (Signors.bChk4 = true)
("Date5").hidden = false;
if (Signors.bChk4 = true)
("Date6").hidden = false;You're missing some curly brackets, using the incorrect equality operator, and using the long deprecated field.hidden property. Try this:
if ("ok" == Signors.DoDialog()) {
if (Signors.bChk2) {
getField("Signor1").display = display.visible;
getField("Staff1").display = display.visible;
getField("Date1").display = display.visible;
getField("Date2").display = display.visible;
if (Signors.bChk3) {
getField("Signor2").display = display.visible;
getField("Staff2").display = display.visible;
getField("Date3").display = display.visible;
getField("Date4").display = display.visible;
if (Signors.bChk4) {
getField("Signor3").display = display.visible;
getField("Staff3").display = display.visible;
getField("Date5").display = display.visible;
getField("Date6").display = display.visible;
console.println("Chk2:" + Signors.bChk2);
console.println("Chk3:" + Signors.bChk3);
console.println("Chk4:" + Signors.bChk4);
console.println("Chk5:" + Signors.bChk5);
I don't know if that will deal with all of the problems, but it's a good start. -
Dear Gurus,
I am asked to do hide some fileds, add some new tabs, rename some of the labels etc in CRM Portal 4.0 running on EP 6.20. Here is my approach to hide one of the fields Quality(Auto) in the lead management screen for Lead Manager.
I have identified my Field group. it is LEA_BD_QL. I have executed the transaction code CRMC_BLUEPRINT_C and selected the Application Element -> Field Group Structure. There were no entries for this field group. I have made an entry
SCREENPOSITION : 20
FIELDNAME : QUAL_LEVEL_AUTO
FIELDTYPE : DropdownListBox
Not In List : Yes
Not in Detail : Yes
and saved the entry.
Then went to Application Element -> Layout Generation
selected the field group as LEA_BD_QL and my View as : MKT_LEAD_M
The Only Check Field Groups check box is checked and executed, I got the message : "No field group was selected in the blueprint table"
When I try to generate the lay out for LEA_BD(which contains LEA_BD_QL), I get the message : Layout for field group LEA_BD contains no fields
and once I goto the portal, the field is not hided.
Can you pls suggest me if I am generating the field group properly and did I miss any of the step or not following the steps properly.
Thanks!
VivekRaj,
There are 2 field groups in the field structure with same name "9DA12CF6F564DB4997234924C02885B5" one for blank BLVIEW and another for MKT_LEAD_Q. When I delete these 2 entries and generate the layout, I get the message "Correct Field Groups LEA_BD MKT_LEAD_Q". I tried generating the layout with both blank view and also with the role MKT_LEAD_Q and I get the same message. What is the message that I get if the layout is generated proprely. Do I have to create any ZView or Zapplication, import any field groups here into the zapplications? I have not created any Zapplication or ZView. I am trying to modify CRMD_BUS200108. Looks like I am missing a vital piece here. If you any detailed document for this process, can you pls pass it on to me.
Thanks!
Vivek. -
Hiding Windows, fields in adobe forms
Hello,
I am new to adobe forms and presently working on one requirement.
My form got 3 pages, on first page i have one table. i) If the table contains only one row i have to hide the entire page.
ii) On the second page i have Po details and on third page I have SO and FI details. If the tables for PO, SO or FI are empty i need to hide the windows.
iii) Current Page/ total Page no : This field needs to be displayed from second page and once the form repeats for another input value these two needs to be initialized and start counting based on the data extension to multiple pages. Presently printing starting from 1st page.
I have all the flags First_page_flag, Second_page_flag, third_page_so and third_page_Fi flags controlled from print program and are available in the context menu but not on the LAYOUT.
I also tried the following code to hide the page but it didn't work out: (Initialize)
var pdisplay = xfa.resolveNode("Table_PO[*]");
if(pdisplay.value == NULL)
pdisplay.presence = "hidden";
I could able to hide the windows, subforms and fields with out the flag check via java scripting.
this.presence = "hidden"; but don't know how to use these flags in script editor to hide all these.
Can any one help me to achieve these functionalities for which i will be so thankful to you.
Best Regards,
Naresh.Hi Vibhav, Hi Aravind,
I closed my layout and run the program. But still getting the same error.
For Tables in PAGE 2 and PAGE 3
Anyways I could able to hide the TABLES (Sub forms - Page 2 & 3) now by including and hiding the flags(WV_SDISPLAY, WV_FDISPLAY) in the respective subforms. I have used the following JAVA scripting to achieve this in initialization event:
if(this.WV_SDISPLAY.rawValue = "X")
this.presence = "hidden".
For PAGE hide:
But, in my requirement i have to hide the FIRST PAGE and not the TABLE, if the table(subform) containes one row. I set a flag wv_idisplay in the program. Now if i include this flag under this table and follow the same JAVA scripting mentioned above it is not working.
if(this.WV_IDISPLAY.rawValue = "X")
this.presence = "hidden".
Also, from some of the threads and by the comments of Gold Otto, I could understand that, to hide a Master page, i need to put the condition on it's associated subform and i am proceeding with this logic.
Could you please help me if this is not the correct approach. Also, request you to send me some sample Java Script to hide a PAGE.
Thank You,
Regards,
Naresh. -
Hiding a Field, row and cell
Please how can I hide a Field, Row and cells repectively. We are carring out a project that we need to hide cells and sometimes fields or rows as the case may be. I noticed in console -> Role -> Tables, you can set only read only or read/write and in the functions tab you can set up none or execute. There is no option for hiding. Can any one help.
Hi marcellinus,
To hide a field there are two methods:-
<b>1--></b>Open console and right-click on field of corresponding table which u want to hide and choose Hide from the context menu. This will hide field from display.
For more details u can refer to SP04 console reference guide-page no <b>53.</b>
<b>2--></b>U can specify constraints and privileges in the <b>tables and fields</b> tab in <b>roles</b> table for field and record level security.This will prevent field or records from display.
To hide a rows or cells u can specify any mask as constraint.This will display only those records which are specified in the mask.
For more details u can refer to SP04 console reference guide -page no <b>149.</b>
Hope this will help you.Let me know the result
Thanks,
<b>
Shiv Prashant Dixit</b> -
Hiding Label field in JSP dynPage
Hi all,
I am having an issue in Hiding/disabling label field in JSP Dynpage application
Works fine:
<hbj:label id="label_Input_US_Taxpayer_ID" text="<%= USTaxpayerID %>" required="FALSE" design="LABEL" labelFor="Input_US_Taxpayer_ID" />
but as soon as I use enabled="FALSE" the code will crash..
Gives ERROR
<hbj:label id="label_Input_US_Taxpayer_ID" text="<%= USTaxpayerID %>" required="FALSE" design="LABEL" labelFor="Input_US_Taxpayer_ID" enabled="FALSE" />
what is the way to implement this ?
Thanks !
Asif@Nishant : label object does not have visibility property like input field
(http://help.sap.com/saphelp_nw73/helpdata/en/4a/3fcf2580551014e10000000a42189b/content.htm)
However we can enclose the lable field inside DIV object and use it's visibility property.for example
<div id="area_one" style="display:none">
<hbj:label id="label_Input_US_Taxpayer_ID" text="<%= USTaxpayerID %>" required="FALSE" design="LABEL" labelFor="Input_US_Taxpayer_ID" />
</div>
and then change the visibility in script function
if (obj.style.display == "none")
obj.style.display = "block";
else
obj.style.display = "none";
Edited by: asif hirani on Mar 3, 2011 4:52 PM -
Hi All, can some one guide me on how can I unhide a few fields on the UI for Material not on the UIBB level . Regards, Vag Vignesh Shenoy
Vignesh,
You can't hide fields at the Data model level, If you want to hide fields you can do at Change request level please follow the below steps;
T. Code : MDGIMG
Step 1:
Process Modelling -> Change Request -> Configure Properties for Change Request Step
Step 2:
Select the "Type of change request" type and double click on the 'Change request step' at the left side of the screen under dialog structure
Step 3:
Select the Change request step on the right side of the screen, Double click on the entity types per change request step
Step 4:
Select the entity type on the right side of the screen , Double click on the 'Attributes per change request step -> you change the field properties in the screen as required.
You can also maintain the field dynamically based on roles, Please follow the the user guide how to maintain the fields dynamically based on roles;
http://scn.sap.com/community/mdm/master-data-governance/blog/2013/02/26/hiding-fields-dynamically-based-on-roles-in-mdgm-for-ehp-50
thank you,
Parvez -
HAI ALL,
I AM USING BBP_CUF_BADI_2 for hiding fields but still its displaying pls give solutions:
following code i written as
IF wa_et_fields-fieldname = 'ZECO_REJ' or wa_et_fields-fieldname = 'ZTC_REJ'.
IF is_header-process_type = 'Z3EB'.
wa_et_fields-xdisplay = ' '.
wa_et_fields-xinput = ' '.
endif.
to hide the check box zeco_rejHi Laxmi,
To display or hide customisied fields in SRM we will be using method 'MODIFY_SCREEN' of badi 'BBP_CUF_BADI_2'.
Refer to note 672960 - "User-defined fields 2" For more detailed instructions.
Also see the below link
Re: Assing the agent for 1st confirmation approval
Reward points for helpful answer.
Regards,
Andy
Message was edited by:
Andy V -
Conditionally Hiding Summary Fields
<p>Hello.</p><p>I am trying to recreate a report originally written in Foxfire to Crystal Reports. The data is coming from two linked tables, a "header" table and a "details" table. For each account from the "header" table, there may be one or more "detail" lines. I want to include a summary subtotal for each of three detail fields which represent monetary values, but only in those cases where an account has more than one detail line. The data is grouped by account number.</p><p>Account number and name are displayed in a group header, and only the corresponding detail data is in the Detail section of the report.</p><p>It seems like I saw this explained somewhere, but I cannot remember where at the moment. Any assistance is appreciated.</p>
<p>So you want to keep the Group Header (GH) and the Details (D), but suppress the Group Footer (GF) if the count of details records is 1...</p><p>Open the section expert (right click on the grey sections to the left of the canvas) - make sure you have the GF highlighted.</p><p>There is an option named "Suppress" - to the right of that is a formula box [X+2]. Click on that and use a conditional formula for the suppresion.</p><p>Formula:</p><p>if Count({Customer.Customer ID}, {Customer.Customer Name}) = 1 </p><p>then false else true </p><p> </p><p>Note: you will need to replace {Customer.Customer ID} for some field in your details section and {Customer.Customer Name} in the formula with appropriate fields from your report. </p>
-
Hi
i have created an ALV with series group 20(domestic) and 21(export).my question is that i need a field NETWRIC when i select the series group 21 in the input field and i dnt need it when i use 20 in series group.i like to know is there any way to hide the fieldHi,
You can do as below :
Once your fieldcatalog is build.
loop at gt_fieldcat into gs_fieldcat.
if group = 'X'.
if gs_fieldcat-fieldname = 'NETWRIC'.
gs_fieldcat-no_out = 'X'.
gs_fieldcat-tech = 'X'. "Using this column will not be displayed in change layout also.
modify gt_fieldcat from gs_fieldcat.
clear : gt_fieldcat, gs_fieldcat.
endif.
endif.
endloop.
Thanks,
Sriram Ponna. -
Hi Experts,
How can we hide a field in the ALV Dipslay.hi check this ....
here i had 3 fields and i am displaying 2 only..
REPORT ZPR_02 no standard page heading.
TYPE-POOLS: SLIS.
TABLES: MARA.
DATA: BEGIN OF IT_MARA OCCURS 0,
MATNR LIKE MARA-MATNR,
MTART LIKE MARA-MTART,
MATKL LIKE MARA-MATKL,
check type c,
END OF IT_MARA.
DATA: IT_FIELD_CAT TYPE SLIS_T_FIELDCAT_ALV,
WA_FIELD_CAT TYPE SLIS_FIELDCAT_ALV,
IT_EVENTS TYPE SLIS_T_EVENT,
WA_EVENTS TYPE SLIS_ALV_EVENT,
IT_HEADER TYPE SLIS_T_LISTHEADER,
WA_HEADER TYPE SLIS_LISTHEADER,
wa_layout type SLIS_LAYOUT_ALV.
data : is_variant like disvariant.
SELECT-OPTIONS: S_MATNR FOR MARA-MATNR.
START-OF-SELECTION.
PERFORM GET_DATA.
PERFORM BUILD_FIELD_CAT.
PERFORM GET_EVENTS.
PERFORM DISPLAY_DATA.
*& Form get_data
text
FORM GET_DATA .
SELECT MATNR
MTART
MATKL FROM MARA
INTO TABLE IT_MARA
WHERE MATNR IN S_MATNR.
ENDFORM. " get_data
*& Form build_field_cat
text
FORM BUILD_FIELD_CAT .
CLEAR WA_FIELD_CAT.
WA_FIELD_CAT-COL_POS = 4.
WA_FIELD_CAT-FIELDNAME = 'MATNR'.
WA_FIELD_CAT-SELTEXT_L = 'Material Number'.
WA_FIELD_cat-no_zero = 'X'.
WA_FIELD_CAT-emphasize = 'C100'.
APPEND WA_FIELD_CAT TO IT_FIELD_CAT.
clear WA_FIELD_CAT.
WA_FIELD_CAT-COL_POS = 2.
WA_FIELD_CAT-FIELDNAME = 'MTART'.
WA_FIELD_CAT-SELTEXT_L = 'Material Type'.
WA_FIELD_CAT-no_out = 'X'.
WA_FIELD_CAT-emphasize = 'C110'.
APPEND WA_FIELD_CAT TO IT_FIELD_CAT.
clear WA_FIELD_CAT.
WA_FIELD_CAT-COL_POS = 3.
WA_FIELD_CAT-FIELDNAME = 'MATKL'.
WA_FIELD_CAT-SELTEXT_L = 'Material Group'.
WA_FIELD_CAT-JUST = 'R'.
WA_FIELD_CAT-emphasize = 'C410'.
APPEND WA_FIELD_CAT TO IT_FIELD_CAT.
clear WA_FIELD_CAT.
ENDFORM. " build_field_cat
*& Form display_data
text
FORM DISPLAY_DATA .
wa_layout-box_fieldname = 'CHECK'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = SY-REPID
I_CALLBACK_PF_STATUS_SET = 'GUI_SET'
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
IS_LAYOUT = WA_LAYOUT
IT_FIELDCAT = IT_FIELD_CAT
IT_EVENTS = IT_EVENTS
TABLES
T_OUTTAB = IT_MARA.
ENDFORM. " display_data
*& Form GUI_SET
FORM GUI_SET USING RT_EXTAB TYPE SLIS_T_EXTAB.
SET PF-STATUS 'A000'.
ENDFORM. "GUI_SET
*& Form USER_COMMAND
FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
R_SELFIELD TYPE SLIS_SELFIELD.
*refresh itab.
CASE R_UCOMM.
WHEN 'TEST'.
when 'LIST'.
ENDCASE.
ENDFORM. "USER_COMMAND
*& Form get_events
text
FORM GET_EVENTS .
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
I_LIST_TYPE = 0
IMPORTING
ET_EVENTS = IT_EVENTS .
READ TABLE IT_EVENTS INTO WA_EVENTS
WITH KEY NAME = SLIS_EV_TOP_OF_PAGE.
IF SY-SUBRC = 0.
WA_EVENTS-FORM = 'TOP_OF_PAGE'.
MODIFY IT_EVENTS FROM WA_EVENTS INDEX SY-TABIX.
ENDIF.
ENDFORM. " get_events
*& Form top_of_page
text
FORM TOP_OF_PAGE.
WA_HEADER-TYP = 'H'.
WA_HEADER-INFO = 'Material Data'.
APPEND WA_HEADER TO IT_HEADER.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = IT_HEADER
I_LOGO = I_LOGO
I_END_OF_LIST_GRID = I_END_OF_LIST_GRID
I_ALV_FORM = I_ALV_FORM
ENDFORM. "top_of_page
regards,
venkat. -
Hiding selective fields in a report based on other field in the same report
Hello!
I am trying to create a report of the inventory items. 2 of the fields in the report would be the sale price of the item, and one of the properties (prop1) from the Item Master Property tab.
Depending on whether Prop1 is Y/N, the price of the item should be displayed.
If Prop1 = N, Price is displayed
If Prop1 = Y, Price gets hidden
Using queries, is it possible to create this kind of reports?
I am using SAP 2005b PL 42.
Thanks for any suggestions....
PrajwalHello Prajwal,
It is definely possible !!
If you have already created your query pls paste the same here so that I can help you otherwise. I will give you a general guidelines and you can take it from there..
Using the CASE Statement inside your SELECT you can achieve this.
SELECT T1.ItemCode AS 'Item No.', T1.ItemName AS 'Item Description',
CASE WHEN T1.QryGroup1 = 'N' THEN T0.Price ELSE 0 END 'List Price'
FROM [dbo].[ITM1] T0 INNER JOIN [dbo].[OITM] T1 ON T1.ItemCode = T0.ItemCode WHERE T0.PriceList = 1 -
Hiding Screen fields in a Report selection screen
Hi Experts,
I have a requirement to hide/disable screen fields in a report selection screen when the user clicks on some radio buttons .
Here is the scenario,
1) There are 4 radio buttons four radiobuttons in one group on the selection screen:--
Block no:1
PARAMETER: r_not TYPE c RADIOBUTTON GROUP a1 DEFAULT 'X'.
PARAMETER: r_prgs TYPE c RADIOBUTTON GROUP a1.
PARAMETER: r_remv TYPE c RADIOBUTTON GROUP a1.
PARAMETER: r_noresp TYPE c RADIOBUTTON GROUP a1.
2) Based on the user clicking/selecting the radio buttons no.2,3 nad 4 i need to hide some fields in the other selection block
in the selection screen.The parameters are as follows:
Block no:2( These fields need to be hidden/disabled)
PARAMETER: r_occ(3) TYPE c OBLIGATORY DEFAULT '1'.
PARAMETER: r_and TYPE c RADIOBUTTON GROUP g1.
PARAMETER: r_or TYPE c RADIOBUTTON GROUP g1.
PARAMETER: r_days(3) TYPE c OBLIGATORY DEFAULT '1'.
ThanksContd.....
AT SELECTION-SCREEN.
CASE SSCRFIELDS-UCOMM.
"When Customer button is clicked set flag 1
WHEN 'FC01'.
L_FLAG = '1'.
"When Sales Order button is clicked set flag 2
WHEN 'FC02'. "Sales order
L_FLAG = '2'.
"When Execute button is clicked set flag 4
WHEN OTHERS.
L_FLAG = '4'.
ENDCASE.
AT SELECTION-SCREEN OUTPUT.
CASE L_FLAG.
WHEN '1'. "When Customer button is clicked
LOOP AT SCREEN.
"Set the Production and Customer Block as inactive
IF SCREEN-GROUP1 = 'BL1' OR SCREEN-GROUP1 = 'BL3'.
SCREEN-ACTIVE = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
WHEN '2'. "When Sales Order button is clicked
LOOP AT SCREEN.
"Set the Production and Customer Block as inactive
IF SCREEN-GROUP1 = 'BL1' OR SCREEN-GROUP1 = 'BL2'.
SCREEN-ACTIVE = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
WHEN '3'. "When Refresh button is clicked
LOOP AT SCREEN.
"Set the all Blocks as active
IF SCREEN-GROUP1 = 'BL2' OR SCREEN-GROUP1 = 'BL3' OR SCREEN-GROUP1 = 'BL1'.
SCREEN-ACTIVE = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
WHEN OTHERS."When Execute button is clicked
"Set the Sales order and Customer Block as inactive
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'BL2' OR SCREEN-GROUP1 = 'BL3'.
SCREEN-ACTIVE = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDCASE.
ENDFORM. -
Hiding some fields from ALV report
Hi All,
I want to know if there is way to hide certain fields in ALV for some users only and not for others?
If I use the option NO_OUT = 'X' it will not be displayed in the list but the user can see the in the Layout option fields but if use NO_OUT = 'X' and TECH = 'X' the field will not be in the list and in the layout also but other users will miss that field.
If I create user specific variant, but once the user is in the report he can change the layout so certain fields cannot be hidden.
So, is there any way to hide some fields for certain users and not for others without hard coding user ids in program and restricting the fields from display??
Thanks in Advance.
Sonali.Thank You Vijay for the reply.
I knew that Authorization object was the final solution but before using it I wanted to find out if there was a way in the ALV report to restrict certain fields.
Sonali.
Maybe you are looking for
-
How can I purge ALL but one apple ID
we have multiple apple id's across four devices. each likely have personal info and credit card info. and currently the four devices use / shared just one apple id. how can we identify and purge the others ??? I don't know what they are, I just kno
-
Automatic Creation of Business Partner from Customer
Hello, I'm creating automatically BP using Tcode FLBPD1 (singular) and MDS_LOAD_COCKPIT (massive). I don't want to see some fields of customers in BP master data. Is it possible exclude this data before execute automatical creation? Thanks! Best Rega
-
Urgent Help Needed in scheduling reports from BI Publisher
Hi, I have configure the scheduler service on my windows server. Now i am trying to schedule a report from BI pubisher. But it is not working. When i click submit button, It is not doing anything. It seems it adds entry in the job schedule table. Eve
-
Hi, I am trying to upgrade a Forms 3.0 application to Forms 6i. I am trying the upgrade using the Oracle converter ifcmp60.exe with the UPGRADE option set to YES. Some .INP files are successfully getting migrated to .FMB files. But, some end up with
-
Adaptor to connect balanced microphones in the line input of sound c
)Many times we need the use of a professional microphone.But in which input of our sound card? Because the balanced signal produced, we need an adapter to connect it in the line input. In my site there is a proposed construction and complete instruct