Error in loading blolb data

hi,
i have a form page where i am hard coding data into a table with the help of a process. I have a blob column in the table and i want to insert the data in to the column of blol.i am not able to do so. my table has following columns
ID     NUMBER     No     -      1
PARENT_ID     NUMBER     
DOCUMENT     BLOB     Yes     
NAME     VARCHAR2(40)
MIMETYPE     VARCHAR2(40)
COMMENTS     VARCHAR2(400)
TIMESTAMP_CREATED     TIMESTAMP(6)     
CREATED_BY     VARCHAR2(40)
TIMESTAMP_MODIFIED     TIMESTAMP(6)
MODIFIED_BY     CHAR(40)     
IS_GROUP     CHAR(1)     
FILE_NAME     VARCHAR2(4000
and i am using the process
DECLARE
xxx timestamp;
begin
SELECT current_timestamp into xxx FROM dual;
:p126_timestamp_created:=xxx;
end;
begin
:p126_CREATED_BY:=:app_user;
end;
declare
aaa number;
begin
if :p126_GROUP_NAME= 1
then
begin
select max(ID) into aaa from "PSA_KNOWLEDGE_TREE";
insert into PSA_KNOWLEDGE_TREE values(aaa+1,1,null,:p126_NEW_GROUP,null,:p126_COMMENTS,:P126_TIMESTAMP_CREATED,:P126_CREATED_BY,null,null,'Y',null);
insert into PSA_KNOWLEDGE_TREE values(aaa+2,aaa+1,:P126_DOCUMENT,:p126_NAME,:p126_MIMETYPE,:p126_COMMENTS,:P126_TIMESTAMP_CREATED--,:P126_CREATED_BY,null,null,'N');
end;
else
begin
select max(ID) into aaa from "PSA_KNOWLEDGE_TREE";
insert into PSA_KNOWLEDGE_TREE values(aaa+1,:P126_GROUP_NAME,:P126_DOCUMENT,:p126_NAME,:P126_MIMETYPE,:p126_COMMENTS,:P126_TIMESTAMP_CREATED,:P126_CREATED_BY,null,null,'N',:P126_FILE_NAME);
end;
end if;
end;
i removd all the database connectivities from the items directly to the table and hence i want to insert the data runiing the process. the blob data which i am trying to insert is not being inserted. i have all the items in a form which i created manually without any link to the table

Good morning,
I have found that working with BLOBs can be a bit tricky. When you first insert your record, initialize the blob to EMPTY_BLOB() and then do an update to your record, setting DOCUMENT = :P126_DOCUMENT
That has usually cleared any issues I've had with BLOBs.
Good luck,
Don.
You can reward this reply by marking it as either Helpful or Correct :)

