Where the result of proactive command GETINPUT  get stored?

Hi to all
i am writing one sim toolkit applet for an application.
i am asking user for input (input must be digits only)using GETINPUT proactive command.
Now i want to store user response,but while storing the response
i am getting random value.
I am doing like this;
//this is function to ask user for input
private byte []getInput(byte []input)
     ProactiveHandler proHdlr = ProactiveHandler.getTheHandler();          
     proHdlr.initGetInput((byte)0x00, DCS_8_BIT_DATA, input,(byte)0x00,
(short)input.length,(short)0x0001,(short)buffer.length);
proHdlr.send();
return buffer;
//call to fuction is like this
buffer = getInput(amount);
i am displaying value of buffer as amount.is it so?
or How can i get the value of amount?
Thankx in advance.
Warm Regards
Divyesh.

The buffer where the result will be stored is not passed as an argument to the initGetInput.
after you call the proHdlr.send(), the STK Framework will prepare an instance of the Object ProactiveResponseHandler. So you have to get a reference to this instance by doing :
ProactiveResponseHandler prh = ProactiveResponseHandler.getTheHandler();and use it to manipulate the data enterd by the user :
prh.getTextStringLength() : returns the length of the input (number of characters, or bytes)
prh.copyTextString(MyBuffer, MuOffset ); : will copy the entered data to a buffer (MyBufer) at a specified Offset.
after this, you can process the data stored in MyBuffer.
in a nutshell, the first "location" where the entered user data is stored is system internal, but you can copy it by the copyTextString method.
Kartagos

