Function module to get the name of all the function module used
I want to populate a internal table with the name of all function module used in the submitted program?? Is there any function module which return the name of all the function module used?
Hi Priya
Try this one RPY_FUNCTIONMODULE_READ.
Ranga
Similar Messages
-
How to get he names of all the local drives that are present in hdd
Hi ABAP Experts,
I want to get the names of all the local drives that are present in hdd on local system using
ABAP. Is this technically possible. If so how.
Thanks & Regards,
Aexandr CiunchikHi Alexandr,
My workaround.
REPORT zztest.
DATA : len TYPE i,
off TYPE i,
directory TYPE string,
result(1).
len = STRLEN( sy-abcde ).
DO len TIMES.
off = sy-index - 1.
CONCATENATE sy-abcde+off(1) ':' INTO directory.
CONDENSE directory NO-GAPS.
CALL METHOD cl_gui_frontend_services=>directory_exist
EXPORTING
directory = directory
RECEIVING
result = result
EXCEPTIONS
cntl_error = 1
error_no_gui = 2
wrong_parameter = 3
not_supported_by_gui = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
IF result EQ 'X'.
WRITE : / 'Drive : ',
directory.
ENDIF.
ENDDO.
Regards,
AS -
Is there a Button menu option in InDesign CS 5.5 that will allow one view the names of all the buttons already created?
Thanks for your prompt feedback! However, this option does not work for me -- and I'm not sure exactly why.
Originally, when I tried your suggestion, I got the unsatisfactory result illustrated in the following help request: https://support.mozilla.com/en-US/questions/758172
Now I am in the process of testing several new add-ons to fix this problem, and I am getting a very different (and even more unsatisfying) result illustrated in the attached image -- so I realize the problem may now be compounded by one or more of the new add-ons.
(See the attached image that illustrates what happens now when I click on the MyDocs URL after is has been added to my Bookmarks tree.)
UPDATE: I'm going to try the LocalLinks add-on to see if this will help me open local links using my FireFox bookmarks: https://addons.mozilla.org/en-US/firefox/addon/locallink/
Will let you know if it works.... -
Getting system names of all the nodes that compose a cluster
I need a way to get the names (weblogic.system.name) of all the servers that compose a cluster from a JSP or a servlet. Can anyone help ?
System: Weblogic 5.10sp10 on Solaris with SDK 1.3.0
[att1.html]
Using WLS 5.1 internal APIs, you can do this by the following:
weblogic.cluster.ClusterManager clusterManager = weblogic.cluster.ClusterManager.theOne();
com.sun.java.util.collections.Collection c = clusterManager.getClusterMembers();
weblogic.cluster.ClusterMemberInfo[] infos =(weblogic.cluster.ClusterMemberInfo[])
c.toArray(new weblogic.cluster.ClusterMemberInfo[0]);
if (infos != null) {
for (int i=0; i < infos.length; i++) {
ClusterMemberInfo info = infos;
String clusterName = info.name();
System.out.println("Cluster Name is: " + clusterName);
"Laurent PAILLARD" <[email protected]> wrote:
>C'est un message de format MIME en plusieurs parties.
>
>
>I need a way to get the names (weblogic.system.name) of all the servers
>=
>that compose a cluster from a JSP or a servlet. Can anyone help ?
>
>System: Weblogic 5.10sp10 on Solaris with SDK 1.3.0
>
>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
><HTML><HEAD>
><META http-equiv=3DContent-Type content=3D"text/html; =
>charset=3Diso-8859-1">
><META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
><STYLE></STYLE>
></HEAD>
><BODY bgColor=3D#ffffff>
><DIV><FONT face=3DArial size=3D2>I need a way to get the=20
>names (weblogic.system.name) of all the servers that compose a =
>cluster from=20
>a JSP or a servlet. Can anyone help ?</FONT></DIV>
><DIV><FONT face=3DArial size=3D2></FONT> </DIV>
><DIV><FONT face=3DArial size=3D2>System: Weblogic 5.10sp10 on Solaris
>=
>with SDK=20
>1.3.0</FONT></DIV></BODY></HTML>
>
> -
Is there a way I can get a refund for this purchase?
Thanks very much I have contacted them via this. Just hope they respond quickly- rather annoing! Greatly appreciated though
-
Iterate through List and return (the names) of all the classes
Hi,
I've got a List and want to see what kind of classes are in this List.
List list = getList();
Iterator it = list.iterator();
while (it.hasNext()) {
Object ob = it.next(); // get the next item. Is this the right approach for my problem?
// Her I want to check the Object what classses it holds,
// assuming that this is the right approach for my problem
}Thanks
JonnyHi,
that's what I did:
List list = getList();
Iterator it = list.iterator();
while (it.hasNext()) {
Object ob = it.next(); // get the next item. Is this the right approach for my problem?
Class cLass = ob.getClass();
System.out.println("\t" + cLass.getName());
}This returned java.lang.Object as mentioned.
Question:
- Can an Object hold several types of classes? If so, how can I iterate them?
Mabe this makes things a little clearer:
Why am asking this? I'm returning a List from a (Hibernate)-query. I can access one Class without problems. Another class that should be returned, I can't access. Thats why I want to know what I'm dealing with.
Thanks
Jonny -
This screen grab actually cuts off the right side a little bit but this is basically my issue. I can move the whole window but I still can't see or access the parameters for each of the title settings. Is this just a bug I have to live with until Apple fixes it or does anyone have a solution?
I'm on a MacBook Pro with a 15.4" screen. Resolution = 1024x768 (stretched).
I've tried moving the window but it cuts off the inspector in the same place and I am unable to resize the width of the window. -
9I: How can get the names of all objects in a package header? [RESOLVED]
Is there a way to get the names fo all objects (function, procedures) from package header
select * from user_objects only gives the the header name, I need the object in the header.
John
Message was edited by:
johnminkjanHere is an example with dbms_output package!
SQL> select owner, object_name,procedure_name from all_procedures
2 where object_name='DBMS_OUTPUT';
OWNER OBJECT_NAME PROCEDURE_NAME
SYS DBMS_OUTPUT GET_LINES
SYS DBMS_OUTPUT GET_LINE
SYS DBMS_OUTPUT NEW_LINE
SYS DBMS_OUTPUT PUT_LINE
SYS DBMS_OUTPUT PUT_LINE
SYS DBMS_OUTPUT PUT
SYS DBMS_OUTPUT PUT
SYS DBMS_OUTPUT DISABLE
SYS DBMS_OUTPUT ENABLE
9 rows selected.
"or"
SQL> desc dbms_output -
Names of all the interface elements?
In iMovie help, it will say such things as “in the project browser” or “in the clip browser” but it does not identify these areas of the interface. I looked at the opening screens of iMovie help, and I cannot find a section where the various interface elements are identified.
It would be nice if, when it mentioned a certain interface element, you could click on that text and instantly see an image of the element and where it is located, but I have submitted a suggestion to Apple.
In the meantime, is there an area in iMovie help where it identifies the names of all the interface elements?iMovie 11 tutorials:
http://help.apple.com/imovie/
http://www.apple.com/ilife/tutorials/#imovie
and also this:
http://www.kenstone.net/fcp_homepage/imovie_09_stone.html -
How can i find the label of all the tabs of a tab navigator??
I have a tab navigator which has three fixed tabs and dynamically i am creating few tabs. Before creating a tab i wanted to know which all tabs are currently open, basically the name of all the tabs which are open.
Please let me know how can i achieve this.
Thanksextended from the TabNavigator example in the API docs
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
minWidth="955" minHeight="600"
creationComplete="init()">
<fx:Script>
<![CDATA[
private function init():void
for (var i:int = 0; i < tn.numElements; i++)
var btn:Button = tn.getTabAt(i);
trace(btn.label);
]]>
</fx:Script>
<s:layout>
<s:VerticalLayout/>
</s:layout>
<s:Panel title="TabNavigator Container Example"
width="75%" height="75%"
horizontalCenter="0" verticalCenter="0">
<s:VGroup left="10" right="10" top="10" bottom="10">
<s:Label width="100%" color="blue"
text="Select the tabs to change the panel."/>
<mx:TabNavigator id="tn" width="100%" height="100%">
<!-- Define each panel using a VBox container. -->
<mx:VBox label="Panel 1">
<mx:Label text="TabNavigator container panel 1"/>
</mx:VBox>
<mx:VBox label="Panel 2">
<mx:Label text="TabNavigator container panel 2"/>
</mx:VBox>
<mx:VBox label="Panel 3">
<mx:Label text="TabNavigator container panel 3"/>
</mx:VBox>
</mx:TabNavigator>
<s:Label width="100%" color="blue"
text="Programmatically select the panel using a Button control."/>
<s:HGroup>
<mx:Button label="Select Tab 1" click="tn.selectedIndex=0"/>
<mx:Button label="Select Tab 2" click="tn.selectedIndex=1"/>
<mx:Button label="Select Tab 3" click="tn.selectedIndex=2"/>
</s:HGroup>
</s:VGroup>
</s:Panel>
</s:WindowedApplication> -
I have developed a batch harness whereby all scheduled tasks (W2012) invoke a common powershell script that acts as a wrapper to all our housekeeping jobs.
The first step in the wrapper is to create a Transcript file using following code
if ($Host.name -ne "Windows PowerShell ISE Host") # Transcript does not work within ISE
$timestamp = (get-date -format "yyyy-MM-dd-HH-mm-ss.fff")
$path = "c:\corp\$timestamp" + "_$pid.txt"
Start-Transcript -path $path -append
As expected the folder contains files with timestamp & pid in name
08/08/2013 11:00 AM 14,388 2013-08-08-11-00-01.158_1620.txt
08/08/2013 11:00 AM 12,506 2013-08-08-11-00-01.485_936.txt
08/08/2013 11:00 AM 12,994 2013-08-08-11-00-01.735_9328.txt
08/08/2013 11:00 AM 12,024 2013-08-08-11-00-01.766_8624.txt
08/08/2013 11:00 AM 13,902 2013-08-08-11-00-01.860_1756.txt
08/08/2013 11:01 AM 15,142 2013-08-08-11-01-31.392_10120.txt
08/08/2013 05:00 AM 14,982 _1692.txt
However note the last file, it has a zero length date time value in the name
The error recorded by PowerShell is
get-date : The term 'get-date' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Corp\Powershell\DMPRun-ScheduledTask.ps1:171 char:18
+ $timestamp = (get-date -format "yyyy-MM-dd-HH-mm-ss.fff")
+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (get-date:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
IE get-date has failed and returned a zero length field as the timestamp
Can anyone think of a good reason why get-date would fail intermittently?
Do I have to code defensively for base Powershell functions?I implemented David's suggestion and now I intermittently get
import-module : Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
At D:\temp\loop_jc2_2013_11_25_08_55_02.ps1:15 char:1
+ import-module Microsoft.Powershell.Utility
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Import-Module], UnauthorizedA
ccessException
+ FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.Pow
erShell.Commands.ImportModuleCommand
I added a trap chain (My Powershell skills do not yet include recursive trap coding, any suggestions welcome)
trap {
trap {
"Trap1"
"Exception: " + $_
"Error: " + $Error[0]
"Message: " + $_.Exception.Message
"InnerException: " + $_.Exception.InnerException
"StackTrace: " + $_.Exception.StackTrace
"FailedItem: " + $_.Exception.ItemName
import-module Microsoft.Powershell.Management
import-module Microsoft.Powershell.Security
import-module Microsoft.Powershell.Utility
"Trap2"
"Exception: " + $_
"Error: " + $Error[0]
"Message: " + $_.Exception.Message
"InnerException: " + $_.Exception.InnerException
"StackTrace: " + $_.Exception.StackTrace
"FailedItem: " + $_.Exception.ItemName
import-module Microsoft.Powershell.Management
import-module Microsoft.Powershell.Security
import-module Microsoft.Powershell.Utility
import-module Microsoft.Powershell.Management
import-module Microsoft.Powershell.Security
import-module Microsoft.Powershell.Utility
trap {
"Trap3"
"Exception: " + $_
"Error: " + $Error[0]
"Message: " + $_.Exception.Message
"InnerException: " + $_.Exception.InnerException
"StackTrace: " + $_.Exception.StackTrace
"FailedItem: " + $_.Exception.ItemName
exit 1
get-date
Now I intermittently get ..
Trap2
Exception: Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
Error: Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
Message: Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
InnerException:
StackTrace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.Threading.Mutex.MutexTryCodeHelper.MutexTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.Mutex.CreateMutexWithGuaranteedCleanup(Boolean initiallyOwned, String name, Boolean& createdNew, SECURITY_ATTRIBUTES secAttrs)
at System.Threading.Mutex..ctor(Boolean initiallyOwned, String name, Boolean& createdNew, MutexSecurity mutexSecurity)
at System.Threading.Mutex..ctor(Boolean initiallyOwned, String name, Boolean& createdNew)
at System.Management.Automation.AnalysisCache.CacheExportedCommands(PSModuleInfo module, Boolean force, ExecutionContext context)
at Microsoft.PowerShell.Commands.ModuleCmdletBase.LoadUsingModulePath(PSModuleInfo parentModule, Boolean found, IEnumerable`1 modulePath, String name, SessionState ss, ImportModuleOptions options, ManifestProcessingFlags manifestProcessingFlags,
PSModuleInfo& module)
at Microsoft.PowerShell.Commands.ImportModuleCommand.ImportModule_LocallyViaName(ImportModuleOptions importModuleOptions, String name)
at Microsoft.PowerShell.Commands.ImportModuleCommand.ProcessRecord()
at System.Management.Automation.CommandProcessor.ProcessRecord()
FailedItem:
import-module : Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
At D:\temp\loop_jc2_2013_11_25_09_19_52.ps1:26 char:1
+ import-module Microsoft.Powershell.Security
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Import-Module], UnauthorizedA
ccessException
+ FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.Pow
erShell.Commands.ImportModuleCommand -
Urgent: How to get the names of all menu items
I have a .mmb menu module.
There are many menus and submenus in it.
Now I want to get the names of all menu items available in the module using sql or pl/sql.
Actually I need to store these names in another table as it is. That is why I want get them programmatically.
Any solution please.... bit urgent
ThanksWhen I needed the same, I wrote my own application using
Forms API (Windows,Forms 6.0,6i). Perhaps it will help
you.
Let me know your e-mail and I'll send it. -
How do U to get the names of all files in a directory?
Is there a simple way to get all names of the files in a directory and put them in an array of Strings? Sounds simple, but I don't have a clue how to do this. Thanks.
Hi Kindoo,
Create a instance of File object using the path of the Directory
File fileDir = new File(directoryPath);
To get the List of all the files in the directory use
String[] strFiles = fileDir.list();
This will solve your problem,
Cheers
Nagaraj -
How can I get IP and hots names of all the machines.....
I need to get the IP addresses and host names of all the machines in my netowrk and need to select only is a HP / Compaq x86 machines finaly.
If you know atleast a part of this please help me.
[email protected]You coulduse the broadcast address (x.x.x.255) in an ICMP sweep to determine which hosts are alive (and accepting ICMP).
But no, there's not a single (and definitive / sure) way to retrieve all IP addresses. -
Function module to get 'Date one year in the past' in APO
Hi,
Required function module to get date one year in the past in APO.
Thanks and regards,
M.R.Reddy.Hi Reddy,
Try these function modules
/SAPAPO/DATE
/SAPAPO/FISCAL_BDATE
/SAPPO/MAPI_MAP_CREATDATE
/SAPPO/MAPI_MAP_POSTDATE
/SAPAPO/LCP_CALC_DATE
/SAPAPO/VS_ORDER_GET_DATES
/SAPAPO/PERIOD_CONVERT_DATE
/SAPAPO/PERIOD_DATE_GET_FROMTO
/SAPAPO/PERIOD_GET_DATE_RANGE
/SAPAPO/PERIOD_GET_FOR_DATE
/SAPAPO/PERIOD_GET_FROM_TODATE
Regards
R. Senthil Mareeswaran.
Maybe you are looking for
-
When my ipad has photos on it and I connect it to my computer it is initially recognised as a camera before my computer crashes. Resulting in me having to reboot the system again and going through the disc checks to resolve errors. This has happened
-
Cfform format="flash" not loading
The Problem: When I load a file that contains ANY cfform tag with format="flash", all I get is a partially rendered object with a spinning clock for a pointer. Your initial reaction is probably "oh, thats just bad code"... but, read on.. the plot thi
-
Hi Gurus, My BW Production is linked to ECC6 Production box. I have copy my BW Production client to another box, (Sand box). Now this Sand box is linked to ECC6 Production box because it is the copy of BW Produciton. How can I change all my Source Sy
-
Using Run External Script in ICM
Hi all, I am using IPCC enterprise 7.0, during my development on ICM scripting. I am using "Run External Script" to execute IVR script. So my problem is that, any change / update used in IVR subflow will not be effective in ICM until I restart the CR
-
Link broken to download Oracle Software Packager
I can't download the Oracle Software Packager. I keep getting the 404 error page. here is the start page. http://www.oracle.com/technology/software/products/osp/htdocs/winsoft.html where can I download this?