Help: Algorithm for Load File Data Block Hash?

Hi guys
I would like to understand the algorithm of a field in INSTALL for LOAD command. It is "Load File Data Block Hash". I'm concerning about it in JCOP tool + Eclipse
(All I want to to is designing the new INSTALL for LOAD command, and I want to imitate JCOP tool)
Can I use DES algorithm for this field?
Thanks in advance.

The load file data block hash is described in GP Card Spec v2.1.1 sections 6.7.6.1, 7.7.7 and C.2 all titled Load File Data Block Hash.
The hash is a SHA-1 hash of the load file data block.
Cheers,
Shane

Similar Messages

  • Load File Data Block

    Hi.
    i want to load cap file (binary code) to java card(GP 2.1.1).
    load file data block means binary code of cap file , right?
    and im wondering how do i change structure for BER-TLV?
    binay codes are [50 4B 03 04 14 00 08 00 08 00 CF 56 86 3D 00 00 00 00 00 00 00 00 ....]
    80 E8 00 00 FA C4 *82 0A 29* 50 4B 03 04 14 00 08 00 08 00... (binary code)...
    i found out tag"82" means have length with 2 more byte (0x0A29 for now)
    do i need to add to load file data block structure somthing else ?
    thanks

    845467 wrote:load file data block means binary code of cap file , right?AFAIK no, not whole cap file. You have to find in cap file components such as "header.cap", "directory.cap" and others and download only them. These components are described in JCVM specification. You must download them in order defined in specification.
    845467 wrote:80 E8 00 00 FA C4 82 0A 29 50 4B 03 04 14 00 08 00 08 00... (binary code)...APDU must look something like that
    80 E8 00 00 FA C4 82 XX XX 01 YY YY DATA 02 ZZ ZZ DATA ....
    XX XX - lenght of C4 tag
    01 YY YY - name and length of header.cap component
    02 ZZ ZZ - name and length of directory.cap component
    Note, debug.cap and descriptor.cap are optional. In case of JCOP cards they are downloaded out of C4 tag.

  • What are the steps for loading master data

    Hello
    what are the steps for loading master data? i want to learn about loading all master data and the steps to choose the best way to load the data.
    if anyone has documents please send me the documents i will be really greatful
    [email protected] thanks everyone
    Evion

    Hi Heng,
    Download the data into a CSV file.
    Write a program using GUI_UPLOAD to upload the CSV file and insert records.Chk the below link for example
    http://www.sap-img.com/abap/vendor-master-upload-program.htm
    Reward Points for the useful solutions.
    Regards,
    Harini.S

  • ASCP Test for Load Legacy Data

    Through to the legacy Web Adi ASCP Data in the Test of the load.
    Plan to check more than one, but the result is not correct  that there is  cause msc_operation_components not exists.
    Questions 1: msc_operation_components Table also through the Upload Web Adi BOM_Component and Routing_operation Data should be used or whether the Pre-Process Monitor Program or other Concurrent Program please tell us what is produced?
    Questions 2: If you create a Data Collect flat file data self service if you need through the OA Template Upload for msc_operation_components Dat there is no there, what should I do??

    I think you'll find the white paper published on metalink, our main avenue for publishing documentation and providing support information to customers.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by JohnWorthington:
    Hello,
    The 11.0.2 implementation doc mentions a technical "White Paper about the Data Pump" for loading legacy data into HRMS.
    I cannot find this White Paper anywhere.
    Does it exist?
    What is the easiest way to load our legacy data into 11.0.3 HRMS??
    Thanks,
    John Worthington
    [email protected]<HR></BLOCKQUOTE>
    null

  • DTP error: Lock NOT set for: Loading master data attributes

    Hi,
    I have a custom datasource from ECC which loads into 0CUST_SALES.  I'm using DTP & transformation which has worked for loading data in the past for this infoobject.  The infopackage loads with a green status but when i try to load data, the DTP fails with an error message at "Updating attributes for InfoObject 0CUST_SALES Processing Terminated" & the job log says: "Lock NOT set for: Loading master data attributes".  I've tried reactivating everything but it didn't help. Does anyone know what this error means? We're on SP7.   Thanks in advance!

    Hello Catherine
    I have had this problem in the past (3.0B) --> the reason is that our system was too slow and could not crunch the data fast enough, therefore packets where loacking each other.
    The fix: load the data into the PSA only, and then send it in background from the PSA to the info object. By doing this, only a background process will run, therefore locks cannot happen.
    Fix#2: by a faster server (by faster, I mean more CPU power)
    Now, maybe you have another issue with NW2004s, this was only my 2 cents quick thought
    Good luck!
    Ioan

  • I need flex sdk 4 to do loading file data

    Looks like I need flex sdk 4 to do loading file data as can be seen from the following thread:
    http://forums.adobe.com/thread/510429?tstart=0
    Hi there, I'm now trying to use the new file features in Flash 10 but I'm getting this error when I try something like
    fileRef.load();
    ReferenceError: Error #1069: Property load not found on flash.net.FileReference and there is no default value.

    I tried to use the example on
    http://sherifabdou.com/2008/06/using-the-new-filereference-class-in-flex-to-save-and-load- without-a-server/
    and get this error when I click the save button.
    Is there something wrong with my computer. I've got flash 10 installed on firefox
    ReferenceError: Error #1069: Property http://www.adobe.com/2008/actionscript/Flash10/::save not found on flash.net.FileReference and there is no default value.
        at LiveCycle/onSaveText()[C:\ColdFusion8\wwwroot\LiveCycle\src\LiveCycle.mxml:15]
        at LiveCycle/___LiveCycle_Button1_click()[C:\ColdFusion8\wwwroot\LiveCycle\src\LiveCycle.mxm l:41]

  • Need help in laoding flat file data, which has \r at the end of a string

    Hi There,
    Need help in loading flat file data, which has \r at the end of a string.
    I have a flat file with three columns. In the data, at the end of second column it has \r. So because of this the control is going to the beginning of next line. And the rest of the line is loading into the next line.
    Can someone pls help me to remove escape character \r from the data?
    thanks,
    rag

    Have you looked into the sed linux command? here are some details:
    When working with txt files or with the shell in general it is sometimes necessary to replace certain chars in existing files. In that cases sed can come in handy:
    1     sed -i 's/foo/bar/g' FILENAME
    The -i option makes sure that the changes are saved in the new file – in case you are not sure that sed will work as you expect it you should use it without the option but provide an output filename. The s is for search, the foo is the pattern you are searching the file for, bar is the replacement string and the g flag makes sure that all hits on each line are replaced, not just the first one.
    If you have to replace special characters like a dot or a comma, they have to be entered with a backslash to make clear that you mean the chars, not some control command:
    1     sed -i 's/./,/g' *txt
    Sed should be available on every standard installation of any distribution. At lesat on Fedora it is even required by core system parts like udev.
    If this helps, mark as correct or helpful.

  • Urgent.... Help Needed for Storing file in Application Server

    Hi All,
    I have a requirement where in I have to save a file in Application Server.
    File is of 141 Character Length, so there can be spaces left at the end.
    When I am downloading the file into Application Sever and then downloading the same file from Application Server to Presentation into a notepad then the spaces at the end are truncating.
    I want that the file that is generated should be of 141 character though if there may be spaces at the end.
    It will be great if you can help me out in this.
    Thanks in Advance.
    Jayant Sahu.

    when downloading to App server, you need to specify the LENGTH option on your TRANSFER ststement to keep fixed length.  You must also use a STRING type variable in your transfer.
    From Documentation on Transfer command:
    <b>If the file was opened as a text file or a legacy text file, the trailing blank characters are deleted for all data objects, except for those of data type string. The line end marker defined when the file was opened is then added to the remaining content of the data object or to the result of the conversion, and the final result is written byte-by-byte to the file.</b>
    There also used to be a problem with WS_DOWNLOAD - you had to do the following:
    Maintaining Trailing spaces when downloading to PC
    Before calling DOWNLOAD or WS_DOWNLOAD, do a perform SET_TRAIL_BLANKS(saplgrap) using 'X'
    To set the length of each record including your blanks add this code: perform SET_FIXLEN(saplgrap) using '0' '100'
    Don't think this is needed any more.
    Andrew

  • Help needed in Loading excel data to staging table from OAF Page

    Hi All,
    We have a requirement from the client on loading of a excel sheet data into staging table using OAF page.
    We were able to load a CSV file into staging table via OAF. The approach we used is we created a item of style 'messageFileUpload', which would pick the CSV file from desktop and we wrote the logic on the controller to place the file into server and then sumit a concurrent program to load the data into the staging table.
    But client wants data from the excel file to be loaded into staging table. Is there any way(approach) by which we can convert the excel file data into .CSV file using OAF?
    Any help or pointers on this will be highly apperciated.
    Thanks,
    Chethana

    Hi,
    Read through this :
    Need to upload a CSV/Excel to a table in OAF page
    Thanks,
    Gaurav

  • Best Practice for Flat File Data Uploaded by Users

    Hi,
    I have the following scenario:
    1.     Users would like to upload data from flat file and subsequently view their reports.
    2.     SAP BW support team would not be involved in data upload process.
    3.     Users would not go to RSA1 and use InfoPackages & DTPs. Hence, another mechanism for data upload is required.
    4.     Users consists of two group, external and internal users. External users would not have access to SAP system. However, access via a portal is acceptable.
    What are the best practice we should adopt for this scenario?
    Thanks!

    Hi,
    I can share what we do in our project.
    We get the files from the WEB to the Application Server in path which is for this process.The file placed in the server has a naming convention based on ur project,u can name it.Everyday the same name file is placed in the server with different data.The path in the infopackage is fixed to that location in the server.After this the process chain trigers and loads the data from that particular  path which is fixed in the application server.After the load completes,a copy of file is taken as back up and deleted from that path.
    So this happens everyday.
    Rgds
    SVU123
    Edited by: svu123 on Mar 25, 2011 5:46 AM

  • Steps to reducing time for loading of data

    Hi
    Could any one tell me how to reduce the time for loading of records into a particular cube or Ods. For ex: iam loading some 1 lac records.It was taking for me some 5 hrs. I want to reduce the time to 3hrs or 4hrs.What are the very first steps to be considered to make fast.
    Regards
    Ajay

    Hi Ajay,
    Check the following.
    1> Any routine you have in transfer rule and update rule should not fire database select more then one time in the same code.
    2> Load Master data before transaction data.
    3> Reduce the data pack size in infopackage.
    4> Delete old PSA because you may space issue while data loading .
    5> If you are loading in ODS then remove Bex check in ODS maintenance screen if you are not doing report on that ODS.
    hope this will help you.
    Suneel

  • How to create keyboard for Load Files into Photoshop

    does anyone know if there is a way to create or is there an existing keyboard shortcut to Load Files into Photoshop from Bridge?

    I should have been more specifc.
    Much like in bridge-tools-photoshop-load files into photoshop, I want to load multiple files into a layered photoshop document.
    Can't seem to find a keyboard shortcut for this action. Though I don't know how to write scripts very well but there are far too many keyboard shortcut posts I've searched and can't seem to find a way.
    thanks

  • Best Practices for Loading Master Data via a Process Chain

    Currently, we load attributes, text, and hierarchies before loading the transactional data.  We have one meta chain.  To load the master data it is taking more than 2 hours.  Most of the master data is full loads.  We've noticed that a lot of the master data, especially text, has not changed or changed very little since we implemented 18 months ago.  Is there a precedence or best practice to follow such as do we remove these processes from the chain?  If so, how often should it be run?  We would really like to reduce the amount of the master data loading time.  Is there any documentation that I can refer to?  What are other organizations doing to reduce the amount of time to load master data?
    Thanks!
    Debby

    Hi Debby,
    I assume you're loading Master Data from a BI system? The forum here are related to SAP NetWeaver MDM, so maybe you should ask this question in a BI forum?
    Nevertheless, if your data isn't changed this much, maybe you could use a delta mechanism for extraction? This would send only the changed records and not all the unchanged all the time. But this depends on your master data and of course on your extractors.
    Cheers
    Michael

  • Status for loading end date when GR

    Hi! We are using shipment for imports. I have set the indicator 'Cumulate 'finish loading' status from inbound deliv. sts 'gds rcpt completed' for the shipment type. But on receipting the inbound delivery, the status is still not set in the shipment created (loading end date field).
    Does anyone know what else need to be done for the date to be populated?
    Regards
    SF

    No answer

  • Lock NOT set for: Loading master data attributes error

    Hi experts,
    We were encountering this error before when trying to load master data.  When we checked the system we could not find any locks at the time, and activation or kicking off the attribute change run failed again.  We finally solved the problem running FM RSDDS_AGGR_MOD_CLOSE which sets the close flag to 'X' in table RSDDAGGRMODSTATE.  I have read that it is possible this lock error happens when two change runs happen at the same time.
    My question are:
    1. is it possible to find out what process exactly "caused" the lock? the table RSDDAGGRMODSTATE does not have a reference to any object or job. I am curious as we are trying to find ways to avoid this in the future...
    2. in our case, when we could not find any locks, is running this fm the only work around? is this a best practice?
    mark
    Message was edited by:
            Mark Siongco
    Message was edited by:
            Mark Siongco

    Hello Catherine
    I have had this problem in the past (3.0B) --> the reason is that our system was too slow and could not crunch the data fast enough, therefore packets where loacking each other.
    The fix: load the data into the PSA only, and then send it in background from the PSA to the info object. By doing this, only a background process will run, therefore locks cannot happen.
    Fix#2: by a faster server (by faster, I mean more CPU power)
    Now, maybe you have another issue with NW2004s, this was only my 2 cents quick thought
    Good luck!
    Ioan

Maybe you are looking for

  • Filtering a table with 19699 rows

    Hello I am new to Xcelsisu and I am trying to aply filter component to a table with 19699 rows. I is suppose to show in the filter 45 diferent clasifications. I seems to be using only the first 500 rows to aply the filter. I changed the maximum numbe

  • Building multilingual portal using WebCenter

    Hi, Can anyone point me to a good documentation on building multilingual portal using WebCenter? I found one for Spaces but I am developing custom portal using ADF resources. Thanks!

  • Using an MP3 player with iTunes

    We have two iPods and my daughter has a Samsung MP3 player. Now that music on iTunes 8 can be played on other digital music players (not iPods), how do you actually get the music from iTunes onto the MP3 player? Do I have to burn it to a CD first?

  • How to update itunes in my ipad

    Where can i find the update itunes for my ipad

  • Forms - Needed help in disabling/hiding a field

    Hi I'm working on a "Order management - Quick sales order" sutomization. This is specifically for a set of users in the company. At the line level attribute we have a DFF. This is common to this form ( quick sales order) and Also the main Sales order