Find out IBase from Handle (inside BADI_IBASE_SAVE_CHCK)
Hello,
I have to use BADI_IBASE_SAVE_CHCK to save additional data after IBase data has changed. The BADI has the import parameter HANDLE. Does anybody know how I can find out which IBase stands behind this temporary handle? Thanks in advance...
Regards, Kay
I need some help on the same issue .. just wondering if the original requestor has found solution or workaround for this. What we've in this BADI is only the handle number which doesn't seem to mean anything.. IB_COM1_READ_IBASE will not return us the ibase as expected .. the FM needs the ibase to work.
Similar Messages
-
How to find out last_query from jsp form in oracle applications
Hi
At present i am working on Quality Module.
in India Localization.
In Quality module -> Results -> Inquiries -> Skip Lot Inquiry
If i enter our organization name
Then its openning one form.
I am unable to find out the table names from the jsp form.
User also unable to comment on it.
So, please help me on this issue.
Regards,
Pradeep.Hi
Once you open the jsp form, at below leftside corner you can see link : About This Page. If you click on the link : About this Page this again open another window, there you can see multiple tabs at header level, if you click on page tab, there you can all the VO objects used to build this page. If you click on VO object hyperlink you can see the query. -
How to find out OrgUnit from the MSS team viewer iview
Hi Experts,
Please refer following link:
https://wiki.sdn.sap.com/wiki/display/profile/HowtoreadinformationfromtheteamviewerinWeb+Dynpro
Using this link, I am able to find out the perno.
I have to find out OrgUnit of selected person. I did the mapping. I have also written following code:
String orgunit = wdContext.currentSelectedOrgUnitElement().getObjid();
wdComponentAPI.getMessageManager().reportSuccess("You have selected orgunit "+ orgunit);
However, orgunit value is always null
Can you please let me know how we can get the orgunit in this case?
Regards,
GaryHi Gabriel,
Requirement 1
Thanks. I did so. Using this I can see the OrgUnit. However, this is the OrgUnit of MSS user. It remains same through out the program. It is unlike pernr which changes as the user clicks on different Employees.
My exact requirement is as below:
User will click on Employee Selection drop down box. After that he will select "Employees from Organizational Structure". Here organization structure will be displayed. Now the user will expand Org Structure. I want to know the Org Unit of different Organization as the user will go on expanding the Org Structure using the buttons
Requirement 2
User will click on Employee Selection drop down box. After that he will select "Employees from Organizational Unit". Now we can see the Go button. I have to write some code on the button. Where I can find the code for the button. I spent lot of time. I am not able to find out the exact place where the view for the button is located.
Please help.
Regards,
Gary -
How to find out the set handler for a particular signal?
I have an interesting puzzle to solve. l'm investigating problems with someone else's code and I'd like to get the name of the handler that is set for SEGV. psig shows that the process catches SEGV, however I don't have access to the source code for all the libraries it links against and none of the source code I have sets a handler for SEGV. Is there a way to find out the name of the signal handler that is set for a particular signal in a process? I'm sure the source was compiled with cc -g. Solaris 8
Hello Haritha,
Please follow the path.
Go to RSA1 -> Metadata Repository ->DataStore Objects(ODS) -> Find you DSO(ODS) there and click on that, you will get all the details(Queries, Objects - Char, Key figures, update rules,etc..) related to that particular DSO(ODS), same is the case for Cube as well.
Please assign points. -
How to find out index from table?
Hi all,
I've tried to create indexes to some columns from some tables to use for Oracle Text.
I ve got a error message saying that I can not create an index:
"cannot create multiple domain indexes on a column list using same indextype".
I was wondering if an index already exists for that column, how do I find out the name of the index that points to that paticular colum?
Thanks a lot
E.Check the view dba_ind_columns
That will tell you.
something like;
select index_name, column_position, column_name from dba_ind_columns
where table_name = '<table name>'
order by 1,2 -
Howto find out location from where class was loaded
Hi all.
Is there any way I can find out from which directory, jar or url a certain object/class was loaded?
Somewhere in the code the object is instantiated (class is loaded). E.g. like so:
SomeObject someObjectInstance = SomeObjectFactory.getInstance();
Can I use this object to find out from where in the file system it was loaded? E.g.
someObjectInstance.class.fooMethod() or
someObjectInstance.class.getClassLoader.barMethod()
Thanks for any help.
JoeUsage is actually like so:
MyClass myInstance = (...)
myInstance.getClass().getResource("/package/MyClass.class") returns the url object, pointing to the class;
if you want a string instead, simply append toString():
myInstance.getClass().getResource("/package/MyClass.class").toString() -
How to find out Application from Component
Hi Experts,
I have a component called FITV_VT_TRIP_DOCUMENT which is called from two applicatons FITV_POWL_TRIP and another one say ABC.
Now i need to know which application is calling the component.
Is there any Class->Method to find out the application name from component.
Or Is there any method to get the browsers URL from that component.
Thannks,
chandraHi,
When you pass the Application name you can get the URL (But this can be mapped to external alias also).
* Generate the url for the component
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = 'ZWDC_SALES_REPORT' "Application name
IMPORTING
out_absolute_url = lv_url. "String
"This can be an internal alias
Refer these links -
To get Component name from Application -
How to get Component name from Application
Get the Calling WD component name -
The name of calling WebDynpro
Regards,
Lekha. -
How to find out tcode from a program that can run the same report?
Hello all,
I have a program name and I can see it is successfully proccessed. Now if I want to get the report via a tcode, how can I get it?
How can I find the tcode from the program itself?
Regards,Hi,
1) Go into SE80, > Enter the name of the program, and press 'Enter'.
2) You will see a folder called 'Transactions' appearing in the object list on the bottom left.
3) Open the folder, and you'll find T.code of that program.
Thanks,
Nirav -
Finding out timezone from TimeZone offset
Hi,
I'm using JavaScript to find out the local time on client, setting it to a cookie.
I then retrieve the value in a JSP page to find out the correction necessary for adjusting the time (in UTC) to local time. The problem, however, is that JavaScript returns the Daylight Savings Offset and the Zone_offset as one total, making it impossible to find out what TimeZone this Offset maps to.
My utility class is using the myCalendarObj.setTimeZone (tz) to adjust the time stamp.
Any suggestions on how I could find out what TimeZone my offset maps to, or any other suggestion??
Regards,
MarkAnd what to do with problem of Daylight Saving Time? Not all countries use it. For instance, try to get all TimeZone IDs for GMT +00:00...
For this moment, I see only 2 solution: write a little applet, that will be detect TimeZone of client or lets user to detect his location (like in "Settings" for this page - top right corner). But it's bad solutions. -
How to find out combination from following situation
Dear all,
It is bit different,with your permition,i am taking this apartunity to make some changes.
1 2 3 will always be in this order {123}, i want to find out number of cases can be made,
like {1},{2},{23},{13},{12},{123}{3},{}. but each number has two states like "a" "b", i.e,
each one will become different entity,like 2a,2b,3a,3b,1a,
with only exception i.e. 1 will have only one state 1a.
please tel me step wise using formulas, so that i can understand, also any link will be helpfull.
is there any way to solve this using tsql program or any programm exist in any other language.
yours sincerlyHi Saeid
Compare the Execution plan of those queries:
SELECT 'a' s UNION SELECT 'b'
SELECT 'a' s UNION ALL SELECT 'b'
If you know that the values are unique always use UNION ALL and not UNION :-) It is much better (in the execution plan comparing the queries above you will get 56% vs 44%).
[Personal Site] [Blog] [Facebook] -
How to Find out the from which table we can get the following fields?
The following fields are from invoice data
How to know or from which table we get the following fields:
Header Details:
Manifest:, Finance Control #:, Alternate SID:, Carrier:, Container/Trailer #:, Hazmat Code:, Harmonizing Code, Freight Forwarder, Fiscal Rep., Ship From, Notify Party
Item Details:
VAT/Tax Rate %, VAT/Tax Amount, Measurements, Net Weight, Gross Weight
thanksDear Krishnama
Place your mouse on the required fields and press F1. A box with header Performance Assistant will appear in front of you where you select "Technical information" (icon like hammer and spanner).
You can now see what table it is.
thanks
G. Lakshmipathi -
How to find out software from apple store
Dear sir
i don't have open a apple store so how can i download other app.What do mean by 'don't have open a apple store' ? What problem are you having ? As you've posted on here then you have an account.
If you want to create another one then there are instructions on this page for doing so : http://support.apple.com/kb/HT2731
Or if you don't want to give credit card details then follow the instructions on this page when creating it : http://support.apple.com/kb/HT2534 -
Hi Experts,
i have some query
i am not finding my user password in oracle ,
should i find out password from username and encrypted password
means (example)
select username,password from dba_users ;
PERFSTAT A68F56FBBCDC04AB
CTXSYS D1D21CA56994CAB6
DBSNMP E066D214D5421CCC
XDB E76A6BD999EF9FF1
myuser 461064AE71029EDD
in above query bold type is my user but how can find out these password?i am not finding my user password in oracleIf you just find user passwords like that dont you think that would be a security loophole?
should i find out password from username and encrypted password Why?
in above query bold type is my user but how can find out these password? Once again why?
Adith -
Having issues finding out how many bytes are sent/recieved from a socket.
Hello everyone.
I've searched the forums and also google and it seems I can't find a way to figure out how many bytes are sent from a socket and then how many bytes are read in from a socket.
My server program accepts a string (an event) and I parse that string up, gathering the relevant information and I need to send it to another server for more processing.
Inside my server program after receiving the data ( a string) I then open another port and send it off to the other server. But I would like to know how many bytes I send from my server to the other server via the client socket.
So at the end of the connection I can compare the lengths to make sure, I sent as many bytes as the server on the other end received.
Here's my run() function in my server program (my server is multi threaded, so on each new client connection it spawns a new thread and does the following):
NOTE: this line is where it sends the string to the other server:
//sending the string version of the message object to the
//output server
out.println(msg.toString());
//SERVER
public class MultiThreadServer implements Runnable {
Socket csocket;
MultiThreadServer(Socket csocket) {
this.csocket = csocket;
public void run() {
//setting up sockets
Socket outputServ = null;
//create a message database to store events
MessageDB testDB = new MessageDB();
try {
//setting up channel to recieve events from the omnibus server
BufferedReader in = new BufferedReader(new InputStreamReader(
csocket.getInputStream()));
//This socket will be used to send events to the z/OS reciever
//we will need a new socket each time because this is a multi-threaded
//server thus, the z/OS reciever (outputServ) will need to be
//multi threaded to handle all the output.
outputServ = new Socket("localhost", 1234);
//Setting up channel to send data to outputserv
PrintWriter out = new PrintWriter(new OutputStreamWriter(outputServ
.getOutputStream()));
String input;
//accepting events from omnibus server and storing them
//in a string for later processing.
while ((input = in.readLine()) != null) {
//accepting and printing out events from omnibus server
//also printing out connected client information
System.out.println("Event from: "
+ csocket.getInetAddress().getHostName() + "-> "
+ input + "\n");
System.out.println("Waiting for data...");
//---------putting string into a message object-------------///
// creating a scanner to parse
Scanner scanner = new Scanner(input);
Scanner scannerPop = new Scanner(input);
//Creating a new message to hold information
Message msg = new Message();
//place Scanner object here:
MessageParser.printTokens(scanner);
MessageParser.populateMessage(scannerPop, msg, input);
//calculating the length of the message once its populated with data
int length = msg.toString().length();
msg.SizeOfPacket = length;
//Printing test message
System.out.println("-------PRINTING MESSAGE BEFORE INSERT IN DB------\n");
System.out.println(msg.toString());
System.out.println("----------END PRINT----------\n");
//adding message to database
testDB.add(msg);
System.out.println("-------Accessing data from Map----\n");
testDB.print();
//---------------End of putting string into a message object----//
//sending the string version of the message object to the
//output server
out.println(msg.toString());
System.out.println("Waiting for data...");
out.flush();
//cleaning up
System.out.println("Connection closed by client.");
in.close();
out.close();
outputServ.close();
csocket.close();
catch (SocketException e) {
System.err.println("Socket error: " + e);
catch (UnknownHostException e) {
System.out.println("Unknown host: " + e);
} catch (IOException e) {
System.out.println("IOException: " + e);
}Heres the other server that is accepting the string:
public class MultiThreadServer implements Runnable {
Socket csocket;
MultiThreadServer(Socket csocket) {
this.csocket = csocket;
public void run() {
try {
//setting up channel to recieve events from the parser server
BufferedReader in = new BufferedReader(new InputStreamReader(
csocket.getInputStream()));
String input;
while ((input = in.readLine()) != null) {
//accepting and printing out events from omnibus server
//also printing out connected client information
System.out.println("Event from: "
+ csocket.getInetAddress().getHostName() + "-> "
+ input + "\n");
System.out.println("Lenght of the string was: " + input.length());
System.out.println("Waiting for data...");
//cleaning up
System.out.println("Connection closed by client.");
in.close();
csocket.close();
} catch (IOException e) {
System.out.println(e);
e.printStackTrace();
}Here's an example of the program works right now:
Someone sends me a string such as this:
Enter port to run server on:
5656
Listening on : ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=5656]
Waiting for client connection...
Socket[addr=/127.0.0.1,port=4919,localport=5656] connected.
hostname: localhost
Ip address: 127.0.0.1:5656
Waiting for data...
Event from: localhost-> UPDATE: "@busch2.raleigh.ibm.com->NmosPingFail1",424,"9.27.132.139","","Omnibus","Precision Monitor Probe","Precision Monitor","@busch2.raleigh.ibm.com->NmosPingFail",5,"Ping fail for 9.27.132.139: ICMP reply timed out",07/05/07 12:29:12,07/03/07 18:02:31,07/05/07 12:29:09,07/05/07 12:29:09,0,1,194,8000,0,"",65534,0,0,0,"NmosPingFail",0,0,0,"","",0,0,"",0,"0",120,1,"9.27.132.139","","","","dyn9027132107.raleigh.ibm.com","","","",0,0,"","","NCOMS",424,""
Now my program makes it all nice and filters out the junk and resends the new string to the other server running here:
Enter port to run server on:
1234
Listening on : ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=1234]
Waiting for client connection...
Socket[addr=/127.0.0.1,port=4920,localport=1234] connected.
Parser client connected.
hostname: localhost
Ip address: 127.0.0.1:1234
Event from: localhost-> PacketType: UPDATE , SizeOfPacket: 577 , PacketID: 1, Identifer: UPDATE: "@busch2.raleigh.ibm.com->NmosPingFail1" , Serial: 424 , Node: "9.27.132.139" , NodeAlias: "" , Manager: "Omnibus" , Agent: "Precision Monitor Probe" , AlertGroup: "Precision Monitor" , AlertKey: "@busch2.raleigh.ibm.com->NmosPingFail" , Severity: 5 , Summary: "Ping fail for 9.27.132.139: ICMP reply timed out",StateChange: 07/05/07 12:29:12 , FirstOccurance: 07/03/07 18:02:31 , LastOccurance: 07/05/07 12:29:09 , InternalLast: 07/05/07 12:29:09 , EventId: "NmosPingFail" , LocalNodeAlias: "9.27.132.139"
Lenght of the string was: 579
The length of the final string I sent is 577 by using the string.length() function, but when I re-read the length after the send 2 more bytes got added, and now the length is 579.
I tested it for several cases and in all cases its adding 2 extra bytes.
Anyways, I think this is a bad solution to my problem but is the only one I could think of.
Any help would be great!(a) You are counting characters, not bytes, and you aren't counting the line terminators that are appended by println() and removed by readLine().
(b) You don't need to do any of this. TCP doesn't lose data. If the receiver manages get as far as reading the line terminator when reading a line, the line will be complete. Otherwise it will get an exception.
(c) You are assuming that the original input and the result of message.toString() after constructing a Message from 'input' are the same but there is no evidence to this effect in the code you've posted. Clearly this assumption is what is at fault.
(d) If you really want to count bytes, write yourself a FilterInputStream and a FilterOutputStream and wrap them around the socket streams before decorating them with the readers you are using. Have these classes count the bytes going past.
(e) Don't use PrintWriter or PrintStream on socket streams unless you like exceptions being ignored. Judging by your desire to count characters, you shouldn't like this at all. Use BufferedWriter's methods to write strings and line terminators. -
How to find out if ENQUEUE_ESRDIRE is used inside a standard program!
Hi All,
I have run VFX3 to rellease billing document using VF02 BDC that is called inside VFX3.
I used debugging to find out in ENQUEUE_ESRDIRE, or ENQUEUE_E_TRDIR is used anywhere in the process.
I also used System Debugging and Break-point at statement functions. But I have not ben stopped at these function modules.
However, I checked using ST05 with enqueue trace enabled, and I found the below entries.
255 ESRDIRE ENQUEUE 1 0 Excl(***) TRDIR GP3VOFY4EM1BE5DHB1155DUU8H
37 ESRDIRE DEQUEUE 1 0 Excl(***) TRDIR GP3VOFY4EM1BE5DHB1155DUU8H
My query is how can we debug to a point where these lock objects are used or Do these lock objects are not identified in debug mode but are logged while enqueue trace used i.e., SAP uses internally?
Please help me as this helps me in resolving an issue where locking issue is there that fails to update VFX3 becuase for one user
in SQL trace it is logged as VF02 TRDIR Lock > 6 hours VF02 TRDIR
and for another job "UPD 42 050 BATCHFIN GZZ K > Obj: ESRDIRE # enxxhead7727" is logged in ST05.
Regards,
PratyushaHi Clemens,
I was unable to trigger the exact point from where this lock object has triggered.
But I am sure that it is a standard SAP process which is locking while releasing the billing documents.
Now my query is why SAP why SAP'S standard program VF02 that is internally called by VFX3 (RVFAKSPE) and that can be submitted in background mode will use ESRDIRE lock whil each time it releases the block?
The problem I am facing is - there are different BATCH jobs and all are for VFX3 with different variant so that no billing document is processed by two different jobs at same time. However the lock entries ENQUEUE_ESRDIRE is creating problem as it is creating locking issue and hence the jobs are processed longer than expected. This is evident from ENQUEUE trace of ST05.
Is VFX3 ( In version 4.5B) is meant for running 1 background job of VFX3 at a time?
Regards,
Pratyusha
Maybe you are looking for
-
Archive Utility's option "save in" doesn't work
Archive Utility's option "save in" doesn't work in Finder. Even I use its .prefPane and set it there- I only want all my archives created with Finder are saved on the Desktop- What's wrong with Mac OS X?
-
Is there anyway to go back to a previous session when using session restore?
tonight when I restarted Firefox after it crashed, I got a message to update an java add-on which I did and when I reopened Firefox the previous session was gone. is there a way to go back to the previous session or has it been lost, seeing that Fire
-
how do i change my ipod format from windows to mac? and how would i transfer my library from my pc to my mac?
-
How to disable resizing images and tables in designMode?
In own wysiwyg editor this function must be disabled. How make it disabled?
-
Jan 16 10:32:32 aai-cms-app1 fctl: [ID 517869 kern.warning] WARNING: 65=>fp(4)::GPN_ID for D_ID=10f0 0 failed Jan 16 10:32:32 aai-cms-app1 fctl: [ID 517869 kern.warning] WARNING: 66=>fp(4)::N_x Port with D_ID=1 0f00, PWWN=100000e0022362bb disappeared