Issue in MaxL. illegal block type.

hi all.
I am using Essbase 9.3
I have got a Invalid block header.
error message "Invalid block header: Illegal block type -- Please use the IBH Locate/Fix utilities to find/fix the IBH problem"
For recovery, I use the following command
alter application sample disable commands;
alter system logout session on database sample.basic;
alter database sample.basic validate data to local logfile 'invalid_blocks';
alter database sample.basic repair invalid_block_headers;
When I execute the above statements, Iam encountering the following error messages:
MAXL> alter database pov_fin.f1_pl validate data to local logfile 'D://hyperion/
essbase/app/pov_fin/pov_fin.log';
OK/INFO - 1054014 - Database F1_plCCP loaded.
OK/INFO - 1051061 - Application POV_FIN loaded - connection established.
OK/INFO - 1054027 - Application [POV_FIN] started with process id [11228].
OK/INFO - 1054014 - Database F1_pl loaded.
ERROR - 1042012 - Network error [10054]: Cannot Send Data.
ERROR - 1042012 - Network error [10054]: Cannot Send Data.
ERROR - 1241101 - Unexpected Essbase error 1042012.
Can anyone help me with what causes the issue and how to prevent it ?
Thanks for your time.
With Regards
The application log
[Wed Mar 06 15:10:38 2013]Local/POV_FIN///Info(1002035)
Starting Analytic Services Server - Application [POV_FIN]
[Wed Mar 06 15:10:38 2013]Local/POV_FIN///Info(1200480)
Loaded and initialized JVM module
[Wed Mar 06 15:10:39 2013]Local/POV_FIN///Info(1200445)
External [GLOBAL] function [@ESSBASEALERT] registered OK
[Wed Mar 06 15:10:39 2013]Local/POV_FIN///Info(1019008)
Reading Application Definition For [POV_FIN]
[Wed Mar 06 15:10:39 2013]Local/POV_FIN///Info(1019009)
Reading Database Definition For [F1_pl]
[Wed Mar 06 15:10:39 2013]Local/POV_FIN///Info(1019009)
Reading Database Definition For [F1_plCCP]
[Wed Mar 06 15:10:39 2013]Local/POV_FIN///Info(1019021)
Reading Database Mapping For [POV_FIN]
[Wed Mar 06 15:10:39 2013]Local/POV_FIN///Info(1019010)
Writing Application Definition For [POV_FIN]
[Wed Mar 06 15:10:39 2013]Local/POV_FIN///Info(1019011)
Writing Database Definition For [F1_pl]
[Wed Mar 06 15:10:39 2013]Local/POV_FIN///Info(1019011)
Writing Database Definition For [F1_plCCP]
[Wed Mar 06 15:10:39 2013]Local/POV_FIN///Info(1019022)
Writing Database Mapping For [POV_FIN]
[Wed Mar 06 15:10:39 2013]Local/POV_FIN///Info(1013202)
Waiting for Login Requests
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1013205)
Received Command [Load Database]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019018)
Writing Parameters For Database [F1_plCCP]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019017)
Reading Parameters For Database [F1_plCCP]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019012)
Reading Outline For Database [F1_plCCP]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1007043)
Declared Dimension Sizes = [311 3 3 1 7 17 5834 54 ]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1007042)
Actual Dimension Sizes = [305 2 2 1 6 12 5755 54 ]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1007125)
The number of Dynamic Calc Non-Store Members = [55 1 1 0 0 5 0 0 ]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1007126)
The number of Dynamic Calc Store Members = [0 0 0 0 0 0 0 0 ]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1007127)
The logical block size is [1220]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1010008)
Maximum Declared Blocks is [37489284] with data block size of [2799]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1010007)
Maximum Actual Possible Blocks is [31698540] with data block size of [250]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1200481)
Formula for member [PY] will be executed in [CELL] mode
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1200481)
Formula for member [YTD] will be executed in [CELL] mode
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1012710)
Essbase needs to retrieve [12] Essbase Kernel blocks in order to calculate the top dynamically-calculated block.
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1012736)
The Dyn.Calc.Cache for database [F1_plCCP] can hold a maximum of [107436] blocks.
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1012737)
The Dyn.Calc.Cache for database [F1_plCCP], when full, will result in [allocation from non-Dyn.Calc.Cache memory].
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019018)
Writing Parameters For Database [F1_plCCP]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019017)
Reading Parameters For Database [F1_plCCP]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1070013)
Index cache size ==> [1048576] bytes, [128] index pages.
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1070014)
Index page size ==> [8192] bytes.
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1070081)
Using buffered I/O for the index and data files.
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1070083)
Using waited I/O for the index and data files.
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019019)
Reading Data File Free Space Information For Database [F1_plCCP]...
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1006025)
Data cache size ==> [3145728] bytes, [1572] data pages
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1006026)
Data file cache size ==> [0] bytes, [0] data file pages
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1024033)
Missing Database Config File [D:\Hyperion\ESSBASE\APP\POV_FIN\F1_plCCP\F1_plCCP.cfg], Query logging disabled
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1203135)
Starting the Data Mining Framework
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1203136)
Data Mining Framework successfully initialized.
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1200551)
Allocated TRIGMAXMEMSIZE: [4096] Bytes.
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1013205)
Received Command [Get Database Volumes]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1013205)
Received Command [Set Database State]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019018)
Writing Parameters For Database [F1_plCCP]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019018)
Writing Parameters For Database [F1_plCCP]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1013205)
Received Command [Get Database State]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1013205)
Received Command [Get Database Info]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1013205)
Received Command [SetApplicationState]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019010)
Writing Application Definition For [POV_FIN]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019011)
Writing Database Definition For [F1_pl]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019011)
Writing Database Definition For [F1_plCCP]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019022)
Writing Database Mapping For [POV_FIN]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1013205)
Received Command [Load Database]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019018)
Writing Parameters For Database [F1_pl]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019017)
Reading Parameters For Database [F1_pl]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019012)
Reading Outline For Database [F1_pl]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1007043)
Declared Dimension Sizes = [321 16 9 1 7 17 8377 6195 4 5 5 6 ]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1007042)
Actual Dimension Sizes = [315 15 8 1 6 12 8311 6094 0 0 0 5 ]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1007125)
The number of Dynamic Calc Non-Store Members = [53 11 7 0 0 5 0 0 ]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1007126)
The number of Dynamic Calc Store Members = [0 0 0 0 0 0 0 0 ]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1007127)
The logical block size is [37800]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1010008)
Maximum Declared Blocks is [6175566285] with data block size of [46224]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1010007)
Maximum Actual Possible Blocks is [5166017868] with data block size of [1048]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1200481)
Formula for member [LM] will be executed in [CELL] mode
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1200481)
Formula for member [PY] will be executed in [CELL] mode
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1200481)
Formula for member [PPY] will be executed in [CELL] mode
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1200481)
Formula for member [YTD] will be executed in [CELL] mode
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1200481)
Formula for member [PYTD] will be executed in [CELL] mode
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1200481)
Formula for member [PYTD AVG] will be executed in [CELL] mode
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1012710)
Essbase needs to retrieve [12] Essbase Kernel blocks in order to calculate the top dynamically-calculated block.
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1012736)
The Dyn.Calc.Cache for database [F1_pl] can hold a maximum of [3467] blocks.
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1012737)
The Dyn.Calc.Cache for database [F1_pl], when full, will result in [allocation from non-Dyn.Calc.Cache memory].
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019018)
Writing Parameters For Database [F1_pl]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019017)
Reading Parameters For Database [F1_pl]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1070013)
Index cache size ==> [314572800] bytes, [38400] index pages.
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1070014)
Index page size ==> [8192] bytes.
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1070081)
Using buffered I/O for the index and data files.
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1070083)
Using waited I/O for the index and data files.
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019019)
Reading Data File Free Space Information For Database [F1_pl]...
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1006025)
Data cache size ==> [821657600] bytes, [98003] data pages
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1006026)
Data file cache size ==> [0] bytes, [0] data file pages
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1080053)
Free space recovery skipped. Estimated free space recoverable by RecoverDbFreeSpace: [11394603094] bytes
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1024033)
Missing Database Config File [D:\Hyperion\ESSBASE\APP\POV_FIN\F1_pl\F1_pl.cfg], Query logging disabled
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1200551)
Allocated TRIGMAXMEMSIZE: [4096] Bytes.
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1013205)
Received Command [Get Database Volumes]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1013205)
Received Command [Set Database State]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019018)
Writing Parameters For Database [F1_pl]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1019018)
Writing Parameters For Database [F1_pl]
[Wed Mar 06 15:10:40 2013]Local/POV_FIN///Info(1013205)
Received Command [Get Database State]
[Wed Mar 06 15:10:41 2013]Local/POV_FIN///Info(1013210)
User [admin] set active on database [F1_pl]
[Wed Mar 06 15:10:41 2013]Local/POV_FIN/F1_pl/admin/Info(1013091)
Received Command [Locate IBH] from user [admin]
[Wed Mar 06 15:10:41 2013]Local/POV_FIN/F1_pl/admin/Info(1006016)
Invalid block header: Illegal block type
[Wed Mar 06 15:10:41 2013]Local/POV_FIN///Info(1008108)
Essbase Internal Logic Error [7100]
[Wed Mar 06 15:10:41 2013]Local/POV_FIN///Info(1008106)
Exception error log [D:\Hyperion\ESSBASE\app\POV_FIN\log00026.xcp] is being created...
[Wed Mar 06 15:10:41 2013]Local/POV_FIN///Info(1008107)
Exception error log completed -- please contact technical support and provide them with this file
[Wed Mar 06 15:10:41 2013]Local/POV_FIN///Info(1002089)
RECEIVED ABNORMAL SHUTDOWN COMMAND - APPLICATION TERMINATING
Edited by: JH_lee on 2013. 3. 5 오후 10:38

