How to input DAP Key into the card?

There're three questions I've confused for a long time.
1 Can I input the DAP Key into the ISD ? Or I must first create a SSD Instance and input the DAP Key to SSD?
2 Is the DAP Key version 0x73 and index 01?
3 Which command is used to input the DAP Key to ISD or SSD ? PUT Key Command or STORE DATA Command? If use STORE DATA command, can you give the example?
Thank you,
DongLin
Edited by: Ivy_D on Apr 15, 2009 5:36 AM

Thank you for lexdabear's answer.
Depends what card you're using. While it is not forbidden by GP spec. to put DAP key on ISD, many GlobalPlatform cards allow it to put only on SSD. The only exception I know is jTOP from Trusted Logic.+
I use JCOP, it supports SSD. And is the DAP key version same to be input to the ISD and SSD ? Do the ISD and the SSD all have their own key set (from 0x00 to 0x7F) ? They don't share to each other ?
You can use one or the other. Both commands are allowed to populate SD keys. Show me an example what you tried and I will comment on it.+
1 select ISD and do authencation
2 create a instance of SSD using Install command
3 select ISD and do authencation
4 select SSD AID
5 put-key command to input public key with version 0x73 and index 1 into the SSD
Is this work flow right to input the DAP Key into the SSD? Another question: how to input DES3 DAP Key into the SSD ? what's the key version ?
Thank you again.
Edited by: Ivy_D on Apr 16, 2009 5:03 AM

