Hiding BSP fields
Hello all, I have a completed BSP application. During testing, the users decided that they would like certain screen fields removed for now. They may add them again at a later date.
I would simply like to hide these fields so I may add them back quickly when necessary. Is there a way to hide a gridLayoutCell so I can keep all the coding that goes along with the field but simply not display it?
Thanks for your help, Troy
Hi,
you can set the visibility parameter to FALSE (inputfields)
and lable required on true to hide the combination label-inputfield
or include them ( and other tags )
into the <%-- ..... --%> tags
grtz
Koen
Message was edited by: Koen Labie
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}"/> -
Converting a standard BSP field into an internal number range
Hi Friends,
I'm new to CRM BSP and have a requirement wherein i have to edit standard BSP field and convert it to an internal number range field.Can anyone plz help me out on this.
Thanks in advance.
Regards,
Parvathy.Hi,
This cant be done in configuration
There are some enhancements for this control
You please check those enhancements
MGA00002 and MGA00003
regards,
santosh -
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 one field in SRM 4.0 Shopping Cart Screen
Hi All,
We have a requirement where we want to hide one standard field of Shopping Cart. I tried this with UI control BADI but that doesn't have method related to SC. Moreover SC_UI_MODIFY BADI is not useful for this purpose. Someone told me to check at BSP level for this change.
Can anybody guide me how it can be done.
Thanks
SiddarthHello Siddarth,
Try with screen variant ( SHD0 transaction).
Regards.
Laurent. -
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 Every one,
I have one requirement that i need to modify fields on the BSP screen. which is given by the sap standard portal.i understand that the i need to maintain crmc_bllueprint_c tables to modify that .
Now my requirement is to hide some field on that screen .
i need the transaction where my work starts ?
how to contuniue to progress into my work ?
please help as much as you can ?
i will appresiate small help also which is so help full.
please respond as early as possible......Yes that option is already considered but that is not working.
i did the testing in two levels
1.select that option in crmc_blueprint -
it is not working
2.copy all the fields into crmc_blueprint_c and selects that option not display in detail -
it is not working
please give some suggestion............
i am eagerly waiting for the solution
please send some help full information
hi all
please suggest the way to hide the fields i will apprisiate every answer which are help full
Edited by: sunil kumar on Jan 16, 2008 4:36 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.
Maybe you are looking for
-
Is there a way to switch the right Ctrl with the mouse's rick click tab in the new X1 carbon?
Hi, I just bought my new X1 Carbon and I was looking for a way to have the tab with the right click function (generally it is showed as a small window with the mouse arrow on it in bigger keybords) instead of the right ctrl button. Thank
-
Import more than one file at a time
Is there a way to import more than one file at-a-time to LR?
-
BT Infinity 2 and Non BT Router
I have yet to have my service activiated. I'll get an engineer on 20th June, and to be perfectly frank I don't think I'll be sleeping for a few nights before that date...... My question is simple: is it possible to use a third party router with the I
-
I have 16gb of RAM, but only 10gb are usable?
Hello everyone, I have a Mid 2012 15" Macbook Pro running Yosemite. When I first got it, I upgraded to 16gb of 1600 MHz DDR3 RAM because I would be needing it for a lot of the programs I run. I have the 2.3 GHz i7 processor. Stock 500gb hard dri
-
The Question: Is there any way of checking whether or not a file can be moved? The Context My program is periodically checking a folder for new files. Files are moved into this folder via FTP. My program is designed to then move these files into a di