Data Upload in DB2
Hi,
I have a text file that has some records,this file can either be pipe seperated,comma delimited or any special character seperated.
I want to upload this data to the db2 database.
I have done the same thin in oracle with the help of sql* loader.
Can any one tell me any utility in DB2 or can I use sql*loader in DB2 also for the file upload.
(This is the first time i am working in DB2)
Regards
Anshul
Hi Nidhi,
Try to use the statement MODIFY ztable FROM TABLE internal_table.
or run a loop across internal_table and use the stmt : INSERT INTO ztable VALUES wa.
Thanks,
regards,
akshay ruia.
Similar Messages
-
Data upload for vendor balances using BDC
hi abap experts,
I have a requirement on data uploading using BDC.
For the vendor balances ie. for transaction FBL1N ( I was given a template for vendor balance upload and need to write a BDC program for that ) I need upload the exsisting transaction data to the system. is recording necessary for this?
can u pls help me with step by step process for vendor balance uploading.
Thanks,
Hema.Hi
Please follow the following Steps:
Steps for recording:
Step1: Goto TCODE SHDB
Step2: Click on New Recording
Step3: Give the necessary Details such as TOCDE, Desc, ...
Step4: Do the screen by screen recording.(Please avoid extra screen to appear)
Step5: Save the recording.
Step6. Select the recording and click on Program button on toolbar.
Step7: Give the Program name and click on radio button Transfer from recording.
Step 8: It will open a new session with SE38 and a program with the recoding.
Step 9: then just add the basic code for BDC.
Regards,
Lokesh -
Basic Data Upload to MATERIAL Using LSMW is not working
HI All,
we are using LSMW /SAPDMC/SAP_LSMW_IMPORT_TEXTS program to upload the basic text of the material, all steps are executed correctly and shows records are transfered correctly , but the in MM03 the text is not uploading..
EPROC_PILOT - MASTER - TEXT_UPLOAD Basic long text 1line
Field Mapping and Rule
/SAPDMC/LTXTH Long Texts: Header
Fields
OBJECT Texts: Application Object
Rule : Constant
Code: /SAPDMC/LTXTH-OBJECT = 'MATERIAL'.
NAME Name
Source: LONGTEXT-NAME (Name)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTH-NAME = LONGTEXT-NAME.
ID Text ID
Source: LONGTEXT-ID (Text ID)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTH-ID = LONGTEXT-ID.
SPRAS Language Key
Source: LONGTEXT-SPRAS (Language Key)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTH-SPRAS = LONGTEXT-SPRAS.
* Caution: Source field is longer than target field
/SAPDMC/LTXTL Long Texts: Row
/SAPDMC/LTXTL Long Texts: Row
Fields
TEXTFORMAT Tag column
Rule : Constant
Code: /SAPDMC/LTXTL-TEXTFORMAT = 'L'.
TEXTLINE Text Line
Source: LONGTEXT-TEXTLINE (Text Line)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTL-TEXTLINE = LONGTEXT-TEXTLINE.
and at last it displaying as follws
LSM Workbench: Convert Data For EPROC_PILOT, MASTER, TEXT_UPLOAD
2010/02/01 - 10:14:25
File Read: EPROC_PILOT_MASTER_TEXT_UPLOAD.lsmw.read
File Written: EPROC_PILOT_MASTER_TEXT_UPLOAD.lsmw.conv
Transactions Read: 1
Records Read: 1
Transactions Written: 1
Records Written: 2
can any one tell us what could be problem
Regards
Channappa SajjanarHi , thanks for your reply,
i run the all the steps .
when i run the program it gives message as follows
Legacy System Migration Workbench
Project: EPROC_PILOT eProcurement Pilot
Subproject: MASTER Master data Upload / Change
Object: TEXT_UPLOAD Basic long text 1line
File : EPROC_PILOT_MASTER_TEXT_UPLOAD.lsmw.conv
Long Texts in Total: 1
Successfully Transferred Long Texts: 1
Non-Transferred Long Texts: 0 -
How to schedule Job for data uploading from source to BI
Hi to all,
How to schedule Job for data uploading from source to BI,
Why we required and how we do it.
As I am fresher in BI, I need to know from bottom.
Regards
Pavneet RanaHi.
You can create [process chain |http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502b2998-1017-2d10-1c8a-a57a35d52bc8?quicklink=index&overridelayout=true]for data loading pocess and schedule start process to any time/date etc ...
Regadrs. -
Legacy asset data upload for multiple line items
Hello
Legacy asset data upload for multiple line items- for example Building is an asset which is having different line items for purchasing of land,constructaion or renovation etc.........now to upload the legacy data what should be consider...only one line item for Building or numbers of line item.........
which one is the proper way to do this exercise?
regardsHi,
It completely depends on clients requirement. but following are few approaches:
1. Define Building as Asset Class.
2. Create a Building at specific location at asset code and
3. create asset sub numbers for other components.
other approach would be:
1. Define Building as Asset Class.
2. Create a Building at specific location at asset code and
3. create further asset codes for other components where field description will be used for relating each other.
Regards,
Sayujya -
Any tools are there in data upload for other than BDC.
Any tools are there in data upload for other than BDC.
Hi Hassan,
<b>LSMW</b>
<a href="http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf">http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf</a>
<b>Direct Input</b>
<a href="http://help.sap.com/saphelp_di471/helpdata/EN/fa/097174543b11d1898e0000e8322d00/content.htm">Direct Input</a>
<b>BAPI</b>'s
Example :
<b>BAPI_QUOTATION_CREATEFROMDATA2</b> - Customer Quotation: Create Customer Quotation
<b>BAPI_PO_CREATE1 </b> - Create Purchase Order
<b>Close your previous threads if you have got the answers.</b>
Regards,
AS -
Master data upload into SAP system
Hello,
I want to know if there is any standard method to upload material master, customer master, vendor master and finance master data into SAP system.
I am not referring to LSMW's, BDC's and using BAPI's. I am aware of standard programs like RMDATIND for material master upload, RFBIDE00 for customer master upload and RFBIKR00 for vendor master upload. But these are using direct input method and SAP recommends this only for testing purpose. I am not sure if this could be really used in actual live scenarios.
From some other posts in the forum, I came to know about some transactions like BDLR, SXDB and BMVO. Can some one tell me how to use these T.Codes?
If some one has any detailed documentation on these T.codes or in general standard master data upload techniques please send it to [email protected]
Thanks in advance,
CMVHi,
Define the following attributes, using the F4 input help and F1 field help:
Report
Name of a registered program for this program type
Variant
You can only specify a variant with programs that are started directly.
With direct input, data from the data transfer file undergoes the same checks as with the online transaction and is then transferred directly into the SAP System. The database is updated directly with the transferred data.
For the documentation of other transactions please refer the correponding program documentation..which is more helpful,
<b>Reward points if helpful,</b>
Regards,
jinesh -
BW upgrade EHP1, data uploads should stop?
Dear experts,
we have plan for system upgrade. current system is BW 7.0 sp 17, Now planned for EHP1 and SP9.
I know the there some post upgrade activities, which include consistancy check for objects (infoobject, transfer rules, cubes,dso, etc...)
Could some one pls confirm, do we need to stop the data uploads/stop process chains during system upgrade?
Thanks in advance!
Best Regards,
MannuHi Ingo,
RSRT was giving proper results. We have now implemented few SAP notes and the issues got resolved.
The following are the notes:
1499233 - MDX:bXML flattening, unbalanced hierarchy, empty columns
1485648 - MDX: bXML flattening and hierarchies and displaced columns
1446245 - MDX: Error when RSR_MDX_BXML_GET_GZIP_DATA is called
1441767 - MDX: No data for bXML if only ALL member is requested
1438091 - MDX: basXML: Object MEASURE 0 not found
1435844 - MDX:Wrong no. decimal places for basXML flattening interface
1432162 - MDX: Flattening problems when using hierarchies
1420169 - MDX: bXML flattening: Subsequent note
1411491 - MDX: bXML flattening in transac. MDXTEST: Selecting packages
1404328 - MDX: bXML flattening and PROPERTIES: Columns overwritten
Thanks for your inputs.
Regards,
shesha. -
Best Practice for Flat File Data Uploaded by Users
Hi,
I have the following scenario:
1. Users would like to upload data from flat file and subsequently view their reports.
2. SAP BW support team would not be involved in data upload process.
3. Users would not go to RSA1 and use InfoPackages & DTPs. Hence, another mechanism for data upload is required.
4. Users consists of two group, external and internal users. External users would not have access to SAP system. However, access via a portal is acceptable.
What are the best practice we should adopt for this scenario?
Thanks!Hi,
I can share what we do in our project.
We get the files from the WEB to the Application Server in path which is for this process.The file placed in the server has a naming convention based on ur project,u can name it.Everyday the same name file is placed in the server with different data.The path in the infopackage is fixed to that location in the server.After this the process chain trigers and loads the data from that particular path which is fixed in the application server.After the load completes,a copy of file is taken as back up and deleted from that path.
So this happens everyday.
Rgds
SVU123
Edited by: svu123 on Mar 25, 2011 5:46 AM -
Hi
Guru's
I want to upoload the Assets balance, (Data)
I am Confusing about which data i have to be taken, Can I take Current Balances of Assets, or Acqusation Value of Asset.
and Please explain me about Depreciation data Uploading,
Please explain in detail with step by step.
Note:See Example: Asset Purchase on 25.02.2007 for Rs:55,000
Depreciation 10% , for 2years it is 11,000.
on 25.02.2009,i want to upload the data.
55,000-----Acquisation Value of Asset
11,0000----depreciation for 2 Yeras
44,000 is the net Book Value of Asset on 25.02.2009.
in this case,
which data i have to be taken
if i taken 55,000-00 (acq value)
is it possible to upload the depreciation amount or is it necesary to run the deprecuation for two years.
kindly give your Valuable Suggestion,
i am waiting for your reply as early as possible.
with Regads,
Arun KumarThe asset you upload with AS91 the balance values with ABF! or OASV.
When you search on these transaction codes on this forum you will found more information
http://help.sap.com/saphelp_erp60_sp/helpdata/EN/4f/71e42b448011d189f00000e81ddfac/frameset.htm -
Data upload problem in delta update from 1st ODS to 2nd ODS
Dear Friends,
I am loading data from one ODS to another. The update mode was full upload. Sometime back an error occurred in activation of the first ODS. The error was: Full updates already available in ODS ,Cannot update init./delta. So currently daily records are pulled but not added i.e. transferred recs = 4000 but added recs = 0.
When I looked for a solution in SDN I found that using program RSSM_SET_REPAIR_FULL_FLAG for 2nd ODS will reset all full uploads to Repair Full Request which I have already done for 2nd ODS. Then initialize once and pull delta.
But problem is that I cannot set update mode to delta as I am pulling some 80,000 records in 2nd ODS from 1st ODS with around 14 lacs records daily based on some data-selection filters in infopkg. But do not see any parameters for data-selction in delta mode.
Please suggest.
Regards,
Amit SrivastavaDear Sirs,
Due to this error in activation in 2nd ODS daily data upload is failing in 1st ODS.
To correct this I converted all full upload requests in 2nd ODS to Repair full requests.
But now when I scheduled the infopkg today with full upload again data was transferred but not added.
I know I cannot have init./ delta so what possibly can now be done in this scenario. Please help.
Regards,
Amit Srivastava -
Photo Gallery display by date uploaded
I would really like to have the photo gallery display images by date uploaded not alphabetical. I know this isn't possible but I remember somewhere on the old forum someone posting a workaround for this issue. Does any one know a workaround? I'm sure it had something to do with renaming the files.
Thanks
KarlHi Sidney, thanks loads for your reply. If i try your method the most recent image still wont be placed at the beginning eg.
If today's date is 01022012 then tomorrows date will be 02022012 which will still be placed after 01022012
Eg
01022012
02022012
Thanks again but is there any other method?
Karl -
Optimization for bulk data upload
Hi everyone!
I've got the following issue:
I have to do a bulk data upload using JMS deploy in a glassfish 2.1, to process and validate data in a Oracle 10g DB System before it is insert.
I have my web interface that loads a file and then delegates the process to a Stateless Session Bean which read a N number of lines and after that send a message to a JMS Queue. The JMS has to parse the each line, validate them with the data already in the DB, and finally persist the new data.
This process is high process consuming, and I need to improve the performance time. I tried to change glassfish default JMS and JDBC pool size, but I have no a huge difference.
Do you have any advice that could help me?
Thanks in advance!Hi! thank you for you answer!
High process consuming is in the MDB
I'm grouping each N number of read lines in the EJB and then send the message to the JMS. The MDB process the persists each line as info in different related tables.
Thanks again! -
Data uploading techniques//LSMW
Dear Experts,
As i am very new to SAP HCM. Can any one explain about data uploading techniques in HCM point of view.
ANd what is BDC,PDC
Thanks in Advance
Ramhttp://wiki.scn.sap.com/wiki/display/ABAP/Batch+Input+-+BDC
SAP ECC - Plant Data Collection - Time, Attendance and Employee Expenditures (HR-PDC) -
BAPI-VT01 BAPI_SHIPMENT_CREATE DATA UPLOAD
Dear All,
Can anybody send step by step of data upload in TCODE vt01
bY using BAPI -BAPI_SHIPMENT_CREATE with soms basic datas.
MohamedHi,
Check this link,
bapi_shipment_create
and see this function module IDOC_INPUT_SHIPMENT_CHANGE
Regards,
Raghava Channooru
Maybe you are looking for
-
I'm trying to install Windows 8.1 via Parallels on my Macbook Pro. I create a new VM and use the .ISO file and get the error: "Windows cannot find the microsoft software license terms. Make sure the installation sources are valid and restart the inst
-
Problems setting up ACL in 11g
Hello, we recently updated from 10g to 11g. In our db we have a job, which calls a procedure, which checks if all mails from our application have been sent probably, if not it sends out a mail via a different mail server to admins, so they can check
-
just bought iphone nd all my daughters stuff from her phone and pad on my phone as we only have one account in my name. What can I do without setting up new account
-
when i post rg23c (part-II) entry posting in J1IEX is ex.base : 15000 [tax code: Excise Duty 8.24%+vat4%] cenvat on hold:2472 cr RG23C BED : 2400 cr ECS:48 cr SHEC:24 cr cenvat clearing:4944 dr in the duty values tab: for total duty it is showing be
-
Is it possible to track and IPOD Touch to locate it?
My sons ipod touch (brand new)*he bought it with his birthday money and only had it for one week** was stolen at a family Thanksgiving day dinner. The worst part is that the only people their were family; cousins, aunts, uncles, grandparents, etc. An