Similar Messages

  • Error while loading the data from PSA to Data Target

    Hi to all,
         I'm spacing some error while loading the data to data target.
    Error :  Record 1 :Value 'Kuldeep Puri Milan Joshi ' (hex. '004B0075006C0064006500650070002000500075007200690
    Details:
    Requests (messages): Everything OK
    Extraction (messages): Everything OK
    Transfer (IDocs and TRFC): Errors occurred
          Request IDoc : Application document posted
          Info IDoc 2 : Application document posted
          Info IDoc 1 : Application document posted
          Info IDoc 4 : Application document posted
          Info IDoc 3 : Application document posted
          Data Package 1 : arrived in BW ; Processing : Data records for package 1 selected in PSA - 1 er
    Processing (data packet): Errors occurred
          Update PSA ( 2462  Records posted ) : No errors
          Transfer Rules ( 2462  -> 2462  Records ) : No errors
          Update rules ( 2462  -> 2462  Records ) : No errors
          Update ( 0 new / 0 changed ) : Errors occurred
          Processing end : Errors occurred
    I'm totally new to this issue. please help to solve this error.
    Regards,
    Saran

    Hi,
    I think you are facing an invalid character issue.
    This issue can be resolved by correcting the error records in PSA and updating it into the target. For that the first step should be to identify if all the records are there in PSA. You can find out this from checking the Details tab in RSMO, Job log , PSA > sorting records based on status,etc. Once its confirmed force the request to red and delete the particular request from the target cube. Then go to PSA and edit the incorrect records (correcting or blanking out the invalid entries for particular field InfoObject for the incorrect record) and save it. Once all the incorrect records are edited go to RSA1>PSA find the particular request and update to target manually (right click on PSA request > Start update immediately).
    I will add the step by step procedure to edit PSA data and update into target (request based).
    In your case the error message says Error : Record 1 :Value 'Kuldeep Puri Milan Joshi '. You just need to conver this to Capital letter in PSA and reload.
    Edit the field to KULDEEP PURI MILAN JOSHI in PSA and push it to target.
    Identifying incorrect records.
    System wont show all the incorrect records at the first time itself. You need to search the PSA table manually to find all the incorrect records.
    1. First see RSMO > Details > Expand upate rules / processing tabs and you will find some of the error records.
    2. Then you can go to PSA and filter using the status of records. Filter all the red requests. This may also wont show the entire incorrect records.
    3. Then you can go to PSA and filter using the incorrect records based on the particular field.
    4. If this also doesnt work out go to PSA and sort (not filter) the records based on the particular field with incorrect values and it will show all the records. Note down the record numbers and then edit them one by one.
    If you want to confirm find the PSA table and search manually."
    Also Run the report RS_ERRORLOG_EXAMPLE,By this report you can display all incorrected records of the data & you can also find whether the error occured in PSA or in TRANSFER RULES.
    Steps to resolve this
    1. Force the request to red in RSMO > Status tab.
    2. Delete the request from target.
    3. Come to RSMO > top right you can see PSA maintenace button > click and go to PSA .
    4.Edit the record
    5. Save PSA data.
    6. Got to RSA15 > Search by request name > Right click > update the request from PSA to target.
    Refer how to Modify PSA Data
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40890eda-1b99-2a10-2d8b-a18b9108fc38
    This should solve your problem for now.
    As a long term you can apply some user exit in source system side or change your update rules to ensure that this field is getting blanked out before getting loaded in cube or add that particular char to permitted character list in BW.
    RSKC --> type ALL_CAPITAL --> F8 (Execute)
    OR
    Go to SE38 and execute the program RSKC_ALLOWED_CHAR_MAINTAIN and give ALL_CAPITAL or the char you want to add.
    Check the table RSALLOWEDCHAR. It should contain ALL_CAPITAL or the char you have entered.
    Refer
    /people/sap.user72/blog/2006/07/23/invalid-characters-in-sap-bw-3x-myths-and-reality-part-2
    /people/sap.user72/blog/2006/07/08/invalid-characters-in-sap-bw-3x-myths-and-reality-part-1
    /people/aaron.wang3/blog/2007/09/03/steps-of-including-one-special-characters-into-permitted-ones-in-bi
    http://help.sap.com/saphelp_nw04/helpdata/en/64/e90da7a60f11d2a97100a0c9449261/frameset.htm
    For adding Other characters
    OSS note #173241 – “Allowed characters in the BW System”
    Thanks,
    JituK
    Edited by: Jitu Krishna on Mar 22, 2008 1:52 PM

  • Error when loading the data from PSA to ODS......

    Hi BW guru's,
    i am facing one problem while loading the data from PSA to ODS.so please help me in this regard.
    Please give a step by step guidelines for me...
    the error while loading the data from PSA to ODS is "There are no PSA tables for these selection criteria","An error occurred when reading PSA data".
    thanks in advance,
    ashok.

    hi ashok,
    u can push data from  psa to ods, for this goto the psa in rsa1>psa>goto that request>rightclick>select " schedule update Immediately ", then data will moved from psa to ods.
                                                 or
    In ods > delete the failed request>goto the processing tab-->select 3rd option   " psa and then subsequentially to data targets ", --> schedule the infopackage.
    bye
    sunil

  • Error while loading master data.

    I am facing error while loading master data in a infoobject.
    The error comes when I run DTP fo rloading data from PSA to infoobject.
    The error wordings are : "MCK_PRDT1 : Data record 1 ('Bleach '): Version 'Bleach ' is not valid"
    Please help me in understanding this Version errror and suggest a solution for this.

    SAP metodology integration MDM & BW you can look at:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0f1f135-0015-2b10-5e83-acca118e17aa
    You can turn matching strategy in MDM Data manager for delete dublicate of records
    and then use MDM Syndicator for export data to file and then load that file to BW
    If you use OHD you cannot load from BW to MDM repository 10 records and unload only 5 because
    in BW every record has unique key.
    also you can use MDM ABAP or Java API for delete dublicate of records
    Edited by: Kanstantsin Chernichenka on May 8, 2009 1:02 PM

  • BI 7.0 - Duplicate Record Error while loading master data

    I am working on BI 7.0 and I am trying to load master data to an info object.
    I created an Infopackage and loaded into PSA.
    I created transformation and DTP and I get an error after I execute the DTP about duplicate records.
    I have read all previous threads about duplicate record error while loading master data and most of the them suggested to check 'Ignore duplicate records' option in the infopackage. But in 7.0, I can only load to PSA with infopackage and it doesn't have any option for me to ignore duplicate records.
    My data is getting loaded to PSA fine and I get this error while loading to info object using DTP.
    I would appreciate your help to resolve this issue.
    Regards,
    Ram.

    Hi,
    Refer:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/45/2a8430131e03c3e10000000a1553f6/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/d0/538f3b294a7f2de10000000a11402f/frameset.htm
    With rgds,
    Anil Kumar Sharma .P

  • 36 duplicate record  found. -- error while loading master data

    Hello BW Experts,
    Error while loading master data
    ( green light )Update PSA ( 50000 Records posted ) No errors
    ( green light )Transfer rules ( 50000  „³ 50000 Records ): No errors
    ( green light )Update rules ( 50000 „³ 50000 Records ): No errors
    ( green light ) Update ( 0 new / 50000 changed ): No errors
    ( red light )Processing end: errors occurred
         Processing 2 finished
    ƒÞ     36 duplicate record found. 15718 recordings used in table /BIC/PZMATNUM
    ƒÞ     36 duplicate record found. 15718 recordings used in table /BIC/XZMATNUM
    This error repeats with all the data-packets.
    what could be the reason of the error. how to correct the error.
    Any suggestions appreciated.
    Thanks,
    BWer

    BWer,
    We have exactly the same issue when loading the infoobject 0PM_ORDER, the datasource is 0PM_ORDER_ATTR.
    The workaround we have been using is 'Manual push' from the details tab of the monitor. Weirdly we don't have this issue in our test and dev systems, even in Production, this doesn't occur somedays. We have all the necessary settings enabled in the infopackage.
    Did you figure out a solution for your issue, if so please let me know and likewise I will.
    -Venkat

  • Strange error while loading master data

    Hi,
      Has anybody seen the following error while loading master data?
    6 duplicate record found. 886 recordings used in table /BI0/XCOSTCENTER
    6 duplicate record found. 886 recordings used in table /BI0/PCOSTCENTER     
    and repeat again once (so total 4 lines of error message)
    The update mode is "PSA and then in the infoobject (Package by Package)"
    Surprisingly the step by step error analysis shows all green except in step "Processing error in Warehouse reported?" which is red.  The over all status i.e. Total and  Technical are both red.
    It all means something went wrong but with the step by step error analysis all green even in the parts like "Processing successfully finished" and "All reported data packet received" I am confused.
    To make matter more confusing there are no error records in corresponding PSA data package.
    any comments would be greatly appreciated.

    Hi Novice,
    In your InfoPackage > Processing tab, select the option Only PSA and Update subsequently into Data Target, and also add the check mark for Ignore double data records. Then try the load again...it should be okay.
    Hope this helps...

  • Caller-70 Error while loading master data into infoobject

    hi ,
    I am getting following error while loading master data into infoobject (0tb-account). I am loading this master data in production environment for the first time. there are about 300000 records. All have got loaded upto PSA. Infopackage settings were PSA and then into data target.
    Short dump in the Warehouse
    Diagnosis
    The data update was not finished. A short dump has probably been logged in BI. This provides information about the error.
    System Response
    "Caller 70" is missing.
    ST22 dump analysis is as below:
    Termination occurred in the ABAP program "GP476CZYBEF2WX53UZ8TXFG6XOS" - in                  
    "VALUE_TO_SID_CONVERT_DB".                                                                  
    The main program was "RSMO1_RSM2 ".
    Please help as soon as you can..Production problem....
    Regards
    Rakesh

    Hi rakesh,
    May be IDOCs not processed completely,
    Idoc Problem, Either wait till time out & process Idoc from detail monitor screen, or go to BD87 & process Idoc with status = YELLOW ( be careful while processing IDOCS from BD87, choose only relevant Idocs
    Cheers
    Raj

  • Language error while loading master data source for text

    Hi,
    We are getting the following error while loading the data in 0DISTR_CHAN_TEXT data source.
    "Error during multibyte alignment for language D (position 2)".
    Can we filter the data on the Language ( ='EN'). At the data source level LANGU field is marked for selection but still it is not available as filter at info package level.
    Thanks
    VV

    Hey Vishal,
    If the field is marked for Selection at data source level, then it must be available for selection in infopackage.
    Try checking in RSA3 and see if it is available for selection over there. Let us know what was the output in R/3.
    Regards,
    Anjum.

  • Error while loading VBAK data

    Hello Folks,
    I got the following error while loading VBAK data. I know this is something to do with my user-id authorization but just wanted to make sure whether I can bypass this issue.
    When checking your authorizations for object 'tEST5' (technical name: ZSS5) it was established that you do not have authorization in your user master record for this object (return code 12).
    Please advise

    Hi Kumar,
        This is authorization issue you have to get the authorization to your User Role to run this activity.  Contact your security team they will help you.
    Regards,
    Srikanth.

  • Error while loading master data attribute

    Hi Guru's
    I am getting below mention error while loading master  data attribute.
    0MANU_MATNR : Data record 1035 ('000000000000229058 '): Version 'BDM755s ' is not valid
    Please sugggest how to resolve ?
    Regards
    Karan

    Hi,
    I think there is problem with "0MANU_MATNR" Data, check the records 1033 to 1036 and find the differnce between 1035 record and other records, some values is giving problem so by looking at other reocrds i.e 1033,1034,1036. Check in PSA in Monitor. 
    Note: If any problem with Upper/Lowe case then use TOUPPER in Transfer Rules
    If need use Conversion exits in transfer rules.
    ALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        INPUT         = 0MANU_MATNR
    IMPORTING
       OUTPUT        =   Result .
    or
    ALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
      EXPORTING
        INPUT         = 0MANU_MATNR
    IMPORTING
       OUTPUT        =   Result .
    Thanks
    Reddy
    Edited by: Surendra Reddy on Mar 3, 2009 11:46 AM

  • SQL Interface - Error in Loading the data from SQL data source

    Hello,
    We have been using SQl data source for loading the dimensions and the data for so many years. Even using Essbase 11.1.1.0, it's been quite a while (more than one year). For the past few days,we are getting the below error when trying to load the data.
    [Mon Jan 10 11:02:56 2011]Local/{App Name}/{DB Name}/{User Id}/Info(1021013)
    ODBC Layer Error: [S1000] ==> [[DataDirect][ODBC DB2 Wire Protocol driver][UDB DB2 for Windows, UNIX, and Linux]CURSOR IDENTIFIED IN FETCH OR CLOSE STATEMENT
    IS NOT OPEN (DIAG INFO: ).]
    [Mon Jan 10 11:02:56 2011]Local/{App Name}/{DB Name}/{User Id}/Info(1021014)
    ODBC Layer Error: Native Error code [4294966795]
    [Mon Jan 10 11:02:56 2011]Local/{App Name}/{DB Name}/{User Id}/Error(1021001)
    Failed to Establish Connection With SQL Database Server. See log for more information
    [Mon Jan 10 11:02:56 2011]Local/{App Name}/{DB Name}/{User Id}/Error(1003050)
    Data Load Transaction Aborted With Error [7]
    [Mon Jan 10 11:02:56 2011]Local/{App Name}///Info(1013214)
    Clear Active on User [Olapadm] Instance [1]
    Interestingly, after the job fails thru our batch scheduler environment, when I run the same script that's being used in the batch scheduler, the job completes successfully.
    Also, this is first time, I saw this kind of error message.
    Appreciate any help or any suggestions to find a resolution. Thanks,

    Hii Priya,
    The reasons may be the file is open, the format/flatfile structure is not correct, the mapping/transfer structure may not be correct, presence of invalid characters/data inconsistency in the file, etc.
    Check if the flatfile in .CSV format.
    You have to save it in .CSV format for the flatfile loading to work.
    Also check the connection issues between source system and BW or sometimes may be due to inactive update rules.
    Refer
    error 1
    Find out the actual reason and let us know.
    Hope this helps.
    Regards,
    Raghu.

  • Error while loading master data to attribute ZMAJORGU(Major organisational unit)

    Hi Experts,
    While loading master data to  ZMAJORGU(MOU)(info object texts) from  datasource (ZOS_HRP1000)datasource iam getting error in DTP.
    below is the error...
    Diagnosis
        Data record 349 & with the key 'Ship &' is invalid in value 'Ship &' of
        the attribute/characteristic ZMAJORGU &.
    System Response
        The system has recognized that the value mentioned above is invalid, and
        has processed this general error message. A subsequent message may give
        you more information on the error. This message refers to the same
        value, even though it does not state this explicitly.
    Procedure
        If this message appears during a data load, maintain the attribute in
        the PSA maintenance screens. If this message appears in the master data
        maintenance screens, leave the transaction and call it again. This
        allows you to maintain your master data.
    Please find the below screen shots
    I have done the following regarding the issue ....Looking at the error i have gone trough the transformation and i didnt find any routines or formuales
    I have checked the PSA and down loaded the data to spread sheet and put a filter on SHORT and STEXT assuming i will find the value
    'Ship &' as mentioned in the Diagnosis description. However i was not able to find the relavent data(i went to se16 gave teh request ID from PSA and displayed the entire data)tarting with Ship .The closest  value i could find in both the fileds was was AVP Shipment .
    I have the following questions
    1)In the screen short 2 it says record number 349 is it right to go to PSA table and check against the record number 349(i tried that but i was not able to find the error against that record)
    2)why am i not finding the value 'Ship' in PSA ...but this is the value wich is creating a poblem in updating to the target ....does it mean the record value is Ship or it starts with Ship or is ir part of some word?
    Please find the attached PSA data file (u have to convert it to Excel)
    I request people to help me analyse the issue and fix the issue.
    Regards
    Kiran

    Ram
    I checked other records as well they were a lot of smallcharecters upper case charectres ,numeric special charecters .but nothing stopped ...when the system is even accpeting all other charectres  like smallof caps or numeric... why on this record is creating an issue...
    please have a look at error stack
    and i have one more question when i look at PSA there are close to 300000 records
    but when i do an SE16 with request id i see only close to one lakh records (i came to conclusion b dragging down and the last record number was (below screen shot)
    Can you tell me what my mistake is numebr or records are not tallying in SE16 and PSA..

  • Error in loading Master Data

    Hi All,
    i have an error in loading master and i want to know please how can i individuate the data that need to be corrected, i have loaded data in psa and when i click on simulate/cancel update i find an error in data package 19 and data record 6701
    i have searched the record in psa but the status result green light and i don't understand what is the problem...Can somebody help me please...thanks
    this is the error message:
    Error log was written - log can be displayed in the monitor RSDMD 153
    Value '436-9106 ' for characteristic 0DATE is not numeric  RRSV     6
    0DATE : Data record 6701 ('000700242520061001000000005760664116436-9106 '): Version '436-9106

    Hi Voodi,
    in the record i have many columns that refered to date, i have: Valid-from, Valid-To H, created on, Valid From, Valid To- i don't know where is the specified column to check the required format, in PSA in the data package 19 i have 13755 Records posted and i have checked many records to control these columns but i don't find something that demonstrate me a difference between the format, i don't know why the error signalated is only 6701...but you think is only a problem of format it's not not somthing that i have to signalated to the person who works on R/3 if there is something to correct in the datasource?
    Thanks
    Bilal

  • Error in Loading FIGL data into a standard ODS

    Hi,
    I have encountered an error when i attempted to load FIGL data into a standard ODS. Below is the error i received:
    Error message during processing in BI
    Diagnosis
    An error occurred in BI while processing the data. The error is documented in an error message.
    System Response
    A caller 01, 02 or equal to or greater than 20 contains an error meesage.
    Further analysis:
    The error message(s) was (were) sent by:
    Second step in the update
    Second step in the update
    Second step in the update
    Second step in the update
    Procedure
    Check the error message (pushbutton below the text).
    Select the message in the message dialog box, and look at the long text for further information.
    Follow the instructions in the message.
    Initially i discovered a work around wherein i loaded the data into a write optimize ODS. It was successful. However, when i attempted to data mart the data and put it into a standard ODS, the similar error occurred.
    Please help me with this problem.
    Ramon

    Hi,
    Hi,
    I will suggest you to check a few places where you can see the status
    1) SM37 job log (In source system if load is from R/3 or in BW if its a datamart load) (give request name) and it should give you the details about the request. If its active make sure that the job log is getting updated at frequent intervals.
    2) SM66 get the job details (server name PID etc from SM37) and see in SM66 if the job is running or not. (In source system if load is from R/3 or in BW if its a datamart load). See if its accessing/updating some tables or is not doing anything at all.
    3) RSMO see what is available in details tab. It may be in update rules.
    4) ST22 check if any short dump has occured.(In source system if load is from R/3 or in BW if its a datamart load)
    Once you identify you can rectify the error.
    If all the records are in PSA you can pull it from the PSA to target. Else you may have to pull it again from source infoprovider.
    If its running and if you are able to see it active in SM66 you can wait for some time to let it finish. You can also try SM50 / SM51 to see what is happening in the system level like reading/inserting tables etc.
    If you feel its active and running you can verify by checking if the number of records has increased in the new data table.
    Thanks,
    JituK

