Reading RAW field type in AccessXP
i'm using Windows XP , Access XP , Oracle ODBC Driver 8.1.6 , the Oracle DataBase is 8.2 .
when i Link an Oracle Table that include a RAW field type i can get the RAW Field data (i get a binary data) in place of ASCII,
there is any solution to this mystery so i can read the RAW field in our Access/VB Applications.
thanks
avner
You'll need to IMPORT. Here is a sample snatched from an HR program (HARPAYMACRO) macro.
import
AR-VERSION TO OAR-VERSION "OBJECTS_FOR_IMPORT_O
VERSC TO OVERSC
WPBP TO OWPBP
ABC TO OABC
RT TO ORT
CRT TO OCRT
BT TO OBT
C0 TO OC0
C1 TO OC1
V0 TO OV0
VCP TO OVCP
ALP TO OALP
DFT TO ODFT
GRT TO OGRT
LS TO OLS
STATUS TO OSTATUS
ARRRS TO OARRRS
DDNTK TO ODDNTK
ACCR TO OACCR
BENTAB TO OBENTAB
AB TO OAB
FUND TO OFUND
AVERAGE TO OAVERAGE
MODIF TO OMODIF
ARASFAM TO OARASFAM
ARSES TO OARSES
ARWPBP TO OARWPBP
ARIMP TO OARIMP
ARCIMP TO OARCIMP
ARDIMP TO OARDIMP
AROIMP TO OAROIMP
ARDIV TO OARDIV
ARTER TO OARTER
ARPRVR TO OARPRVR
ARPRVA TO OARPRVA
from database PCL2(AR) id orx-key using pcl2_exp_imp.
rp-imp-AR-subrc = sy-subrc.
AR-VERSION-number = '01'.
if sy-subrc eq 0 and
OAR-VERSION-number ne AR-VERSION-number.
rp-imp-AR-subrc = 8.
endif.
Similar Messages
-
How to read the field type from field id of DynamicFldTbl
Hi,
In my application, i am using DynamicFldTbl, whch parses FML32 field table definition file. My field table definition file contains information about field names and its types.
I checked the API of DynamicFldTbl and didn't find any API to get the field type from field it.
Any way to read the field type from field id?
Thanks in advance
RaguramanHi Raguraman,
Once you have the field table, you can then create an FML32 buffer (TypedFML32) using the constructor that takes a field table, and then use the Fldtype() method on the specific field ID you wish to get the type of. I know this is sort of tedious and we should provide Fldtype() and some others on the field table class directly.
Regards,
Todd Little
Oracle Tuxedo Chief Architect -
This operation is not available for read only field 'Type MVF'
Hi All,
We are using OrderToCash PIP and we are on Siebel 8.1X.
While Synching the customer from Ebiz to Siebel facing the following issues:
Method 'WriteRecord' of business component 'Account' (integration component 'Account') for record with search specification '[Row Id] = "2d3434313239353"' returned the following error:"This operation is not available for read only field 'Type MVF'.(SBL-DAT-00402)"(SBL-EAI-04451)
Please suggest us what steps to be done in Siebel.
Thanks
MaanasaFirst check the process why this is calling Account BC WriteRecord(). The field "Type MVF" might be read only and this sync process is trying to update this field which is read only. This is the reason for the error. Check the OM log / EAI Obj Manager Comp log (set log level to 5) and check.
Joseph Arul Dass -
How to read a file with value of RAW data type? Please help
Hi Experts,
I have a file with RAW data like DE864E48833BFFF1B805001CC4EF4BFA
I am using GUI_UPLOAD.
But this FM is throwing error.
I tried by giving FILETYPE as ASC. The output internal table for this FM contains a field of type c size 32.
Now it is able to read the file but I want to assign this value to a RAW data type variable.
This it is unable to do. How to convert the char value to RAW data type?
Please help!
Thanks
GopalHi,
The documentation for the function module contains an example for RAW upload.
begin of itab,
raw(255) type x,
end of itab occurs 0.
CALL FUNCTION 'GUI_UPLOAD'
exporting
filetype = 'BIN'
filename = 'C:\DOWNLOAD.BIN'
tables
data_tab = itab. -
JCO reading abap RAW data type (truncating?)
Does anyone have experience reading an Abap RAW data type using JCO? I am trying to read a GUID (via RFC_READ_TABLE) that is defined as RAW length 16. When I view this field in SAP GUI, I see 32 characters. However, when I read this field using JCO, I only see the first 16 characters.
The mapping documents state Abap RAW maps to a Java byte array. I have tried that - no luck. I have used the constructor of a string that takes a byte array - no luck. I have made sure my character set is UTF-8 in case Unicode was a possibility. I have turned on tracing to level 8 and only see 16 characters in the output. I need the other 16 characters as all 32 characters are used as the primary key into other tables.
I also posted this on the ABAP Java Development space. I know the rule about not cross-posting, but I wasn't sure which was a better place to post something like this. This my first post on here, so my apologies in advance.
LarryThanks for responding. Unfortunately, the export parameter list is null. There are no export parameters. However, there are tables. I have tried:
byte[] byteArray = funct.getTableParameterList().getTable("DATA").getByteArray(0);
My SE16 query only returns one field: GUID.
I only get 16 bytes back even though GUID is defined as raw length 32.
Is there something I else I should try? Do you see an error in my code?
Thanks again,
Larry -
How can I read the data type of a field in an MS Access database
I need to be able to determine if a field in an Access database is of a certain data type, and if it isn't, to change it to what it should be.
I can't seem to find any way of reading the data type of any field in any table - can anyone give me a metod of getting this info?
Thanks
..BobDoes <cfdbinfo> work for Access DBs?
You might be better off asking this on a MS Access forum. It's more of an Access issue than a CF one.
Adam -
Hi,
I'd like to know how I can set a RAW field with the correspondent '10' value (for '10' i mean the byte value of '00000101').
Is there a manner to do this at low level, without cast ?
Thanks and best regards,
NeilThe string 00000101 generally represents the binary value of 5 so I am unsure of exactly what you want but maybe the following will help:
UT1 > set echo on
UT1 > col dumped format a30
UT1 > drop table example;
Table dropped.
UT1 > create table example (fld1 varchar2(10), fld2 raw(02));
Table created.
UT1 > insert into example values ('Row 1',hextoraw('05'));
1 row created.
UT1 > insert into example values ('Row 2',hextoraw('0A'));
1 row created.
UT1 > select fld1, fld2, dump(fld2,16) as dumped from example;
FLD1 FLD2 DUMPED
Row 1 05 Typ=23 Len=1: 5
Row 2 0A Typ=23 Len=1: a
Being that on a big endian machine the 8 bits of a byte are 0 - 7 numbered left to right and on a little endian machine the bits are 0 - 7 right to left this may be where the confusion in your post is coming from. On my system the Oracle functions appear to follow big endian set and display patterns but I suspect that the physical byte settings match. You would need to test this by dumping the raw data on the target platform. The only difference this makes is the character value you would choose to get the bit pattern you want.
The dbms_raw package provides varchar2 to raw and back conversion functions.
HTH -- Mark D Powell -- -
Problems reading RAW format after update 6.03
I have problems reading RAW format images into Iphoto 9.6 after update 6.03 or maybe earlier updates (have not imported for a few months). The images show up like half, black or partly distorted. I use a Canon 5D mk2 camera. The images looks okey when read into a PC so I don´t think it is the camera or cables. It has been working very good before! I use a Powerbook pro 13 late 2011 with Yosemite 10.10.1.
Try downgrading back to 6.02 by following the directions in this post by léonie:
Apple image including Apple logo changes for feature 126 Apple image ends here
Dec 28, 2014 7:36 AM
Re: Digital Camera Raw Compatibility 6.02 - Nikon D800
in response to ceylin.e
[DocumentBodyStart:3bf5afd7-94e9-4fb4-acfa-7aa13198efec]
Make a backup of your system and try to downgrade the RAW support to version 6.01
To downgrade the RAW Support to the last version from before the last update try this:
To reinstall the 'RAW Compatibility Update' it is necessary to uninstall the currently installed raw support. Otherwise the installer will rightfully say, that you already have the latest version installed.
If your tests are showing that the problem happens also in a different user account, try this:
The RAW support files are installed in the System Library in the folder "/System/Library/CoreServices" Folder:
To open this folder, use the Finder's "Go" menu. Click the smiling Finder icon in the Dock to bring the Finder forward.
Then type the keyboard shortcut ⇧⌘G (for "Finder > Go > Go to folder") and copy and paste "/System/Library/CoreServices" into the text field. Click the "Go" button.
In the Finder window that will open, delete both the files "RawCamera.bundle" and "RawCameraSupport.bundle". You will have to enter your Administrator password. (don't empty the Trash, so you can put the files back, if need be)
Download the current RAW support update from Apple's Support Site:
Digital Camera RAW Compatibility 6.01 http://support.apple.com/kb/DL1777?viewlocale=en_US&locale=en_US
In the Downloads folder you will find the disk image with the installer. Double click it to open and run and the installer.
Then restart your Mac. -
PLSQL join does not work with RAW fields
Hi All, I wanna to do a join between two table which have as primary key a GUID field (RAW 16). To do this I'm creating a cursor and the sql is simple. However, it returns the following error when I try to compile the procedure:
Error(41,3): PL/SQL: SQL Statement ignored
Error(42,27): PL/SQL: ORA-06552: PL/SQL: Compilation unit analysis terminated ORA-06553: PLS-320: the declaration of the type of this expression is incomplete or malformed
The tables and the cursor are listed below. I would like to know the best way to do a join with Raw fields in plsql once that the same query works when used out of the procedure.
CURSOR Areas IS
Select ha.partial, ha.acidental_burn, ha.edge_cut
from harvest_area ha, harvest_order ho
where ha."ORDER" = ho."ID";
create table "HARVEST_AREA" (
"ID" RAW(16) not null,
"VERSION" NUMBER(10,0) not null,
"ACCIDENTAL_BURN" NUMBER(1,0) not null,
"AREA" DOUBLE PRECISION not null,
"EDGE_CUT" NUMBER(1,0) not null,
"K_FACTOR" NUMBER(1,0) not null,
"PARTIAL" NUMBER(1,0) not null,
"SISCONAGR_CONTROL" NUMBER(1,0) not null,
"CUT" RAW(16) not null,
"ORDER" RAW(16) not null,
"PROVIDER" RAW(16) not null,
"SHAPE" MDSYS.SDO_GEOMETRY,
primary key ("ID")
create table "HARVEST_ORDER" (
"ID" RAW(16) not null,
"VERSION" NUMBER(10,0) not null,
"CHOPPED" NUMBER(1,0) not null,
"CODE" NUMBER(10,0) not null,
"FILE" NVARCHAR2(256),
"LOAD_DISTRIBUTION" NUMBER(1,0) not null,
"RAW_CANE" NUMBER(1,0) not null,
"TIMESTAMP" TIMESTAMP(4) not null,
"FACTORY" RAW(16) not null,
"FRONT" RAW(16) not null,
"MODE" RAW(16) not null,
"SHAPE" MDSYS.SDO_GEOMETRY,
primary key ("ID")
);Ok, I could reproduce on my 10.2.0.4 (my first test was on 11.2.0.1):
SQL> create table harvest_area
id raw (16) not null,
version number (10, 0) not null,
accidental_burn number (1, 0) not null,
area double precision not null,
edge_cut number (1, 0) not null,
k_factor number (1, 0) not null,
partial number (1, 0) not null,
sisconagr_control number (1, 0) not null,
cut raw (16) not null,
order1 raw (16) not null,
provider raw (16) not null,
primary key (id)
Table created.
SQL> create table harvest_order
id raw (16) not null,
version number (10, 0) not null,
chopped number (1, 0) not null,
code number (10, 0) not null,
file1 nvarchar2 (256),
load_distribution number (1, 0) not null,
raw_cane number (1, 0) not null,
timestamp timestamp (4) not null,
factory raw (16) not null,
front raw (16) not null,
mode1 raw (16) not null,
primary key (id)
Table created.
SQL> declare
cursor areas
is
select null
from harvest_area ha,
harvest_order ho
where ha.order1 = ho.id;
begin
for c in areas
loop
null;
end loop;
end;
Error at line 41
ORA-06550: line 6, column 12:
PL/SQL: ORA-06552: PL/SQL: Compilation unit analysis terminated
ORA-06553: PLS-320: the declaration of the type of this expression is incomplete or malformed
ORA-06550: line 4, column 7:
PL/SQL: SQL Statement ignoredProblem is the timestamp column in harvest_order which I think you need to rename:
SQL> drop table harvest_area
Table dropped.
SQL> drop table harvest_order
Table dropped.
SQL> create table harvest_area
id raw (16) not null,
version number (10, 0) not null,
accidental_burn number (1, 0) not null,
area double precision not null,
edge_cut number (1, 0) not null,
k_factor number (1, 0) not null,
partial number (1, 0) not null,
sisconagr_control number (1, 0) not null,
cut raw (16) not null,
order1 raw (16) not null,
provider raw (16) not null,
primary key (id)
Table created.
SQL> create table harvest_order
id raw (16) not null,
version number (10, 0) not null,
chopped number (1, 0) not null,
code number (10, 0) not null,
file1 nvarchar2 (256),
load_distribution number (1, 0) not null,
raw_cane number (1, 0) not null,
timestamp1 timestamp (4) not null,
factory raw (16) not null,
front raw (16) not null,
mode1 raw (16) not null,
primary key (id)
Table created.
SQL> declare
cursor areas
is
select null
from harvest_area ha,
harvest_order ho
where ha.order1 = ho.id;
begin
for c in areas
loop
null;
end loop;
end;
PL/SQL procedure successfully completed. -
I have a SharePoint 2010 site with two discussion boards. I added one additional field to each of the boards: a lookup to another list to link the discussions to individual projects. I need 2 different boards because they have different posting permissions
(one is open to all for comments, and one is open only to the project team to post but everyone can read).
When I go to the pages for each of the discussion boards, they work fine.
But I'm putting together a page for individual projects, and want to have web parts for both discussion boards on the same page, showing the discussions related to the selected project.
I am able to add one of the discussion boards to a web part in the page, but when I add the second discussion board to the page, the new web part contains:
One or more field types are not installed properly. Go to the list settings page to delete these fields.
Correlation ID: blah blah blah
I've searched for similar postings, but mostly I see this error message related to migration from 2007 to 2010 -- this is not the case here: I created both discussion boards, and the whole site, in SP 2010. I've also found this message related
to coding errors using SPQuery. I am not doing any coding here, just using the built-in SharePoint 2010 Edit Page -> add a web part -> select the discussion list. I tried doing it from SPD with the same result. I figured it out. I was using ?FilterField1=fieldname&FilterValue1=value on the URL to the page to pick out one project number. The web part I was trying to add was for a list that did not have that particular fieldname. I didn't realize that would matter
since I was using the Connections -> Get Filter Values From to get my filter values from the main web part, which does have that fieldname.
I added a field with that fieldname to the other list and set a workflow to copy the lookup value of the project number lookup field into the new field. Now all is working fine. Sorry for the wild geese in my original question. -
How to modify a lookup field-type to use checkbox instead of radiobutton?
How to modify a lookup field-type to use checkbox instead of radiobutton?
I would like to modify the behavior for the lookup field.
Normally you get a screen where it is possible to search through a lookup. The items resulted from the search are listed as radiobutton items. Therefore you can select only one at the time to be added.
Is it possible to have the items to be listed as checkbox instead? So that you can check multiple items and therefore be able to add multiple items at the time?
For example:
To add the user to 10 different groups on MS-AD.
It is desired to have the ability to check multiple groups to be added instead only one at the time.
My client would like to use this feature in many other situations.Displaying will not be a big deal but with that you have to customize the action class and its working as well.
-
Has anyone encountered this error.
I am developing on SP 2010 with VS 2010.
I was following an online tutorial: How to use custom form templates in NewForm.aspx/EditForm.aspx located at:
http://sharepointbox.blogspot.co.at/2010/11/how-to-use-custom-form-templates-in.html
The tutorial was a little lacking on some of the direction, but it included the working source code, and I managed to complete it.
Every time I try to deploy my version I get the error: Error 42 Error occurred in deployment step 'Activate Features': Field type MyCustomField is not installed properly. Go to the list settings page to delete this field.
I have gone through my code line by line and matched it to the working code from the tutorial, so I can only assume that I am missing something in the Procedure to properly deploy.
Any help is greatly Appreciated!It seems that something went wrong with your custom field type installation. Check below line in .xml file of your custom field type and correct it if needed.
<Field Name="FieldTypeClass">DocumentFieldType.DocumentFieldTypeClassName, DocumentFieldType, Version=1.0.0.0, Culture=neutral, PublicKeyToken=379382f3e8928835</Field>
Please recheck respective values of namespace.classname , dllname. and publickeytoken in your code
Thanks. Please mark it as an answer if it helps. -
RAW Data Type mapping to BI infoobject
Dear Experts,
We are trying to extract CRM data into BI, the Datasource have a field type 'RAW' . In BI which data type to consider for this field to info object mapping. Pls let me know.
I've taken infoobject of type CHAR with length 60, still getting error in transformations.
Thanks in advance.
HVR.Hi,
I am trying to extract data from 0CRM_CLAIMS, GUID field
Thanks
HVR -
Acrobat 9.1.0 Standard ... Can a field type be changed?
Created a new pdf form from Excel. All fields were converted/created as Text fields. Some I want to change to List fields and some I want to change to Check Box fields. Can this be done within Acrobat Standard? I can only find the ability of creating new List fields or Check Boxes (not changing).
Unfortunately this is no quick and easy way to change form field "types" only the properties. You'll need to delete the text form fields and replace them with check boxes or list boxes as appropriate.
-
Can field type be changed once I have set it up?
I am working on a form and one of the fields is supposed to be a drop down menu with about 50 different choices (choose 1). I accidentally set it up as a list box instead of a combo box. Is there any way to change this field to a combo box, keeping all 50 of the options that I already (manually) typed?
Or is there an easier way to import items into a combo box?
I am using Adobe Acrobat 9 Pro
Thanks for your help!Depending upon the product. Version 5 and below allowed changing the field type, but many of the properties are lost.
I would use JavaScript to create a list of the entries in your current list box into an array and then use that array to populate the new combo box.
// variable for field name to get data from
var sField = "myList";
// variable for field name to place data in
var sNewField = "myCombo";
// get the field object sField
var oField = this.getField(sField);
// get the number of items in the combo or list box
var nItems = oField.numItems;
// variable to hold an item entry from combo or list box
var aItem;
// define an array for item in combo or list box
var aEntries = new Array(nItems)
// loop through the items in the combo or list box
for(i = 0; i < nItems; i++) {
// get item at index i
aItem = [oField.getItemAt({nIdx: i, bExportValue: false}), oField.getItemAt({nIdx: i, bExportValue: true})];
// insert into entries array
aEntries[i] = aItem;
} // end loop through the items in the combo or list box
// populate the new field
// get the new field object
var oNewField = this.getField(sNewField);
// set the items into the new field
oNewField.setItems(aEntries);
// end of script
With a combo or list box with that number of entries, I would use a document level script to populate the field when the PDF is opened or to populate the field and then comment out the action for the setting of the items. This would make maintenance of the list much easier.
Maybe you are looking for
-
My iPad volume works on Facebook but not on games
My iPad volume works n everything but games
-
Referencing static html pages from jsps...
Hi, This is probably a very simple thing to solve, but I'm having problems with referencing html pages from jsps under Weblogic. I get Error 404 - not found, whenever I try something like this in a JSP...
-
Video filename wont delete. Vid is gone but name is still there.
this problem has been going on since i bought this ipod. its a 2nd generation 16gb. when i delete a video from the screen on the ipod, the filename comes back after i plug my ipod into the computer. example, yesterday i copied about 150 small video's
-
How to disable domain based and normal cookies in e-tester 8.3?
Hi all, Is there any way to disable domain based and normal cookies in e-tester 8.3 verson ? thanks Edited by: USoni on Jan 28, 2009 11:23 PM
-
Accidental Hard Shutoff During Install-- Now "Error Loading OS"
So apparently computers use some type of sorcery called electricity and if they don't have enough they shutdown unexpectedly... haha. On a more serious note I was just attempting to install Arch on an ancient Dell pp07l. As I was selecting packages,