How to concatenate the keys??

hi, i have a question and i want the answer of how to do the follwing :
i have First SecretKey sKey1 of length 32 bit
and the Seconf SecretKey sKey2 also of length 32 bit
i need a secretKey of length 64 bit so the question is how to concatenated the two secret keys (sKey1,sKey2) to have a secretKey of length 64 bit from these two keys.
thanks

C,
Try something like this -  Use an ASSIGN in a LOOP:
  data: lv_PK type string.
  data: lv_non_PK type string.
  field-symbols: lv_str type string.
  assign local copy of initial line of gt_table to <ls_table>.
  loop at gt_table.  " this is your table.
    do n times.  " n = 6 in your case
      if n < 4.
         assign component sy-index of structure <ls_table> to <lv_str>.
         concatenate <lv_str> to lv_PK.
   else.
         assign component sy-index of structure <ls_table> to <lv_str>.
         concatenate <lv_str> to lv_Non_PK.
     endif.
    enddo.
    append <ls_table> to <gt_table>.
  endloop.

Similar Messages

  • How to translate the key words in ABAp program from lower case to upper cas

    How to translate the key words in ABAp program from lower case to upper case?

    Hi Kittu,
    You need to set the Pretty Printer settings to achieve key words in ABAP program from lower case to upper case.
    Utilities -> Settings -> Pretty Printer (tab) -> Select third radio button.
    Thats all.
    <b>Reward points if this helps.
    Manish</b>

  • How to pass the key pressed in javascript

    I'm asking this question here as I could not find the needed help elsewhere .
    I don't know how to pass the key pressed in the function on OnKeyPress event .
    I'm trying the following :
    <input type="text" name="a" onKeyPress="check();">
    I want to pass the key presses in the check function .
    How to collect the key pressed in the function check ?
    Thanks.

    As I said above, that won't work in Mozilla.
    In fact IMO Netscape/Mozilla javascript event handling has been behind IE since version 4.
    Be that as it may: here is a workaround (for Mozilla): It seems you have to assign the onkeypress event for it rather than declaring it as part of the textfield.
    Of the two textfields on this form, both work in IE, and only the first one will work properly in Mozilla. I left it in just to demonstrate the difference.
    And a couple of links for ya
    javascript forum: http://forums.webdeveloper.com/forumdisplay.php?s=&forumid=3
    Keypress events: http://www.din.or.jp/~hagi3/JavaScript/JSTips/Mozilla/Samples/KeyEvent.htm
    <html>
    <head>
    <script language="javascript" >
    <!--
    function check(evnt){
      alert("A key was pressed!");
      // IE handling
      if (window.event){
        evnt = window.event;
        alert(evnt.keyCode);
      // netscape/mozilla handling 
      else{
        alert(evnt.which);
    //-->
    </script>
    </head>
    <body >
    <form name="myform" method="post">
    Test <input type="text" name="myTest"><BR>
    Test <input type="text" name="myTest2" onKeyPress="check();"><BR>
    <script> document.myform.myTest.onkeypress = check; </script>
    </form>
    </body>
    </html>

  • How to get the Key value in the value help?

    Hi All,
            I am using dropdown by key to display the values from the RFC. I am able to get the text by,
    ISimpleValueSet div = wdThis.wdGetContext().getContext().getModifiableTypeOf ("Header.VH_BUnit").getSVServices().getModifiableSimpleValueSet();
    return div.getText(wdContext.currentHeaderElement().getVH_BUnit());
    Please say how to get the key ?
    Thanks & Regards,
        Mugundhan

    Hi,
        Thanks for ur reply. wdContext.currentHeaderElement().getVH_BUnit() is returning the value in the dropdown only.
    Consider this line..
    return div.getText(wdContext.currentHeaderElement().getVH_BUnit() );
    More simillarly return div.gettKey(................); is there. What value should be given inside. if i gave wdContext.currentHeaderElement().getVH_BUnit() means, it sowing "Cannot convert from object to String " error.
    So i created an object like this,
    Object attributevalue = wdContext.currentHeaderElement().getAttributeValue(IPublicReportrtComp.IHeaderElement.VH__B_UNIT);
    But this too not accepting..
    Thanks & Regards,
       Mugundhan

  • How to get the "Key" for Dimension in SSAS.

    Hi
    How to get the "Key" for Dimension in SSAS.
    (Below value is the PPSParameters table XML column value in PPSDatabase in SharePoint.
    Below three key values are belongs to "Dimension". I have tried to find the key but I could net get it.)
    <NewDataSet>
    <UserValues><Key>16A201A9E75128559F947D58E6D187A9</Key></UserValues>
    <UserValues><Key>7FBEA449A6ED5606973306445839619E</Key></UserValues>
    <UserValues><Key>A8F75F9720817BCD2E1DFC1C1CF1E678</Key></UserValues>
    </NewDataSet>
    Thanks & Regards
    Poomani Sankaran

    To Be Honest there is not one straight Cmdlet that atleast I have come across 
    The best way would if you have Lync monitoring server 
    Using the Lync Server 2013 Monitoring Server
    If you have the Monitoring Server role configured in your environment, and for Lync Server 2013 everyone should!, you can use information contained in the LcsCDR database to pull back the last time a user signed in.  You can run the following query* to
    pull back the user's SIP URI and their last login time:
    USE LcsCDR
    SELECT dbo.Users.UserUri, dbo.UserStatistics.LastLogInTime
    FROM dbo.UserStatistics
    JOIN dbo.Users ON dbo.Users.UserId = dbo.UserStatistics.UserId
    ORDER BY UserUri
    Which produces the following output:
    The advantage to using the Monitoring Server to obtain this data is that unlike the information contained in the rtcdyn database, the information from the LcsCDR data will persist even when the user isn't signed into Lync.
    To get approx count of users enable for Lync Server in your organisation 
    Get-CsUser -Filter {Enabled -eq $true} | MeasurE
    Please not the above command let will give you an approx number not exact 
    From the Monitoring report yet the SIP account that signed in and then from count find out how many user havent signed in this is manual task 
    Hope this is helpful 
    Please remember, if you see a post that helped you please click ;Vote As Helpful" and if it answered your question please click "Mark As Answer" Regards Edwin Anthony Joseph

  • I use iPhoto and want to know how to get the 'key photo' i select on my MacBook Pro to be the one that gets used on my iPhone when i sync them. Any ideas? also, i want the events to appear in the order i choose on my MacBook too

    I use iPhoto and want to know how to get the 'key photo' i select on my McBook Pro to be the same one that gets used on my iPhone 5s when i sync. i also want the events to appear on the iPhone in the same order i have them on my macbook. any ideas there too?

    Killerfinch wrote:
    My new yahoo account nestles comfortably in iCloud on the mine iPad.
    No, your Yahoo account is not in iCloud (which only handles iCloud mail), it is in Yahoo, and the Yahoo mail account is on your iPad.
    But the MacBook Pro will have none of it! I write this question now as I fear that I will be totally demented very soon and unable to formulate my thoughts clearly!
    Get the correct settings for your account from Yahoo and set it up manually.
    By the way, I also find the "password" issue problematical. It seems Apple want my Apple password rather than my eMail password. All very confusing.
    That would depend on what you are trying to do.

  • How to view the key mapping when viewing Hierarchy in Data Manager

    Hi! I previously posted a question on doing value mapping using the hierarchy code rather than the name. I have got that working now using concept of remote key. When I first loaded the hierarchy with remote key and check in Data Manager, I can see the hierarchy structure with the key mappings. However, when I subsequently went back to the hierarchy to have a second look, the keys are gone. Does anyone know how I can view hierarchy in Data Manager with the key mappings?
    Cheers!
    SF

    Hi,
    Go to Record mode, and open Hierarchy table. Now to select click on any hierarchy node record and then right click and select "Edit Key Mappings". This will show you existing keys as well as allow you to manually modify keys. You can only Check Remote keys on hierarchy in Record mode and in Hierarchy Mode "Edit Key Mappings" option will be disabled.
    Please revert if you face any issue.
    Regards,
    Shiv

  • How to get the KEY VALUE of sales order

    Hello friends,
                          iam adding a sales order through DI-SERVER to the SAP db.after adding iam getting a key value (i,e Doc no)..i want it to display it in my frontend....can u please tell me how to display the return key value of my sales order
    regards,
    shangai.

    Dear Shangai,
    To retrieve the last Doc/Object added through DI API (DI Server is based on DI API) there is a method called "GetNewObjectCode" which can be used to retrieve the last DocCode which was added into the B1.
    Please try the function for more help please look at the help files RefDI.chm which is installed with the SDK installation for B1.
    Regards
    Arshdeep

  • How to change the key of a MIDI track

    There has to be an easy answer for this.
    I have a Midi drum loop that I am using. I have changed the instrument so instead of the MIDI notes playing through a drum synth it is using one of logic's piano software instruments.
    What I am trying to do is change the KEY of this loop. It seems to only play in C. If I go to the piano roll, copy all the notes of the loop and move the notes up or down, I was thinking I should be able to alter the key/chord that the loop is playing. However, no matter what I do, the loop still seems to be in C.
    What is going on? And what can I do to easily change the key of this loop?

    How is Space Designer keeping the MIDI track in the same key of C
    I have no idea. I would normally think that such a thing is not possible.
    What is the instrument? What happens if you create a new track, and load this instrument, and create a new midi region, and load SD? Same problem? What about if you do this in a new project? Same problem?

  • How  to get the key in TreeMap

    H i All,
    I assigned keys to my to my JSF and Im db level i am storing values associated to it.
    I have to show the same data( keys) on to screen..
    From DB I get values.. using the value how can I get key...
    Help me..
    Regards,
    Kranthi

    Here is a C# library that reads and parses the INI file's content (it does not use KERNEL32.dll API).
    Also here is a sample code for your requirement:
    var file = new IniFile();
    file.Load("xx.ini");
    List<string> keyNames = new List<string>();
    foreach (var key in file.Sections["section"].Keys)
        keyNames.Add(key.Name);

  • Cut/Copy/Paste - How to set the key bindings ?

    Hi,
    I'm currently using the motif LnF in Windows. It matches the colors and style I want.
    The problem is: people using Windows want to use the standard windows key bindings (that is: CTRL+V, CTRL+C, CTRL+X) instead of the Motif ones.
    Does anyone how to set the old Windows key bindings into the Motif LnF ?
    If anyone can provide some light, it'd be great !
    Regards,
    - Juancho

    The Swing tutorial on "General Rules for Using Text Components" has a demo program that shows you how to assign KeyStrokes to Actions.
    Unfortunately the demo has not been updated in a while and still uses a keymap. The new approach would be to use an 'inputMap' and an 'actionMap'. The code for the copy action would be something like this:
    textComponent.getInputMap().put(keyStroke, "copy");
    textComponent.getActionMap().put("copy", action);
    Again, the demo program 'TextComponentDemo' from the above tutorial will show you how to:
    1) create the keyStroke for Ctrl+C
    2) retrieve the default copy action from the editor kit

  • How to transpose the key of a track

    I would like to know how I can transpose the key of a track
    Ex: form F to E
    Thank you

    One way to do this just for a track is, double click the region (now you see the piano roll editor) select all the notes. Now Press and Hold the Option key, then use the Up & Down Arrow keys to transpose the Key you need it to play in.

  • How to detect the key enter with a numerical control without using loop event?

    I want to accept a numerical value only when the key enter is pressed, but without using the event. How to detect the char "enter" with a numerical control?
    Thanks!

    When the user edits a numeric control with a keyboard, its property "key focus" is true. When the user hits enter, key focus becomes false. Poll the property to latch the control valuse at the true-false transition. That won't work if the user modify the control using up and down arrows.
    LabVIEW, C'est LabVIEW

  • Crystal report: How to concatenate the string whilereadingrecords?

    I have description field in the database and I need to concatenate the value of the filed into one line. How to do that? I tried as below
    Stringvar strtitle="";
    whilereadingrecords;
    if Mid({OrderDtl.PartNum},1,2)="T3" Then
    strtitle & "T3- Background Music,"
    Else if Mid({OrderDtl.PartNum},1,2)="T6" then
    strtitle & "T6- Dance"
    This is not working and showing only last value instead of concatenated string. I am very new to Crystal report and i am using Crystal report 2008
    Thanks,
    Raj

    Hi Raj,
    I guess you're trying to concatenate the descriptions so that they appear on a single line, perhaps, on the report footer?
    Try this formula:
    whilereadingrecords;
    stringvar strtitle;
    strtitle := strtitle + ">" + {description_field_from_database}
    The ">" sign is to separate the records from each other; you may choose to remove this from the formula or use another separator.
    Place the above formula in the details section and suppress the section.
    Create this formula to display the result and place it in the Report Footer section:
    evaluateafter(@Name_of_the_above_formula);
    stringvar strtitle;
    Let me know how this goes!
    -Abhilash

  • How to restore the key Windows 7?

    Sorry for my lousy english language. I would like to recover your license key Windows 7, but the key label has worn off?
    We see only the numbers to the right of the bar code: 584 329 - 251.
    If necessary, I can provide photos erased key and serial number.
    Thank you in advance for your help.

    Here is your answer: https://answers.microsoft.com/en-us/windows/forum/all/how-to-recovery-the-windows-7-product-key/713e40f8-b736-4e6b-b7c8-c2eb70e950a9?auth=1

Maybe you are looking for

  • How do I remove "All My Files" icons from the toolbar?

    Good Afternoon: I have A shiny new 15" MBPro that came preinstalled with Lion that I have updated to 10.7.1. If I open a finder window, there are two "All My Files" icons on either side of the toolbar. I asked a Genius about it and they said they had

  • Standard individual purchase order -Delivery error

    Dear All, I'm having issue on individual purchase order, Using TAB item category. Please understand my issue: Without purchase order +MIGO + MIRO + I am creating outbound delivery number but PGI, but is not allowing. Here my question: without creatin

  • How to wait for a variable to be set?

    Hi, I need to wait for a variable to be set. I tried this, but it didn't work (IllegalMonitorStateException). How to do it? Thanks! public class MyClass {   private Boolean succed = null;   public static boolean doStuff() {     MyClass my = new MyCla

  • Why can't i download the iOS on my ipod touch?

    Ok well I just bought an iPod and gave my other iPod to my son and im trying to plug the old ipod into a different computer to download songs and games and its saying that the ipod needs an update does anyone know the update i need because i cant fin

  • SQL Server 2008 on the Web/App server for BPC 7.0

    In a multi-server environment (DB/OLAP on a 64-bit platform, Web/App on a 32-bit platform), is it necessary to have SQL Server on the Web/App server if Reporting Services is not used?  Could you explain why SQL Server is needed on this server if Repo