Maybe you are looking for

  • Converting files to PDF causing formatting issues.

    Hello. I am experiencing issues with converting an Excel file to a PDF and retaining its format.  The first page converts fine, no formatting issue.But every page after that is shrinking the font and making the images smaller.  This employee has trie

  • Please Help! Cannot get firewire drive to mount!

    Hi, I am running 10.4.5 on a dual g5 2ghz. I cannot get my second firewire drive (lacie 160gb porsche) to mount. It has been working ok up until now and is only a few months old.. Any suggestions would be appreciated. BTW does not show up in disk uti

  • IOS Signature Settings for Multiple Email Accounts causes crashes and errors

    Hello Everyone, I've been having troubles with iOS email signature for severals years from iOS 4 (?) through iOS 7 on everything ranging from an iPad2, iPad3, IPad Air, and various iPhones.  I'm currently on an iPad Air 128GB WiFi running iOS 7.1.2.

  • Is there a way to save the complete windows partition before upgrading the hard disk?

    Hello all, I am planning on installing a new hard drive in my MacBookPro, 2.4 ghz, model 3,1, Intel c2d, but before I do, I am concerned about how to save the contents of my Windows partition as I can not afford to lose the data I have on that part o

  • How to test to see if your gpu is malfunctioning

    I'm seeing an issue with my macbook pro 2011 running Yosemite which seems like a GPU malfunction (and apparently a common issue with this laptop). Sometimes images are not loading correctly or not at all when searching the web. Also when I open Facet