How can I import UDOs data in earlier 2007 versions (before PL46)
Hi Experts,
I made an UIAPI AddOn that has several u201CChoose from listu201D (CFLs) and is working fine, In order to use CFLs I had to make an UDO.
Mi problem is that my customer has SAP B1 PL42 and in this version the Data Transfer (DTW) cannot import UDOs data (this feature supposed to be available in the SP01PL06 version) and the DIAPI has no support to add UDOs rows (this feature is available from PL46).
My question is, ¿How the old AddOns (PL42 and olders) that have CFLs did to import its data?, ¿How can I import UDOs data in PL42?
Thanks
Hi Mario,
Unfortunately, there was no supported method for importing UDO data in versions prior to PL 46. The only option is to use the UDO form itself, within the SBO client, to load data. I have previously used the B1 Test Tools utility to load UDO data (which takes control of the UI so using it doesn't bypass SAP"s support rules) but it does take a bit of work to set up and you can't control the test tools through code.
SAP don't allow the direct use of SQL statements on system tables. As all UDOs use system tables to some degree (ie ONNM etc), you can't use SQL statements to load data without breaching SAP's support rules and risking loss of support for your system.
How much data is involved?
Kind Regards,
Owen
Similar Messages
-
How can i import the data from multiple sources into single rpd in obiee11g
how can i import the data from multiple sources into single rpd in obiee11g
Hi,
to import from multiple data sources, first configure ODBC connections for respective data sources. then you can import data from multiple data sources. When you import the data, a connection pool will create automatically.
tnx -
How can I reset iTunes Match to my original version, before it was corrupted by iTunes Match? I have a extensive library I developed over years and it has been totally destroyed by iTunes Match and I have not been able to rectify it, no matter what.
Hallo Jim, thanks for the response.
I have a library of around 9000 songs, about 40 playlists and all albums sorted etc. It was originally kept on a Windows 7 based system. After linking the entire library on iTunes Matc (which took forever), all was fine for a while, then suddenly double playlists start apearing, songs disapeard form playlists and I started to loose all my settings!
In a last attempt to solve my problems, I purchased a Mac to use at home with all the other Apple devices. (Appletv, iPads etc) Unfortunatelly despite numerous attempts I have not been able to copy the library over to the MAC, as I keep on loosing half of the data. I tried iTunes Match, but this made things even worse.
Reading several forums and tutorials and trying everything, simply helped me to recover an older version of the Library by copieng a pervious version and replacing the current .itl file. (on the Windows based system)
So, I now have a fairly updated and complete iTunes Library on my Windows based computer at work, but all my other devices and MAC at home have skeleton versions of the original Library.
I have disabled iTune Match on all sytems as well as Genius , as this seams to be escalating the problems by creating multiple versions of my existing playlists, but none that are complete.
If you have advice for me, or can refer me to a detailed and accurate tutorial, I will be very grateful.
Thank you,
Hennie -
How can i import external data into folders in iCloud?
I currently have all my iPhoto folders stored on a external harddrive (removed from iPhoto) and would like to put them in iCloud. The unfortunate thing is that i have an Macbook Air, and not enough memory to put all the folders back in iPhoto to have them uploaded to iCloud.
- i have tried iCloud Drive, but this doesn't create folders..
Thanks!You can create folders on iCloud Drive, like you create folders in Finder on your hard drive.
Just open iCloud Drive in Finder and enter ⌘N to create a new folder. Then drag your photos to that folder and rename the folder.
Only the special folders created by the standard apps do not allow to create deeply nested folders inside these folders.
The unfortunate thing is that i have an Macbook Air, and not enough memory to put all the folders back in iPhoto to have them uploaded to iCloud.
If you want to move the photos to iCloud Drive to save space on your MacBook Air, that will not work. For any file you store on iCloud Drive there will be a shadow copy on your Mac, so you cannot save space on your MacBook Air this way. You need as much spce on your MAcBook Air as you are using in iCloud. Maybe this will change in future MacOS X versions, but right now you will have all iCloud files stored locally as well.
See: iCloud Drive FAQ -
How can I import and edit my iWeb (2006 version) with newly updated iWeb 2011?
Hi:
I was using the iWeb from iLife 2006, until I just updated to iLife 2011. I tried copying and pasting my site into "sites", but when I opened iWeb for the first time; it appeared I coud not open that file. I looks like I may have to rebuild it from scratch, which would be enormously time consuming and difficult. Any ideas? Thanks for your help.Well no, iWeb will not be able to open that file because it is your published site and iWeb has no import facility, so is unable to open any html files/published files.
iWeb always has and still does store all your website information in a file called domain.sites which can be found under your User/Library/Application Support/iWeb/domain.sites. Remember to look in your User/Library and not your System Library, as iWeb is not there.
Find this domain.sites file and ensure that it is in the same place - put the file in your User/Library/Application Support/iWeb folder and then just double click on your domain.sites file and iWeb 09 should open it.
Find this file and you won't have to re-build yoru site from scratch. Remember that it is this file that you need to back up, as iWeb has no import facility. -
How can I import data using .dmp into the table which has more columns then in import
I am building the history for warehouse purpose on Oracle 8i database and want to use the old import (.dmp) files (from oracle 7.3.4) to import data but the underlying table is having few more columns which are not in my old DMP file .. how can I import the data into these altered tables while using the same *.imp files .
Any solutions ?That is the most obvious solution .. but think of the case when my operational database which is the source of my data is undergoing changes every quarter i.e after every 3 months there are some changes on underlying table structures which means structures of my import files will always be different after evry quarter .. you can imagine the number of temporary import structures I need to create .. can't there be a solution wherein I can write an SQL over the import file to read the data in required format ..
-
I just got a new 256GB SSD drive for my mac, I want to import my data from time machine backup, but its larger than 256GB since it used to be on my old optical drive. How can I import my latest backup keeping out some big files on the external drive?
Hello Salemr,
When you restore from a Time Machine back up, you can tell it to not transfer folders like Desktop, Documents. Downloads, Movies, Music, Pictures and Public. Take a look at the article below for the steps to restore from your back up.
Move your data to a new Mac
http://support.apple.com/en-us/ht5872
Regards,
-Norm G. -
How can I import data in to the digital word generator in Multisim?
How can I import data in to the digital word generator in Multisim?
I just received this comment from a friend, a RADAR engineer, who has just down loaded Multisim. He has been using HP/Agilent software. He has a work around using a piecewise linear voltage waveform with data imported from Excel but this is not really a good solution. It would also be helpful to import data from Mathcad or equivalent.
"I thought I was about to be impressed with MultiSim but it ended only in disappointment. There is a word generator in the simulation instrument panel which can drive the DAC with a waveform and it can have thousands of lines of values. I opened Excel, wrote the formula to generate the time and voltage points for a chirp, converted to DAC values in Hex and then went back to the word generator in MultiSim to load the values only to find that you have to enter each value manually. It doesn’t even allow you to paste in a list of values from a text file. I’m not going to type 5000 values by hand. If you get the chance to give feedback to National Instruments please ask them if the paste option can be added to the word generator. MultiSim is useful in many regards, but in this case, it left me with the impression that it is considerably limited in capability compared to what I’m used to."Hi,
You can load your data automatically in the Multisim word generator. Follow these steps:
- Save your data file (in excel .xslx ir .csv format) on your computer
- Change the extension of the file to ".dp"
- Double-click the word generator in Multisim and click on Set...
- In the Settings dialog box, click on Load and then Accept
- This will prompt you to select the .dp file you have on your computer, select it and you're good to go
However, in Multisim you have the option of creating your own custom simulation analysis and instrument.
I will try creating the instrument and send it back to you but it might take some time.
Multisim and LabVIEW are very powerful in test automation, with the custom instruments you create for Multisim you don't need to export your data file into excel from LabVIEW (or MathCAD or other tools) and then reload it into Multisim. The test procedure is automated instead.
Please check this reference design about automated simulation
http://zone.ni.com/devzone/cda/tut/p/id/7825
Here is how you can create your own custom measurement tool in Multisim and LabVIEW, but as I mentioned, I will create the word generator and come back to you anyways
http://zone.ni.com/devzone/cda/tut/p/id/5635
Let me know if you have any questions.
Mahmoud W
National Instruments -
How can I import data from a csv file into databse using utl_file?
Hi,
I have two machines (os is windows and database is oracle 10g) that are not connected to each other and both are having the same database schema but data is all different.
Now on one machine, I want to take dump of all the tables into csv files. e.g. if my table name is test then the exported file is test.csv and if the table name is sample then csv file name is sample.csv and so on.
Now I want to import the data from these csv files into the tables on second machine. if I've 50 such csv files, then data should be written to 50 tables.
I am new to this. Could anyone please let me know how can I import data back into tables. i can't use sqlloader as I've to satisfy a few conditions while loading the data into tables. I am stuck and not able to proceed.
Please let me know how can I do this.
Thanks,
ShilpiWhy you want to export into .csv file.Why not export/import? What is your oracle version?
Read http://www.oracle-base.com/articles/10g/oracle-data-pump-10g.php
Regards
Biju -
I've just imported photos that are misdated and appear out of order in my events. How can I correct the dates on these events so they appear properly?
The one iin the Photos ➙ Adjust Date and Time menu option:
checkbox below: -
I bought Numbers because my Excel files would not work with Mavericks. How can I import a non-functioning Excel file into numbers? (As of now, the file NAME transfers but data does not.)
HI Dave,
I'm surprised you get no message when you attempt opening the Excel document in Numbers.
I'm assuming Numbers 3.1, since you are running Mavericks.
Does the Numbers file that opens show any content?
Does it contain a table?
How large?
Does it contain more than one tab (indicating more than one sheet)?
Do those other tabs contain a table?
Have you checked those tables for data content?
There have been cases in the past of imported documents opening with white text on a white background, giving the appearance of containing nothing. Check for this by selecting a block of cells, then applying a Fill colour or a Text colour using the Format button (paintbrush).
I'd also suggest attempting to open the Excel files using LibreOffice, which can be downloaded from the linked website.
Regards,
Barry -
i connect my externalpendrive to macbook pro but it cannot detect and my important data is there in my pen drive so how can i collect this data from my pendrive?
make sure that in your finder preferences you have it checked to show external drives on the desktop and in the sidebar of finder
you find these preferences by selecting the finder icon (blue square on the dock w/ smiley face on it) then click on the work "finder" at top left corner of computer screen then click on preferences then general and put check next to show these items on the desktop and put check next to external drives
now you should see it on the desktop if you still can't open the drive or access it, it may be in format the mac can't read or write to so that could be an issue. -
I have macbook without a firewire port, I have usb 2.0 port, now my os is not working I can not get through apple logo loading , I can not enter safe mode, I can only enter one user mode, how can I backup my data, I have very important data in my hdd
Here is what worked for me:
My usb hub, being usb2, was too fast. I moved the wire to a usb port directory on my pc. That is a usb1 port which is slow enough to run your snyc. -
How can I import SMS / MMS from old phone to iPhone?
Greetings. I wonder, how can I import messages (SMS and MMS) from my old phone to a new iPhone? I have my current phone for about five years and I have there many important messages I can't afford to lose. I know, that exporting messages is often tricky (my old phone is using Windows Mobile 6), but there are some programs that can export messages to various formats (.xml, .txt, .sms etc.). But the question is, how to import these messages into iPhone.
Is it possible via iTunes? Is there an app? Sould I visit Apple Store or support? Thank you for any ideas.
JohnyWell, I am thinking about iPhone for the first time. My five years old phone is smartphone, but very early one (HP iPAQ 514, running Windows Mobile 6). I know that transfering data between different systems might be difficult, but on the other hand, we have the end of 2011, so I believe in interoperability (at least via third party apps).
Anyway, I've discovered few softwares that can export my messages from my old phone and put it into a file on a computer (in different formats, such as .sms, .txt., .xml or .csv; depends on software and options). But the question is, how to import it into new iPhone.
I've also noticed (from various discussions), that iPhone-related messages are usually saved somewhere in iTunes (something.mdbackup), but again, the question is, how to import it back to phone..
To be honest, I am quite surprised that there is not some easy on-click way (or at least tons of how-to or tutorials). The iPhone is quite a new product (since 2007) and before it there was already quite a large mobile and smartphone market - so "transferring data" should be already solved.. (similar to transferring contacts, calendars and so on). -
How can I load my data faster? Is there a SQL solution instead of PL/SQL?
11.2.0.2
Solaris 10 sparc
I need to backfill invoices from a customer. The raw data has 3.1 million records. I have used pl/sql to load these invoices into our system (dev), however, our issue is the amount of time it's taking to run the load - effectively running at approx 4 hours. (Raw data has been loaded into a staging table)
My research keeps coming back to one concept: sql is faster than pl/sql. Where I'm stuck is the need to programmatically load the data. The invoice table has a sequence on it (primary key = invoice_id)...the invoice_header and invoice_address tables use the invoice_id as a foreign key. So my script takes advantage of knowing the primary key and uses that on the subsequent inserts to the subordinate invoice_header and invoice_address tables, respectively.
My script is below. What I'm asking is if there are other ideas on the quickest way to load this data...what am I not considering? I have to load the data in dev, qa, then production so the sequences and such change between the environments. I've dummied down the code to protect the customer; syntax and correctness of the code posted here (on the forum) is moot...it's only posted to give the framework for what I currently have.
Any advice would be greatly appreciated; how can I load the data faster knowing that I need to know sequence values for inserts into other tables?
DECLARE
v_inv_id invoice.invoice_id%TYPE;
v_inv_addr_id invoice_address.invoice_address_id%TYPE;
errString invoice_errors.sqlerrmsg%TYPE;
v_guid VARCHAR2 (128);
v_str VARCHAR2 (256);
v_err_loc NUMBER;
v_count NUMBER := 0;
l_start_time NUMBER;
TYPE rec IS RECORD
BILLING_TYPE VARCHAR2 (256),
CURRENCY VARCHAR2 (256),
BILLING_DOCUMENT VARCHAR2 (256),
DROP_SHIP_IND VARCHAR2 (256),
TO_PO_NUMBER VARCHAR2 (256),
TO_PURCHASE_ORDER VARCHAR2 (256),
DUE_DATE DATE,
BILL_DATE DATE,
TAX_AMT VARCHAR2 (256),
PAYER_CUSTOMER VARCHAR2 (256),
TO_ACCT_NO VARCHAR2 (256),
BILL_TO_ACCT_NO VARCHAR2 (256),
NET_AMOUNT VARCHAR2 (256),
NET_AMOUNT_CURRENCY VARCHAR2 (256),
ORDER_DT DATE,
TO_CUSTOMER VARCHAR2 (256),
TO_NAME VARCHAR2 (256),
FRANCHISES VARCHAR2 (4000),
UPDT_DT DATE
TYPE tab IS TABLE OF rec
INDEX BY BINARY_INTEGER;
pltab tab;
CURSOR c
IS
SELECT billing_type,
currency,
billing_document,
drop_ship_ind,
to_po_number,
to_purchase_order,
due_date,
bill_date,
tax_amt,
payer_customer,
to_acct_no,
bill_to_acct_no,
net_amount,
net_amount_currency,
order_dt,
to_customer,
to_name,
franchises,
updt_dt
FROM BACKFILL_INVOICES;
BEGIN
l_start_time := DBMS_UTILITY.get_time;
OPEN c;
LOOP
FETCH c
BULK COLLECT INTO pltab
LIMIT 1000;
v_err_loc := 1;
FOR i IN 1 .. pltab.COUNT
LOOP
BEGIN
v_inv_id := SEQ_INVOICE_ID.NEXTVAL;
v_guid := 'import' || TO_CHAR (CURRENT_TIMESTAMP, 'hhmissff');
v_str := str_parser (pltab (i).FRANCHISES); --function to string parse - this could be done in advance, yes.
v_err_loc := 2;
v_count := v_count + 1;
INSERT INTO invoice nologging
VALUES (v_inv_id,
pltab (i).BILL_DATE,
v_guid,
'111111',
'NONE',
TO_TIMESTAMP (pltab (i).BILL_DATE),
TO_TIMESTAMP (pltab (i).UPDT_DT),
'READ',
'PAPER',
pltab (i).payer_customer,
v_str,
'111111');
v_err_loc := 3;
INSERT INTO invoice_header nologging
VALUES (v_inv_id,
TRIM (LEADING 0 FROM pltab (i).billing_document), --invoice_num
NULL,
pltab (i).BILL_DATE, --invoice_date
pltab (i).TO_PO_NUMBER,
NULL,
pltab (i).net_amount,
NULL,
pltab (i).tax_amt,
NULL,
NULL,
pltab (i).due_date,
NULL,
NULL,
NULL,
NULL,
NULL,
TO_TIMESTAMP (SYSDATE),
TO_TIMESTAMP (SYSDATE),
PLTAB (I).NET_AMOUNT_CURRENCY,
(SELECT i.bc_value
FROM invsvc_owner.billing_codes i
WHERE i.bc_name = PLTAB (I).BILLING_TYPE),
PLTAB (I).BILL_DATE);
v_err_loc := 4;
INSERT INTO invoice_address nologging
VALUES (invsvc_owner.SEQ_INVOICE_ADDRESS_ID.NEXTVAL,
v_inv_id,
'BLAH INITIAL',
pltab (i).BILL_DATE,
NULL,
pltab (i).to_acct_no,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
SYSTIMESTAMP,
NULL);
v_err_loc := 5;
INSERT INTO invoice_address nologging
VALUES ( SEQ_INVOICE_ADDRESS_ID.NEXTVAL,
v_inv_id,
'BLAH',
pltab (i).BILL_DATE,
NULL,
pltab (i).TO_ACCT_NO,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
SYSTIMESTAMP,
NULL);
v_err_loc := 6;
INSERT INTO invoice_address nologging
VALUES ( SEQ_INVOICE_ADDRESS_ID.NEXTVAL,
v_inv_id,
'BLAH2',
pltab (i).BILL_DATE,
NULL,
pltab (i).TO_CUSTOMER,
pltab (i).to_name,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
SYSTIMESTAMP,
NULL);
v_err_loc := 7;
INSERT INTO invoice_address nologging
VALUES ( SEQ_INVOICE_ADDRESS_ID.NEXTVAL,
v_inv_id,
'BLAH3',
pltab (i).BILL_DATE,
NULL,
'SOME PROPRIETARY DATA',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
SYSTIMESTAMP,
NULL);
v_err_loc := 8;
INSERT
INTO invoice_event nologging (id,
eid,
root_eid,
invoice_number,
event_type,
event_email_address,
event_ts)
VALUES ( SEQ_INVOICE_EVENT_ID.NEXTVAL,
'111111',
'222222',
TRIM (LEADING 0 FROM pltab (i).billing_document),
'READ',
'some_user@some_company.com',
SYSTIMESTAMP);
v_err_loc := 9;
INSERT INTO backfill_invoice_mapping
VALUES (v_inv_id,
v_guid,
pltab (i).billing_document,
pltab (i).payer_customer,
pltab (i).net_amount);
IF v_count = 10000
THEN
COMMIT;
END IF;
EXCEPTION
WHEN OTHERS
THEN
errString := SQLERRM;
INSERT INTO backfill_invoice_errors
VALUES (
pltab (i).billing_document,
pltab (i).payer_customer,
errString || ' ' || v_err_loc
COMMIT;
END;
END LOOP;
v_err_loc := 10;
INSERT INTO backfill_invoice_timing
VALUES (
ROUND ( (DBMS_UTILITY.get_time - l_start_time) / 100,
2)
|| ' seconds.',
(SELECT COUNT (1)
FROM backfill_invoice_mapping),
(SELECT COUNT (1)
FROM backfill_invoice_errors),
SYSDATE
COMMIT;
EXIT WHEN c%NOTFOUND;
END LOOP;
COMMIT;
EXCEPTION
WHEN OTHERS
THEN
errString := SQLERRM;
INSERT INTO backfill_invoice_errors
VALUES (NULL, NULL, errString || ' ' || v_err_loc);
COMMIT;
END;Hello
You could use insert all in your case and make use of sequence.NEXTVAL and sequence.CURRVAL like so (excuse any typos - I can't test without table definitions). I've done the first 2 tables, so it's just a matter of adding the rest in...
INSERT ALL
INTO invoice nologging
VALUES ( SEQ_INVOICE_ID.NEXTVAL,
BILL_DATE,
my_guid,
'111111',
'NONE',
CAST(BILL_DATE AS TIMESTAMP),
CAST(UPDT_DT AS TIMESTAMP),
'READ',
'PAPER',
payer_customer,
parsed_francises,
'111111'
INTO invoice_header
VALUES ( SEQ_INVOICE_ID.CURRVAL,
TRIM (LEADING 0 FROM billing_document), --invoice_num
NULL,
BILL_DATE, --invoice_date
TO_PO_NUMBER,
NULL,
net_amount,
NULL,
tax_amt,
NULL,
NULL,
due_date,
NULL,
NULL,
NULL,
NULL,
NULL,
SYSTIMESTAMP,
SYSTIMESTAMP,
NET_AMOUNT_CURRENCY,
bc_value,
BILL_DATE)
SELECT
src.billing_type,
src.currency,
src.billing_document,
src.drop_ship_ind,
src.to_po_number,
src.to_purchase_order,
src.due_date,
src.bill_date,
src.tax_amt,
src.payer_customer,
src.to_acct_no,
src.bill_to_acct_no,
src.net_amount,
src.net_amount_currency,
src.order_dt,
src.to_customer,
src.to_name,
src.franchises,
src.updt_dt,
str_parser (src.FRANCHISES) parsed_franchises,
'import' || TO_CHAR (CURRENT_TIMESTAMP, 'hhmissff') my_guid,
i.bc_value
FROM BACKFILL_INVOICES src,
invsvc_owner.billing_codes i
WHERE i.bc_name = src.BILLING_TYPE;Some things to note
1. Don't commit in a loop - you only add to the run time and load on the box ultimately reducing scalability and removing transactional integrity. Commit once at the end of the job.
2. Make sure you specify the list of columns you are inserting into as well as the values or columns you are selecting. This is good practice as it protects your code from compilation issues in the event of new columns being added to tables. Also it makes it very clear what you are inserting where.
3. If you use WHEN OTHERS THEN... to log something, make sure you either rollback or raise the exception. What you have done in your code is say - I don't care what the problem is, just commit whatever has been done. This is not good practice.
HTH
David
Edited by: Bravid on Oct 13, 2011 4:35 PM
Maybe you are looking for
-
ReadOnly property for MDM Standard components
Hi, I am using Standard MDM Webdypro component for Item details. I am able to change the readonly property for text fields by using.. wdThis.ItemDetailComp.setFieldProperty("FLD_CODE", FieldLayoutProperty.READ_ONLY, true); but this line of code it wo
-
I am trying to build facts/dimensions relating to university enrollment. I have designed dimensions for student info, course info and section info. I was trying to load actual enrollment data in to the fact table. I added a measure for grades, but wh
-
Microphone not working on sun ray 270 thin client
Hello I"m trying to make headphone and microphone work on a sun ray 270 thin client for an browser (java) based application. Its basically a meeting room kind to application where people can talk with each other. The Speaker and Headphone is working
-
My computer recognizes my ipod touch as a camera but won't come up in itunes???
------how do i get it to be recognized as an ipod?
-
4948 Logging events and exporting the logs
Good Day All I have been tasked with finding out how to get a 4948 to log basically all events and have it off load to a box in which we can archive these logs. This is for PCI compliance and is new to me. I suppose my question is for the 4948 to log