Similar Messages

  • How to input multi-key into card in JCOP with secure channel ?

    When I input multiple keys into JCOP ,it returs 6982. It seems I calculate the wrong C-MAC value. The steps as follows:
    //auth mac
    --> 80 50 00 00 08 DE 6E AB 3C 27 16 74 23 00
    <--00 00 71 25 00 11 96 91 17 84 FF 02 00 07 2E CC EB B6 BA 1F B0 9C 4D 0A 23 D8 39 1A 90 00
    --> 84 82 01 00 10 62 68 D5 CE 75 B6 39 41 14 E9 94 B1 50 E1 C8 49
    <--90 00
    //put keyset 1
    --> 84 D8 00 81 4B 01 80 10 6C CC 3D 43 CF C2 CD E6 CE AB C7 60 46 8B 7E FF 03 8B AF 47 80 10 6C CC 3D 43 CF C2 CD E6 CE AB C7 60 46 8B 7E FF 03 8B AF 47 80 10 6C CC 3D 43 CF C2 CD E6 CE AB C7 60 46 8B 7E FF 03 8B AF 47 27 02 3E BF DE 0E FE B6 00
    <--69 82
    When I auth without mac, I can put-keyset correctly.So It seems something wrong with C-MAC value.But I can send other command and get correct response with C-MAC.
    The source data I input to calculate C-MAC is:
    84 D8 00 81 4B 01 80 10 6C CC 3D 43 CF C2 CD E6 CE AB C7 60 46 8B 7E FF 03 8B AF 47 80 10 6C CC 3D 43 CF C2 CD E6 CE AB C7 60 46 8B 7E FF 03 8B AF 47 80 10 6C CC 3D 43 CF C2 CD E6 CE AB C7 60 46 8B 7E FF 03 8B AF 47.

    The reason you get an error is because you did not encrypt sensitive data. GP mandates that security domain keys must be encrypted with the encryption session key (derived from Data Encryption Key), regardless of the security level used.

  • Why read d'information into the card and send these to the database

    hi hello world,
    i have an application where i must take some informations to the customer in their electronic card and send this informations to the database. so, in want : 1. buy the card reader which i dont know where i can buy this, 2. i must buy the card which will contain the customer informations, and 3. how put (read) informations contain into the card to my card reder and send those informations to the database.
    if some body know how i can do, please help me.
    my direct email: [email protected]

    I've changed my original question on the first thread.
    The file, glass.txt, contains the following:
    Moretti 247 H 1.1 $38.50
    Moretti 276 O 0.9 $10.80
    Vetrofond 902 T 0.4 $4.00
    Vetrofond 408 S 0.6 $9.00
    Lauscha 045 T 0.2 $2.00
    Vetrofond 907 L 0.1 $4.50
    Ex. Moretti -> manufacture name
    247 -> number
    H -> category
    1.1 -> amount of glass in pounds
    $38.50 -> cost of the glass manufacture
    "Read in each line of data from the file, and display it to the user using an information-type message box, indicating the manufacture name, the number, the category (spelled out as a word), the amount of glass in pounds, and the cost of the glass".
    I did it, but it seems that I did something wrong. Could you please help me?
    I appreciate your help. Thank you.
    import javax.swing.JOptionPane;        // Needed for the JOptionPane class
    import java.io.*;                    // Needed for file classes
    public class problem3
        public static void main(String[] args) throws IOException
            String filename;        // Needed to read the file
            String categories;        // Needed to read the categories
            // Get the filename.
            filename = JOptionPane.showInputDialog("Enter the filname.");
            // Open the file.
            FileReader freader = new FileReader(filename);
            BufferedReader inputFile = new BufferedReader(freader);
            // Read the categories from the file.
            categories = inputFile.readLine();
            // If a category was read, display it and
            // read the remaining categories.
            while (categories != null)
                // Display the last category read.
                JOptionPane.showMessageDialog(null, categories);
                // Read the next category.
                categories = inputFile.readLine();
            // Close the file.
            inputFile.close();
    }

  • How to populate the Ser Entry ext key into the Doc Head text in ML81N Txn??

    Hello all,
    My requirement is to to populate the Service Entry external key into the Document Header text.
    ( ServiceEntry - ERS Invoice (MRRL) ). through ML81N Transaction.I have checked for exits in ML81N as well as MIRO. those doesn't seem very convincing.
    IF i see the field of Document header text where i need to populate the data it is
    ( BKPF-BKTXT ) how do i populate the data ( SE external field ) which is in ESSR table..?
    if any one has some piece of code please send it across.
    this is urgent pls help...........
    Any pointers for this would be highly appreciated.
    Thanks,
    Sreekanth...

    Please close this thread.Open new thread in forum [SAP Community Network Forums » ABAP Development » ABAP, General |;

  • I'm trying to make a holiday card, but can't figure out how to get photos into the card.

    I'm trying to make a holiday card, but can't figure out how to get photos into the card.

    Selectto( s) and create the card - if you want to add more photos ot it drag then to the card project in the source pane on the left
    LN

  • I am trying to reference a cell or input an equation into the cell inspector, how can i do this?

    Hi,
    would appreciate some help on this:
    In the cell inspector stepper, i was trying to input a formula into the max field box, the objective was to creative a dynamic way to determine the maximum item i have in a column as oppose to manual changing this value everytime i add an item to the table containing the items. Please advice.

    you can mak a slider with range 0 to 1 (in steps of 0.001, for instance), then have a scale factor.  Multiply the two together in a third cell.  Barry's suggested way is probably more convenient but I am providing this way only for information:
    C3 is configured as a slider and B3 is a value used to scale C3.
    I would post screen shots but that does not work at this time.
    D3=C3*B3

  • How to change 'z' key into 'A' key with key blinding?

    How to change 'z' key into 'A' key?
    Although txt.setText("A") can set the text field with 'a', but it is not original input from keyboard because it cant trigger the key listener.
    It is possible to perform key pressing more than a key in same time? Example, perform 'q' & 'w' keys pressing at the same time.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Main
    {   public static void main(String[] args)
        {   JFrame f = new JFrame("Test");
            Test GUI = new Test();
            GUI.setOpaque(true);
            f.setContentPane(GUI);
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.pack();
            f.setVisible(true);
    class Test extends JPanel
    {   JTextArea txta = new JTextArea(10,20);
        JTextField txt = new JTextField(10);
        JScrollPane sp_txta = new JScrollPane(txta);
        public Test()
        {   this.setPreferredSize(new Dimension(400,300));
            setLayout(new BorderLayout());
            txta.setEditable(false);
            add(sp_txta, BorderLayout.CENTER);
            add(txt, BorderLayout.PAGE_END);
            Action testAction = new AbstractAction()
            {   public void actionPerformed(ActionEvent ae){ txt.setText("A"); }
            txt.getInputMap().put(KeyStroke.getKeyStroke('z'), "test");    //Change z into A
            txt.getActionMap().put("test", testAction);
            txt.addKeyListener
            (   new KeyListener()
                {   public void keyPressed(KeyEvent e){ txta.append(e.getKeyChar() + " key is pressed \n"); }
                    public void keyReleased(KeyEvent e){ txta.append(e.getKeyChar() + " key is released \n"); }
                    public void keyTyped(KeyEvent e){ txta.append(e.getKeyChar() + " key is typed \n"); }
    }Edited by: 835972 on Feb 11, 2011 8:11 AM

    It is possible to perform key pressing more than a key in same time? Example, perform 'q' & 'w' keys pressing at the same time.With r.keyPress method, it only can perform single key pressed at a time. Do you have any idea how to perform multiple key pressed at a time?The javadoc for Robot.keyPress suggests ( "+The key should be released using the keyRelease method+" ) that the key remains "pressed" until you keyRelease(...) it. So, press the keys sequentially:
    theRobot.keyPress(KeyEvent.VK_Q);
    theRobot.keyPress(KeyEvent.VK_W);
    // At this stage both Q and W are pressed "in same time"
    ... // do stuff
    theRobot.keyRelease(KeyEvent.VK_W);
    // At this stage, only Q is pressedI suspect that in real life, unless you're a very gifted musician, you don't really press keys "at the same time" (under the time resolution of a keyboard, which I imagine is around a few milliseconds).

  • Can I put RSA Public Key into the ISD in the JCOP?

    Dear All,
    Can I put RSA Public Key into the ISD in the JCOP? the command I put into the card as follows:
    cm> /terminal "winscard:4|FT SCR2000 0"
    --Opening terminal
    /atrresetCard with timeout: 0 (ms)
    --Waiting for card...
    ATR=3B 69 00 FF 4A 43 4F 50 34 31 56 32 32 ;i..JCOP41V22
    ATR: T=0, N=-1, Hist="JCOP41V22"
    /card -a a000000003000000 -c com.ibm.jc.CardManagerresetCard with timeout: 0 (ms)
    --Waiting for card...
    ATR=3B 69 00 FF 4A 43 4F 50 34 31 56 32 32 ;i..JCOP41V22
    ATR: T=0, N=-1, Hist="JCOP41V22"
    => 00 A4 04 00 08 A0 00 00 00 03 00 00 00 00 ..............
    (86244 usec)
    <= 6F 10 84 08 A0 00 00 00 03 00 00 00 A5 04 9F 65 o..............e
    01 FF 90 00 ....
    Status: No Error
    cm> set-key 255/1/DES-ECB/404142434445464748494a4b4c4d4e4f 255/2/DES-ECB/404142434445464748494a4b4c4d4e4f 255/3/DES-ECB/404142434445464748494a4b4c4d4e4f
    cm> init-update 255
    => 80 50 00 00 08 51 39 AE 8E 0C 8B D9 50 00 .P...Q9.....P.
    (132953 usec)
    <= 00 00 63 06 00 26 29 91 06 75 FF 02 00 84 FC 69 ..c..&)..u.....i
    60 80 B4 9C 9C 03 DB 99 9E F8 F4 67 90 00 `..........g..
    Status: No Error
    cm> ext-auth plain
    => 84 82 00 00 10 E6 A4 12 36 FD 7E 57 D0 2B 9D 5F ........6.~W.+._
    65 30 D8 1B 00 e0...
    (89378 usec)
    <= 90 00 ..
    Status: No Error
    cm> put-key --mode add 115/1/RSA-PUB/0301000180ad97a22fe7cb29accc3a0b68844f0cb11d057ed8c80c5a4db856138030c419d0a27556902a939152ce79376b1cd0955ce4303bf7560c95230714c583ff8a8f12f1cf23d867e469773d15f0e708332651110cb615c8d373e86d57b5ffe7ff44bcc7690a4d68cbe07743b19879ac5beaeef6e1af133a1fd37b86a5339960b36e53
    => 80 D8 00 01 88 73 A1 80 AD 97 A2 2F E7 CB 29 AC .....s...../..).
    CC 3A 0B 68 84 4F 0C B1 1D 05 7E D8 C8 0C 5A 4D .:.h.O....~...ZM
    B8 56 13 80 30 C4 19 D0 A2 75 56 90 2A 93 91 52 .V..0....uV.*..R
    CE 79 37 6B 1C D0 95 5C E4 30 3B F7 56 0C 95 23 .y7k...\.0;.V..#
    07 14 C5 83 FF 8A 8F 12 F1 CF 23 D8 67 E4 69 77 ..........#.g.iw
    3D 15 F0 E7 08 33 26 51 11 0C B6 15 C8 D3 73 E8 =....3&Q......s.
    6D 57 B5 FF E7 FF 44 BC C7 69 0A 4D 68 CB E0 77 mW....D..i.Mh..w
    43 B1 98 79 AC 5B EA EE F6 E1 AF 13 3A 1F D3 7B C..y.[......:..{
    86 A5 33 99 60 B3 6E 53 A0 03 01 00 01 00 ..3.`.nS......
    (281664 usec)
    <= 6A 86 j.
    Status: Incorrect parameters (P1,P2)
    jcshell: Error code: 6a86 (Incorrect parameters (P1,P2))
    jcshell: Wrong response APDU: 6A86
    Why the card return error code ? I think the P1 P2 is correct, according to the GP2.1.1?
    Thank you!

    It also can't input the RSA Public Key to the card, as follows:
    cm> /terminal "winscard:4|FT SCR2000 0"
    --Opening terminal
    /atrresetCard with timeout: 0 (ms)
    --Waiting for card...
    ATR=3B E9 00 00 81 31 FE 45 4A 43 4F 50 34 31 56 32 ;....1.EJCOP41V2
    32 A7 2.
    ATR: T=1, N=0, IFSC=254, BWI=4/CWI=5, Hist="JCOP41V22"
    /card -a a000000003000000 -c com.ibm.jc.CardManagerresetCard with timeout: 0 (ms)
    --Waiting for card...
    ATR=3B E9 00 00 81 31 FE 45 4A 43 4F 50 34 31 56 32 ;....1.EJCOP41V2
    32 A7 2.
    ATR: T=1, N=0, IFSC=254, BWI=4/CWI=5, Hist="JCOP41V22"
    => 00 A4 04 00 08 A0 00 00 00 03 00 00 00 00 ..............
    (86180 usec)
    <= 6F 10 84 08 A0 00 00 00 03 00 00 00 A5 04 9F 65 o..............e
    01 FF 90 00 ....
    Status: No Error
    cm> set-key 255/1/DES-ECB/404142434445464748494a4b4c4d4e4f 255/2/DES-ECB/404142434445464748494a4b4c4d4e4f 255/3/DES-ECB/404142434445464748494a4b4c4d4e4f
    cm> init-update 255
    => 80 50 00 00 08 80 29 78 6F 21 1B 34 89 00 .P....)xo!.4..
    (129908 usec)
    <= 00 00 63 06 00 26 29 91 06 75 FF 02 00 00 93 73 ..c..&)..u.....s
    3A B8 2C 0F D2 4C 06 E2 50 66 7F D8 90 00 :.,..L..Pf....
    Status: No Error
    cm> ext-auth plain
    => 84 82 00 00 10 3E 88 4D 33 FD 7D A5 56 B6 90 84 .....>.M3.}.V...
    78 94 BD B3 7A x...z
    (97237 usec)
    <= 90 00 ..
    Status: No Error
    cm> card-info
    => 80 F2 80 00 02 4F 00 00 .....O..
    (60917 usec)
    <= 08 A0 00 00 00 03 00 00 00 01 9E 90 00 .............
    Status: No Error
    => 80 F2 40 00 02 4F 00 00 [email protected]..
    (41315 usec)
    <= 6A 88 j.
    Status: Reference data not found
    => 80 F2 10 00 02 4F 00 00 .....O..
    (73177 usec)
    <= 07 A0 00 00 00 03 53 50 01 00 01 08 A0 00 00 00 ......SP........
    03 53 50 41 90 00 .SPA..
    Status: No Error
    Card Manager AID : A000000003000000
    Card Manager state : OP_READY
    Load File : LOADED (--------) A0000000035350 (Security Domain)
    Module : A000000003535041
    cm> install -b -s -i A000000003535041 A0000000035350 A000000003535041
    => 80 E6 0C 00 20 07 A0 00 00 00 03 53 50 08 A0 00 .... ......SP...
    00 00 03 53 50 41 08 A0 00 00 00 03 53 50 41 01 ...SPA......SPA.
    C0 02 C9 00 00 00 ......
    (227436 usec)
    <= 90 00 ..
    Status: No Error
    cm> ls
    => 80 F2 80 00 02 4F 00 00 .....O..
    (61204 usec)
    <= 08 A0 00 00 00 03 00 00 00 01 9E 90 00 .............
    Status: No Error
    => 80 F2 40 00 02 4F 00 00 [email protected]..
    (66302 usec)
    <= 08 A0 00 00 00 03 53 50 41 07 C0 90 00 ......SPA....
    Status: No Error
    => 80 F2 10 00 02 4F 00 00 .....O..
    (72365 usec)
    <= 07 A0 00 00 00 03 53 50 01 00 01 08 A0 00 00 00 ......SP........
    03 53 50 41 90 00 .SPA..
    Status: No Error
    Card Manager AID : A000000003000000
    Card Manager state : OP_READY
    Sec. Domain: SELECTABLE (SV------) A000000003535041
    Load File : LOADED (--------) A0000000035350 (Security Domain)
    Module : A000000003535041
    cm> select A000000003535041
    => 00 A4 04 00 08 A0 00 00 00 03 00 00 00 00 ..............
    (84625 usec)
    <= 6F 10 84 08 A0 00 00 00 03 00 00 00 A5 04 9F 65 o..............e
    01 FF 90 00 ....
    Status: No Error
    cm> /card -a a000000003000000 -c com.ibm.jc.CardManager
    resetCard with timeout: 0 (ms)
    --Waiting for card...
    ATR=3B E9 00 00 81 31 FE 45 4A 43 4F 50 34 31 56 32 ;....1.EJCOP41V2
    32 A7 2.
    ATR: T=1, N=0, IFSC=254, BWI=4/CWI=5, Hist="JCOP41V22"
    => 00 A4 04 00 08 A0 00 00 00 03 00 00 00 00 ..............
    (83836 usec)
    <= 6F 10 84 08 A0 00 00 00 03 00 00 00 A5 04 9F 65 o..............e
    01 FF 90 00 ....
    Status: No Error
    cm> set-key 255/1/DES-ECB/404142434445464748494a4b4c4d4e4f 255/2/DES-ECB/404142434445464748494a4b4c4d4e4f 255/3/DES-ECB/404142434445464748494a4b4c4d4e4f
    cm> init-update 255
    => 80 50 00 00 08 FA 3B 98 E7 B4 60 A8 CC 00 .P....;...`...
    (128562 usec)
    <= 00 00 63 06 00 26 29 91 06 75 FF 02 00 01 26 F7 ..c..&)..u....&.
    25 4D B0 B9 D2 1D 18 99 F1 1F E8 25 90 00 %M.........%..
    Status: No Error
    cm> ext-auth plain
    => 84 82 00 00 10 C9 5D 27 4B C4 54 AC E5 D3 3C 8B ......]'K.T...<.
    5F 2D B5 6B 87 _-.k.
    (97825 usec)
    <= 90 00 ..
    Status: No Error
    cm> set-key 1/1/DES-ECB/505152535455565758595a5b5c5d5e5f 1/2/DES-ECB/505152535455565758595a5b5c5d5e5f 1/3/DES-ECB/505152535455565758595a5b5c5d5e5f
    cm> put-keyset 1
    => 80 D8 00 81 43 01 80 10 B3 6A 9E 82 2D 9E 8E 06 ....C....j..-...
    8F B9 52 EA CA 63 FA 6B 03 A4 B7 D6 80 10 B3 6A ..R..c.k.......j
    9E 82 2D 9E 8E 06 8F B9 52 EA CA 63 FA 6B 03 A4 ..-.....R..c.k..
    B7 D6 80 10 B3 6A 9E 82 2D 9E 8E 06 8F B9 52 EA .....j..-.....R.
    CA 63 FA 6B 03 A4 B7 D6 00 .c.k.....
    (263198 usec)
    <= 01 A4 B7 D6 A4 B7 D6 A4 B7 D6 90 00 ............
    Status: No Error
    cm> put-key 115/1/RSA-PUB/0301000180ad97a22fe7cb29accc3a0b68844f0cb11d057ed8c80c5a4db856138030c419d0a27556902a939152ce79376b1cd0955ce4303bf7560c95230714c583ff8a8f12f1cf23d867e469773d15f0e708332651110cb615c8d373e86d57b5ffe7ff44bcc7690a4d68cbe07743b19879ac5beaeef6e1af133a1fd37b86a5339960b36e53
    => 80 D8 00 01 88 73 A1 80 AD 97 A2 2F E7 CB 29 AC .....s...../..).
    CC 3A 0B 68 84 4F 0C B1 1D 05 7E D8 C8 0C 5A 4D .:.h.O....~...ZM
    B8 56 13 80 30 C4 19 D0 A2 75 56 90 2A 93 91 52 .V..0....uV.*..R
    CE 79 37 6B 1C D0 95 5C E4 30 3B F7 56 0C 95 23 .y7k...\.0;.V..#
    07 14 C5 83 FF 8A 8F 12 F1 CF 23 D8 67 E4 69 77 ..........#.g.iw
    3D 15 F0 E7 08 33 26 51 11 0C B6 15 C8 D3 73 E8 =....3&Q......s.
    6D 57 B5 FF E7 FF 44 BC C7 69 0A 4D 68 CB E0 77 mW....D..i.Mh..w
    43 B1 98 79 AC 5B EA EE F6 E1 AF 13 3A 1F D3 7B C..y.[......:..{
    86 A5 33 99 60 B3 6E 53 A0 03 01 00 01 00 ..3.`.nS......
    (251210 usec)
    <= 6A 80 j.
    Status: Wrong data
    Add new key set didn't work, try modify ...
    jcshell: Error code: -3 (Invalid API parameter)
    jcshell: Command failed: Invalid RSA public key
    Is it something wrong ?

  • Why can't I create a document in my Facebook group on my iPad? It won't let me input any text into the text box field after I create a new document. Thanks.

    Why can't I create a document in my Facebook group on my iPad. It won't let me input any text into the text box field after I create a new document. Thanks.

    Just thought I'd add my solution, I decided to go with WebDAV and I think it actually works better than the iTunes way, the steps are pretty much the same but avoiding the iTunes interface just makes things easier and faster.
    I followed this guide but it does have a small mistake in the httpd-dav.conf file, on line 2, where it's WebServer/WebDAV">, it should be <Directory "/Library/WebServer/WebDAV">.
    The tricky part is setting permissions which if wrong will give you errors when connecting with the iPad, I opted to set all to Read&Write since my home network has a hardware firewall. Another convenience was to add an alias to the webdav share on the Desktop.
    I'm still expecting the call from Apple but even if they fix the iTunes I'm sticking with WebDAV, atleast until I see what's new with iOS5 and iCloud this fall which should bring true sync for documents (I'm hoping that they will offer encryption with my own keys, if not, then I'll probably keep using WebDAV).

  • How to add a report into the SAP-SCRIPT .using PERFORM ......ENDPERFORM

    My question is that How to add a report into the SAP-SCRIPT .
    by using PERFORM ......ENDPERFORM
    I don't know how to used it .

    Hi Sandeep,
    Please check this link
    http://help.sap.com/saphelp_40b/helpdata/en/d1/803279454211d189710000e8322d00/content.htm
    http://www.allinterview.com/showanswers/37425.html
    Calling ABAP Subroutines: PERFORM
    You can use the PERFORM command to call an ABAP subroutine (form) from any program, subject to the normal ABAP runtime authorization checking. You can use such calls to subroutines for carrying out calculations, for obtaining data from the database that is needed at display or print time, for formatting data, and so on.
    PERFORM commands, like all control commands, are executed when a document is formatted for display or printing. Communication between a subroutine that you call and the document is by way of symbols whose values are set in the subroutine.
    Syntax in a form window:
    /: PERFORM <form> IN PROGRAM <prog>
    /: USING &INVAR1&
    /: USING &INVAR2&
    /: CHANGING &OUTVAR1&
    /: CHANGING &OUTVAR2&
    /: ENDPERFORM
    INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types.
    OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings.
    The ABAP subroutine called via the command line stated above must be defined in the ABAP report prog as follows:
    FORM <form> TABLES IN_TAB STRUCTURE ITCSY
    OUT_TAB STRUCTURE ITCSY.
    ENDFORM.
    The values of the SAPscript symbols passed with /: USING... are now stored in the internal table IN_TAB . Note that the system passes the values as character string to the subroutine, since the field Feld VALUE in structure ITCSY has the domain TDSYMVALUE (CHAR 80). See the example below on how to access the variables.
    The internal table OUT_TAB contains names and values of the CHANGING parameters in the PERFORM statement. These parameters are local text symbols, that is, character fields. See the example below on how to return the variables within the subroutine.
    From within a SAPscript form, a subroutine GET_BARCODE in the ABAP program QCJPERFO is called. Then the simple barcode contained there (u2018First pageu2019, u2018Next pageu2019, u2018Last pageu2019) is printed as local variable symbol.
    Definition in the SAPscript form:
    /: PERFORM GET_BARCODE IN PROGRAM QCJPERFO
    /: USING &PAGE&
    /: USING &NEXTPAGE&
    /: CHANGING &BARCODE&
    /: ENDPERFORM
    / &BARCODE&
    Coding of the calling ABAP program:
    REPORT QCJPERFO.
    FORM GET_BARCODE TABLES IN_PAR STUCTURE ITCSY
    OUT_PAR STRUCTURE ITCSY.
    DATA: PAGNUM LIKE SY-TABIX, "page number
    NEXTPAGE LIKE SY-TABIX. "number of next page
    READ TABLE IN_PAR WITH KEY u2018PAGEu2019.
    CHECK SY-SUBRC = 0.
    PAGNUM = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY u2018NEXTPAGEu2019.
    CHECK SY-SUBRC = 0.
    NEXTPAGE = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY u2018BARCODEu2019.
    CHECK SY-SUBRC = 0.
    IF PAGNUM = 1.
    OUT_PAR-VALUE = u2018|u2019. "First page
    ELSE.
    OUT_PAR-VALUE = u2018||u2019. "Next page
    ENDIF.
    IF NEXTPAGE = 0.
    OUT_PAR-VALUE+2 = u2018Lu2019. "Flag: last page
    ENDIF.
    MODIFY OUT_PAR INDEX SY-TABIX.
    ENDFORM.
    Best regards,
    raam

  • How to  include a report  into the  SAP-SCRIPT

    plz tell me 
    How to  include a report  into the  SAP-SCRIPT
    ASAP

    creat a z report like this....................
    REPORT  zmmgl_picklist1.
    TABLES : likp,ltap,ltak.
    data : lv_NUM1 type c .
    data : lv_NUM type c.
    *&      Form  get_data1
          text
         -->IN_DATA    text
         -->OUT_DATA   text
    FORM get_data1 TABLES in_data STRUCTURE  itcsy
                         out_data STRUCTURE itcsy.
    READ TABLE in_data WITH KEY name = 'LTAP-VBELN'.
    lv_NUM = lv_NUM1 + 1.
    out_data-name = 'lv_NUM'.
      out_data-value = lv_NUM .
    APPEND out_data.
    endform.
    *&      Form  get_data
          This form is to read  details from  LIKP    *
         -->IN_DATA    text
         -->OUT_DATA   text
    FORM get_data TABLES in_data STRUCTURE  itcsy
                         out_data STRUCTURE itcsy.
      READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
      Select single bldat from likp into likp-bldat where lgnum = ltap-lgnum.
      out_data-name = 'LIKP-BLDAT'.
      out_data-value = likp-bldat.
      APPEND out_data.
       READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
      Select single vstel from likp into likp-vstel where lgnum = ltak-lgnum .
      out_data-name = 'LIKP-VSTEL'.
      out_data-value = likp-vstel.
      APPEND out_data.
    READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
      Select single kunnr from likp into likp-kunnr where lgnum = ltap-lgnum.
      out_data-name = 'LIKP-KUNNR'.
      out_data-value = likp-kunnr.
      APPEND out_data.
    ENDFORM.                    "get_data.
    after this go to the script editor......
    /: perform get_data in program zmmgl_picklist1.
    /: using &ltap-vbeln&                 (Reference field.this field          should be there in both program and script.....)
    /:changing &likp-bldat&         
    /:changing &likp-vstel&
    /:changing &likp-kunnr&
    \[removed by moderator\]
    Regards
    Anbu
    Edited by: Jan Stallkamp on Jun 10, 2008 2:26 PM

  • How do I install memory into the Pavilion 17z-F2 series laptops?

    How do I install memory into the Pavilion 17z-F (17z-F200, product L2H13AV) series laptops?
    HP appears to have no maintenance guide available for this model series. What's up with that?
    Please, do not offer the generic (and out-of-date) Pavilion 17 Notebook PC Maintenance and Service Guide. It does not appear to apply to the 17z-F series. This guide instructs to remove the bottom service panel which I could have figured that out on my own. However, the 17z-F series does not appear to have any removable panels at all. I took an up-close look at the Pavilion 17z-F100. And, it does not have any removable panels on the underside, except for the battery. So, I presume the 17z-F200 to be the same.
    I am a computer technician. And, this is the first laptop I have seen without any service panels. I am probably going to have to disassemble the entire outer-shell to install memory (or to replace the hard disk drive once the time comes). But, every laptop I have worked on in the past had its own special array of hidden screws or special tricks for disassembly. So, having a maintenance guide is a necessity to avoid damaging plastic mounts, clips, guides, etc.
    This question was solved.
    View Solution.

    How about this one:
    Pavilion 17z Manual
    Don't get me started on this. It's one of my pet peeves, too. HP is not the only one doing this. Acer and Toshiba, etc. also are selling "closed" systems now. I hate it. I will absolutely never knowingly buy one but I am spending a lot of time here answering questions just like this. Good luck and let us know how you do. Sounds like you will be fine. 
    If this is "the Answer" please click "Accept as Solution" to help others find it. 

  • I have just used migration assistant to import photos (using an ethernet cable) from my PC. It has worked but they have gone into a new user on my MacPro. How can I merge them into the one user account.

    I have just used migration assistant to import photos (using an ethernet cable) from my PC. It has worked but they have gone into a new user on my MacPro. How can I merge them into the one user account.

    How many pictures (or how many bytes) are we talking?  Now that the pictures are imported one way to cross users is to use a removable drive (although large volumes of files preclude this).
    The other is to login as the user where the pictures are, then copy them into the public drop box of the user where you want the picture.
    The arrow is showing (in ths example) copy files from the Pictures folder for my user to the guest user accounts public dropbox.  When you do this you may have to authenticate and you won't be able to see the results of the copy until you log in as the other user.
    All users are in the folder "/Users/"

  • I am a CC subscriber and trying to update lr5.7 and I am told to got to my CC folder and click on install. The problem is, LR is not in my file. I guess I have been using my original lr that I bought years ago. What now? How do i get lr into the CC file?

    I am a CC subscriber and trying to update lr5.7 and I am told to got to my CC folder and click on install. The problem is, LR is not in my file. I guess I have been using my original lr that I bought years ago. What now? How do i get lr into the CC file?

    Gary116 please remove and reinstall Lightroom by following the steps listed in CC desktop lists applications as "Up to Date" when not installed.  The version of Photoshop Lightroom available through the Creative Cloud Desktop application supports your Creative Cloud Membership.

  • How do I install memory into the Pavilion 17z-F200 (part L2H13AV)

    How do I install memory into the Pavilion 17z-F200 (part L2H13AV)?
    HP appears to have no maintenance guide available for this model. What's up with that?
    I took a look at the Pavilion 17z-F100 (sent by mistake). It does not have any removable panels on the underside. And, the User Guide for the 17z-F200 indicates that it will be the same (assuming it ever arrives).
    I am probably going to have to disassemble the entire outer-shell to install memory (or replace the hard disk drive, once the time comes). But, every laptop I have worked on in the past has had its own special place for hidden screws or special trick to disassembly. So, having a maintenance guide is a necessity to avoid damaging plastic mounts, clips, guides, etc.
    This question was solved.
    View Solution.

    @DLBurkhart ,
    Hello and thank you for posting on the HP support forums. Here is a link to the HP Pavilion 17 notebook Maintenance and service guide.
    HP Pavilion 17 Notebook PC Maintenance and Service Guide
    In the guide you will find the instructions on how to access the memory module and as well you should find the supported memory configurations.
    I hope this was helpful.
    Thank you for posting and have a great day
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    D5GR
    I work on behalf of HP

Maybe you are looking for

  • Cannot burn dvd without theme

    I cannot do what would seem to be the simplest step in imovie and idvd. I have created my customize movie in imovie (no canned themes or audio) and when I go to the shre menu and choose idvd so I can burn my movie, I cannot burn a dvd without first c

  • Using ICacheService in Web Dynpro DC

    Dear, My Web Dynpro DC application allows users to upload several files. Since I don't want to keep all these files continuously in memory, during the complete user session, I want to temporarily save them to disk. Therefore I'm trying to use the ICa

  • How can i  take pictures in front camera without the mirror effect

    I took pctures with front camera and was ok but now when i take pictures with front caera the pictures are in the opposite way like the mirror effect how can i fix it

  • PAPER NOT FEEDING CORRECTLY

    I AM HAVING A PROBLEM WITH MY PRINTER NOT FEEDING PROPERLY...IT STARTS TO FEED AND IT IS NOT GRABBING ON THE ONE SIDE THEREFORE IT IS CRUSHING THE PAPER...IS THERE A WAY I CAN CLEAN THE FEEDERS OR ROLLERS..NOT SURE HOW TO EVEN GET TO THEM

  • Problems awaking from sleep

    I have it set that when I put my laptop to sleep it asks for my password when it awakes. I have always done this. The last two times I put it to sleep a blank screen comes up and the spinning beach ball of death just keeps spinning and nothing happen