Report Scripts, DATAEXPORT command, JEXPORT are some types of ways to select an area of the database and export the data though it all depends on how corrupted the databas is to whether you will be able to get any of the data out.
It is probably worth having a read of the following doc in Oracle Support "Error "1006060 - Invalid block header: Block numbers do not match -- Please use the IBH Locate/Fix utilities to find/fix the IBH problem" [ID 596748.1]"
It is not exactly the same error but it gives suggestions on attempting to fix the error.
You might be out of luck if you did not take regular backups.
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • .OAM file in Muse - invalid block type (type==3)

    Every time I try to insert an  Edge .OAM file in muse and try to publish I keep getting an "invalid block type (type==3)" error, over and over... it doesn't matter even if the OAM file is empty, it still displays this problem... could someone please point me if this is a bug or if I'm just doing something wrong?
    Regards

    Hi,
    I have the same issue but it's not an OS issue (i think) : I'm working on SnowLeopard and I have the same error message. All the http://www.adobekb.com/inserting_edge_content.html steps are correctly followed.
    I cannot use the preview mode and cannot preview in a browser as well.
    Any idea ?
    Cheers,
    Pierre

  • ORA-10561: block type 'TRANSACTION MANAGED DATA BLOCK', data object# 237

    Hello,
    I encountered ORA-10561 while I was recovering my DB.
    Problem Background :-
    I took a hotbakup of my DB running in Windows, I edited the Pfile and recreated the control file
    I was able to succesfully mount the DB
    The I gave the below command to apply the redologs and recover the DB
    And the errors followed as mentioned.
    The HOTBACKUP was copied and restored using a USB-PENdrive. I suspect that the datafiles and / or ARCHIVE LOGS would have had some format issues due to O/S {WINXP ---> RHEL5}
    If this is the case ? then I would like to know how to convert the format of the files(Datafiles and or Redologs)
    into acceptable format
    >
    SQL> recover database until time '2010-03-15:18:08:05' using backup controlfile;
    ORA-00279: change 3447582 generated at 03/15/2010 17:41:42 needed for thread 1
    ORA-00289: suggestion : /home/oracle/NEW/ARCHIVE/ARC0000000144_0706577643.0001
    ORA-00280: change 3447582 for thread 1 is in sequence #144
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    /home/oracle/NEW/ARCHIVE/ARC00144_0706577643.001
    ORA-00283: recovery session canceled due to errors
    ORA-10562: Error occurred while applying redo to data block (file# 1, block#
    1658)
    ORA-10564: tablespace SYSTEM
    ORA-01110: data file 1: '/home/oracle/NEW/oradata/O1_MF_SYSTEM_5M9ZKSSW_.DBF'
    ORA-10561: block type 'TRANSACTION MANAGED DATA BLOCK', data object# 237
    ORA-00600: internal error code, arguments: [4502], [0], [], [], [], [], [], []
    >
    Thanks in advance.
    Regards,
    Valli

    You need to give much more information:
    What version of Oracle? 10gR2 is not a version, 10.2.0.1 is a version.
    What version of Windows, exactly? What version of linux?
    ORA-600 means you need to talk to Oracle support. There is an ora-600 lookup tool, which basically searches the knowledge base (for ora-600[4502] in your case, which brings up a bunch of really, really, really old docs).
    How exactly did you take the "hot backup?" There are a number of ways to do things with that name, some of which are just plain wrong.
    How exactly did you get the backup from one machine to another? Which exact commands did you use to copy the files to the usb and from the usb? Did you do it more than once?
    Why are you using the backup controlfile syntax? There are valid reasons, and invalid reasons to do that.
    What exactly did you change in the pfile?
    What does the alert log say about all this?

  • "Invalid Block Type" exception message

    I got "Invalid Block Type" exception message in my program. I'm not sure what this is. Could somebody please advice?
    Thanks
    GZIPInputStream gzip_in_stream = null;
    BufferedOutputStream destination_out_stream = new BufferedOutputStream(
       new FileOutputStream(weatherFile), BUF_SIZE);
       byte[] input_buffer = new byte[BUF_SIZE];
    int byteLength = 0;          
    while ( (byteLength = gzip_in_stream.read(input_buffer, 0, BUF_SIZE)) > 0 )
    destination_out_stream.write(input_buffer, 0, byteLength);     
    destination_out_stream.flush(); // Ensure all the data is written to the output.
    destination_out_stream.close();
    gzip_in_stream.close();     

    ZipException, and it only says "Signals that a Zip exception of some sort has occurred."
    I forgot to include this.
    InputStream tempStream = ftpClient.retrieveFileStream(zippedFile);
    gzip_in_stream = new GZIPInputStream(
    new BufferedInputStream(tempStream));

  • How to determine the time building block type in hxc_time_building_blocks

    Is there a way for me to determine what the time building block type is in hxc_time_building_blocks? I need to query the table and only select entries that are absence related (Vacation, Holiday, Sick Leave). I have the person's absence data from the table per_absence_attendances, I need a way to use the data from that table to get the time building block from hxc_time_building_blocks.

    I could ask "supported by what?" but I assume you will
    be the one supporting them. Here's a link to the
    latest list of registered MIME types.HERE's the link...
    ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/media-types

  • Payment Block Type

    Dear all,
    Can anyone help me to understand what is the difference between payment block "A", "B" and "R"? How does the system triggered or determined which payment block to be used automatically upon posting of invoice verification? Is the type "R" set as default option used by SAP? If not, how/where do we configure for the "determination" of which payment block type to be used upon a invoice verification that need to be blocked? (assumption: general setting with tolerance limit setup only, no item amount check or stochastic block setup)
    Thank you for the helps.
    Regards,
    Edwin

    A stands for "Free for Payment" & B stands for "Invoice Verification" and these has to be assigned in vendor master - accounting view.
    Regards
    Bhavesh Mistry

  • Payment block type from  R  to  A  in MIRO when QA fails

    Hi all,
    After maintaining all the settings , i am able to block the payment in MIRO if QA fails. but here the block type is 'R'
    which is 'Invoice verification'. but user want some other block type like 'A' as block type 'R' is used for some other reasons.
      Is it possible to create payment block type 'A' in MIRO if QA fails.
    Thanks
    babu

    Hi bernhard,
    Thanks buddy. i am using SAP of version 4.7. Is enhacment spot there in 4.7.
    Please tell me the tcode & the procedure to use enhancment spot.
    Thanks.
    babu

  • Getting error message on iPad.     CSong:Sequence. Illegal block size

    Was working on a song and got booted out on my iPad. When I restarted garage band an error message came up
    CSong:Sequence-illegal block size. I have restarted my iPad and synced it. I have made several songs in the past with no problem.

    I dont know why this error appears but one use in another forum has had the same problem. After windows reinstallation everything was great.
    Well, Im not sure if the OS reinstallation on your notebook will solve the problems but you can try it.
    By the way: did you test several CDs. Many CD brands are not compatible with the drives and you should check if the same happens with different CD brands.

  • Issue in transporting changed material type using ALE-IDOC

    Hi All,
    I am sending the material master data from one system to another using ALE-IDOC.The issue is that teh material type is not getting sent from one system to another after changing the material type.I mean the changes in material type are not getting updated.I will be indeed thankful if anyone can guide me resolve this issue.
    Thanks.

    Hi,
    Not all the fields that are changed in material master are sent in the Idoc. Material type is one such field.
    Create change pointer on some other field ex. net value or material desc. and transfer the material type changes under it.
    KR Jaideep,

  • Java.util.zip.ZipException: invalid block type: thrown by adapter-OIM 11g

    Hello Everyone,
    I have deployed an adapter for provisioning to my custom resource and I am calling the code from a process task in the adapter factory.
    The jar for my adapter is place in OIM_HOME/server/JavaTasks .
    Inside the code there is a need to read a configuration xml file which is then parsed using org.apache.commons.digester.Digester parser
    The xml file is present in the src folder.
    The code looks like below:
    URL myURL = MyPlugIn.class.getResource("/com/orgname/appname/xyz.xml");
    InputStream configFileAsStream = myURL.openStream();
    macManager = (MachineManager)digester.parse(configFileAsStream);
    This code works fine when I run it on my local machine, but when I deploy it in OIM I get the following exception:
    java.util.zip.ZipException: invalid block type
         at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:147)
         at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:105)
         at java.io.FilterInputStream.read(FilterInputStream.java:66)
         at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:377)
         at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:240)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:222)
         at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:173)
         at org.apache.commons.digester.Digester.parse(Digester.java:1765)
    Any ideas on why I am getting this exception?
    Is there any other way of going about reading files in adapter code? I have tried reading files by specifying absolute as well as relative paths in OIM but was unable to read them in the adapter code. Any pointers will be of great help.. Thanks!
    Saiesh/-

    Hi,
    Upload if any dependency jar files into database using upload utility as Third Party jar files.
    Regards,
    Raghav

  • Error: Illegal destination type 'H'

    Hello All,
    We've maintained an RFC destination type 'H' for the ALE connection from the HR system to FI.  When running tcode PC00_M99_CIPE the following error is received:
    System error during RFC call BAPI_FIXACCOUNT_GETLIST: Illegal destination type 'H'
    Any ideas?

    Hi,
    The /sap/bc/soaprfc is the "old style" generic node for calling RFC as web services.
    It is used up to WAS 6.20.
    Beginning with WAS 6.40, it is still there and funcional but you are supposed to use the new web service implementation with one SICF node per RFC module function.
    In that case, You can create an HTTP destination per function module to call.
    If you just test the HTTP destination from SM59, you will, of course, get an error because you just send a GET to the URL which does not respect the SOAP protocol.
    What you need to do is to create a web service proxy from the WSDL.
    Regards,
    Olivier

  • Updating materials issued for  production thru movement type

    hi
    we are using repetitive manufacturing scenario, and we are using back flush,  how to find out the materials issued for production thru movement types, from which tables can i get the data
    from AUFK  i am getting the movement types and the order number, and i am unable to find out material numbers.
    the requirement is need to update the costs of the materials based on the movement types for the production

    Hi
    I dont know if this question falls under the category of "Asking basic questions"
    You can use MB51 to get the desired info.. It will give you the Material Consumed +  mvt type (261) and Order where the Material is consumed
    br, Ajay M

  • Javax.crypto.BadPaddingException: unknown block type

    Hello,
    I`m trying to decode some data but it keeps getting me: javax.crypto.BadPaddingException: unknown block type
    Here is my code:
    import java.io.*;
    import java.security.*;
    import java.security.spec.*;
    import java.security.interfaces.*;
    import javax.crypto.*;
    public class Main{
      public static void main(String args[]){
        try{
          byte[] pubKeyBytes  = getBytesFromFile("RSAPublicKey.der");
          byte[] privKeyBytes = getBytesFromFile("RSAPrivateKey.der");
          Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
          KeyFactory keyFactory = KeyFactory.getInstance("RSA", "BC");
          // decode public key
          X509EncodedKeySpec pubSpec = new X509EncodedKeySpec(pubKeyBytes);
          RSAPublicKey pubKey = (RSAPublicKey) keyFactory.generatePublic(pubSpec);
          System.out.println("Public Ket Spec: " + pubSpec.toString());
          System.out.println("Public Key: " + pubKey.toString());
          // decode private key
          PKCS8EncodedKeySpec privSpec = new PKCS8EncodedKeySpec(privKeyBytes);
          RSAPrivateKey privKey = (RSAPrivateKey) keyFactory.generatePrivate(privSpec);
          System.out.println("Private Ket Spec: " + privSpec.toString());
          System.out.println("Private Key: " + privKey.toString());
          Cipher enc = Cipher.getInstance("RSA/None/PKCS1Padding", "BC");
          enc.init(Cipher.ENCRYPT_MODE, pubKey);
          Cipher dec = Cipher.getInstance("RSA/None/PKCS1Padding", "BC");
          dec.init(Cipher.DECRYPT_MODE, privKey);
          byte[] cyphered = new byte[] {
                  (byte) 0xA7, (byte) 0x08, (byte) 0x9A, (byte) 0xC0, (byte) 0x0A, (byte) 0x2F, (byte) 0x8D,
                  (byte) 0xA2, (byte) 0x3C, (byte) 0xC1, (byte) 0x49, (byte) 0x5B, (byte) 0x6A, (byte) 0xFF,
                  (byte) 0xF4, (byte) 0xC1, (byte) 0x9B, (byte) 0x87, (byte) 0x7C, (byte) 0xA2, (byte) 0xC5,
                  (byte) 0x6D, (byte) 0xB7, (byte) 0x84, (byte) 0xA5, (byte) 0x1A, (byte) 0xA5, (byte) 0x99,
                  (byte) 0xFF, (byte) 0x02, (byte) 0x16, (byte) 0xC4, (byte) 0x2D, (byte) 0x2E, (byte) 0x35,
                  (byte) 0xAC, (byte) 0x5B, (byte) 0x72, (byte) 0x51, (byte) 0xC1, (byte) 0xC7, (byte) 0x84,
                  (byte) 0xB5, (byte) 0x73, (byte) 0xAA, (byte) 0xB2, (byte) 0x85, (byte) 0x42, (byte) 0x7F,
                  (byte) 0xD2, (byte) 0xED, (byte) 0x0B, (byte) 0x0F, (byte) 0xD3, (byte) 0x8D, (byte) 0xFA,
                  (byte) 0xC4, (byte) 0x75, (byte) 0x16, (byte) 0x18, (byte) 0x62, (byte) 0xDC, (byte) 0xF9,
                  (byte) 0x84, (byte) 0xEF, (byte) 0x41, (byte) 0x76, (byte) 0x97, (byte) 0x63, (byte) 0x55,
                  (byte) 0x65, (byte) 0x4E, (byte) 0x7A, (byte) 0x0E, (byte) 0xC5, (byte) 0x2F, (byte) 0xC7,
                  (byte) 0xBC, (byte) 0x17, (byte) 0x83, (byte) 0x67, (byte) 0x3F, (byte) 0xD9, (byte) 0xC8,
                  (byte) 0x62, (byte) 0x3D, (byte) 0x74, (byte) 0xC6, (byte) 0x15, (byte) 0xBE, (byte) 0xA2,
                  (byte) 0xD8, (byte) 0x7C, (byte) 0x9F, (byte) 0x2A, (byte) 0x5A, (byte) 0xE5, (byte) 0xE9,
                  (byte) 0x02, (byte) 0x12, (byte) 0x6B, (byte) 0x78, (byte) 0x07, (byte) 0xB6, (byte) 0xF7,
                  (byte) 0xE3, (byte) 0x80, (byte) 0xCB, (byte) 0x20, (byte) 0xF5, (byte) 0x6D, (byte) 0xA8,
                  (byte) 0x56, (byte) 0xC6, (byte) 0xF7, (byte) 0xEB, (byte) 0xA4, (byte) 0xA4, (byte) 0xA6,
                  (byte) 0x28, (byte) 0xC2, (byte) 0x2D, (byte) 0x70, (byte) 0xAE, (byte) 0x99, (byte) 0xC8,
                  (byte) 0x6E, (byte) 0x22, (byte) 0xA0, (byte) 0x4F, (byte) 0xE8, (byte) 0x69, (byte) 0x05,
                  (byte) 0x6B, (byte) 0x63, (byte) 0xF0, (byte) 0x83, (byte) 0xD8, (byte) 0x2D, (byte) 0xA4,
                  (byte) 0xE2, (byte) 0x6A, (byte) 0x45, (byte) 0x88, (byte) 0xF6, (byte) 0xF2, (byte) 0x3B,
                  (byte) 0xF9, (byte) 0x40, (byte) 0x27, (byte) 0x53, (byte) 0x4D, (byte) 0xDB, (byte) 0x22,
                  (byte) 0x50, (byte) 0x5E, (byte) 0x30, (byte) 0xAC, (byte) 0x70, (byte) 0x53, (byte) 0x32,
                  (byte) 0x93, (byte) 0xC0, (byte) 0xF4, (byte) 0x5D, (byte) 0xDE, (byte) 0xC7, (byte) 0xCF,
                  (byte) 0xCC, (byte) 0x79, (byte) 0x1E, (byte) 0xE3, (byte) 0xBA, (byte) 0x2A, (byte) 0xB5,
                  (byte) 0xB3, (byte) 0xBB, (byte) 0x2D, (byte) 0x0A, (byte) 0x2E, (byte) 0x13, (byte) 0x56,
                  (byte) 0xDA, (byte) 0x29, (byte) 0x28, (byte) 0x9D, (byte) 0xA3, (byte) 0xB6, (byte) 0x95,
                  (byte) 0xA0, (byte) 0xFF, (byte) 0xAC, (byte) 0x19, (byte) 0x35, (byte) 0xD9, (byte) 0x5A,
                  (byte) 0xA4, (byte) 0xF6, (byte) 0x38, (byte) 0xF0, (byte) 0xBB, (byte) 0x8A, (byte) 0xC8,
                  (byte) 0x01, (byte) 0xBA, (byte) 0xDE, (byte) 0x4D, (byte) 0x4C, (byte) 0xB0, (byte) 0xBA,
                  (byte) 0x44, (byte) 0xB1, (byte) 0x60, (byte) 0xA8, (byte) 0x81, (byte) 0x94, (byte) 0x15,
                  (byte) 0x88, (byte) 0x5D, (byte) 0x92, (byte) 0x88, (byte) 0x50, (byte) 0xC7, (byte) 0x25,
                  (byte) 0xEC, (byte) 0xAB, (byte) 0x03, (byte) 0x82, (byte) 0x30, (byte) 0x13, (byte) 0xB6,
                  (byte) 0xC0, (byte) 0xC8, (byte) 0xA6, (byte) 0x8F, (byte) 0xD5, (byte) 0xB7, (byte) 0x78,
                  (byte) 0x10, (byte) 0x81, (byte) 0x5D, (byte) 0xF3, (byte) 0x7C, (byte) 0xAB, (byte) 0x5B,
                  (byte) 0xC3, (byte) 0x38, (byte) 0xA5, (byte) 0xE3, (byte) 0x8B, (byte) 0x85, (byte) 0x0B,
                  (byte) 0xC9, (byte) 0x54, (byte) 0x29, (byte) 0x79};
          System.out.println("Testing encoding: ");
          byte[] uncyph = cyphered;
          System.out.println(dec.doFinal(uncyph));
        }catch(Exception e){
          System.out.println(e.toString());
      public static byte[] getBytesFromFile(String filePath) throws IOException {
        File file = new File(filePath);
        InputStream is = new FileInputStream(file);
        long length = file.length();
        byte[] bytes = new byte[(int)length];
        int offset = 0;
        int numRead = 0;
        while (offset < bytes.length && (numRead=is.read(bytes, offset, bytes.length-offset)) >= 0)
            offset += numRead;
        if (offset < bytes.length)
            throw new IOException("Could not completely read file "+file.getName());
        is.close();
        return bytes;
    }

    jverd wrote:
    sabre150 wrote:
    Your ciphertext is 256 bytes so your RSA modulus needs to be 2048 bytes (256 bytes). ???
    2048 bits perhaps?:-)))) Aint this new site wonderful. I can edit my post even after someone has responded to it!

  • Javax.crypto.BadPaddingException: unknown block type - URGENT

    I am trying to encryp-decrypt a file (serialized xml file ) using BC provider with RSA algorithm and PKCS1Padding padding..
    Cipher cipher = Cipher.getInstance("RSA/ECB/PKCS1Padding", "BC")
    Sequence of action is encrypt - base64encode -
    base64decode - decrypt.
    Encryption seems to be working fine but while decrypting it gives the error mentioned below:
    javax.crypto.BadPaddingException: unknown block type
    I tried using OAEPPadding - In that scenario I get this error
    javax.crypto.BadPaddingException: data hash wrong
    I tried searching the cause and resolution of the problems on various resources on net but in vain. Need it urgently. PLS HELP. THANKS
    I am pasting my code below :
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.security.Key;
    import java.security.KeyFactory;
    import java.security.KeyPair;
    import java.security.KeyPairGenerator;
    import java.security.NoSuchAlgorithmException;
    import java.security.NoSuchProviderException;
    import java.security.PrivateKey;
    import java.security.PublicKey;
    import java.security.Security;
    import java.security.spec.EncodedKeySpec;
    import java.security.spec.PKCS8EncodedKeySpec;
    import java.security.spec.X509EncodedKeySpec;
    import javax.crypto.Cipher;
    import org.apache.log4j.Logger;
    import org.bouncycastle.jce.provider.*;
    import sun.misc.BASE64Decoder;
    import sun.misc.BASE64Encoder;
    public class EncryptBase64File
    protected static final String ALGORITHM = "RSA";
         private static Logger logger = Logger.getLogger(EncryptFiles.class.getClass());
    private EncryptBase64File()
    * Init java security to add BouncyCastle as an RSA provider
    public static void init()
    Security.addProvider(new BouncyCastleProvider());
    * Generate key which contains a pair of privae and public key using 1024 bytes
    * @return key pair
    * @throws NoSuchAlgorithmException
    public static KeyPair generateKey() throws NoSuchProviderException,NoSuchAlgorithmException
    //KeyPairGenerator keyGen = KeyPairGenerator.getInstance(ALGORITHM);
              KeyPairGenerator keyGen =
                                  KeyPairGenerator.getInstance("RSA", "BC");
    keyGen.initialize(1024);
    KeyPair key = keyGen.generateKeyPair();
    return key;
    * Encrypt a text using public key.
    * @param text The original unencrypted text
    * @param key The public key
    * @return Encrypted text
    * @throws java.lang.Exception
    public static byte[] encrypt(byte[] text, PublicKey key) throws Exception
    byte[] cipherText = null;
    try
    // get an RSA cipher object and print the provider
    Cipher cipher = Cipher.getInstance("RSA/ECB/PKCS1Padding", "BC");
                   //Cipher cipher = Cipher.getInstance("RSA");
                   System.out.println("\nProvider is: " + cipher.getProvider().getInfo());
                   System.out.println("\nStart encryption with public key");
    if (logger.isDebugEnabled())
                        logger.debug("\nProvider is: " + cipher.getProvider().getInfo());
                        logger.debug("\nStart encryption with public key");
    // encrypt the plaintext using the public key
    cipher.init(Cipher.ENCRYPT_MODE, key);
    cipherText = cipher.doFinal(text);
    catch (Exception e)
                   logger.error(e, e);
    throw e;
    return cipherText;
    * Encrypt a text using public key. The result is enctypted BASE64 encoded text
    * @param text The original unencrypted text
    * @param key The public key
    * @return Encrypted text encoded as BASE64
    * @throws java.lang.Exception
    public static String encrypt(String text, PublicKey key) throws Exception
    String encryptedText;
    try
    byte[] cipherText = encrypt(text.getBytes("UTF8"),key);
    encryptedText = encodeBASE64(cipherText);
                   System.out.println("Enctypted text is: " + encryptedText);
                   logger.debug("Enctypted text is: " + encryptedText);
    catch (Exception e)
                   logger.error(e, e);
    throw e;
    return encryptedText;
    * Decrypt text using private key
    * @param text The encrypted text
    * @param key The private key
    * @return The unencrypted text
    * @throws java.lang.Exception
    public static byte[] decrypt(byte[] text, PrivateKey key) throws Exception
    byte[] dectyptedText = null;
    try
    // decrypt the text using the private key
    //Cipher cipher = Cipher.getInstance("RSA/CBC/PKCS1Padding","BC");
                   Cipher cipher = Cipher.getInstance("RSA/ECB/PKCS1Padding", "BC");
                   //Cipher cipher = Cipher.getInstance("RSA");
                   logger.debug("Start decryption");
                   System.out.println("Start decryption");
    cipher.init(Cipher.DECRYPT_MODE, key);
    dectyptedText = cipher.doFinal(text);
    catch (Exception e)
                   logger.error(e, e);
    throw e;
    return dectyptedText;
    * Decrypt BASE64 encoded text using private key
    * @param text The encrypted text, encoded as BASE64
    * @param key The private key
    * @return The unencrypted text encoded as UTF8
    * @throws java.lang.Exception
    public static String decrypt(String text, PrivateKey key) throws Exception
    String result;
    try
    // decrypt the text using the private key
    byte[] dectyptedText = decrypt(decodeBASE64(text),key);
    result = new String(dectyptedText, "UTF8");
                   logger.debug("Decrypted text is: " + result);
    catch (Exception e)
                   logger.error(e, e);
    throw e;
    return result;
    * Encode bytes array to BASE64 string
    * @param bytes
    * @return Encoded string
    private static String encodeBASE64(byte[] bytes)
    BASE64Encoder b64 = new BASE64Encoder();
    return b64.encode(bytes);
    * Decode BASE64 encoded string to bytes array
    * @param text The string
    * @return Bytes array
    * @throws IOException
    private static byte[] decodeBASE64(String text) throws IOException
    BASE64Decoder b64 = new BASE64Decoder();
    return b64.decodeBuffer(text);
    * Encrypt file using 1024 RSA encryption
    * @param srcFileName Source file name
    * @param destFileName Destination file name
    * @param key The key. For encryption this is the Private Key and for decryption this is the public key
    * @param cipherMode Cipher Mode
    * @throws Exception
    public static void encryptFile(String srcFileName, String destFileName, PublicKey key) throws Exception
    encryptDecryptFile(srcFileName,destFileName, key, Cipher.ENCRYPT_MODE);
    * Decrypt file using 1024 RSA encryption
    * @param srcFileName Source file name
    * @param destFileName Destination file name
    * @param key The key. For encryption this is the Private Key and for decryption this is the public key
    * @param cipherMode Cipher Mode
    * @throws Exception
    public static void decryptFile(String srcFileName, String destFileName, PrivateKey key) throws Exception
    encryptDecryptFile(srcFileName,destFileName, key, Cipher.DECRYPT_MODE);
    * Encrypt and Decrypt files using 1024 RSA encryption
    * @param srcFileName Source file name
    * @param destFileName Destination file name
    * @param key The key. For encryption this is the Private Key and for decryption this is the public key
    * @param cipherMode Cipher Mode
    * @throws Exception
    public static void encryptDecryptFile(String srcFileName, String destFileName, Key key, int cipherMode) throws Exception
    OutputStream outputWriter = null;
    InputStream inputReader = null;
    try
              Cipher cipher = Cipher.getInstance("RSA/ECB/PKCS1Padding", "BC");
    String textLine = null;
    byte[] buf = cipherMode == Cipher.ENCRYPT_MODE? new byte[100] : new byte[128];
    int newBuffer;
    // init the Cipher object for Encryption...
    cipher.init(cipherMode, key);
    // start FileIO
    outputWriter = new FileOutputStream(destFileName);
    inputReader = new FileInputStream(srcFileName);
    while ( (bufl = inputReader.read(buf)) != -1)
    String encText = null;
    String base64EncText = null ;
    if (cipherMode == Cipher.ENCRYPT_MODE)
    encText = encrypt(getBytes(buf,newBuffer).toString(),(PublicKey)key);
    else
    encText = decrypt(getBytes(buf,newBuffer).toString(),(PrivateKey)key);
                   outputWriter.write(encText.getBytes());
    outputWriter.flush();
    catch (Exception e)
                   logger.error(e,e);
    throw e;
    finally
    try
    if (outputWriter != null)
    outputWriter.close();
    if (inputReader != null)
    inputReader.close();
    catch (Exception e)
    public static byte[] getBytes(byte[] arr, int length)
    byte[] newArr = null;
    if (arr.length == length)
    newArr = arr;
    else
    newArr = new byte[length];
    for (int i = 0; i < length; i++)
    newArr[i] = (byte) arr;
    return newArr;
         public static void main(String args[])
              throws Exception
              init();
              KeyPair keyPair = generateKey();
              PublicKey pubKey = keyPair.getPublic();
              PrivateKey privKey = keyPair.getPrivate();
              encryptFile("C:\\Temp\\TestFile.xml","C:\\Temp\\RSAEncryptedText.xml",pubKey);
              decryptFile("C:\\Temp\\RSAEncryptedText.xml","C:\\Temp\\RSADecryptedText.xml",privKey);

    I think you are the same poster as 'contebral'. Why the multiple identities?
    First off, the code you posted doesn't even compile. The getBytes() method has an error. Also, in method encryptDecryptFile() the variable bufl is not declared.
    The rest of the code is a mess. The toString() method does not do what you think it does; you're just going to get the object reference id. There is no reason to keep converting to/from byte arrays and Strings. Most of the time your data should be kept as a byte array, only possibly converting for I/O operations.
    The size of the base64 encoded output is not 128 bytes, it is 172 bytes. At this point I ran out of patience and stopped looking.
    There is no shame in being a beginner in Java, but you must walk before you can run. Stop running.

  • Dump while doing goods issue against order with movement type 261

    Hi Team,
    We are integrating Asset management process along with the goods issue against the order which is created with a business partner for movement type 261.
    when we try to complete the process the system gives us a dump as described below.
    please look through the dump and advice for the same.
    Short text
        The current application triggered a termination with a short dump.
    What happened?
        The current application program detected a situation which really
        should not occur. Therefore, a termination with a short dump was
        triggered on purpose by the key word MESSAGE (type X).
    Error analysis
        Short text of error message:
        System error in the FI/CO interface
        Long text of error message:
         Diagnosis
             Updating of the FI/CO interface was called with object type "MKPF"
             yet the checks were run for object type "AMBU".
         System Response
             Checking and updating must be for the same object type.
         Procedure
             It has to do with a system error from the calling applications.
        Technical information about the message:
        Message class....... "RW"
        Number.............. 103
        Variable 1.......... "MKPF"
        Variable 2.......... "AMBU"
       Variable 3.......... " "
       Variable 4.......... " "
    rigger Location of Runtime Error
       Program                                 SAPLMBWL
       Include                                 LMBWLU21
       Row                                     62
       Module type                             (FUNCTION)
       Module Name                             MB_POST_GOODS_MOVEMENT
    46    IF xmkpf-xabln IS INITIAL.                               "note 434093
    47        CALL FUNCTION 'MB_XAB_NUMBER_GET'.                   "note 434093
    48    ENDIF.                                                   "note 434093
    49
    50 ENHANCEMENT-POINT MB_POST_GOODS_MOVEMENTS_01 SPOTS ES_SAPLMBWL STATIC.
    51
    52 ENHANCEMENT-POINT MB_POST_GOODS_MOVEMENTS_02 SPOTS ES_SAPLMBWL.
    53    CALL FUNCTION 'MB_CREATE_MATERIAL_DOCUMENT_UT'
    54         EXCEPTIONS
    55           error_message = 4.
    56 *  As soon as we have started to put things into UPDATE TASK, we must
    57 *  ensure that errors definitely terminate the transaction.
    58 *  MESSAGE A is not sufficient because it can be catched from
    59 *  external callers which COMMIT WORK afterwards, resulting in
    60 *  incomplete updates. Read note 385830 for the full story.
    61    IF NOT sy-subrc IS INITIAL.
    >>>       MESSAGE ID sy-msgid TYPE x NUMBER sy-msgno WITH            "385830
    63                  sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    64 *     MESSAGE A263.
    65    ENDIF.
    66 * Optische Archivierung
    67 * Spaete Erfassung mit Barcode
    68 * Redesign of barcode handling -> note 780365
    69   PERFORM barcode_update(sapmm07m) USING xmkpf-mblnr
    70                                          xmkpf-mjahr
    71                                          barcode.
    72
    73   MOVE-CORRESPONDING xmkpf TO emkpf.
    74   CALL FUNCTION 'MB_MOVEMENTS_REFRESH'
    75     EXCEPTIONS
    76       error_message = 4.
    77    MOVE-CORRESPONDING xmkpf TO emkpf.
    ource Code Extract
    ine  SourceCde
      32 *    BKPF as well. There is no other way to forward XBLNR to FI as not
      33 *    every document is posted by MB_CREATE -> a new function module in
      34 *    MBWL for transferring the information, called by FI, meant to load
      35 *    the complete function group for all MBxx postings when this isn't
      36 *    required (Performance). Would be the better way to transport the
      37 *    information after switching off MBxx in later release.
      38 *    corresponding IMPORT ... FROM MEMORY ... can be found in
      39 *    AC_DOCUMENT_POST (FORM FI_DOCUMENT_PREPARE (LFACIF5D))
      40      l_mem_id = 'MKPF-XBLNR'.                                   " 641365
      41      EXPORT xblnr = xblnr_sd TO MEMORY ID l_mem_id.             " 641365
      42    ELSE.                                                        "1245374
      43      l_mem_id = 'MKPF-XBLNR'.                                   "1245374
      44      FREE MEMORY ID l_mem_id.                                   "1245374
      45    ENDIF.

    Couple of notes are mentioned (385830, 780365 etc) and check whether these notes are applied.  If so, check with the ABAPer and go through the source code corrections explained in the respective notes.
    You may also go through the following notes
    1)  Note 386656 - FBV4: RW103 'System error in the FI/CO interface'
    2)  Note 388316 - RW103 "System error in the FI/CO interface"
    3) Note 543463 - Inconsistent Posting in budgetary ledger and/or RW102/RW103
    thanks
    G. Lakshmipathi

Maybe you are looking for