Regarding component's x position
hi
i dont whether this is the correct forum to ask my doubt.im entirely new to form development.
so plz help me with this doubt.
i placed a text item in a form.i specified some x position to that text item.then is specified its prompt.so it displayed in the left side and i adjusted the prompt with proper spacing etc.
i want to know how can we find out x position form where the prompt is starting.
ie. if we specify a x position its getting applied to text box starting corner.and the prompt come automatically in front of it.so i want to know how to get the x position from where the prompt starts.
for eg: if there is text item with prompt "Name" i want to get the x position at "N".
hope u understood my doubt.plz help me.its really urgent
rgds
use Get_item_property to get the prompt distance from the text item use the following property PROMPT_EDGE_OFFSET
Similar Messages
-
Critical B2B issue regarding component seprator
Hi Guru's
we are facing one critical issue regarding component seprator. We want to have folling component seperator delimiter as "|" (HEXA 0x7c) e.g
ISA*00* *00* *01*041158668 *07*5051379000004 *100203*1259*^*00501*000001505*0*P*|~
where as we are getting ">" (hexa 0x3e)
ISA*00* *00* *01*041158668 *07*5051379000004 *100421*1532*^*00501*000001049*0*P*>~
I tried changing the value in capabilities of TP but it didn't effected the result. Also I tried changing the defualt values in Business Action but the result remained same.
Please advise us on how to resolve this issue. Its a requirement for us to have 0x7c.
any pointers will be highly appreciated.
Regards
SahilHi Sahil,
Override the default/current values in the operational capability of Remote Trading partner and revalidate and redeploy the agreement. Make sure that you are not passing internal properties from the back-end.
In case still the issue persists, mail back your b2b log, ecs file and payload.
Regards,
Anuj -
How do i add a Scroll Bar to a JList Component using absolute positioning?
I've got a applet whose content pane is set to null. I've create a jlist component on this applet and using absolute positioning set the bounds at
ListBox1.setBounds(380,10, 500, 500);.
My problem is creating add a scroll bar to the list box.
JScrollPane scrollPane = new JScrollPane(ListBox1);
C.add(scrollPane);
The above code is what i use and when i run this applet i don't see the list box at all. How do i add a scrollbar to this list box or JList component. Please help.You need to setBounds() on the JScrollPane, not the JList.
The JScrollPane is the component that is being added to the panel. -
Regarding Component interface controller
hi all
Can anyone explain me use of Component Interface Controller under Component with example.
Thanks in advance
ImityazHi,
Interface Controller
One Web Dynpro Component may declare the use of another Web Dynpro Component to form a u201CParent-Childu201D usage relationship. In such cases, the only point of interaction between the parent and child components is the functionality found in the childu2019s interface controller.
if an interface controller is part of a component interface, the controller editor is in change mode and the context, the events and the methods can be implemented and edited directly.
Refer this thread,step by step procedure is there.
/docs/DOC-8061#61 [original link is broken]
http://help.sap.com/saphelp_nw70/helpdata/EN/47/45641b80f81962e10000000a114a6b/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/EN/44/0dcafa2d9d1ca2e10000000a11466f/frameset.htm
Regards,
Sunaina Reddy T -
Regarding component usage in nwds7.1
Hi
I want to use methods and views of one webdynpro DC in another while working in nwds7.1 . In earlier version i.e. 7.0, to use a method of DC1 we would create a wrapper method in the interface controller of DC1 and call it in DC2. Can somebody explain the procedure or methodology to be used in 7.1 as here there is no implementation file i.e. java editor for interface controller.'
I also referred to the following document but unable to get the desired result.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30d56578-f7e5-2a10-5ab5-8afc55d2e0e8I figured out the solution. There should be similar method signatures in the interface controller and the component controller. After defining the appropriate usage, when the method is called from the interface contoller, the method is invoked in the component controller.
-
Specify Starting Position in Sender FCC
Hi Experts Team,
I wish to specify the starting position of field in sender FCC.
can i????
regards,
kandaHi,
I think positions we can't identify with FCC statements. fieldfixedlengths itself system will identify automatically. If column have any specific character indication we can do easily. Check it according to your requirement. -
How to determine the chief position?
Hi all,
How to determine whether the position is chief or non-chief?
Thanks.
Best Regards,
YaminCheck if the position has any 012 relationship with any orgunit.
If so then it is cheif. You can check hrp1001 table with 012 relationship you will have an idea.
You will see that if for a given position otype = S
objid = position no is there any relat = 012 in the current period in table hrp1001.
Regards,
Divya
Reward if helpful -
Display Authorization for webdynpro component
I have a requirement where , the source code has to be hidden . I have seen programs where it hides ABAP report but none for We dynpro. Is there a way to hide web dynpro code . Or is there any way to revoka even display authorization for the web dynpro components ? Please provide any suggestions.
Regards,
SriHi Srivijaya,
Go to application, parameters tab give WDDISABLEUSERPERSONALIZATION give value to 'X'. It will disable user personalization settings, user can't see any help regarding component.
Cheers,
Kris. -
Q: Component Pick Release
Hi all,
quick question regarding component pick release. I have a WIP job that needs 5 components. 3 are available and 2 are not. I release the available components to the warehouse. Now the warehouse is not supplying them all together. They are supplying one each day. I don't want to use Pick Set functionality because this will only create the move order if all components are available.
What I need is to receive all the available components together (in my example the 3). Can this be achieved by the Pick Slip Grouping rules?Hi,
Yes, please enter the Sub inventory & locator at BOM level.
So it will be available in WIP Job & Job mover order.
Thanks
ND -
Récupération des valeurs de position Y d'un curseur en mode multi-tracé
Bonjour, J’utilise Labview 8.5, je voudrai savoir comment récupérer les valeurs des positions Y d'un curseur lorsqu'il est en mode multi-tracé. Lorsque l'on fait apparaître la légende des curseurs, nous pouvons voir ces différentes valeurs des y selon les tracés (voir photo jointe). Dans mon cas, j'aimerai pouvoir les récupérer pour les utiliser.Est-ce possible ? Si oui, comment? Merci d'avance
Attachments:
valeur position.JPG 147 KBOui j'ai bien trouvé le paramètre "liste de curseurs ". Mais mon problème est que celui-ci renvoie un tableau de curseur. Chaque curseur est composé par un cluster: celui-ci permet entre autres de récupérer la position en x et y du curseur. Malheureusement en passant par ce système il ne nous est pas possible de récupérer les valeurs Y de chaque tracé pour un même point X lorsque ce curseur est configuré en multi-tracé. En effet en regardant le cluster, les positions X et Y ne sont pas des tableaux !!! Il prend alors à chaque fois la valeur du tracé actif. C'est étonnant que l'on ne puisse pas récupérer facilement ces valeurs. Néanmoins, j'ai du trouvé une façon de récupérer les différentes valeurs, mais elle me paraît bien lourde.Je n'utilise pas le curseur en mode multi-tracé mais seulement en mode tracé unique. Et dans une boucle, je viens récupérer la donnée Y en activant sur le curseur mes différents tracés un part un (grâce à "plot" de "liste de curseurs ").Cela me permet de récupérer les valeurs Y en fonction de X. Mais par contre d'un point de vue graphisme je perds l'atout de l'affichage en multi tracé où je pouvais avoir sur chaque tracé un point correspondant à l'endroit de la mesure. Y aurait-il une façon plus simple de faire me permettant de rester en mode multi-tracé?
Merci d'avance -
Hello,
is it possible to put the label of different values to a specific position?
I am working with SAP BI (7.0 - 2004s).
Thank you very much for your help.
Best regards,
PatriciaHi,
labels are positioned according to their customizing settings (Text properties: Horizontal position / Vertical position).
However, it also depends on the chart type you use.
Regards, Kai -
Text position compared to htmlText pos
Hello all, I've hit a bit of a snag with a text editor tool I
am developing. I have created a picture insertion tool which works
just fine until the user tries to upload more than 1 picture. The
problem is, that I do not have any good ideas how to derive the
location from the textfield when it is non-html text in regards to
it's position in the html text.
For example, lets say the text field consists of:
aabbccdd
This is with the text having the htmlText option so there are
other things actually there such as color, bold, etc. When the user
clicks on a position to insert a picture, say right before the
first b, I know in the text field that that is the 2nd position but
is there any way to tell what that position is with the html
included?
Thanks in advance.<p>The Look and Feel project has a Get_Cursor_Position() and Set_Cursor_position() methods.<br>
But it is maybe to heavy to use this Bean for your simple need...</p> -
Mic comboBox xy positions wrong in page load at first time....
i made a camChooser using camboBox component.
every thing is fine. but first time (page loading) camCombo(video combo) component x,y positions is ok, but micCombo(mic) x,y positions going to 0, 0.
after i refresh the page then going to correct position.
What is the wrong...?
please help...?
Code:
//====================Video SetUp ==========================
var cam:Camera = Camera.getCamera();
cam.setMode(canWidth, camHeight, camFPS, false);
cam.setQuality(camBW, camQuality);
cam.setMotionLevel(10, 2000);
videoDisp.attachCamera(cam);
videoDisp.smoothing = true;
var DDTextFormat:TextFormat = new TextFormat();
DDTextFormat.size = 10;
DDTextFormat.font = "Arial";
var camCombo:ComboBox = new ComboBox();
addChild(camCombo);
camCombo.textField.setStyle("textFormat",DDTextFormat);
camCombo.dropdown.setRendererStyle("textFormat",DDTextFormat);
camCombo.x = 130;
camCombo.y = 180;
camCombo.width = 110;
camCombo.height = 20;
for (var i:uint = 0; i < Camera.names.length; i++)
camCombo.addItem({label:Camera.names[i], data:i});
setdropdownwidths();
function setdropdownwidths()
var selectindex:Number = camCombo.selectedIndex;
var maxLength:Number = 0;
var j:uint;
for (j = 0; j < camCombo.length; j++)
camCombo.selectedIndex = j;
camCombo.drawNow();
var currText:String = camCombo.text;
var currWidth:Number = camCombo.textField.textWidth;
maxLength = Math.max(currWidth,maxLength);
camCombo.selectedIndex = selectindex;
camCombo.dropdownWidth = maxLength + 20;
camCombo.addEventListener(Event.CHANGE, onSelectCam);
function onSelectCam(event:Event):void
cam = Camera.getCamera(camCombo.selectedItem.data);
videoDisp.attachCamera(cam);
videoDisp.smoothing = true;
cam.setMode(canWidth, camHeight, camFPS, false);
cam.setQuality(camBW, camQuality);
cam.setMotionLevel(10, 2000);
//====================Audio SetUp ==========================
var micCombo:ComboBox = new ComboBox();
addChild(micCombo);
micCombo.textField.setStyle("textFormat",DDTextFormat);
micCombo.dropdown.setRendererStyle("textFormat",DDTextFormat);
for (var k:uint = 0; k < Microphone.names.length; k++)
micCombo.addItem({label:Microphone.names[k], data:k});
micCombo.x = 130;
micCombo.y = 158;
micCombo.width = 110;
micCombo.height = 20;
micCombo.addEventListener(Event.CHANGE, onSelectMic);
var mic:Microphone = Microphone.getMicrophone();
init();
function init()
mic.gain = 60;
mic.rate = 11;
mic.setUseEchoSuppression(true);
mic.setSilenceLevel(15, 1000);
function onSelectMic(event:Event):void
mic = Microphone.getMicrophone(micCombo.selectedItem.data);
init();i'm facing same problem.....
but i getting first time this error
Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds.
at broadcaster_fla::MainTimeline/frame1()[broadcaster_fla.MainTimeline::frame1:177]
177 line is
177: for (var m:uint = 0; j < Microphone.names.length; j++)
178: {
179: micCombo.addItem({label:Microphone.names[j], data:j});
180: micCombo.dropdown.rowHeight = 15;
181: micCombo.dropdown.horizontalLineScrollSize = 5;
182: } -
Create Routing BAPI_ROUTING_CREATE Component Allocation
Hi,
I am creating routings by using BAPI_ROUTING_CREATE Function Module.
But I am unable to update Component allocation data using this BAPI.
What all the variables do i need to pass for updating Component allocation
Can I have any Inputs Regarding Component Allocation for this BAPI.
Thanks in Advance
Best Regards
RasheedHi,
Check
Re: BAPI_ROUTING_CREATE and components allocation. -
Component controller Vs interface controller
Hi Experts
Please state me the difference and similarities between the component controller and interface controller
Regards
NoelHi
Similarities between these two is that both are controller but each having different purpose in the application
Component Controller
1.Starting point of any application,(you can't create any app without defining any Component)
2.Master Controller of the complete Component structure (View ,Model ,interface ,window)
3.If function defined in Component Controller or Custom Controller it is available to any controller within your component (Interface, View, Custom) but not available outside.
Interface Controller
1. To make Contents outside of the world one separate controller called Interface Controller come into picture
whose only task is to exposing of the content to outside.
take further help from following threads
1.[Component Controller,Custom Controller,interface controller|Component Controller,Custom Controller,interface controller;
2. [Basic Question regarding component Controller and component interface|Re: Basic Question regarding component Controller and component interface;
3.[controllers and components|Re: confused with controllers and components.;
Maybe you are looking for
-
Cannot purchase in iTunes store: There is not enough memory available/error
I really need answers as to why it is not working- and someone must know by now?
-
My iMac doesn't want to stop automatically
hi! since a month my iMac doesn't stop automatically, I have to use the botton on the back.... Is there anyone can help me?
-
Linksys EA3500 will it work with iMac or Pro computer?
I currently have a iPod touch 4th generation and there wasn't any problem connecting to my Linksys EA3500 router. My PC is dying so I'm considering buying a Mac Pro 13.3 inch laptop or iMAC? I was wondering if this router will connect easily to the l
-
New Ipad's top pulldown notifications widget isn't working
PUrchased the New Ipad recently and the COOL top pulldown notification widget is just blank. No notifications listed at all. I've got my notifications set up correctly (like on my Iphone 4 which is working brilliantly), anybody know how to kickstart
-
Wifi's Internet disconnecting on my laptop?!
Router: Linksys EA3500 Network Card: Broadcom 4313 Wireless -N iwconfig NOT WORKING wlan0 IEEE 802.11bgn ESSID:"PwNz" Mode:Managed Frequency:2.452 GHz Access Point: 20:AA:4B:75:69:0A Bit Rate=72.2 Mb/s Tx-Power=19 dBm Retry long limit:7 RTS thr:off F