I have doubt regarding the byte to integer conversion.

In java card epurse application the output we see is in bytes.to convert this byte to integer which is understandable by the end-user what should be done?

809295 wrote:
In java card epurse application the output we see is in bytes .
to convert this byte to integer which is understandable by the end-user what should be done?What do you mean by we ?
How many bytes ?
On a java card platform support for integer is optional, you may only have short.
I assume by understandable by the end-user you mean display as a sequence of decimal digits ?
So two bytes 0x04 0xd2 (combined to a short 0x04d2 which is 1234 decimal)
should be presented to the user as 0x31 0x32 0x33 0x34 (ascii values for '1' '2' '3' '4').

Similar Messages

  • Have some doubt regarding the  weblog (Lookup's in XI made simpler)

    Hi All,
    I have created the same scenario as mentioned in Siva's weblog (Lookup's in XI made simpler).
    I having some doubts regarding the scenario, it will be great if you help me to resolve the same.
    I am having a file-file scenario where I need to do lookup in database(MS-Access)  through mapping.
    The standard file-file scenario is in place and in addition I have created a receiver jdbc channel . I  have also created the receiver agreement for the same in the cofiguration.
    While creating the receiver agreement you have to specify the interface name which includes the message type…I have specified the normal format which we specify while configuring the jdbc receiver adapter.
    In the message mapping I have created a advance user defined function as mentioned in your weblog which calls my receiver jdbc channel.
    I have also specified the select query to be executed in the mapping program.
    While testing I am getting the following error
    Cannot produce target element /ns0:Role_MT/URole. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
    <b>Can you please suggest me what all I need to do in addition to the file-file scenario for this lookup scenario to work.</b>
    Thanks and Regards
    Rahul

    Hi,
    Following is my user defined function
    //write your code here
    String Query = "";
    Channel channel = null;
    DataBaseAccessor accessor = null;
    DataBaseResult resultSet = null;
    Query = "Select URole from  Lookup where UName = '  " + UName[0] + "  ' and UPassword = '  " + Pwd[0] +" '  ";
    try{
    channel = LookupService.getChannel("DB_service","JDBC_channel_receiver");
    accessor = LookupService.getDataBaseAccessor(channel);
    resultSet  = accessor.execute(Query);
    for(Iterator rows = resultSet.getRows();rows.hasNext();){
    Map rowMap = (Map)rows.next();
    result.addValue((String)rowMap.get("URole"));
    catch(Exception ex){
    result.addValue(ex.getMessage());
    finally{
    try{
    if (accessor!= null) accessor.close();
    catch(Exception ex){
    result.addValue(ex.getMessage());
    Thanks and Regards
    Rahul

  • I have query regarding the excersing of LTI in ECM

    i have query regarding the excersing of LTI in ECM .Please help and explain the process as well as configuration required

    check this help document on LTI configuration process in ECM
    Long-Term Incentives - Enterprise Compensation Management - SAP Library

  • Doubts regarding the CTTYP field after a PU12 run

    Hi Everyone,
    I had some doubts regarding PU12. When I maintain the IT16 data for an employee belonging to Employee Group/Subgroup E/52, I want to keep the contract type blank. However, when I do this, CTTYP is not sent through in the IDoc after PU12 processing. I would like to know if this is standard behaviour. (If it is maintained as say unlimited contract, the field is sent through with the value 01) If I would like to send CTTYP through as 00, can I do it? Would I have to maintain a conversion? As of now, this field is configured as a key field in my system.
    Regards,
    Alpana.

    I presume that you cave a template for your documents with unsigned signature fields. Add a text filed (or other field type that you wish to use) to this template. Then you will be able to fill in this field after signing.

  • Doubts regarding the SDN BPM scenerio!

    Hi Experts,
        I was tryin on the BPM scenerio made my Murthy.
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    I have completeted all the steps.
    The communication channels are up and running well. But I simply cant get to the last step.
    In the last step:
    "To monitor Integration process log, go to transaction SXMB_MONI_BPE ->Process Selection->Select corresponding integration process (in Service Field) ->Execute->Select work item."
    I simply cant get to see ANY FIELDS in Process Selection. It is all blank . And when I am putting no selection criteria, and simply executing it, then also it is giving NO VALUES.
    Experts, can u suggest, what step, am I missing, any settings, any step, that I hav skipped.
    PS.
    I hav checked each step thoroughly.
    I hav avtivated all items.
    Regards,
    Arnab.
    I am also getting an error in SXMB_MONI:
    <SAP:Stack>No receiver agreement found for sender -BS_FILE_BPM to receiver -IP_File_to_File,urn:bpm_am.MI_FILE_to_BPM_ABS</SAP:Stack> .
    Pls comment Experts:
    Regards,
    Arnab
    Edited by: Arnab Mondal on Jan 6, 2009 7:14 AM

    >
    > "To monitor Integration process log, go to transaction SXMB_MONI_BPE ->Process Selection->Select corresponding integration process (in Service Field) ->Execute->Select work item."
    >  I simply cant get to see ANY FIELDS in Process Selection. It is all blank . And when I am putting no selection criteria, and simply executing it, then also it is giving NO VALUES.
    You will see that only if the BPM was executed. Seems your BPM is not executed yet. In SXMB_MONI, for the entry of your process, do you see a column with PE ? if so try clicking and drilling down
    > I am also getting an error in SXMB_MONI:
    > <SAP:Stack>No receiver agreement found for sender -BS_FILE_BPM to receiver -IP_File_to_File,urn:bpm_am.MI_FILE_to_BPM_ABS</SAP:Stack> .
    have you created the receiver agreements?
    there will be two receiver agreements;
    1. from sender system to BPM.
    2. BPM to receiver system.

  • I have a macbookpro may 2010 with Intel core 2  duo processor can i upgrade to osx mountail lion ,i have doubts that the macbook becomes very slow on this processor

    macbook pro 2010 with 2.4 Ghz intel core 2 duo can i upgrade to mountaion lion ,i have doubts that it becomes very slow

    Welcome to the Support Commuities. See under Supported Models here:
    OS X Mountain Lion Technical Specifications
    ...Although your MacBook Pro is supported, it may be advisable to wait until OS X 10.8.1 or 10.8.2 in order to avoid the possibility that your Mac slows down due to bugs in 10.8.0.

  • Does anyone have feedback regarding the Square register app for iPad?

    Does anyone have feedback regarding using the Square register app for ipad?

    To explore this further, using your computer's browser log into icloud.com and look at the contacts page. 
    1)  If contacts are missing there as well, then some device is deleting contacts and the changes are affecting the icloud database.  Also the iPad would not be connecting to icloud since it still has those contacts.
    2)  If contacts are all there, then the iphone is not syncing with icloud, and the iphone has a problem.
    If #1 is true, then are you sure no one else (a family member, friend, etc.) is using your icloud account on their computer/device?  If no one is, then I suspect user error on the iphone.

  • Basic doubts Regarding the RFC to File scenario.

    Hi All,
    I'm doing a RFC to File scenario, so before starting the development i went through many blogs and sites to know more the about scenario. I'm confused in the step where we have to create a RFC (type TCP/IP) in sm59.
    I have the following doubts :
    1)whether  to create the RFC in sender (which will be ECC system) or XI.
    i.e., RFC in sender (ECC) pointing to xi system in sm59 of Sender(ECC)
    or
    in XI pointing to sender (ECC) system.
    2) the program id maintained in RFC.
    the program id is any name or the FM which is being imported in XI system.
    Thanks in Advance,
    Kind Regards,
    Lalitkumar.

    Hi Lalitkumar,
    1)whether to create the RFC in sender (which will be ECC system) or XI.
    i.e., RFC in sender (ECC) pointing to xi system in sm59 of Sender(ECC)
    or
    in XI pointing to sender (ECC) system.
      It should be in sender ECC.
    2) the program id maintained in RFC.
    the program id is any name or the FM which is being imported in XI system.
    It can be any name but should be same in RFC destination and RFC adapter.
      As stefen mentioned use ABAP proxy inspite of RFC as its better performance wise.
    Regds,
    Pinangshuk.

  • Doubts regarding the filters

    Hi All,
          I am creating a qurey in the BEx Analyzer in BI 7.0 which consists of some dropdown boxes for materials and sales organisation.
          My requirement is this:
                 If I select the particular material (Ex: M100), only the sales organisations which are availble for the material should have to be displayed.
         Pls give me ur valuable suggestions regarding this problem.
    With Regards,
    Yokesh.

    Dear Yokesh,
    Restirct the Material with the particular Material number (Ex: M100).
    or
    Restrict the Material with a Variable.
    Create a Char variable on Material : Give value  (Ex: M100), only the sales organisations which are availble for the material would be displayed.
    Regards,
    Ram.

  • Doubts regarding the 'Append Row' button

    Hi Experts,
    I have created one ABAP screen. In this ABAP screen I can see 'Append Row' button. I want to know what code is executed after this button is clicked.
    Answer of this question is very important. As it will help me in resolving one important query.
    The query is mentioned in my other two threads that I have created today.
    Thanks in advance
    Smith

    Hi Vijay,
    I have used class CL_GUI_ALV_GRID for creation of the screen. I can see that function = '&LOCAL&APPEND' of method handle_toolbar_set is responsible for creation of this push button.
    Regards,
    Smith

  • Does anyone have documentation regarding the distribution accounting type of APAF?

    The AP Accounting Entry Type (distribution accounting type) as delivered by PeopleSoft we are most familiar with is "APA" which stands for Accounts Payable Accrual.  We are not able to find any reference or documentation regarding AP Accounting Entry Type "APAF".  However, after analyzing the AP payment accounting transactions associated with APAF, we believe that the APAF type only shows up when a credit is deducted from a payment.  The AP voucher that has the APAF type is the last voucher that indicates that the entire credit amount has been applied to that particular payments.  A credit amount may take several vouchers to be fully applied.  Documentation or authoritative information would be helpful. 

    Apple generally does not publish names and phone numbers of their employees. Take a look at the "Partnership Proposals" area of this web page:
    http://www.apple.com/itunes/companies/
    Regards.

  • A doubt regarding the usage of Reflection

    There are several classes A, B, C, D,.... in a package.
    A, B, C & D are generic names given to the java files inside the package.
    They actually indicate files selected by the user during run-time.
    A a = new A();
    B b = a.getB();
    C c = b.getC();
    D d = c.getD();
    int count = d.getCount();
    a.getB() returns an instance of B.
    similarly with getC() & getD() too.
    The classes indicated by A, B, C & D are selected by the user.
    So, I need to use reflection to implement the above 5 statements.
    How do I go about doing this?
    Thanks

    Basically to create an instance of a dynamic class:
    Class cl = Class.forName(myClassName);  // get class
    for name
    Object o = cl.newInstance();  // create an instance
    the above code works fine, if Iam dealing with a single class.
    But my problem is Class A returns an object of Class B
    which I need to use to get an Object of class C and so on until I get the required data to be parsed form the XML document.
    When I invoke a method in Class A, it returns an object(of class B, which I need to use to invoke a method in class B) and so on to get the final value.
    I have a large XML document as shown below, which I need to parse.
    !-- an xml document -->
    <Element A>
       <Element B>
          <Element P>
             Some data for Element P
          <Element Q>
             Some data for Element Q
          <Element R>
       </Element B>
       <Element C>
       <Element D>
       <Element E>
    </Element A>I have a class that represents the whole document with the main elements in it. (Class A representing the whole document along with objects representing the main Elements B, C, D & E)
    Each element in turn has its own class which are necessary to access the sub-elements of it. (Class B representing Element B and also including Element P & Q)
    If I want to parse a specific part of the document(if i need to get the data in Element P), I need to get the Element B from a Class A and use that Object representing Element B to get Element P and then use it to get the required data.
    Each class returns a part of the document and as you use the classes(and the returned part of the document), we narrow down to the required region to get the data.

  • I have doubt regarding write stmt.

    i would like to write like this
    write: / 'jan',/ 'feb'.
    however it will come one below the other.
    if i write stmt exactly where side of jan like
    month  value
    jan    10
    feb    10
    is it possible, if yes how.

    Hi Kalyan,
    You could use the UNDER <field> in your WRITE statement to display it directly below a field.
    DATA: BEGIN OF itab OCCURS 0,
            mon(30),
            value TYPE i,
          END OF itab.
    itab-mon = 'Jan'.
    itab-value = 10.
    APPEND itab.
    itab-mon = 'Feb'.
    itab-value = 10.
    APPEND itab.
    LOOP AT itab.
      WRITE:/ itab-mon UNDER itab-mon,
            itab-value UNDER itab-value.
    ENDLOOP.
    Regards,
    Wenceslaus.

  • Hello, I would like to have information regarding the promotion of the purchase price of 'bringing a 4/4s iphone 5s, thanks in advance.

    help me

    There is no promotion for 4/4S iPhones from the Apple Store.
    For iPhone 5s >  Official Apple Store - iPhone 5s, iPhone 5c, iPad, MacBook Pro, and more

  • Doubt regarding Sender adapter file content conversion to RFC

    Hi Experts,
    Below is the my Source and  Target XML structure ( i have creaated source structure same as target RFC structure),  This scenario is working fine when i give XML file as input. File -> XI -> RFC , xml file is able to update the information in R3.
    How should i configure sender file adapter for file content conversion for above structure(in this case input is fixed lenth text), and i could able to change source structure according to our req, without changing target RFC strucuture.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_HSA_IDNumber xmlns:ns0="urn:passhe.com/UpdateIdNumberISA32">
       <COMMIT_I>X</COMMIT_I>
       <IDENTIFICATION>
          <STUDENT>6500001191</STUDENT>
          <ID_TYPE>FS0030</ID_TYPE>
          <ID_NUMBER>testxml</ID_NUMBER>
          <VALID_FROM>20070421</VALID_FROM>
          <VALID_TO>20091231</VALID_TO>
       </IDENTIFICATION>
      </ns0:MT_HSA_IDNumber>
    I have configured sender file adapter with FCC like :
    Document name as: MT_HSA_IDNumber
    Document name space as: urn:passhe.com/UpdateIdNumberISA32
    Record structure as: COMMIT_I,1,IDENTIFICATION,1
    COMMIT_I.fieldNames : COMMIT_I
    COMMIT_I.fieldFixedlengths: 1
    IDENTIFICATION.fieldNames: STUDENT,ID_TYPE,ID_NUMBER,VALID_FROM,VALID_TO
    IDENTIFICATION.fieldFixedlengths: 12,6,60,8,8
    i am getting error like this: even when i change source structure like below metioned:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_HSA_IDNumber xmlns:ns0="urn:passhe.com/UpdateIdNumberISA32">
       <COMMIT>
          <COMMIT_I>X</COMMIT_I>
       </COMMIT>
       <IDENTIFICATION>
          <STUDENT>6500001191</STUDENT>
          <ID_TYPE>FS0030</ID_TYPE>
          <ID_NUMBER>idnumber1</ID_NUMBER>
          <VALID_FROM>20070421</VALID_FROM>
          <VALID_TO>20091231</VALID_TO>
       </IDENTIFICATION>
    </ns0:MT_HSA_IDNumber>
    Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'COMMIT_I.fieldFixedLengths' or 'COMMIT_I.fieldSeparator' is missing Consistency check: no. of arguments in 'COMMIT_I.fieldFixedLength' does not match 'COMMIT_I.fieldNames' (0 <> 1)
    Please help me out
    thanks
    dhanush

    Hi Dhanush,
    Try giving the Sender FCC this way for the source structure you have mentioned above.
    Record structure as: COMMIT,1,IDENTIFICATION,1
    COMMIT.fieldNames : COMMIT_I
    COMMIT.fieldFixedlengths: 1
    Hope this helps.
    Thanks and Regards,
    Induja

Maybe you are looking for