Similar Messages

  • Tables where the survey questionnaire and response information gets stored

    Dear experts,
    Could you please help me with the information on the tables where the survey and survey responses will get stored in the system?
    Thanks and regards,
    Ranjan

    Hi,
    These are all talbes in SRM relates to Survey.
    ROST_LANG_QSTN        Language Selection for Question 
    ROST_PCAT_QSTN        Assign Product Category and Questionnaire to Lan 
    ROST_SEL_PRODCAT    Product Categories for Regis 
    ROST_WS_QSTN            Web Survey Questionnaire 
    ROS_BP_PC_SURVEY    Assign Vendor, Product Category, Survey 
    CRMD_IC_SCRATTR        Script/Survey attributes (Interactive Script Editor) 
    ROST_WS_QSTN            Web Survey Questionnaire 
    ROS_BP_PC_SURVEY    Assign Vendor, Product Category, Survey 
    TUWS_SURVEY              Survey 
    TUWS_SURVEY_LOG     Survey Log 
    TUWS_SURVEY_PUB      Survey Publishing 
    TUWS_TAROBJ               Survey: Recipients 
    TUWS_TAROBJ_ATTR    Survey: Recipient Attributes 
    Regards,
    yaniVy
    reward if helps

  • Where the history of Transaction Codes does get stored?

    Today when I was working on one issue in one SAP system on my PC and later on another system observed that the transaction codes (tcodes) which are there in history were the same for both the systems.
    Then I started searching for the table or a location where the transaction codes (tcodes) are getting stored which we entered on command line in SAP R3 system. Finally, after lot of search and some reading I found out the location.
    This is a simple but very interesting thing to know how Operating system stores the SAP commands.
    Below Steps
    Let’s first see the list of transactions which are entered on command line. Later we will be getting the same list from OS level.
    Logon to your SAP R3 system and see the history of tcodes on command line.
    Now find out the location where this tcodes are getting stored at OS level.
    Go to Start -> Run -> regedit and click ok. It will open the following screen.
    Expand the node HKEY_USERS.
    After that expand the selected node and again expand it.
    Click on Software -> SAP -> SAPGUIFront.
    Please note the path and you can directly open it and then compare it with your systems command line list.
    However, I was curious about the all other transactions which are not in this list which user entered on the command line. Hence found one more way to find this data.
    For that we need to go to my computer and click on Search and search the following path.
    SAPHistory<User Name>.mdb
    Once you click on Search it will give you the access file.
    So i want know is there any other Tcode or procedure to got the same........!
    Regards
    Ashish Chanekar

    file SAPHistory<User Name>.mdb conatins the transaction history.
    this is a Microsoft Access file, but it is password protected... and this is not publicly known.

  • How can i make the results of dos command print to text area in a gui????

    I need to get the results from a command line application to print in a text area located in a gui... i have the following code written, which should run the command... if run from a dos window, the command prints the list of what's in a jar file to the screen.... i want that info that is printed to go in a text area which i have named textBox which is global to the program.. i know textBox.appends() is what i should use but how do i retrieve the info from the dos window to put in the appends method?
    The code is below for the method..
    Thanks,
    DH
         /*     Runs the DOS Command for listing a JAR File     */
         public void jarList ( ) // Needs To Be Fixed!!
              listFieldText = listField.getText();
              String command;      
              command = "jar tf " + listFieldText;
              System.out.println(command);
              Runtime rt = Runtime.getRuntime();
              try
                   Process child = rt.exec(command);
                   child.waitFor();
                   System.out.println("Process exit code is: " + child.exitValue());
              catch(IOException e)
                   System.err.println("IOException starting process!");
              catch(InterruptedException e)
                   System.err.println("Interrupted waiting for process!");
    }

    Replace child.waitFor()with:          BufferedReader br=new BufferedReader(new InputStreamReader(child.getInputStream()));
              String s="";
                    while((s=br.readLine())!=null) {
                        textbox.append(s);
                    }Mark

  • I downloaded a movie from itunes on my ipad.  In the downloaded area where the movie should be, I only get a link to "iItunes Terms and Conditions", no movie.  There is nowhere to accept the terms and conditions.

    I downloaded a movie from itunes on my ipad. In the downloaded area where the movie should be, I only get a link to "iItunes Terms and Conditions", no movie. There is nowhere to accept the terms and condotions.

    Nevermind, the movie was there in the Videos app, not itunes downloads.  Thanks.

  • First question - I have Acrobat 9 on my desktop and the license seems to have been messed up.  I tried to download and fis but I asked me for a disk.  I don't have any idea where the "disk" is.  Can I get the license update without that disk?

    First question - I have Acrobat 9 on my desktop and the license seems to have been messed up.  I tried to download and fis but I asked me for a disk.  I don't have any idea where the "disk" is.  Can I get the license update without that disk?
    Second question - In anticipation of not being able to do that, I bought (at University bookstore) Acrobat XI Pro - do I need to uninstall the 9.0 Pro version before I try to install the XI version?

    If you still have your serial number for Acrobat Pro there is a link to the installer here:  Download Acrobat products | 9, 8

  • I have Prem. Elements 12.  I am trying to add audio media.  I know where the audio files are located (using GET INFO while in iTunes), and when I try to add certain audio files, some are accepted and some are not.  In one case, when I opened a particular

    I have Prem. Elements 12.  I am trying to add audio media.  I know where the audio files are located (using GET INFO while in iTunes), and when I try to add certain audio files, some are accepted and some are not.  In one case, when I opened a particular folder, the song was not listed, even tho' the song is there when using Windows Explorer.  This happens with mp3 and mp4 and just wav files.  Some audio are accepted, most are not.  I get that codec is not installed error message, too.

    Perhaps it would be helpful for you to view the page source code of this page
    http://www.alanwork.com/
    As you can see, the submenu code links are immediately below the top level code, and are
    wrapped in their own  <UL> </UL> tag pairs.
    Hope that helps

  • How do I display decimal hour as time? Example, I created a formula (originally in Exel) where the result is 2.25. I need this to be displayed as 2:15, (2h, 15m). Here is the formula in cell b8   =SUM((A6/18)*B3 (B6/8)*B3 (A6 B6)/70*B3 B2)/60

    How do I display decimal hour as time in Numbers for iPhone5 ? Example, I created a formula (originally in Exel) where the result is 2.25. I need this to be displayed as 2:15, (2h, 15m). Here is the formula in cell b8   =SUM((A6/18)*B3 (B6/8)*B3 (A6 B6)/70*B3 B2)/60. The result can be in either b8 or a different cell.
      Thanks for helping this novice

    B1=DURATION(0,0,A1,0,0,0)
    The DURATION function combines separate values for weeks, days, hours, minutes, seconds, and milliseconds and returns a duration value.
    DURATION(weeks, days, hours, minutes, seconds, milliseconds)

  • I need return the result of a query on a stored procedure

    I need return the result of a query on a stored procedure, I mean when I execute a stored procedure it returns a result set as a select query.
    Best regards...

    If you want some pl/sql code that can be used in a query as it were a table you may be interested in table functions:
    SQL> create or replace type
      2  t_emp is object (
      3  name            varchar2(30),
      4  hire_date date,
      5  salary       number);
      6  /
    Tipo creato.
    SQL> create or replace type
      2  t_emptab is table of t_emp;
      3  /
    Tipo creato.
    SQL> create or replace function tab_fun(p_dept in number)
      2  return t_emptab is
      3  e t_emptab;
      4  begin
      5    select t_emp(ename,hiredate,sal)
      6      bulk collect into e
      7      from emp
      8     where deptno=p_dept;
      9
    10    return dip;
    11  end;
    12  /
    Funzione creata.
    SQL> select *
      2  from table(tab_fun(20));
    NAME                           HIRE_DATE  SALARY
    SMITH                          17-DIC-80        800
    JONES                          02-APR-81       2975
    SCOTT                          09-DIC-82       3000
    ADAMS                          12-GEN-83       1100
    FORD                           03-DIC-81       3000A procedure cannot be used in a select statement.
    Max
    http://oracleitalia.wordpress.com

  • The result of id command in Solaris 10

    Hi Guys,
    I was trying to install oracle database in Solaris 10 8/11.
    at the end of installation where we supposed to execute the root.sh in the ORACLE_HOME it is said that I am not root.
    Actually I was already connected as root.
    in this root.sh command, it actually validates the user which trying to execute it.
    here's the validation part:
    RUID=`/usr/bin/id|$AWK -F\( '{print $2}'|$AWK -F\) '{print $1}'`
    if [ ${RUID} != "root" ];then
      $ECHO "You must be logged in as root to run root.sh."| $TEE -a $LOG
      $ECHO "Log in as root and restart root.sh execution."| $TEE -a $LOG
      exit 1
    fiapparently the result of id in this Solaris I'm using is:
    uid=0(#root) gid=0(root)
    that is why the validation is always failed because it always compares root against #root.
    is this something new in Solaris 10 8/11?
    anyway, once I fixed the script, everything is running fine.
    btw, this is a Solaris 10 X64 installed inside a virtual box.
    Regards,
    Adhika

    Hi Abrante,
    Thanks a lot!
    You're right I changed the shell on the /etc/passwd but I want to maintain the old value so I just comment out the original line.
    I didn't think that it will still be read like this.
    is there any way to comment out lines in /etc/passwd?
    Thank you,
    Adhika

  • My e-mail has quit updating.  Anybody know why or how to get it started back?  The result is that I dont get my e-mails on the phone.

    My e-mail has quit updating. Anybody know why or how to get it started back?  The result is that I can not get e-mails on my phone.

    Thank you for the info re. the main menu. Your answer I used worked; however, the menu bar all the way across is solid black. The only way I can find out the names on the menu is to point the cursor from left to right over the black bar to find "file" "edit" tools", etc. What do I need to do to get these menu titles to be seen?
    As regarding the GMail --the menu bar used to have an envelope symbol which was white and outlined in red. That disappeared. I googled "mail.google.com" to try to get back my email. This didn't work. I then tried to get a different email address and password--after 8-19 attempts, this never worked. My other email (sbcglobal.net) has never returned. So I don't know where that went or how to get it back

  • Where does ATP feed back from APO gets stored  (in which table) in R/3?

    Hi ALL,
    I am facing problem in finding in which table the response in R/3 gets stores after ATP check is done in APO?
    I will be grateful, if you experienced guys can help me find it?
    Thanks in advance
    Reetesh

    I would be surprised if the ATP feedback from APO gets stored in R/3 table. When a product location is flagged as GATP relevant, and when say a sales order is created in R3 (or any other business event flagged as ATP relevant) an RFC call is done to APO system and all calculations are done then and there in APO-- only confirmed quantity is sent back to R3. What you see in R3 is confirmed quantity and there is no other thing sent back to R3.

  • Where the BP internet role's SU01 data stored in CRM

    Hi Guys,
                 We are creating BUSINESS PARTNERS using a abap upload program . We are using CRM 4.0 620 release.
    I have created roles for all the Business partners(All the roles are stored in but100).. one of the assigned roles is <b>INTERNET USER ROLES</b>.
    <b>When i select this role for a Business partner in using BP transaction i could see the SU01 roles assigned to the particular business partner under internet user tab screen of the BP transaction.</b>
    can some one tell me when i select the <b>INTERNET USER ROLES</b> for a BP <b>where the related SU01 data is picked from and  which is the CRM table storing this data</b> .
    Will appreaciate an early reply..
    Regards,
    Sundar<b></b>

    Hi Sundar,
    This is the integration between the BP and SU01.
    The SU01 data is not stored in any BP related tables. Only the role is stored in the table BUT000. Entire data is picked from the user tables.
    The module 'SUSR_USER_READ' is used to read the user information from the user tables. Details about this can be found in the central person module BUCP_BUPA_EVENT_ISDAT. Hope this helps.
    Regards,
    Sudheer.

  • Where does downloaded 2.0 update file get stored?

    I purchased and downloaded the 2.0 update. It created a folder in my

    It doesn't matter where the .ipsw files are located, which is why I moved them to a directory I back up.
    If you hold down the option key while clicking 'Check for Update' in iTunes, a Finder window pops up to let you locate the restore files.

  • Does text messages get stored to the iCloud?, Does text messages get stored to the iCloud?

    When documents and data get stored to iCloud does that consist of text messages being stored on iCloud? Because I was wondering why my iCloud storage is almost full. Please help thanks!!!

    Welcome to the Apple Community.
    Messages are not part of iCloud documents and data.
    You can see what is in iCloud from settings > iCloud > storage & backup > manage....

Maybe you are looking for

  • Flash buttons don't work

    I created my template in Dreamweaver and 9 other pages from the template. Now I inserted flash buttons in the original template and linked them to all other pages. Buttons work in the original template but not in any of other pages, even though I upd

  • How can I connect my new macbook pro to HDTV, either wirelessly or via a cable?

    I just got a Macbook Pro about a month ago and I'm trying to figure out how to connect it to my HDTV. Is it possible to connect it and simply use the HDTV as a display that way? Ideally, I'd like to connect it wirelessly, but if not, I understand tha

  • Moving music from Windows Media Player to iTunes

    Hi Apologies if this is repeating what others have asked many times in the past - I know what these forums can get like sometimes! I have had a look around though and couldn't find a definitive answer, so... I have to date put all my music in Windows

  • Ssh: Operation timed out

    running 10.4.5 server and 10.4.5 on clients; network setup with different subnets (wlan, gigabit-ethernet):178-net for wlan and 2-net for gigabit-ethernet; dns-service for both subnets supplied by server; server: host g4d003.local gives 192.168.178.5

  • ADI Standard Report Output Excel Format

    Standard Report in Excel Format requested by ADI has some problem; Numbers does not go into each appropriate cell. Therefore the standard report look ugly in Excel format. How I can make perfect Excel format standard Report using ADI? Your response w