How to resize JDialog after making some fields invisible?
Hi,
I have many fields in a JDialog box. And I am making some of them invisible (based on some logic).
Even though I am using invisible, the dialog size is not resized automatically.
I can see so much space and it is not good.
Is there any way so that I can resize this dialog?
Regards,
Praveen
Praveen_Kumar_Jayaram_1985 wrote:
But I am not using any layout manager. It is free design. Is there any way to achieve my requirement without using layout manager?But this is what layout managers are made for. Why not use the correct tool for the job? Also, please do not cross-post questions in multiple forums. This will frustrate anyone who tries to help you only to find out later that the same answer was given hours ago in a cross-posted thread. For this reason, many volunteers here and at the other sites refuse to help repeat offenders.
Similar Messages
-
PR after release - Some fields grey off (Confiq settings?)
Dear Gurus,
Once after releasing the Purchase requistion, some field get greyed off automatically, where can i see the configuration in SPRO, Please adviceHi,RS
There are below factor will impact the purchase screen layout:
1.Transaction(Tcode)
2.Document typpe
3.item catagoty
4.acc assignmnet catagoty
5.release status
6.authorization to display prices
For the release status,we could go to below path:
SAP Customizing Implementation Guide->Materials Management->Purchasing->Purchase Requisition->Release Procedure->Procedure with Classification->Set Up Procedure with Classification,and press Release indicator,you will get a screen and one item ,press the magnifier,you will look for the field of Field selection key. You could get value of Field selection key.
Then
go to
SAP Customizing Implementation Guide->Materials Management->Purchasing->Purchase Requisition->Define Screen Layout at Document Level,you will find the itemas per the Field selection key and go in.
Dick Hua -
Making Some field mandatory in J1IS
Dear All,
Can you pls let me know can we make some field as mandatory in J1IS trasaction.
like :-
- Assesable value
- BED
- Ecess
Is there any possibility to make this in IMG or any other way.
pls let me know.
Regards,
Nagaraj SDear,
Yes you can do this also make it user specific through Transaction variant SHD0
You can use below link to know how to use this
https://wiki.sdn.sap.com/wiki/display/Snippets/Transaction%20Variant%20-%20A%20Step%20by%20Step%20Guide%20for%20Creation
Hope it helps you.
Regards,
R.Brahmankar -
How to supress sign after the amount field
Hi All,
How to suppress the sign after the amount field is it using only no-sign or any other ways are there for doing that?
Regards
MaheshHi,
Please use the Variable type BSEG-DMBTR, which does not support any sign. <REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 20, 2008 2:07 PM -
How to exclude Required Validation for some fields?
Hi,
I have a page in a form with some fields that are set as required like this:
Field 1 Field 2
table
Field 3 Field4 "Add" button
Field 5 Field 6
"Submit" button
There are two buttons in this form. The "Add" button is PPR allows adding Field 3 and Field 4 to the table. The "Submit" button is for the actual submission and processing. When "Add" button is pressed, I only want the require validation to be done for Field 3 and Field 4, but not Field 1/Field 2/Field 5/Field 6.
Currently, if I press "Add" button, the required field validations are triggered for all six fields. How can I only limit the require validation to some required fields only for this button?
Thanks
-Minasubform is a great idea and kinna what I needed in this situation, but there is another challenge.
In my case, I tried to put table, Field 3 and Field 4 in subform:
Field 1 Field 2
<af:subform>
table
Field 3 Field4 "Add" button
</af:subform>
Field 5 Field 6
"Submit" button
When I press "Add" button, Required validation still triggered for all fields. Only if I put Field 1 and Field 2 in another subform, and Field 5 and Field 6 in a different subform. Then it works like this:
<af:subform>
Field 1 Field 2
</af:subform>
<af:subform>
table
Field 3 Field4 "Add" button
</af:subform>
<af:subform>
Field 5 Field 6
"Submit" button
</af:subform>
But in my case, I need Field 1, Field 2, Field 5, Field 6 and "Submit" button to be in the same subform, as the "Submit" button applies to these four fields. In the UI design, Field 3 and Field 4 are between Field 1/Field 2 and Field 5/Field 6 though.
Any other ideas? -
Getting error when trying to deploy the SQL project after making some changes
I’m getting the below error message, when I’m trying to deploy the project by making some changes.
In detail, The project was deployed successfully at first time. Later I did some changes(Added 1 more table) and I tried to deploy, but it was not sucess. I'm getting the below error message
Error message:Cannot upgrade the DAC for database CTR_FIN_FINNOTE_DB because the compatibility level is 70 or lower. Alter the database to support a compatibility level of 80 or higher
I checked in SQL, the compatibility level is 110 which is higher than 70.
Can any one help me out to overcome with this.
Regards
Sk.Try to uninstall you application and then deploy again with the new changes.
jdweng -
How to display values after doing some business logic in data action
hi guys i got the same problem but iam unable to display the values..in my display page when iam trying to do some business logic in my data action class..
can u guys help me out
iam pasting my code which iam working here
my struts-config.xml
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<form-beans>
<form-bean name="DataForm" type="oracle.adf.controller.struts.forms.BindingContainerActionForm"/>
</form-beans>
<action-mappings>
<action path="/inputform" className="oracle.adf.controller.struts.actions.DataActionMapping" type="oracle.adf.controller.struts.actions.DataForwardAction" name="DataForm" parameter="/inputform.uix">
<set-property property="modelReference" value="inputformUIModel"/>
<forward name="success" path="/inputAction.do"/>
</action>
<action path="/inputAction" className="oracle.adf.controller.struts.actions.DataActionMapping" type="order.view.InputAction" name="DataForm">
<set-property property="modelReference" value="displaypageUIModel"/>
<forward name="success" path="/displaypage.do"/>
</action>
<action path="/displaypage" className="oracle.adf.controller.struts.actions.DataActionMapping" type="oracle.adf.controller.struts.actions.DataForwardAction" name="DataForm" parameter="/displaypage.uix">
<set-property property="modelReference" value="displaypageUIModel"/>
</action>
</action-mappings>
<message-resources parameter="order.view.ApplicationResources"/>
</struts-config>
my input form uix
<?xml version="1.0" encoding="windows-1252"?>
<page xmlns="http://xmlns.oracle.com/uix/controller"
xmlns:ui="http://xmlns.oracle.com/uix/ui"
xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
xmlns:html="http://www.w3.org/TR/REC-html40"
expressionLanguage="el">
<content>
<dataScope xmlns="http://xmlns.oracle.com/uix/ui">
<provider>
<!-- Add DataProviders (<data> elements) here -->
</provider>
<contents>
<document>
<metaContainer>
<!-- Set the page title -->
<head title=""/>
</metaContainer>
<contents>
<body>
<contents>
<form name="form0" method="post">
<contents>
<messageTextInput model="${bindings.password}" text="username"/>
<messageTextInput model="${bindings.username}" text="password"/>
<submitButton text="submit" event="success" destination="inputAction.do"/>
</contents>
</form>
</contents>
</body>
</contents>
</document>
</contents>
</dataScope>
</content>
<handlers>
<!-- Add EventHandlers (<event> elements) here -->
</handlers>
</page>
my display uix
<?xml version="1.0" encoding="windows-1252"?>
<page xmlns="http://xmlns.oracle.com/uix/controller"
xmlns:ui="http://xmlns.oracle.com/uix/ui"
xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
xmlns:html="http://www.w3.org/TR/REC-html40"
expressionLanguage="el">
<content>
<dataScope xmlns="http://xmlns.oracle.com/uix/ui">
<provider>
<!-- Add DataProviders (<data> elements) here -->
</provider>
<contents>
<document>
<metaContainer>
<!-- Set the page title -->
<head title=""/>
</metaContainer>
<contents>
<body>
<contents>
<form name="form0">
<contents>
<messageStyledText model="${bindings.password}" prompt="Prompt 0"/>
<messageStyledText model="${bindings.username}" prompt="Prompt 1"/>
</contents>
</form>
</contents>
</body>
</contents>
</document>
</contents>
</dataScope>
</content>
<handlers>
<!-- Add EventHandlers (<event> elements) here -->
</handlers>
</page>
my model bean
package order.model;
public class TestBean
private String username;
private String password;
public TestBean()
public String getUsername()
return username;
public void setUsername(String username)
this.username=username;
System.out.println("the username after actions class:"+username);
public String getPassword()
return password;
public void setPassword(String password)
this.password=password;
my data Action class
package order.view;
import oracle.adf.controller.struts.actions.DataAction;
import oracle.adf.controller.struts.actions.DataActionContext;
import oracle.jbo.uicli.binding.JUCtrlActionBinding;
import oracle.jbo.uicli.binding.JUCtrlAttrsBinding;
import order.model.TestBean;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionForward;
public class InputAction extends DataAction
* Delegate to the Struts page lifecycle implementation
* {@link StrutsJspLifecycle#findForward findForward}
* @param actionContext the lifecycle context for the DataAction
* @throws Exception
protected void findForward(DataActionContext actionContext) throws Exception
// TODO: Override this oracle.adf.controller.struts.actions.DataAction method
//super.findForward(actionContext);
TestBean testbean=new TestBean();
System.out.println("this is action form"+actionContext.getActionForm());
String username=(String)((JUCtrlAttrsBinding)actionContext.getBindingContainer().findCtrlBinding("username")).getInputValue();
System.out.println("this is username"+username);
String username1=username+"hye wats up";
testbean.setUsername(username1);
ActionForward forward=actionContext.getActionForward();
ActionMapping mapping =actionContext.getActionMapping();
System.out.println("this is mapping"+mapping);
mapping.findForward("success");
// To handle an event named "yourname" add a method:
// public void onYourname(DataActionContext ctx)
// To override a method of the lifecycle, go to
// the main menu "Tools/Override Methods...".
check this out iam unable to display in my display page so help me out if any one canNo, in this case, I'm using standard JSP with ADF and struts validator.
If I don't use struts validator and there are errors (such as putting a string into a number which produces a jbo-25009), the list value will be retained.
When using the validator, it appears that it is NOT retained.
I've written some code to attempt to set the list element back, which "looks like" it's working right now.
There's still a problem with the second scenario:
1. user clicks checkbox and hits [submit]
2. get's error - you have to enter 5 address items
3. User wants to backout, so he unchecks the box and resubmits
4. The box redisplays as "checked"
SO, at that point, I thought... can't I use YOUR EXAMPLE on how to handle a checkbox.
I place some code in the reset method of the form to perform this:
map.put("AddressChangeFlag", (String) "" );
(that is, I've detected via the request that this flag is null), so I'm trying to make sure it retains it!
I do that and it runs into a problem during the processUpdateModel aT:
BindingContainerValidationForm updateForm= (BindingContainerValidationForm) actionContext.getActionForm();
//Get the binding for our particular column JUCtrlAttrsBinding checkBoxBinding = (JUCtrlAttrsBinding)updateForm.get("AddressChangeFlag");
call, with an error:
JBO-29000: Unexpected exception caught: java.lang.ClassCastException, msg=java.lang.String
java.lang.String
The value for updateForm.get("AddressChangeFlag") is "", which I'm assuming means the form field is no longer in the request object??
I'm lost at this point, and have been working on it for more than 1 day.
Thanks for responding though, and I await feedback ;) -
Website works in live view but actual site it totally gone after making some edits.
I have had my website through dreamweaver for about a year now. I have been using "simple viewer" program as my gallery for images. However lately I had been having trouble updating and changing images. So yesterday I set up a gallery with the dreamweaver "lightbox" widget. Everything works fine in the dreamweaver live view but when I put the site to my domain its now totally gone. It seems that the site is still trying to link back to the simpleviewer gallery, but nothing shows up, just a white page. I am not sure what is going on here. Customer support through my web host was unhelpful. My site is
www.ryancomptonart.comWhen I changed galleries (the gallery is on the index page) I just deleted the simple viewer code and added the lightbox code and resaved the same index_html file.
Here is the entire index page with the new lightbox code: warning this is very long because of the amout of images:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The Art of Ryan J Compton</title>
<link href="styles.css" rel="stylesheet" type="text/css" />
<link href="css/lightbox.css" rel="stylesheet" type="text/css" />
<link href="css/sample_lightbox_layout.css" rel="stylesheet" type="text/css" />
<script src="scripts/jquery.js" type="text/javascript"></script>
<script src="scripts/lightbox.js" type="text/javascript"></script>
<style type="text/css">
/* BeginOAWidget_Instance_2127022: #gallery */
.lbGallery {
/*gallery container settings*/
background-color: transparent;
padding-left: 20px;
padding-top: 20px;
padding-right: 20px;
padding-bottom: 20px;
width: 600px;
height: auto;
text-align:center;
.lbGallery ul { list-style: none; margin:0;padding:0; }
.lbGallery ul li { display: inline;margin:0;padding:0; }
.lbGallery ul li a{text-decoration:none;}
.lbGallery ul li a img {
/*border color, width and margin for the images*/
border-color: #3e3e3e;
border-left-width: 10px;
border-top-width: 10px;
border-right-width: 10px;
border-bottom-width: 20px;
margin-left:5px;
margin-right:5px;
margin-top:5px;
margin-bottom:5px:
.lbGallery ul li a:hover img {
/*background color on hover*/
border-color: #ffffff;
border-left-width: 10px;
border-top-width: 10px;
border-right-width: 10px;
border-bottom-width: 20px;
#lightbox-container-image-box {
border-top: 0px none #ffffff;
border-right: 0px none #ffffff;
border-bottom: 0px none #ffffff;
border-left: 0px none #ffffff;
#lightbox-container-image-data-box {
border-top: 0px;
border-right: 0px none #ffffff;
border-bottom: 0px none #ffffff;
border-left: 0px none #ffffff;
/* EndOAWidget_Instance_2127022 */
</style>
<script type="text/xml">
<!--
<oa:widgets>
<oa:widget wid="2127022" binding="#gallery" />
</oa:widgets>
-->
</script>
</head>
<body>
<div id="container">
<div id="header"> </div>
<div id="navbar"><a href="index.html">Paintings</a> |<a href="about.html">About</a> |<a href="contact.html">Contact</a> |<a href="http://www.theopticblend.blogspot.com/">Blog </a>|<a href="Commissions.html">Commissions</a></div>
<div id="page">
</script>
<div id="gallery" class="lbGallery">
<ul>
<li> <a href="../../Unnamed Site 2/images/lightboximages/Backpack Officalfull.jpg" title=""><img src="../../Unnamed Site 2/images/lightboximages/Backpack Officalthumb.jpg" width="72" height="55" alt="Flower" /></a> </li>
<li> <a href="../../Unnamed Site 2/images/lightboximages/Officalbathfull.jpg" title=""><img src="../../Unnamed Site 2/images/lightboximages/Officalbathtum.jpg" width="72" height="58" alt="Tree" /></a> </li>
<li> <a href="../../Unnamed Site 2/images/lightboximages/pipefull.jpg" title=""><img src="file:///C|/Users/Ryan/Documents/Unnamed Site 2/images/lightboximages/pipetum.jpg" width="54" height="72" alt="" /></a> </li>
<li> <a href="../../Unnamed Site 2/images/lightboximages/skinny chairfull.jpg" title=""><img src="../../Unnamed Site 2/images/lightboximages/skinny chairtum.jpg" width="28" height="72" alt="" /></a> </li>
<li> <a href="../../Unnamed Site 2/images/lightboximages/water jugfull.jpg" title=""><img src="../../Unnamed Site 2/images/lightboximages/sinktum.jpg" width="54" height="72" alt="" /> <img src="../../Unnamed Site 2/images/lightboximages/water jugthum.jpg" width="54" height="72" alt="" /></a></li>
<li><a href="../../Unnamed Site 2/images/lightboximages/lampfull.jpg" title=""><img src="../../Unnamed Site 2/images/lightboximages/lamptum.jpg" width="72" height="58" alt="" /></a><a href="../../Unnamed Site 2/images/lightboximages/italyfull.jpg" title=""><img src="../../Unnamed Site 2/images/lightboximages/italytum.jpg" width="56" height="72" alt="" /></a><a href="../../Unnamed Site 2/images/lightboximages/hangerfull.jpg" title=""><img src="../../Unnamed Site 2/images/lightboximages/hangertum.jpg" width="72" height="50" alt="" /></a><a href="../../Unnamed Site 2/images/lightboximages/fireexfull.jpg" title=""><img src="../../Unnamed Site 2/images/lightboximages/fireextum.jpg" width="58" height="72" alt="" /></a><a href="../../Unnamed Site 2/images/lightboximages/memboxfull.jpg" title=""><img src="../../Unnamed Site 2/images/lightboximages/memboxtum.jpg" width="62" height="72" alt="" /></a><a href="../../Unnamed Site 2/images/lightboximages/buwrapfull.jpg" title=""><img src="../../Unnamed Site 2/images/lightboximages/buwraptum.jpg" width="66" height="72" alt="" /></a><a href="../../Unnamed Site 2/images/lightboximages/dbathfull.jpg" title=""><img src="../../Unnamed Site 2/images/lightboximages/dbathtum.jpg" width="64" height="72" alt="" /></a><a href="../../Unnamed Site 2/images/lightboximages/messkitfull.jpg" title=""><img src="../../Unnamed Site 2/images/lightboximages/messkitthumb.jpg" width="72" height="87" alt="" /></a></li>
<li><a href="../../Unnamed Site 2/images/lightboximages/orangefull.jpg" title=""><img src="../../Unnamed Site 2/images/lightboximages/orangetum.jpg" width="72" height="58" alt="" /></a><a href="../../Unnamed Site 2/images/lightboximages/waitfull.jpg" title=""><img src="../../Unnamed Site 2/images/lightboximages/waittum.jpg" width="72" height="56" alt="" /></a><a href="../../Unnamed Site 2/images/lightboximages/xmas ballsfull.jpg" title=""><img src="../../Unnamed Site 2/images/lightboximages/xmas ballsthum.jpg" width="58" height="72" alt="" /></a><a href="../../Unnamed Site 2/images/lightboximages/fanfull.jpg" title=""><img src="../../Unnamed Site 2/images/lightboximages/fantum.jpg" width="72" height="51" alt="" /></a></li>
<a href="../../Unnamed Site 2/images/lightboximages/cupsaucefull.jpg" title=""><img src="../../Unnamed Site 2/images/lightboximages/cupsaucetum.jpg" width="72" height="53" alt="" /></a>
</ul>
</div>
<script type="text/javascript">
// BeginOAWidget_Instance_2127022: #gallery
$(function(){
$('#gallery a').lightBox({
imageLoading: '/images/lightbox/lightbox-ico-loading.gif', // (string) Path and the name of the loading icon
imageBtnPrev: '/images/lightbox/lightbox-btn-prev.gif', // (string) Path and the name of the prev button image
imageBtnNext: '/images/lightbox/lightbox-btn-next.gif', // (string) Path and the name of the next button image
imageBtnClose: '/images/lightbox/lightbox-btn-close.gif', // (string) Path and the name of the close btn
imageBlank: '/images/lightbox/lightbox-blank.gif', // (string) Path and the name of a blank image (one pixel)
fixedNavigation: false, // (boolean) Boolean that informs if the navigation (next and prev button) will be fixed or not in the interface.
containerResizeSpeed: 400, // Specify the resize duration of container image. These number are miliseconds. 400 is default.
overlayBgColor: "#999999", // (string) Background color to overlay; inform a hexadecimal value like: #RRGGBB. Where RR, GG, and BB are the hexadecimal values for the red, green, and blue values of the color.
overlayOpacity: .6, // (integer) Opacity value to overlay; inform: 0.X. Where X are number from 0 to 9
txtImage: 'Image', //Default text of image
txtOf: 'of'
// EndOAWidget_Instance_2127022
</script>
</script>
<div id="sv-container"></div>
</div>
<div id="footer"></div>
</div>
</body>
</html> -
Cannot boot in Windows 8.1 anymore (after making some changes in both systems)
Problem: I cannot boot in the Windows 8.1 partition created with Bootcamp anymore. When I try to do that, the system displays the grey screen then goes into a command line mode similar with MS-DOS and asks for inserting a disk (it reports no bootable drive).
Possible causes:
- I disabled the Bootcamp process in the Notification area in the Windows 8.1 systray
- I created a new partition in OS X on which I installed an older OS X version I still need to use (Mt Lion)BroFlav wrote:
Can you tell me what exactly I should do in gdisk after merging the OS X partitions with their respective Recovery partitions?
Thanks, in advance.
Once you have EFI, Yosemite HD, Lion HD and Bootcamp, use the following steps. Your values will be different then this example. Use defaults except the boot ability flag for the last Bootcamp partitions to be 'y'.
sudo gdisk /dev/disk0
GPT fdisk (gdisk) version 0.8.10
Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Partition table scan:
MBR: hybrid
BSD: not present
APM: not present
GPT: present
Found valid GPT with hybrid MBR; using GPT.
Command (? for help): p
Disk /dev/disk0: 490234752 sectors, 233.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 59BDFEEB-1EB4-4529-94FE-3CBC2C3CD513
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 490234718
Partitions will be aligned on 8-sector boundaries
Total free space is 2604 sectors (1.3 MiB)
Number Start (sector) End (sector) Size Code Name
1 40 409639 200.0 MiB EF00 EF
2 409640 401060383 191.0 GiB AF05 Macintosh HD
3 401060384 402329919 619.9 MiB AB00 Re
4 402331648 490233848 41.9 GiB 0700 Microsoft basic data
Command (? for help): r
Recovery/transformation command (? for help): h
WARNING! Hybrid MBRs are flaky and dangerous! If you decide not to use one,
just hit the Enter key at the below prompt and your MBR partition table will
be untouched.
Type from one to three GPT partition numbers, separated by spaces, to be
added to the hybrid MBR, in sequence: 2 3 4
Place EFI GPT (0xEE) partition first in MBR (good for GRUB)? (Y/N): y
Creating entry for GPT partition #2 (MBR partition #2)
Enter an MBR hex code (default AF): AF
Set the bootable flag? (Y/N): n
Creating entry for GPT partition #3 (MBR partition #3)
Enter an MBR hex code (default AB): AB
Set the bootable flag? (Y/N): n
Creating entry for GPT partition #4 (MBR partition #4)
Enter an MBR hex code (default 07): 07
Set the bootable flag? (Y/N): y
Recovery/transformation command (? for help): w
Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!
Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/disk0.
Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Warning: The kernel may continue to use old or deleted partitions.
You should reboot or remove the drive.
The operation has completed successfully.
Now Reboot and verify the output of fdisk again. -
Conditionally making a field invisible.....
XMLP Gurus,
Some of the values in a column has dots(.). Conditionally i have to make it invisible.
I tried replacing null value for a dot using decode function, but in this case the other column values are shifting themselves up by taking place of null values thus losing sync with other columns.
After the decode statement i want the null value to remain null in sync with the other columns instead of replacing the null value with a value below it (shifting up)
Thanks in advance.Hi venkat,
Thanks for the reply.
Originally the problem persisted with the null values in the column and it is getting shrinked when the statement goes to the second page.
This template is already created and I need to modify it. There are six different columns in the template and each column has its own for each and END for each (similar grouping for all say G_XYZ).
Say in the 5th column if the first row in the second page(continuation from first page) is null then it is shiftng itself up losing sync with the other columns.
To over come this I used decode in the 5th column field. I replaced the null value with a dot. It is working fine now(shrinking problem is nailed) but the users dont like the dot in place of null value.
I tried to make the dot invisble using:
<?if:AMOUNT_DUE=''?><xsl:attribute xdofo:ctx="block" name="background-color">white</xsl:attribute><?end if?>
But it is throwing error: " XML-22047: (Error) Invalid instantiation of 'Attribute' in 'Element' context." .
It does not like ctx="block" and if I replace block with line or inline, it is working as expected.
The solution I am looking for now is to avoid shrinking of null values at first place. If not then substitute this null with some value that is invisible (say invisible dot) and avoid shrinking.
Any help is highly appreciated.
Thanks....... -
Making the fields invisible or etc. at the item overview screen
At the header data of the sales documents, there exist incoterms and payment terms. I want to make those invisible at the item overview screen (under Billing Document tab). I just want those data root from the header data, not from the item data. I don't want to enter data (about payment terms or incoterms) on the item overview screen.
Thank you for your consideration but can you please explain step by step.
Also to be more clear; the incoterm datas of the sales document's items come from the customer master data. Person can change or enter data about incoterms although there may exist different incoterm data at the header. That's why I want to hide or make unchangeable the incoterm field at the billing document tab of item data.
Thanks in advance. -
hi,
I am having a no of text views in which data is coming from data base. Now my requirement is if there is no value in text view then it should nt be visible.
plz suggest hw can i proceed.
i can nt bind every UI with attribute and control its visibility independently. because no of UI are very large.Yes.
Maybe you can use "CL_WD_TEXT_VIEW" in the "WDMODIFYVIEW" method.
for example:
"1st, you should add all the Text-view UI element into one internal table which has the ID of the UI element.
data: lo_txt_view type ref to CL_WD_TEXT_VIEW.
loop at lt_all_txt_views into ls_txt_view.
lo_txt_view ?= view->get_element( ls_txt_view-ID ).
if the context attribute value binded to the text_view is initial.
lo_txt_view->set_eneable( abap_false ).
endif.
endloop.
Best Wishes. -
Need help suppressing some fields and tabs in documents
Hello everyone, I have just begun working as an SD consultant, and found the following challenge:
I was asked to figure out how to make some fields invisible and even take out an entire tab form the different sales documents.
Can anyone please guide me on how to accomplish this? I would be really grateful. If this post is not clear enough, please just let me know.
Thank you in advance,
DanHi
By suppressing fields for particular transaction can be done as belwo
1. T code SHD0 and create the z variant for the t code that you want to supress the fields.
2.Once supress fields has been done u activate the same by going to standard variants
3.you can see the variant in the tcode by going to system --status
if you want to supress the whole tab then better to consult the ABAPER to do that
REgards
Damu -
How can I allow the application to line through a field that has been locked after being digitally signed?
We have multiple sections on a form with some fields being proposed information and other in another section having the approved information. once the approved information is entered we line through the proposed field so the data entry clerk won't pick up the wrong information. However we are receiving an error when attempting to enter data in the field which we have this edit. Error property: line through cannot be set because doing so would violate the document permission setting. any idea how we can get around this issue?You can control which fields are locked down after signing by setting up a collection. Then those that are not locked can be changed after signing. If this is not possible, then the line outs must occur prior to signing.
-
How to make fields disappear after making them appear
I've got a drop-down list with a question like this: Q) how many people did you interview? and you can select a number that corresponds to the number of people you interviewed. I've got the fields appearing without any problems, so if I select 2, I get two text fields to appear asking for the names of the people you interviewed.
My problem is once I select a number, lets say I select 4 by mistake but intended to select 3, I get 4 text fields appearing. However if I go back and select 3, which is the number of fields I wanted, I still have 4 fields showing. How do I get the number of fields I select be the only number of fields to appear?Will the CSR have Acrobat or just Reader, and what type of computer will the CSR be using (Windows/Mac/mobile OS)? If just Reader (Wind/Mac), this is possible by setting the fields to read-only with JavaScript. The problem is this can't be considered secure, even if using a password as discussed here: Password-protect and hide one form field
With Acrobat you have the ability to flatten certain fields, which makes it a bit more difficult to change the "fields".
Maybe you are looking for
-
PO field values at the time of Rlease.
Hai folks, I want to know the values for fields at the time of PO release.. LIke if i create a PO and Release it and change it and release it(so on many times) How will I know the values of fields at each release time.. My report has to display all
-
HDV file plays in VLC but not Quicktime?
I have a 3 minute video, shot in 30fps HDV and exported to an HDV (1080i60) Quicktime File (.mov). The file plays great with VLC, but Quicktime tells me a component is missing. It plays the audio, but no video shows. Even if I download whatever compo
-
Revision: 2200 Author: [email protected] Date: 2008-06-24 07:46:04 -0700 (Tue, 24 Jun 2008) Log Message: The main package will now also include the ja swc's and properties files. -it will not include the samples, these will still be in the ja zip bug
-
Syncing Purchased Ringtones To IPhone
I'm having difficulty getting my purchased ringtones to show up in my ringtone file so that I may use. Any suggestions?
-
2 way and 3 way Invoice matches
We are using a 3 way match invoice verification in ECC in association with our SRM system, using tolerance key PP - we would like to use a 2 way match for certain vendors, typically below $1K POs. Any suggestions to have both in place?