How to get WD component name or application name
Hi ,
Is there any sap standard variable where webdynpro component name or application name get store like SY-CPORG.
Thanks And Regards,
Rohit
Hi,
You can get the application name using below code:
DATA : lr_api TYPE REF TO if_wd_component,
lr_app TYPE REF TO if_wd_application,
lr_app_info TYPE REF TO if_wd_rr_application,
lv_app_name TYPE string.
lr_api = wd_comp_controller->wd_get_api( ).
CALL METHOD lr_api->get_application
RECEIVING
result = lr_app.
CALL METHOD lr_app->get_application_info
RECEIVING
result = lr_app_info.
CALL METHOD lr_app_info->get_name
RECEIVING
result = lv_app_name.
Now pass the lv_app_name to the FM.
hope this helps u,
Regards,
Kiran
Similar Messages
-
How to get a list of every application on my computer?
I'm trying to figure out how to get a list of every application on my computer using applescript. I know it is possible for the system to do this, as evidenced by the dialog you get when you use the "choose application" function. Other examples are doing a spotlight search for "kind:app" or programs like Namely or QuickSilver.
Is there a way to do this in applescript? The only solution I've come up with so far is to use the command:
<pre>set everyapplicationaliases to choose application as alias with multiple selections allowed</pre>
and manually select all on the resulting dialog. I can then take the results and go from there, however there are a few significant problems with this approach.
1. It requires user interaction. (I have an idea for some future applications that could use this functionality if it can be done without user input.)
2. It's horribly slow. As a test run I choose all the applications from the dialog, extracted some basic info and put the result on the clipboard. It took a couple of minutes to complete this relatively basic task. In comparison, running the aforementioned spotlight search took maybe ten seconds.
Thanks in advance!
best,
peterFor these specific queries my results are...
set appList to paragraphs of (do shell script "mdfind \"(kMDItemKind = 'application'c) || (kMDItemKind = 'widget'c)\"")
3082
set appList to paragraphs of (do shell script "mdfind \"(kMDItemKind = 'Application'c) || (kMDItemKind = 'Widget'c) ||
((kMDItemContentTypeTree = 'com.apple.application') && (kMDItemContentType != com.apple.mail.emlx) && (kMDItemContentType != public.vcard))\"")
3115
I think I finally found some numbers that make sense!
When I search for Kind:Application by the Command+F method in the Finder, I get a total of 2521 items, of which 2477 are "Applications" and 44 are "Other".
(Just by eyeballing it, "Other" seems to include some Classic Apps and some .bundle files.)
The total # found by this method (2521) plus the number of Widgets found using mdfind (318) equals the number of total number of items found by spotlight (2839).
I also noticed that these numbers almost equal the spotlight number:
mdfind results for kMDItemKind:
Widgets: 318
Applications: 1684
Classic*: 795
and
Command+F "Other" items: 44
3181684+79544 = 2841
It may be a fluke that this is so close to the 2839 spotlight gives, or maybe there's an overlap somewhere...
Tying this back into my initial question, it seems like the original mdfind command for Applications is probably the best answer for what I was looking for,
since I wasn't really thinking about Classic apps and Widgets anyway. -
Urgent !please help!! how to get children component in encodeBegin()?
hello all
how can get children component in encodeBegin()?because when encodebegin the tree is not constituted so i can't get children component,how to solve?
please help!You aren't providing enough information to know for sure what is going on, but a likely problem is that you're rendering a JSP page with a new component tree for the first time, so the components are getting built as the page executes.
In the EA3 release, this caused a problem, because encodeBegin() was called from the doStartTag() method of the JSP tag (i.e. before the child components have been created). However, in EA4 the call to encodeBegin() was moved to doEndTag(), so the child components should now be getting created already.
In order to debug this any further, we'll need a specific example of what you're doing, and what version of JavaServer Faces you're trying it with.
Craig -
My itunes usnt working. I keep getting this message.
Problem signature:
Problem Event Name: BEX
Application Name: iTunes.exe
Application Version: 10.7.0.21
Application Timestamp: 504d85d9
Fault Module Name: QuickTime.qts_unloaded
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 4f8f8a5b
Exception Offset: 70be1040
Exception Code: c0000005
Exception Data: 00000008
OS Version: 6.0.6002.2.2.0.768.3
Locale ID: 1033
Additional Information 1: b9b5
Additional Information 2: 063aa4ebde4a7a45f8c482e6ed282861
Additional Information 3: b251
Additional Information 4: 0639314542445d4694fa87cff3be7aa4Fault Module Name: QuickTime.qts_unloaded
Fault Module Version: 0.0.0.0
Try updating your QuickTime player to the most recent version. -
How we get the component at front or back in a Jpanel
How we get the component at front or back in a Jpanel. I want to manage the Z-axis position of the components in the Jpanel.
[url http://java.sun.com/docs/books/tutorial/uiswing/components/layeredpane.html]How to Use Layered Panes
-
HT5624 how to get back my "AAp store" application on Iphone 4....
how to get back my "AAp store" application on Iphone 4....
The App store app is a built in app and cannot be deleted. Try:
Check settings to see if restrictions are turned on and/or if Installing apps is turned off (Settings app > General > Restrictions)
Check all of your home screen (by swiping left to right), and folders to see if was inserted into one. (you can also use Spotlight search which will tell you if it is in a folder. Swipe down on the Home screen and type in "app Store") -
How to get BP kind based on user name?
Hi,
How to get BP kind based on user name?
Is there any table other than BUT000 which gives the Business partner no. and BP KIND?
What is BLUEPRINT table?Hi John,
do you mean Type:
1 Person
2 Organisation
3 Group
or Role like
000000 Business Partner (General)
BBP000 Vendor
BBP001 Bidder
BBP002 Portal Provider
BBP003 Plant
BBP004 Purchasing Company
BEA001 Billing Unit
BUP001 Contact Person
BUP002 Prospect
BUP003 Employee
BUP004 Organizational Unit
BUP005 Internet User
The Role can be found in BUT100.
Regards
Gregor -
F2 on Popups? (Or how to get the Component if F2 is not working)
Hello Experts,
I wonder if somebody has a tip how to get the component of popups?
The F2 Help is not working there.
The Popup I'm actually looking at is called by a button. Is it possible to find out the called component by looking at the button Event? (I have tried - but the source does not tell me any component)
Thanks for answers...
Regards
ChrisChris,
F2 should definitely work if it is a UI component.
You see pop ups on button clicks and F4 value helps. F2 should work in these cases.
For some attributes with F4 help, a DDIC search help is attached. Here F2 does not work.
Anyhow to find out which component it is calling, you use this method
check in the event handler(for button pop ups) or in the outbound plugs specifies in GET_V method(for F4 pop ups) if there is a code like
CALL METHOD comp_controller->window_manager->create_popup etc.,
A Component Usage will be passed to the method. You can check for the component usage in the Run Time Repository.
You will get the component details.
Regards,
Masood Imrani S. -
I have not been able to open up Lightroom on my computer for over a year now. Whenever I double click on it, this comes up - can anyone help? Problem signature: Problem Event Name:APPCRASH Application Name:lightroom.exe Application Version:3.4.1.10
First thing to try is the latest version of Lightroom (currently 5.6). If it don't crash, then problem solved - upgrade.
If Lr5 won't run on your machine, then Lr4 instead.
If both Lr5 and Lr4 crash on your machine, then at least you know it's a not a Lightroom version problem but something wonked in your system.
If you can't figure out how to resolve the crash on the system you have, then it's time for a new system (or try another converter/editor app).
PS - A few things to try:
* After re-installing new version, if that doesn't fix it, then get rid of all Lightroom-related data files (rename them so they can be restored), in case problem is in Lr data file.
* Remove all non-essential hardware in case problem is hardware/driver.
* Startup up machine with minimal software services.
* If still no go, consider updating driver software, including mainboard drivers and/or bios firmware if need be.
* Of course run all the system hardware and software diagnostics you can - problem could be failing disk or ram..
* Check system event logs for any clues.
If you don't know how to do some of these things - ask.
Do not say "you've tried everything" unless you want a lecture - there is most definitely something you haven't tried. It's like when you can't find your car keys - you haven't looked everywhere - there is somewhere you haven't looked!
PS - Has Lightroom EVER worked on your machine? what's changed since then..
Good luck,
Rob -
Installed itunes for 64 bit windows 7 as instructed.
Installation successful, but upon opening itunes, I get this message:
Problem signature:
Problem Event Name: BEX
Application Name: iTunes.exe
Application Version: 10.3.1.55
Application Timestamp: 4deec351
Fault Module Name: MSVCR80.dll_unloaded
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 4dcddbf3
Exception Offset: 72c129e1
Exception Code: c0000005
Exception Data: 00000008
OS Version: 6.1.7600.2.0.0.768.3
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
I've uninstalled and installed 3 times and get the same problem.
Please advise!I am encountering the same thing as I am trying to restore my iPhone. How to fix this? I tried repairing iTunes. Still having the issue.
-
Problem signature:
Problem Event Name: BEX
Application Name: iTunes.exe
Application Version: 11.0.1.12
Application Timestamp: 50c8fc7e
Fault Module Name: QuickTime.qts_unloaded
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 4ea5d609
Exception Offset: 653f1040
Exception Code: c0000005
Exception Data: 00000008
OS Version: 6.1.7601.2.1.0.768.3
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789I am encountering the same thing as I am trying to restore my iPhone. How to fix this? I tried repairing iTunes. Still having the issue.
-
when i try to open my Itunes this Message comes up
Problem signature:
Problem Event Name: BEX
Application Name: iTunes.exe
Application Version: 10.6.3.25
Application Timestamp: 4fd16377
Fault Module Name: CRYPTUI.dll_unloaded
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 4ce7b847
Exception Offset: 68221040
Exception Code: c0000005
Exception Data: 00000008
OS Version: 6.1.7601.2.1.0.768.3
Locale ID: 5129
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txtTaken at face value, you're having trouble with a Windows operating system file there.
Perhaps try an sfc /scannow. For instructions, see the following Microsoft document:
How to use the System File Checker tool to troubleshoot missing or corrupted system files on Windows Vista or on Windows 7 -
ITunes app crashed after startup with following errors.
Problem signature:
Problem Event Name: BEX
Application Name: iTunes.exe
Application Version: 11.0.1.12
Application Timestamp: 50c8fc7e
Fault Module Name: StackHash_0a9e
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Offset: 00000000
Exception Code: c0000005
Exception Data: 00000008
OS Version: 6.1.7601.2.1.0.256.4
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
Any ideas, tried reinstalling ITunes, no change.I am encountering the same thing as I am trying to restore my iPhone. How to fix this? I tried repairing iTunes. Still having the issue.
-
Stops responding, etc
details
Problem signature:
Problem Event Name: APPCRASH
Application Name: Illustrator.exe
Application Version: 15.1.0.39
Application Timestamp: 4d76c9e3
Fault Module Name: CoolType.dll
Fault Module Version: 5.7.83.9418
Fault Module Timestamp: 4c296b69
Exception Code: c0000005
Exception Offset: 00021ae1
OS Version: 6.1.7601.2.1.0.768.3
Locale ID: 1033
Additional Information 1: 8e1b
Additional Information 2: 8e1b636bd3438ac15d03ef1549553b25
Additional Information 3: 1b31
Additional Information 4: 1b316dab8b65bf468124c367b4a50e14But I am assuming that when I make the installer, the 32-bit Run Time Engine is appened with the installer, as show below
Since from the picture you can see its including the support installers from '\Program Files (x86)\'
The application runs queries to fetch data from database in SQL server 2008, and for that I am using a Microsoft SQL Native Client 2008 R2 64 bit ( this is the only version that installs on either PC, even the one on which I developed my LV Application).
I am not using any driver, only toolkits for reports - and for that I un-checked the "Remove unused polymorphic VI instances" when making the executable, otherwise LV throws up an exception that share variable are not being included.
Yes I did reboot every time after I ran the installation.
Still getting the same error. -
The name 'rolename' is in use by the cluster already as network name or application name
I removed windows cluster ISCSI target server few days back since it was not needed and now its needed as we need since its a clustered storage space and we need this role for ISCSI storage to external server. Now when I add the role again I get this error
The name winiscsi is in use by the cluster already as network name or application name
I double check role is not installed . I even rebooted both nodes
adHi Adnan-Vohra,
Could you post the original error information or the screenshot about this error, I can’t find out any similar error explain, we can not install the iSCSI target on any cluster
node we need the separate server as the shared storage.
Failover Clustering Hardware Requirements and Storage Options
https://technet.microsoft.com/en-us/library/jj612869.aspx
I’m glad to be of help to you!
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]
Maybe you are looking for
-
At my wits end with my Stratosphere
I've had it! I have literally spent hours trying to remedy the problems I'm having with my phone. I'm having the same problems that others have discussed since the "update". I've done all the suggested things, including the hard reset, to no avail
-
Change the date and time of a photo in iPhoto?
How can I change the date and time of a photo in iPhoto?
-
I just bought the so called new iPad last Friday 20 April, and I have noticed there's a dead pixel on it, I went to apple store (the next day), I have been told it's just a small dead pixel, won't affect anything, and no replacement will be given. In
-
For a given coustmer is there any table which stores qantity by material group. in s003 table i can find total qty for the coustmer, but is there any way to find out qty by materail group. Cattle Feed Popular Premium Bovino
-
How do you upload microsoft office files to icloud?