How to find the name of the block and yours items at runtime
Hi, everybody.
I wonder if there is any way to list the name of a block and their respective items that forms at run time. for example, using a loop in wnfi.
Since already thank you.
Sorry for my bad English.
Hi,
Try this code. It will travel through all block's items.
DECLARE
Str_First_Block VARCHAR2(100) := NULL;
Str_First_Item VARCHAR2(100) := NULL;
Str_Current_Block VARCHAR2(100) := NULL;
Str_Current_Item VARCHAR2(100) := NULL;
BEGIN
Str_First_Block := :SYSTEM.CURRENT_BLOCK;
LOOP
IF Str_Current_Block IS NULL THEN
Str_Current_Block := Str_First_Block;
END IF;
Str_First_Item := GET_BLOCK_PROPERTY(Str_Current_Block, FIRST_ITEM);
LOOP
IF Str_Current_Item IS NULL THEN
Str_Current_Item := Str_First_Item;
END IF;
MESSAGE('Item - ' || Str_Current_Block || '.' || Str_Current_Item);
PAUSE;
Str_Current_Item := GET_ITEM_PROPERTY(Str_Current_Block || '.' || Str_Current_Item, NEXTITEM);
EXIT WHEN Str_Current_Item IS NULL;
END LOOP;
Str_Current_Block := GET_BLOCK_PROPERTY(Str_Current_Block, NEXTBLOCK);
EXIT WHEN Str_Current_Block IS NULL;
END LOOP;
END;Regards,
Manu.
If my response or the response of another was helpful, please mark it accordingly
Similar Messages
-
How to find table name for the fields from Standard Extractor in CRM system
How to find table name of fields from the standard extractor in CRM system ?
e.g. We use LBWE TCode in R/3 system to find table name for the field from Extractor VCSCL(e.g.).
Likewise is there any way to find table name for the fields from Standard extractor like 0CRM_LEAD_I.Hi ,
Please find the link below for understanding BW CRM analysis.
http://help.sap.com/bp_biv135/html/bw.htm
activate the CRM DSs by scenario:
1) Activate the application component hierarchy (tcode RSA9). Changes made to the application component hierarchy in the CRM system can be transferred to the BW using the "Edit Application Component Hierarchy" (SBIW - Postprocessing of DataSources).
SAP Note 434886 must be implemented in CRM 3.0 before the application component hierarchy is activated.
2) Activate the Business Content DataSources (tcode RSA5).
Select/enter the application component and choose Execute (F8).
To compare the shipped and active versions, choose the 'Select Delta' pushbutton. If there is no active version of the DataSource, it is selected automatically.
To activate the shipped version, choose the 'Transfer DataSources' pushbutton.
3) Management of the versions of the BW-Adapter metadata (tcode BWA5). All DataSources are displayed that are managed by the BW Adapter.
As in transaction RSA5 (Service API Metadata Activation), the 'Select Delta' function can be used to select the inactive DataSources or compare shipped and active versions.
You can also go directly to the screen for maintaining DataSources that are managed by the BW Adapter.
The 'Compare Version' function makes a detailed comparison of the shipped and active versions.
All BW-Adapter metadata is considered when versions are compared:
Header information (Table SMOXHEAD)
Mapping information (Table SMOXRELP)
Global selection conditions (Table SMOXGSEL)
Attribute key fields (Table SMOXAFLD)
Hope this helps.
Regards,
csm reddy -
How to find domain name for the host
I have found the hostname but I am not able to find the domain name , how can I do that?? From the forums I was able to understand why the BSP Application was not displaying but unable to execute the same as I was unaware of the domain name.
Thanks in advance.
Regards,
NarayaniHi Narayani,
What about doing something like this?
data: urls type tihttpurls2,wa type IHTTPURLS2, host type string.
call method cl_http_server=>get_extension_info
EXPORTING
extension_class = 'cl_http_ext_bsp'
IMPORTING
urls = urls.
concatenate sy-sysid '.' into host.
translate host to lower case.
loop at urls into wa.
replace host in wa-host with ''.
endloop.
The idea is that you get all the possible URLs and then delete the host part of it. Then you get the domain.
Eddy -
How to find workarea ID for the work area name.
Hi Experts..
How to find workarea ID for the work area name.(Work area name CCIHT_WAH-WAID and I want to fetch characteristic data from table AUSP matching the OBJEK field,but I only have Work area name).Can anybody help me to find tables or relationship between Workarea ID and Workarea name for the same.I am using TCODE - CHIB02.Once I select a workarea and click on IHS Data button,I get data for that workarea.I need to find where this data comes from and How is this fetched.
Points would be rewarded for helpful answers..
Thanks
Kunal HalarnakarU want to fetch the workarea description ?
we can fetch it from CCIHT_WALD table with the RECN value.
The informations are stored in AUSP table with the characterstic(ATINN) value. -
I've installed LR on my new Mac - How do I find/what is the name of the file that opens to bring up my existing photos (on my external hd)?
Bookmarks and history are stored together in your profile folder in a database file named places.sqlite. These articles should help with restoring as much or as little of your other profile as you like:
Locating the folder: [https://support.mozilla.com/en-US/kb/Profiles Profiles | How to | Firefox Help]
The following article has suggestions for recovering bookmarks: [http://support.mozilla.com/en-US/kb/Lost%20Bookmarks Lost Bookmarks | Troubleshooting | Firefox Help].
To move more settings, see: [https://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile Recovering important data from an old profile].
Hope this helps. -
How to get the name of the selected building block in a building block content control?
Hello,
How can I obtain the name of the selected building block in a building block content control?
I want to use this together with an on exit-event to populate other content Controls depending on the name of the selected building block item.
Environment: Word 2010.
Thanks,
PeeterHi Peeter,
As far as I know the building block is the pre-built content, and the
BuildingBlock object represents a building block in a template. After add the building block to the document, it inserts the content to the document.
Building blocks are stored in the templates, therefore, to access the building blocks available for a document, we need to access an attached template.
So, I think, we can’t obtain selected building block in the document.
There are some links that may benefit you:
# BdingBlock Object (Word)
https://msdn.microsoft.com/en-us/library/office/ff192414.aspx?f=255&MSPPError=-2147217396
# Working with Building Blocks
https://msdn.microsoft.com/en-us/library/office/ff837878.aspx
# Set the Building Blocks That You Can Use for a Content Control
https://msdn.microsoft.com/en-us/library/office/ff197523.aspx
Regards
Starain
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How can I find out the name of the folder my java program is in?
Hi, I'm trying to make a little utitlity that makes a bunch of url shortcuts based on the name of the folder I run the java from.
i.e.
I have my executable jar in C:/Someplace/My Folder Name/
I'd like to be able to double click on the jar and it creates the url shortcuts for me using "My Folder Name" as a parameter.
I've done the shortcuts bit but can't figure out (=find a tut) how to read the folder name.
Thanks to anyone who can help!import java.io.*;
import java.net.*;
import java.security.*;
public class Attempt {
public static void main(String[] args) throws IOException {
System.out.println(new Attempt().getFolder());
public File getFolder() throws IOException {
ProtectionDomain domain = getClass().getProtectionDomain();
CodeSource source = domain.getCodeSource();
URL url = source.getLocation();
if (!"file".equals(url.getProtocol())){
throw new IOException("Code source location not a file:" + url);
String path = url.getPath();
//remove xxx.jar from path:
return new File(path.substring(0, path.lastIndexOf('/')));
} -
How to find the name of the main program in the SM35
Hi all,
I have problems to find which program a batch input belongs to: may I explain myself...I can see in transaction SM35 several session names but no trace of the name of the program which is being used...I tried to find it with table APQI but no results so far. Does anyone know how can I get this information?
Thanks a lot!Check table TBTCP
Regards,
Rich Heilman -
How to find the name of the program of session in sm35 ?
I have some session in sm35.
How to find the name of the program of session in sm35 ?
Could you please help me ?In the list of sessions displayed -> double click the session that an error (i.e. Transaction Ended with errors).
Then it will take you to another screen, here you choose the Screens tab.
Check
Re: BDC session's program name
Re: BDC session's program name
Regards,
Santosh
Message was edited by:
Santosh Kumar Patha -
How to find out the name of the executable
hi,
say, i have an executable jar called Hello.jar. how do i know the name "Hello.jar" in main() when the executable jar is launched.
that is, if i rename Hello.jar to HelloWorld.jar, how can main() know about this? this matters because i want to run the app
in a separate process, which requires the name of the application.
thanksyes to question 1: because i'm calling into a dll through jni to display a screensaver in the preview window. not spawning a separate process causes windows to hang for a while before
the screensaver is displayed. the new process is passed arguments that are checked by main() so that another process won't be created (no infinite recursions).
thanks. -
How to find the Name of the BSP Application Being Invoked?
Hi ,
Is there any FM or method that would return the name of the BSP Application being invoked?
Say i have a method A which is being invoked by 2 BSP Application B and C. How do we determine which BSP is invoking the method A?
Any input on this regard will be of great help.
Thanks and Regards,
PavithraHi,
this methods are not 100% efective but you may try it:
On runtime:
set an external breakpoint in your method A and run your application. When it stops, the debugger has many folders, so press the one marked with "Standard" and in section ABAP stack you see the different call steps that have been executed, including the application that is calling the method.
For this you must activate the new debugger (Utilities --> settings --> ABAP editor --> Debugging)
On development time:
Click on method A and press button Where-used list. In the incomming window press BSP applications.
Hope it helps. -
How to find the name of the calling procedure
Hi,
Can anybody please help me out urgently. Inside one procedure or function,i want to get the name of the procedure calling this procedure. In other words, i want to get the name of the calling procedure inside the called procedure.
Please reply soon.Have a nice time.
Thanks & Regards
JogeshHi Rod West,
Thanks for your reply. Can you please give an example how to use this.just simple example where it will display the name of the calling proc in the called proc.Please help.
Thanks & Regards
Jogesh -
Existing cross Reference: how to change the name of the file it refers to?
Hi everybody,
I am a professional translator.
One client of mine sent me a complete FrameMaker 9 book file for translation.
I translated the content via a CAT-Tool and now am in the process of checking if cross references and markers are ok directly into the file.
I noticed that many cross references are linked to another file of the book. But in the process of translating each file separately, I gave them a slightly different name (I added the language at the end) so as to be able to recognise them eventually.
Now I have this problem: I cannot find in the cross reference interface where to change the name of the file into the new one the cross reference is supposed to refer to.
Am I right in wanting to change the file reference? If so, how do I do that?
Or is it better to avoid this task and rename the translated file into their original names ? Would it work then?
Thanks for your help.... book file ...
... each file separately, I gave them a slightly different name (I added the language at the end) ...
I'm guessing that you renamed the component files by means other than using the Edit > Rename File from the Book menu.
If so, do over. Rename from the Book menu. It automatically revises all the cross-references in all the component files.
In a Book, the only thing that's safe to rename with the file manager is the .book file itself. -
How to Find out what are the top 20 queries executed in the system
Hi Guru's,
I would like to know how to gather the information regarding the Top 20 queries used in the system per week, by a multicube.
Note: I am using BI 7.0 and also Statistics are turned on.
People have provided me the Cube name and table name last time but nothing seems to work.
I do not have the query names and I just have my multiprovider name and with the help of that, I want to find out what are all the queries which were executed related to that multiprovider.
Thanks and regards,Hi,
Here is an idea for your request.
Basically you can create a simple query on multiprovider 0TCT_MC01.
Filter: you can use a variable for restriction of time ( calday, or calmonth) since you should be interested for a time period.
Choose following characters into your objects:
InfoProvider ( 0TCTIFPROV ) - you can create a variable for choosing infoprovider before query runs.
*Tp.[Type of BI Application Object] 0TCTBISOTYP = filter this with 'QUERY' or whatever your need is.
*BI Application Object 0TCTBISBOBJ, ( this will give you the name of the queries)
In key figures choose, Count for BI Appl. (0TCTWTCOUNT).
(number for query run)
Create a condition , for top 20.
Hope this helps.
Derya -
How to find out tcode for the zprogram.
Hi All,
How to find out the Tcode of a Zprogram.
I will appritiate your help.
Thanks,
Veni.Couple of ways to do this, one is to go to SE93 and do F4 on the transaction code field, click information system, click the all selections icon, then put the name of the z program in the field, and hit enter, this will give you the tcode.
Regards,
RIch Heilman
Message was edited by:
Rich Heilman
Maybe you are looking for
-
I have two Apple ID's and I want to combine the itunes file so that they are on one computer and I can sync all the files to my ipod. Is that possible?? Help!
-
Is there a way to find the photos that iTunes backs up from the iPhone?
A friend of mine had to replace his phone and something happened when he added the new phone. He can't find his photos that should have been backed up. There must be a file somewhere where they are saved on the computer I would think. Can it be acces
-
Device removal error: why does external HD randomly eject?
I just picked up leopard, and a vantex enclosure and a 500 gb hitatchi enclosure. Whenever I try to run time machine, the external hard drive unmounts but the hard drive is still running. When formatted it coupe times over as a mac OS Extended (Journ
-
Other is taking a lot of my drive, help! I need to restore my iTunes
So I got a message to delete some files because my memmory was low, when I came here to check I had 200 mb left; I had 104 gb from itunes and other was taking 105 gb, this picture was from today after I removed itunes, other is still huge and now I d
-
How to make Forefront TMG build VPN site-to-site tunnel with reduced subnet
I am trying to implement a Site-to-Site VPN tunnel with a supplier. We are using Forefront TMG 2010 SP2 (Site A) and they are using Cisco ASA (Site B) I have complete access to SITE A, but no access to Site B (suppliers end) We have set up the VPN tu