How to access components in a iview from program
Hi,
Can we access the iview components from program dynamically? I have a Table Control , i want to refresh it in my program.
How to set Mandatory (*) mark for a label? Is there any property for that?
Thanks,
Sridhar
If table is displayed in current view, it will be refreshed with most of the events(There are few exceptions) from that view. You don't need to do anything for that.
Suppose You have one Input Fields - Inp, and Lable - Lb.
From the label properties select "Label For" with Inp from DropDown menu. From properties of the inputfield change property "Status" to required.
Now u would get required mandatory mark.
Note that, selecting the status "Required" for inputfield only displays the asterisk. But it doesnt stop you from navigating to another view with out entering a value.
Similar Messages
-
How to refresh components of one jsf from another jsf (partialTriggers)
This thread begins here:
How to refresh components of one jsf from another jsf (partialTriggers)
My apologies for post in other forum and thanks Frank for reply.
I found a solution before read your post. I'm newbie and I ignore the use of colons. So, for do the problem that I explain in my post I must to change this code:
public backing_home () {
content = new RichPanelGroupLayout();
content.setRendered (true);
String[] partialTriggers = {"menu:menuItem1", "menu:menuItem2", "menu:menuItem3", "menu:menuItem4"}; //All id's of menuItems of the menuBar in menu.jsp
this.content.setPartialTriggers(partialTriggers);
Note that now I don't pass the item ID only. I add "menu:" before the ID. This allows to acces to name container ('menu' is de ID of subview). And that's all. This works!!
Anyway, I test your propuse Frank. Thank you!
WesthWesth,
Yes this code appears to be correct. Was that your question?
--Ric -
How To Access PAGE ITEM (single row) from HTML source
Hi Guys,
I have a page Item that return a string.
I would like to show this string
How To Access PAGE ITEM (single row) from HTML source?
My desire final output is
<marquee>:P1_PAGE_ITEM</marquee>
Can please help me
ThanksHi,
You can refer the page items in your page header as &itemname. For example, if I have page item P15_TEST, I will add the following in header:
<marquee>
&P15_TEST.
</marquee>But make sure that you have a process before header to populate the value in your page item. Otherwise, there will be a null scrolling (which you can't see!) :)
Regards,
Zahid -
How to access a web service(.wsdl) from portal component.
Hi ,
Is there any document/tutorial available on how to access a webservice from portal component ?
I have found this linkhttps://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/g-i/how to access a web service.htm...
but the urls in the link are not working...
i want to know the steps to access webs service and sample code if some body has already done that..
Thanks for the help.
LakshmiHi Lakshmi,
See the links below:
http://help.sap.com/saphelp_nw04/helpdata/en/f0/581140d72dc442e10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/a3/918340d990ce62e10000000a155106/content.htm
Hope this helps.
Regards,
Pooja. -
How to access database file on CDROM from Java Programe??
Hello friends,
I am making online exam application.
I want my question database to be reside on CDROM.
but i am not getting any idea how to make DSN or static path that resolute the path that i have mentioned for CDROM.
basically i want to know how to access CDROM from Java Programe????
Thanks in advance
Navik PathakOnce you mounted the CDROM (something maybe as /media/cdrom) as a file system (or assigned a drive letter to it like D: or F: or whatever), the files are accessible normally.
-
How to access Business object type attribute from a method/function modul ?
Hello,
i have created a business object type object along with attributes and methods. Now inside the method i want to access the attributes. inside the method i am writing:
data a type XXX.
a = me->attribute
this is creating a compilation error.
Now the method is defined as a function module in some package, so can anyone inform me how to access object attributes from the function module ?
pointes are awarded
RegardsHello,
thanks for your answer, but this too did not work, "=>" is for static attributes and the attributes i have are not static. Moreover, i tried it but it gave the same error :
the abap error was when i was checking the code is :
the type me=>documenttype is unknown
as you know in SWO1 i created an object and when i create a method you link it to a function module and this is where you have the implementation of the method, so from this method how can i access the attributes on the main object that i created in SWO1
regards -
How to access Time Capsule 2013 disk from Windows 7
I have seen several (older) threads that suggest that you can access the Time Capsule disk from Windows 7 using Windows Explorer and navigating to \\Time-Capsule-Name. However, I have tried this repeatedly and just cannot get it to work.
Could this be a bug or unsupported in the latest 2013 Time Capsule?
In Airport Utility, under Disks > File Sharing, I have Enable File Sharing checked. The workgroup is WORKGROUP.
The IP address is 192.168.1.4. I am able to ping it successfully; I just cannot access it through Windows Explorer.
Am I missing something? Please help!Are you running homegroup on the PC..??
That should definitely be turned off!!
Homegroup can mess things up.
I would try with ipv6 off but that might make no difference at all.. leave it set to local-link if it doesn't do anything.
There was issues when the Gen4 came out with security. Windows uses too high an encryption level..
See info here.
http://www.dummies.com/how-to/content/changing-file-encryption-settings-on-a-win dows-7-h.pageCd-storyboard,pageNum-5.html
Change to 40 or 56 bit encyrption.
Unfortunately some of the controls you think you are setting on the TC are not really being set at all.. eg I doubt you are actually changing the workgroup.. if possible though you should have disk access set to lowest level .. device password and you should also turn on guest account to read and write.. that usually solved access for me in earlier TC .. I haven't bought an AC for the moment.. because.. well I believe I have done my time on the war front. I bled out already on the bleeding edge.. time for you to do it and I can reap the benefits on the second hardware revision and about the 10th firmware update.
Other things I would try if the above don't work.
Factory reset and start over.. you moved the IP of the TC and that is unwise.
Do not worry about the various settings.. do the factory reset.. in full isolation from the internet. ie TC plugged into the windows computer. Nothing else in either..
Now try at the default IP of the TC..
\\10.0.1.1
Beyond that you need another computer to try or some device. iOS would be fine... in normal situation you would test other protocols, eg ftp but TC offers only SMB and AFP.. there are no AFP clients for windows that I have heard of.. you might have success if you boot the PC from a linux live cd.. it should be able to read AFP even if it cannot write to it. But the SMB is more important. If linux can access with SMB protocol and windows cannot.. the issue is windws OS.
Or iOS devices have some AFP file browsers available but again just test with SMB.. most file browsers for iOS use SMB.. if other devices can manage SMB protocol to open files on the TC then the finger points very clearly to the PC as the trouble.. on the other hand if nothing can access SMB then the TC is faulty and should be replaced. -
How to access Oracle Apps 11i forms from Virtual Machine(Vmware Player)?
Hi,
I have installed Oracle Apps 11i on native OS OEL5 Server and Windows XPP on Virtual Machine using Vmware Player on standalone same desktop.Now how to access Oracle Apps 11i from Virtual Machine(Windows XPP)?
Thank's
Regard's
RerryHi,
Sorry my instance is PROD instead of TEST.
1)Renamed the sqlnet.ora and make the following change in the tnsnames.ora (SERVICE_NAME = PROD) to (SID = PROD) and tryed but same error.
2)Only one oracle homes on the cleint machine
3)The output of tnsping PROD
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Administrator>tnsping PROD 5
TNS Ping Utility for 32-bit Windows: Version 8.1.7.0.0 - Production on 23-FEB-20
10 00:38:40
(c) Copyright 1997 Oracle Corporation. All rights reserved.
Attempting to contact (ADDRESS=(PROTOCOL=tcp)(HOST=SHUBH.hnp.com)(PORT=1521))
TNS-12570: TNS:packet reader failure
Normal ping is ok from both host to guest and guest to host.
Thank's
Regard's
Rerry -
How to access a Portal User Info from a J2EE application?
Hi,
I have deployed a j2ee application in portal and its running fine.
from that application i need to assign some roles to some users.i have the user id.
so my doubt is can i access the portal user info from this j2ee application?i have some servlets in the j2ee application....can i get the portal user info from this servlet?
plz help me
regards,
VisweswarHi,
Please check out this to get the portal user information from Java -
WdClientUser class/Interface to aciehve this.
Please check out these links on the same -
WDClientUser.getClientUser IUser
help needed
Regards
Lekha -
How to access custom JAVA webdynpro application from an iPad?
Hi,
We are trying to access custom JAVA webdynpro application from an iPad, but nothing is opening up from the iPad browser.
What can be the possible reasons for this? Any kind of SICF enablement or opening up of ports in the network?
Any inputs are welcome!!
TIA,
Regards
DeepthiHi,
it is possible to show Java Web Dynpro applications on a mobile device in general, but the controls and the ui should be optimized for the mobile device.
Safari devices are not officially supported so far for Mobile Web Dynpro.
Supported are Windows Mobile devices and Blackberry devices. I also got some good results with Symbian devices.
You can find more inforamtion on Mobile Always Connected at:
ht[http://help.sap.com/saphelp_nwce711core/helpdata/en/7d/28fa3e7cb1d861e10000000a114084/content.htm|http://help.sap.com/saphelp_nwce711core/helpdata/en/7d/28fa3e7cb1d861e10000000a114084/content.htm]
Best Regards,
Stefan -
How to access data in AS 400 from Oracle database
Hi
Could you please help me on accessing data in AS 400 from Oracle database? what are the main things to do? Any private documentation or any oracle metalink note please...Hi
Please find the details given below....Any body can help me on this please....
Issue Description: The stock status report to be developed at SATN has some information that is currently calculated and stored in the Fox/pro system. A real time ODBC needs to be done to the AS/400 system to retrieve values for the respective fields. This has never been tested before as it impacts many areas.
The DBA team need to work to establish such a relationship and a report needs to be written in Oracle to have this tested on a real time basis. Mapping needs to be developed on the Oracle side to grab the correct fields -
How to access Workfow Container data in a program.
Hello I need to a access Workflow COntainer data for a particular workitem in a program. How to access these using Tables or standard function modules.
Thanks in advance.swc_container it_event_container.
swc_create_container it_event_container.
CALL FUNCTION 'SWW_WI_CONTAINER_READ'
EXPORTING
wi_id = wd_id
TABLES
wi_container = it_event_container
EXCEPTIONS
container_does_not_exist = 1
read_failed = 2
OTHERS = 3.
if sy-subrc = 0.
READ TABLE it_event_container WITH KEY element = 'name of your workflow container element'.
IF sy-subrc = 0.
w_variable= it_event_container-value.
ENDIF.
endif.
Regards
Kedar -
How to access sap data which in our program
Hello
I am using a custom program in which i am calling sap standrad includes. in one of the sap standrad include ,one internal table is getting filledup.now i have to display a message in my program based on that internal table.how to access the data in my program?Hello Raj
Please go through the sample code bellow, which may solve your problem
DATA: profile TYPE TABLE OF user04 .
CALL FUNCTION 'SUSR_GET_PROFILES_OF_USER_RFC'
EXPORTING
user_name = sy-uname
TABLES
profile = profile
EXCEPTIONS
user_not_exists = 1
no_authority = 2
OTHERS = 3.
IF sy-subrc .
WRITE : / l_r_usr02-ustyp. -
How to access Infocube content using an ABAP program
Hi,
I am trying to access infocube contents using a ABAP program in BW.
It is easy to access ODS content as we have NEW DATA or ACTIVE DATA
tables. Is there any way we can access Infocube content.
I tried using the FACT table but it has only Keyfigure data.
thanks
arshad.Hi,
I would suggest to use a transactionnal cube, even if you do not use BPS to feed it.
Then, you create a layout in transaction BPS0 (~ similar to a query), and you can access the cube content by simply using the SAP function <b>API_SEMBPS_GETDATA</b>.
This is easy and fast.
Regards, -
How to access component's control property from main .mxml file
I have a main .mxml while in which i imported custom
"popUpWindow" component using "import component.popUpWindow"
statement. In main .mxml file I display later on that component as
popUp window using popUp manager class. Once component is
displayed, how can i access using actionscript component's
TextInput control (specifically its .text property) from my main
.mxml file?
thanksI posted this answer elsewhere, maybe it will help:
First, save the new component wherever you keep your
components, let's say you call it "MyPopWindow.mxml"
Assign public variables for the string in both the main app
and the popup.
In your case, in the main app:
Code:
public var myText:String = "whatever the text field should
say.";
and then in the pop up mxml:
Code:
[Bindable]
public var myText;
Then, in the main mxml file:
Code:
// define the window type
private var popWin:MyPopWindow;
private function popMeUp(event:MouseEvent):void{
popWin =MyPopWindow(PopUpManager.createPopUp(this,
MyPopWindow, true));
popWin.myText = myText;
The important things here to notice is the name of the
component (i.e. the file) is used. A variable is created for the
window, and TYPED to your file name. Then you use the constructor
you already had, but again use your type. The "true" is optional
and gives you a modal popup window.
Lastly, assign the variable in the window (I called mine
popWin) to the variable in the main file you want to pass.
Maybe you are looking for
-
I ran trouble shooting and conflicts. It now keeps wanting me to switch to a different windows OS rather than 7 which is what I am running and how it worked previously. The only thing I have done in the last several days that may have freaked it out
-
Automatic cancellation of Custom declaration not happening in GTS
Hi All I need your help, when i am cancelling my proforma invoice (F9) in R/3, custom declaration not cancelled automatic in GTS, I know i can cancel the custom declaration manually but again i want to cancel the declaration automatically as soon as
-
Hi Everybody, I have a question: Anybody could tell me how is the possibility to extend the standard filter in the ALE distribution model? At this moment you can only add a filter on controlling area and I would like to have one for the field Logical
-
Please, please someone answer how to find Livetype Textures from 3.5 on HD
I am leaving town to be away for two months. I really want to use my MacBook while away to work on FCE but cannot on FCE v. 4 find the textures in Livetype I used in FCE 3.5. They simply did not come up when I installed on the MacBook, and yet they a
-
Hello; I have a WIFI service in public parks area , with a very large number of visitors , I need to allow the gusts to service themselves without any sponsors. I need them to be able to receive SMS after entering the mobile number. can the ISE do th