Hide floating field
Hi everyone,
I know this is pretty comon question. But somehow its not working for me so pls help.
I have a text element with 4 floating fields in it one below the other. I want to hide the 3rd floating
Field if it has null value and the 4th floating field should move up to the 3rd floating field position. I tried java script on the 3rd floating field, also tried wrapping all the elements in a subform and had a java script at subform level. Still did not work. Please suggest.
Appreciate your help.
Hi,
Is there any reason for its being a floating field...?
If i were you I do the below.
Lets say you have 4 fields to be displayed one below the other in the text object.
So for these fields I create hiddenfields rathar floating.
On the text object I have on floating field.
On the form ready event of this floating field, I concatenate the 4 hidden fields value excluding the null ones and separated by "\n". "\n" is for javascripting new line.
There might be otherway which I am not aware of.
But this is simple....what do you say ...?
Cheers,
Sai.
Similar Messages
-
Generic data source with float field possible?
Hello,
when creating an generic data source using a view with a float field I get error R8359 (extract structure: You tried to generate an extract structure with the template structure .... This operation failed, because the template structure quantity fields or currency fields, for example, field ... refer to a different table.).
I changed the data element from ATFLV to e.g. FLOAT but it did not help.
SAP hint 335342 deals with this issue, but I just want to use the float number without the unit.
Is this possible or do I need to write a function module?
Best regards
ThomasHi,
you could try to add the unit table and field to your view. When saving the datasource in RSO2, you can choose to hide these fields if you don't want them extracted into BW.
Regards,
Øystein -
In ALV report.The user wants to hide specfic fields
Hi
In ALV report.The user wants to hide specfic fields but the user must be able to add these fields to the report:
can any one give the suggestionsin reuse alv list display or grid
i_save = 'A'.
now user can choose the layout.
for hiding
in fieldcat
wfieldcat-No_out = 'X'.
regards
shiba dutta -
How to add and hide more fields in PPM?
Hello,
Im new to this tool and I would like to know how to add and/or hide customized fields. I've only know that Its somewhere under SPRO > Global Enhancements to Project Elements but Im a little bit lost there. Can somebody explain to me with details how to do this and also, does this need a specific access of developer to do this customization?
As this is a basic need for all, anybody that is new on the tool and search for this will have a good reference on this thread.
Thanks in advance.
Many regards!The path is SPRO > Global Enhancements to Project Elements > Setup field control.Herein,once you select the field control you may proceed towards defining the conditions that influence the same. A step by step approach is explained in the below article that will aid you to change properties of custom fields.
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/3053cee2-4bca-2d10-38ae-efff39ad248e
Regards,
Pradeepkumar Haragoldavar -
Hide a field in ALV "Display Details" list
Hi Experts,
I have a requirment where I have to hide a field in ALV output, as well as in "Details display". I already put NO_OUT = 'X' for that field in fieldcatalog itself. It is hidden in the ALV output anyway, but the problem is when user selects a row and clicks on "Details" button in toolbar of ALV, it still displays the hidden fields of that ALV list with/out headings there.
Hope you understood my problem, pls respond soon if you hav any solution for this?
Thanks
SaravUse TECH = 'X' in field catalog.
Regards,
Raymond -
How to hide the field from the view in the webdynpro application?
Hi Gurus,
I got a requirement where in which ,default layout has the field name Time.......To......... which is (2 input box ) and one lable assigned to the container.........
Now my requirement is to hide this field from the layout for all cases of leave......(all types of leave)....
I got a few inputs from forum that we can achieve this by implementing the following steps..........
Create In context => Value attribute => Say Visibility
Go to its properties
Select com.sap.ide.webdynpro.uielementdefinitions.Visibility
In View Layout
Select UI Element Set Visible property to this context variable Visibility.
In wdDoModifyView() You can set this property to false
wdContext.currentContextElement().setVisibility(false);
Can you people tell me where to create the value attribute........
In the view context or in the component context...........
and field that am talking about is assign to the container you want me to assign this context variable property to all ......Like to input box ,label and the container..........
Please calrify this ASAP...........
Thanks in Advance,
DharaniHi Manoj......
Hi Murutuza,
As per your guidelines I have created the value attribute in View context (which has the field..... which needs to be hide)inside the value node say FieldVisibility.......and attribute name OldTimeDuration......and I set this value with uidefeneitions Visibility .......
and I bind this vaule with the field property visible(Time.......To..........)which I need to hide...........
Now in the view implementation tab ..........I have coded in the doinit method(since my requirement to hide the field from the layout in all cases).........
wdContext.currentFieldVisibilityElement().setOldTimeDuration(WDVisibility.NONE);
But if I deploy the application and see still am getting the same field dispalying in the screen.........
I even tried putting this code in wdmodifyview method.........same results........
Kindly tell me how to hide the field permenantly from the screen............(without any conditions.)
Thanks in Advance,
Dharani -
How i hide a field of a custom view in OAF 11
Hi, im a new developer of OAF11.
What should I do, to customize the Purchase Order screen, if then the requirement is to hide the field that i insert from extended VO.
What I did was modify the XML of the page to add the field and then extended the original AM.
I added the extended view into the custom AM to prevent that fail with the field that i insert.
I must clarify that I modify the path of AM default for the path of the custom AM in the XML, then i upload the XML with the command import, and i see it the field in the page.
I tried to hide another field that i created by customizing the page, but I couldnt do. That´s why i insert directly the field in the XML original.
I Try to customize the driver involved with the page, but nothing happened.
First try it on the controller Father and after the son.
The page is in the POS module (iSupplier), and is POSVIEWPOG (PO Details).
The code that attempts to hide the field is:
OAApplicationModule am = paramOAPageContext.getApplicationModule(paramOAWebBean);
OAViewObject oaviewobject1 =(OAViewObject)am.findViewObject("PosViewHeadersVO");
if (oaviewobject1 != null)
OARow row = (OARow)oaviewobject1.getCurrentRow();
String vCustomType = (String)row.getAttribute("TypeName");
if (vCustomType.equals("Blanket Agreement"))
OAMessageStyledTextBean vHideField = (OAMessageStyledTextBean)paramOAWebBean.findChildRecursive("drbQuantity");
vHideField.setRendered(true);
else
OAMessageStyledTextBean vHideField = (OAMessageStyledTextBean)paramOAWebBean.findChildRecursive("drbQuantity");
vHideField.setRendered(true);
Can anyone help me?
If im grong other solution that i think is:
How I can put a field on a page with code and how to hide the field with conditions?, consider that the field is from the VO extended.
Thanks!!!Hi Yichao,
Chk these links
https://help.sap.com/saphelp_nw04/helpdata/en/5a/0c889a4d5911d2a5fb0000e82deaaa/content.htm
http://help.sap.com/saphelp_45b/helpdata/en/cf/21ec5d446011d189700000e8322d00/frameset.htm
thanks and regards
srikanth.p -
How to hide a field from table maintenance view?
Hi,
How to hide a field from table maintenance view?
The field is used for data created date. I need to hide it from display.
ThanksChk this link.
http://help.sap.com/saphelp_nw04/helpdata/en/66/33f52010dd11d6999300508b5d5211/frameset.htm
Maintenance Attributes
You can assign a maintenance attribute P to individual fields in the maintenance view definition in the Dictionary (SE11). It can be H (hidden)
H (hidden)
A field flagged H is not displayed on the screen. This field must also be filled in the background by a routine at an event.
The system writes R and H fields to the database like all other fields when a new data record is saved. -
Can we hide the field in Shopping Cart of SRM
Hi..
Can we hide the field in Shopping Cart of SRM??
I have to hide some of the fields from SRM shopping cart screen. is it possible to hide the fields??
Please suggest me
Thanks.
Regards,
Manoj TiwariHy,
For screen variants, just go to transaction SHD0.
The only screen variants available in SRM 4.0 are:
Item data overview in an invoice without purchase order reference: BBP_IV_NON_PO
Item data overview in the invoice with purchase order reference: BBP_IV
Item data overview in the confirmation: BBP_CF
Item data overview in the confirmation for time recording: BBP_CF_TIMEREC
Item data overview in the purchase order: BBP_PO;
Item data overview for contracts: BBP_CTR_ITEMLIST
Item data overview for selection of contracts: BBP_CTR_ITEM_SELLIST
Search results for entering an invoice and/or confirmation: BBP_SEARCH_PO
Search results for entering a purchase order: BBP_SEARCH_SC
Search results for displaying/processing an invoice: BBP_CHANGE_IV
Search results for displaying/processing a confirmation: BBP_CHANGE_CF
Search results for entering/displaying/processing/status of a shopping cart: BBP_SC;
Worklist for Sourcing: BBP_SOCO_WL
Work area in Sourcing: BBP_SOCO_GA
This is very light, and most of the SRM project have to make Templates, or ABAP screens repairs, to Hide/Show fields.
Regards.
Vadim -
Problem with hidding Search fields used to pass IDs to the table
Hello,
I have a problem which may be trivial but I cannot find the solution for quite a long time.
Please help
I have created a standard Search Panel with CustomSimpleSearch
I have LOVs to search for manager and organizations. You simply choose the a manager of an organization from the list.
Then I would like to put the values back on the original form
in two fields (in case of manager)
Manager name - visible for users so they know what they selected
Manager ID - to use to search the records in the table I have
SO I have defined mappings and the values are passed and then
the records are found based on Manager ID. The only problem is
I don;t want the ID to be displayed on the screen. I would like to hide this
messageTextInput
but I cannot
I tried setting the following attributes:
Rendered = false -> searching does not work
Secret = true -> searching does not work
Length = 0 - > lenght does not change
How to hide this field so that the ID is passed to it transparently and then the value is used for searching ?
Thank You in advance for Your help
This forum is great
MichaelUse formValue bean instead of messageTextInput. It is used for the very same purpose which you are looking for.
--Shiv -
How to hide selection fields when using logical database PNP
hi.
i m using a logical database PNP and report catagory 1PY_DEF in my program.
but when i execute it , it shows to selection box. one name is period and second is selections.
but i just want to show only period box selection fields , not the selection box fields.
how it iz possible.HI,
In my case i haved used the PNP logical database..in the selection box i don't wnat to display Contorling area,Cost Center & Organizational Unit. i have written this code to hide those fields..
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-name CS 'PNPKOKRS' OR
screen-name CS 'PNPKOSTL' OR
screen-name CS 'PNPORGEH'.
screen-active = '0'.
screen-invisible = '1'.
MODIFY SCREEN.
CLEAR screen.
ENDIF.
ENDLOOP.
Try modify hide the total block instead of individual fields in that block. -
How to hide Incoterms field in CRM Internet Sales/E-Commerce 5.0
Good morning !
I´m customizing the Web/java part of the CRM E-Commerce 5.0(Internet Sales), and I need to hide the field Incoterms, that is visible in the Order screen, inside the Additional Order Data.
Looking at the page order.jsp(that is the page of the Order screen), I saw that the Incoterms are visible when the method showIncoterms() from class BasketUI returns true, and, seeking for this method, I was found that it belong to class SalesDocumentUI and, at this class, this method returns true when both the methods isBackendR3() and isSoldToChangeable(), returns false.
The E-Commerce, is connected to CRM, so, the method isBackendR3() will return false, so, I need to found what I need to do to the method isSoldToChangeable() returns false too. Looking in it´s definition, I found that it´s result is get from the method isSoldToSelectable() from the class Shop.
I think that the method isSoldToSelectable(), will return true or false depending on some parametrization of the CRM, or the webshop, but I´m not finding what the parameter I need to set.
Done somebody already this ?
Thank you in advance !
WilsonGood Morning !
I solved this changing the code in the JSP responsible to show the incoterms fields.
Best regards,
Wilson -
Hide selection fields in SAP PS Report (TCode:S_ALR_87013533)
Dear Friends,
We are implementing EP. In that i have to take one report of PS which tcode is S_ALR_87013533.
In this report having various selection parameters field in 1st screen.But i want only Project defination field to be displayed and remaing fields i wanted to be hide.
So EP user will put only Project Defination and will acess the ps releated report.
What is the way to hide remaing field in that report.Is their any screen layout avail. for the reporting t codes in customizing.
If any other way is avail. pls let me know.
Thanks & Regards,
Sandeep N.TheurkarDear Hemant,
Firstly thanks for your helpful answer.
I have created new db profile using tcode optx & given selection criteria proj definition.also i have given plan version "0"
But problem is system is showing following error " No costs, revenues or finances were selected".
Pls tell me how to come out from this problem.
Regards,
Sandeep N.Theurkar -
Background fill floating fields?
Is there a way to background specific text within a text object? I'm trying to shade my floating fields. It looks like the background fill
only applies like borders, so it only applies to the entire text object.
I know you can change the color of words within a text object. Seems like the ability to background fill particular words should be a basic feature.
ThanksI figured this out. When you create the static text object at design time, make sure that it has a word with a different colour or font or something. That will ensure that its value property contains an exData object with contentType="text/html". Now you can change the contents at run time with (I've replaced the angle brackets with {}):
var theXML = "{body xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:xfa=\"http://www.xfa.org/schema/xfa-data/1.0/\" xfa:APIVersion=\"2.5.6290.0\"}{p style=\"text-decoration:none\"}The{span style=\"xfa-spacerun:yes\"} {/span}{span style=\"color:#ff0000\"}quick{/span} brown fox.{/p}{/body}";
StaticText1.value.exData.loadXML(theXML,true);
Jared Langdon
www.jlangdon.ca -
Show/Hide JSF field based on SelectOnceChoice using Model Driven List
Hello All,
I have a use case where I want to show or hide fields based on values populated in SelectOneChoice. I have View master and View Lookup, master has a field named product which displayed selectiononechoice of product name built using lookup view as accessor. I am storing id of lookup type inside product column. Based on a product name say "abc" I want to hide subsequent fields. Can anyone please tell me how to implement this?
I am using ADF 11g version 11.1.2.
Thanks,
DipalIf I understand you correctly, you are trying to show/hide subsequent fields based on the value selected from a selectonechoice?
Did you try using partial triggers and EL for setting the rendered attribute on subsequent fields and setting autosubmit to true on selectonechoice?
Kristjan
Maybe you are looking for
-
I need an older version of keynote for my older Mac running 10.7.5
How can I get an older version of keynote for my older Mac running OS Lion 10.7.5. I have it purchased for my newer Mac.
-
Can't open images or tracks in gallery on E61i?
I recently switched from N95 to E61i and when I put my existing memory card in from my N95 I cannot access the images or tracks from the gallery. The handset shows "opening" but never opens and I have to power cylcel. Any help?
-
Bug - OutOfMemory - FDS console logging
FDS when set up for debug logging can crash the JVM with OutOfMemory exception while sending output to console. It begins eating hundreds of megs until in my case about 1GB of memory is the limit. Turning off debug solved my immediate problem of the
-
Hello, Our client has a process of freight payment to vendors (carriers) through ERS. Service PO is available on the carriers with ERS. Following sales process triggers service entry sheet for the Service PO. Create sales order VA01 Create Delivery V
-
How to create an Obligatory Authorization Vairable?
Hi guys i need to create an obligatory variable for authorization, when i create a variable it is always set up as optional when i execute my query in Portal the filter window is not showed and the query is executed directly...... Any suggestion to a