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
Thanks
When 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.
Similar Messages
-
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 -
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 -
How to get the handle of all text fields in the subforms, using script
Hi Friends,
I have around 20 fields in a subform, how can i get the names of all the fields using script.
I wish to enhance the following script where the field names are hard coded
thereby the script itself will get the names of the field names.
var f1 = this.parent.somExpression + ".TextField2" + ",";
var f2 = f1 + this.parent.somExpression + ".DropDownList1" + ",";
var f3 = f2 + this.parent.somExpression + ".NumericField1";
xfa.host.resetData(f3);
Any help will be greatly appreciated..
Thanks
JJHi Paul,
Thanks for your comments.
I achieved the clear contents by resetting, by taking input from your thoughts..
form1.sub1.sub2.sub3.table_1.addDelete_Top.addDelete.deleteRow::click - (JavaScript, client)
//Here is my code finally look like..
//row 1, table_1 are also subforms
for (var i=1;i<10;i++){
var myRow = this.resolveNode("table_1.row1[" + i + "]");
if(myRow.presence == "hidden"){
i = i-1;
var myRowDelete = this.resolveNode("table_1.row1[" + i + "]");
if(i!=0){
xfa.host.resetData(myRowDelete.somExpression);
myRowDelete.presence = "hidden";
break;
if(i==9){
xfa.host.resetData(myRow.somExpression);
myRow.presence = "hidden";
break;
Thanks
JJ -
How to get the values of all elements and sub elements from following xml
how to get the values of all elements and sub elements from following xml...
<?xml version="1.0" encoding="UTF-8" ?>
<List_AML_Finacle xmlns="http://3i-infotech.com/Cust_AML_Finacle.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://3i-infotech.com/Cust_AML_Finacle.xsd List_AML_Finacle.xsd">
<TransactionID>TransactionID</TransactionID>
<Match>
<Src_Matched_Field>Src_Matched_Field</Src_Matched_Field>
<List_Matched_Field>
<FSFM_Matches>
<NUMBER>NUMBER</NUMBER>
<TERROR>TERROR</TERROR>
<TU>TU</TU>
<NAMEU>NAMEU</NAMEU>
<DESCRIPT>DESCRIPT</DESCRIPT>
<KODCR>KODCR</KODCR>
<KODCN>KODCN</KODCN>
<AMR>AMR</AMR>
<ADDRESS>ADDRESS</ADDRESS>
<SD>SD</SD>
<RG>RG</RG>
<ND>ND</ND>
<VD>VD</VD>
<GR>GR</GR>
<YR>YR</YR>
<MR>MR</MR>
<CB_DATE>CB_DATE</CB_DATE>
<CE_DATE>CE_DATE</CE_DATE>
<DIRECTOR>DIRECTOR</DIRECTOR>
<FOUNDER>FOUNDER</FOUNDER>
<TERRTYPE>TERRTYPE</TERRTYPE>
</FSFM_Matches>
<OfacMatchDetails>
<UID>UID</UID>
<TITLE>TITLE</TITLE>
<SDNTYPE>SDNTYPE</SDNTYPE>
<REMARKS>REMARKS</REMARKS>
<ID_UID>ID_UID</ID_UID>
<IDTYPE>IDTYPE</IDTYPE>
<IDNUMBER>IDNUMBER</IDNUMBER>
<IDCOUNTRY>IDCOUNTRY</IDCOUNTRY>
<ISSUEDATE>ISSUEDATE</ISSUEDATE>
<EXPIRATIONDATE>EXPIRATIONDATE</EXPIRATIONDATE>
<ADDRESS1>ADDRESS1</ADDRESS1>
<ADDRESS2>ADDRESS2</ADDRESS2>
<ADDRESS3>ADDRESS3</ADDRESS3>
<CITY>CITY</CITY>
<STATEORPROVINCE>STATEORPROVINCE</STATEORPROVINCE>
<POSTALCODE>POSTALCODE</POSTALCODE>
<COUNTRY>COUNTRY</COUNTRY>
</OfacMatchDetails>
</List_Matched_Field>
</Match>
</List_AML_Finacle>avoid multi post
http://forum.java.sun.com/thread.jspa?threadID=5249519 -
How to get the name of the current tab.
Hi Experts,
I have two tabs in my tab strip and a button common to both the tabs.Can you please let me know how to get the name of the current tab in the event method of the push button.
Thanks in advance.
Regards,
Arun1.Declare an Action for OnSelect event of Tabstrip. This event is triggered whenever any change in tab occurs.
2. Declare an Import Parameter in this method
Tab type String.
3. This parameter has value of the selected TAB.
4. You can set this value in some Attribute in Attribute Tab in this event only (OnSelect):
wd_this->Att = Tab.
Att is the attribute created by you in Attributes Tab of View. ( of type String)
5. Now the selected Tab ID is stored in this Attribute Att.
6. In the Onaction of Button , retrieve the selected tab value from this attribute using :
Data : lv type string.
lv = wd_this->Att
Now lv has your selected TAB ID.
I hope it would help you.
Edited by: Saurav Mago on Oct 13, 2009 2:22 PM -
How can I get the name of an Array Item in LabVIEW
Hi,
I would need to display the name of the items in the Step.Result.Measurement array in a VI. I can access these properties using the index, but I don't know how to get the name of them like Step.Result.Measurement[0] .
Is there any suggestions to do it in an elegant way?
AndrasHi Andras,
look here.
Regards, Guenter -
How to get the name of a Data Element of a generic Table!
Hi guys!
In my function i have the following import paramenter
i_outtab type standard table
now i import a table and i want to get the dataelement of the fields.
is there a way to do this??Hello Thomas
Perhaps the following sample report may be useful for you.
*& Report ZUS_SDN_RTTI_STRUCT_COMPONENTS
*& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1145711"></a>
*& Thread: How to get the name of a Data Element of a generic Table!
REPORT zus_sdn_rtti_struct_components.
TYPE-POOLS: abap.
TYPES: BEGIN OF ty_s_outtab.
TYPES: bukrs TYPE bukrs.
TYPES: kunnr TYPE kunnr.
TYPES: END OF ty_s_outtab.
DATA: gdo_data TYPE REF TO data.
DATA: gs_outtab TYPE ty_s_outtab.
DATA: go_typedescr TYPE REF TO cl_abap_typedescr,
go_structdescr TYPE REF TO cl_abap_structdescr,
go_datadescr type ref to cl_abap_datadescr.
DATA: gs_comp TYPE abap_compdescr,
gd_dtel type string,
gt_dfies type ddfields.
FIELD-SYMBOLS:
<gs_struct> TYPE ANY.
START-OF-SELECTION.
BREAK-POINT.
GET REFERENCE OF gs_outtab INTO gdo_data.
ASSIGN gdo_data->* TO <gs_struct>.
go_typedescr = cl_abap_typedescr=>describe_by_data( <gs_struct> ).
go_structdescr ?= go_typedescr.
BREAK-POINT.
LOOP AT go_structdescr->components INTO gs_comp.
go_datadescr = GO_STRUCTDESCR->GET_COMPONENT_TYPE( gs_comp-name ).
gd_dtel = go_datadescr->get_relative_name( ).
write: / syst-tabix, 'Data element =', gd_dtel.
ENDLOOP.
END-OF-SELECTION.
Regards
Uwe -
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 -
Network : How can I get the name of all computers in the lan ?
Hi.
Network : How can I get the name or the IP of all computers in the lan ?Easiest way to find all IPs would be to scan the network. Ping every possible IP in the network and all IPs that replied to the ping exist.
Since I don't know how to do a ping in Java, I would scan for some Ports used by OS Services.
Since I don't know which ports are used by windows, I think you should look for a ping class (or library).
Scanning all ports for every IP in a class C network shouldn't take too long. And after finding one port you don't have to try the other ports for that IP, since it has to be online ;) -
How to get the name before @ in an email id
Hi All,
How can i get the name before '@' in an email id, for example if i have [email protected], how do i get 'abc' in my query result.
Thanksthinkingeye wrote:
Hi All,
How can i get the name before '@' in an email id, for example if i have [email protected], how do i get 'abc' in my query result.
Thankscombine INSTR() & SUBSTR() functions -
How to get the name of a duplicated control or created control and add a callback to it
Hi All,
Depending on how many input points I need, I am duplicating a numeric or string input with the DuplicateCtrl function. My question is, how do I get the name and id of the control that was just created, and how can i assign a callback to it? Alternately, would it be better to create a fresh ctrl instead of duplicating?
Thanks in advance!
Solved!
Go to Solution.Hi TurboMetrologist,
why are you trying to get the control constant name? Keep in mind that you cannot use that name to address the control; control names are actually simply macros in the include file associated to the UIR, that is, the compiler preprocesses the code and wherever it finds PANEL_CONTROL names substitutes the corresponding numeric value as parameters to the functions (and consequently 'control' parameter is an int and not a char*)
That is why NewCtrl () or DuplicateCtrl () functions return a control ID: it is the handle to the new object, our only way to manipulate it. You will need to store this handle into a non-volatile memory so that you can access it durng program life.
Additionally, there are other ways to assign some particular meaning to a control than swiching on the control constant name. You could for example use the callbackData parameter to differentiate between different copies of a control.
Let me explain with an example. You told that you need several inputs (dynamically created as you don't know in advance how many of them to use); a clean solution could be to:
Design a master copy of one control in the UIR editor, where it is easy to customize it; assign also a callback function, if it has to be common to all copies of the control
Programmatically assign a callbackData value to that control, e.g. SetCtrlAttribute (..., ..., ATTR_CALLBACK_DATA, (void *)1);
Duplicate the control and then assign a different callbackData
for (i = 2; i < 5; i++) {
handle = DuplicateCtrl (...);
SetCtrlAttribute (..., handle, ATTR_CALLBACK_DATA, (void *)i);
By operating this way, every time the control callback is fired by any control it will receive the assigned callbackData, and you will be able to differentiate your code by a simple switch:
switch ((int)callbackData) {
case 1: // The master control
break;
case 2: // The first duplicated control
break;
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos? -
How to get the name of a cell style
Hi, All,
I have a question about how to get the cell style name used by each cell in a table.
I looked at all the fonctions provides by: ICellStylesFacade and ITableStylesFacade, but I did not find the fonction I need.
Can someone give me some advises?
Thanks in advance!!String myFileName = request.getRequestURL().substring(request.getRequestURL().lastIndexOf("/")+1);
or with javascript
<H1><script>document.write(document.location.href.substring(document.location.href.lastIndexOf("/")+1))</script></H1>
bye! :) -
How to get the name of the subform
Hi All,
My form is designed in the below structure.
masgterpage-->form1-->table
-->subform
How can i get the name of the subform dynamically(as it varies from page to page, but the rest of the structure is same).
Please help me.
Thank you,
Saravanakumar.Hi there,
the name property would be the correct attribute to get the subform name, just by looking at the code it doesn't seem like it's doing the right thing
I am assuming that you send Main in the function countChk() which would look something like this
countChk(Main);
And you probably want to make sure you are entering the right subform so you need to keep that loop at the end of the function
but if you want to get through all the checkboxes inside that subform you must do a loop through that node to find each checkbox
I am assuming that the function would probably look something like this
function countChk(vNode) {//Starts vNode with Main
for (var i = 0; i < vNode.nodes.length; i++) {
if (vNode.nodes.item(i).className === "field") {
if (vNode.ui.oneOfChild.className === "checkButton") {
if (vNode.items.nodes.length > 1) {
if (vNode.value.oneOfChild.value == 1) {
nChk++ ;
}else if (vNode.nodes.item(i).className === "subform"){
if (vNode.nodes.item(i).name === "Door_Subform"){
countChk(vNode.nodes.item(i));
}//endloop
Hope this help! -
How to get the name of the class which is currently in use
Hi all,
I have two classes Mother and Child, and I use this code to print the name of the class in use
DATA m TYPE REF TO zmother.
DATA class_name type string VALUE 'CHILD'.
CREATE OBJECT m TYPE (class_name).
CALL METHOD m->PrintName .
So, what is the source code that I have to put in the PrintName methode?
Thanks.Ok, but how can I get the name of the object class that calls the methode!
REPORT ztest_method.
* CLASS c1 DEFINITION
CLASS c1 DEFINITION.
PUBLIC SECTION.
METHODS: get_data.
ENDCLASS. "c1 DEFINITION
* CLASS c1 IMPLEMENTATION
CLASS c1 IMPLEMENTATION.
METHOD get_data.
****** What is the code to put here to know the name of this Class?*
ENDMETHOD. "get_data
ENDCLASS. "c1 IMPLEMENTATION
DATA oref TYPE REF TO object.
DATA: method TYPE string.
DATA: cla_name(20).
START-OF-SELECTION.
cla_name = 'C1'.
CREATE OBJECT oref TYPE (cla_name).
BREAK-POINT.
CALL METHOD oref->(method).
Maybe you are looking for
-
Web Application Designer - export to XLS/PDF layout
Hello experts, I have a situation when Web Report has 6 different data providers. Each of these data providers is assigned to analysis item. So there are 6 analysis items (let's call them AI1, AI2, AI3, AI4, AI5 and AI6). When I do the export to exce
-
Variable not found in class - Newbie
public void executeSearch() { try { File startSearchDir = new File(directory); } catch (NullPointerException npe) { System.out.println("The file path entered is not valid."); return; File [] fileArray = startSearchDir.listFiles(); Why is the startSea
-
Re: MB5B report reg.
HI guru's, We all know that MB5B (Stock on posting date) is a standard report, but I want to know what are the parametres it is displaying the report (documentation). its ur pl. full points will be awarded. thanks tuljasingh.
-
I am installing R12 on Oracle Enterprise Linux and gettiing above errors. ++++++++ Platform++++++ (I) OS: OEL 4 64-bit update 7 ( installed from DVD if that matters) [root@arun2 vmware]# uname -a Linux arun2.devar.com 2.6.9-78.0.0.0.1.ELsmp #1 SMP Fr
-
Youtube crashes on macbook pro
I have a problem that youtube videos play a couple of seconds and then start loading and nothing happens. The time is at 0:00 and that's it. You can't do anything. I've searched the internet for answers but I got nothing. I hope that someone has had