To upload data into ODS while Type of DataStore Object is Direct update
Hi Experts,
How to upload data from flat file to ODS while Type of DataStore Object is
"Direct Update"? Please explain step by step.
Any useful answer will be rewarded with suitable points
Thanks and Regards,
Sapna
Hi Sapna jha
Jus Have a look @ the following
<u><b><a href="http://help.sap.com/saphelp_nw04s/helpdata/en/a4/1be541f321c717e10000000a155106/frameset.htm">UPDATING DATA TO DIRCET DSO</a></b></u>
Hope itz Helps..!
Regards
KISHORE M REDDY
**Winners Don't Do Different things,They Do things Differently...!**
> Hi Experts,
>
> How to upload data from flat file to ODS while Type
> of DataStore Object is
> "Direct Update"? Please explain step by step.
>
> Any useful answer will be rewarded with suitable
> points
>
> Thanks and Regards,
> Sapna
Similar Messages
-
Error in Source System While Uploading Data from ODS to Data Target
Hi All,
Iam getting Following Error while Uploading data from ODS to Data Target
a) Error in Source System.
b)DataSource 80MKT_DS01 has to be replicated (time stamp, see long text)
Message no. R3016
Diagnosis
DataSource 80MKT_DS01 does not have the status of the source system in the Business Information Warehouse.
The time stamp in the source system is 21.06.2005 07:31:33.
The time stamp in the BW system is 27.11.2004 17:41:45.
Regards,
ChakriThis generally occurs when you change the data source or enhance the data source or the coonections to the datasoiurse are broken. To resdolve thius sort of errors just
1. Check for the coonect between the sourse & target systems
2 . Replicate the data sourcses.
3. Acivated TR,UR,& the rest of the flow But check in the source system if the structre is modified & is so do the changes in the IS , TR,UR correspondingly & the try to load .Hoppe it allows you to load .
Thanks ,
PSG -
While uploading data into the r/3 using call transaction or session method
hi experts
while uploading data into the r/3 using call transaction or session method error occured in the middle of the processing then how these methods behaves it transfers next records or not?hai
Session method: The records are not added to the database until the session is processed. sy-subrc is not returned. Error logs are created for error records. Updation in database table is always Synchronous.
Call Transaction method: The records are immediately added to the database table. sy-subrc is returned to 0 if successful. Error logs are not created and hence the errors need to be handled explicitly. Updation in database table is either Synchronous or Asynchronous.
While to transfer the data from the through if any errors occurs until the errors are the complete the data is not transfer to the SAP system.
the system compulsory shows the errors. that errors are stored into the error logs (Transaction is SM35).
so the session method should not return any value.
In call transaction method data is directly pass to the SAP system.
So its compulsory return the value.
Because of the call transaction is the function.
A function should return the value mandatory
In session method errors stroed in SYSTEM GENRATED ERROR LOG.
IN CALL TRANSACTION TO CAPTURE THE ERRORS WE SHOULD PERFORM THE FOLLOWING.
FIRST ME MUST DECLARE AN INTERNAL TABLE WITH THE STRUCTURE OF BDCMSGCOLL TABLE.
THEN WHILE WRITING THE CALL TRANSACTION STATEMENT WE SHOULD PUT THE 'E' MODE FOR CAPTURING ALL THE ERRORS.
THEN FINALLY THE CAPTURED ERRORS MUST TO SENT TO THE INTERNAL TABLE WHICH WE DECLARED IN THE BEGINNING WITH BDCMSGCOLL BY USING THE FUNCTION MODULE "FORMAT_MESSAGE"
AND THUS THE ERROR MESSAGES WILL BE SENT TO THE INTERNAL TABLE WHICH WE DECLARED AT THE BEGINNING. -
Error while uploading data into cube
I am trying to upload data into my content cube but I got an error it says"
"Time conversion from 0CALDAY to 0FISCPER (fiscal year S1 ) failed with value 20040303"
I checked the data in the PSA it's there but the first record is not green light it has red light. Could you please give me some idea how to solve this problems.
Thank you in advance
sajitaIf you don't know if you want to take over all settings (especially exchange rates may be critical) the problem is probably found in the fiscal year variant. So if you just take over the fiscal year variants.
If the problem remains you could check the following things:
In SPRO -> Global Settings -> Fiscal Year Variants (or similar) check:
Does a fiscal year variant S1 exist?
Is it time dependent? If yes, is it valid for Mar 3rd 2004?
If it is a self defined variant check if there is a period defined for March 3rd 2004.
Best regards
Dirk -
How to upload data into IT0000 using ABAP-HR program
Hello,
I'm required to upload data into multiple infotypes [IT000, 0001, 0002, etc] using single input text file. Can anyone able to guide me, how to upload data into IT0000 using ABAP program ?
Thanks in advance.
Regards
Prabhakar.
Message was edited by:
Prabhakara MuthyalExample code for HR_MAINTAIN_MASTERDATA to COPY IT0002
DATA: INT_0002_FINAL TYPE STANDARD TABLE OF PA0002 WITH HEADER LINE.
DATA: VALUES LIKE PPROP OCCURS 10 WITH HEADER LINE,
RETURN LIKE BAPIRETURN1,.
LOOP AT INT_0002_FINAL.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-PERNR'.
VALUES-FVAL = INT_0002_FINAL-PERNR.
APPEND VALUES.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-BEGDA'.
VALUES-FVAL = INT_0002_FINAL-BEGDA.
APPEND VALUES.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-ENDDA'.
VALUES-FVAL = INT_0002_FINAL-ENDDA.
APPEND VALUES.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-nachn'.
VALUES-FVAL = INT_0002_FINAL-NACHN.
APPEND VALUES.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-gblnd'.
VALUES-FVAL = INT_0002_FINAL-GBLND.
APPEND VALUES.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-vorna'.
VALUES-FVAL = INT_0002_FINAL-VORNA.
APPEND VALUES.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-rufnm'.
VALUES-FVAL = INT_0002_FINAL-RUFNM.
APPEND VALUES.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-name2'.
VALUES-FVAL = INT_0002_FINAL-NAME2.
APPEND VALUES.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-inits'.
VALUES-FVAL = INT_0002_FINAL-INITS.
APPEND VALUES.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-famst'.
VALUES-FVAL = INT_0002_FINAL-FAMST.
APPEND VALUES.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-gbdat'.
VALUES-FVAL = INT_0002_FINAL-GBDAT.
APPEND VALUES.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-sprsl'.
VALUES-FVAL = INT_0002_FINAL-SPRSL.
APPEND VALUES.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-anzkd'.
VALUES-FVAL = INT_0002_FINAL-ANZKD.
APPEND VALUES.
VALUES-INFTY = '0002'.
VALUES-FNAME = 'P0002-natio'.
VALUES-FVAL = INT_0002_FINAL-NATIO.
APPEND VALUES.
* maintain master data
CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
EXPORTING
PERNR = INT_0002_FINAL-PERNR
ACTIO = 'COP'
BEGDA = INT_0002_FINAL-BEGDA
* ENDDA = INT_0002_FINAL-ENDDA
SUBTY = SPACE
NO_ENQUEUE = SPACE
DIALOG_MODE = '0'
TCLAS = 'A'
IMPORTING
RETURN1 = RETURN
TABLES
PROPOSED_VALUES = VALUES
* MODIFIED_KEYS =
EXCEPTIONS
OTHERS = 1.
IF RETURN IS INITIAL.
WRITE:/' Done....'.
ELSE.
WRITE:/ RETURN-ID, RETURN-TYPE, RETURN-NUMBER, RETURN-MESSAGE_V1, RETURN-MESSAGE_V2, RETURN-MESSAGE_V3, RETURN-MESSAGE_V4.
ENDIF.
CLEAR VALUES.
REFRESH VALUES.
ENDLOOP. -
Tcode to upload data into CATSDB table
Hi All,
Could anyone let me know what is the TCODE that we will record and upload data into CATSDB table in HR ABAP.
Regards,
Srinivas.Hi,
I also need the same information...i.e i want to record overtime of Employees...Where to do this?
I tried creating it in PA61. I am able to create it with attendance type. But its triggering the CREATED method of ATTENDANCE Bus. Object. But i have been asked to use CREATED method CATS Bus. Object.
Can anyone help me in this??? Also tell me how make entries in CAT2 ....
Thanks,
Sivagami.R -
Tcode to upload data into CATSDB table in HR ABAP
Hi All,
Could anyone let me know what is the TCODE to upload data into CATSDB table in HR ABAP.
Regards,
Srinivas.Thanks for your reply but i'm not able to find the required fields to upload.
those are : pernr - employee number(ok)
workdate - date
awart - att./absence type
lgart - wage type
meinh - unit of measure
catsquantity- quantity number
Regards,
Srinivas -
How to upload data into ztables
Hi all,
How to upload data into ztables
plz sent the detail description as well sa sample programsHi Narendra,
Sample code to update the Z db table :
REPORT yupload.
TABLES ybtab.
DATA itab LIKE ybtab OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
CODEPAGE = ' '
filename = 'C:\data.txt'
filetype = 'DAT'
HEADLEN = ' '
LINE_EXIT = ' '
TRUNCLEN = ' '
USER_FORM = ' '
USER_PROG = ' '
DAT_D_FORMAT = ' '
IMPORTING
FILELENGTH =
TABLES
data_tab = itab
EXCEPTIONS
CONVERSION_ERROR = 1
FILE_OPEN_ERROR = 2
FILE_READ_ERROR = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
NO_AUTHORITY = 10
OTHERS = 11
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
INSERT ybtab FROM TABLE itab.
ENDIF.
Schedule this program as a Background Job with required time paramters .
Regards,
Ramganesan K. -
How to clear PSA data in advance berfore upload data into PSA by process
Could someone tell me how to clear previous PSA data before upload data into PSA through process chain,tks
Hi,
Try
Deleting Requests from the PSA
http://help.sap.com/saphelp_nw04s/helpdata/en/b0/078f3b0e8d4762e10000000a11402f/frameset.htm
Hope this helps.
Thanks,
JituK -
Upload data into SAP through standard program
hi!
why don't we prefer to upload data into sap through standard program like RFBIKR00 to upload for vendor master or other standard programs to upload durectly without using BDC or LSMW and how do we upload data into SAP through BAPI.
pls help me with a sample program.
regards
AmitIt totally depends upon the requierment which fields your want to update in transaction if it works with program then use program else go for bdc .
If there is some any screen enhancement with z fields then program will not solve the problem.
For BAPI you check these links:
http://www.sap-img.com/abap/bapi-step-by-step-guidance.htm
http://sap-img.com/bapi.htm
Edited by: shilpi agarwal on Aug 22, 2008 7:28 AM -
How to upload data into form of Oracle EBS R12 using ATS ver 9.0
Hi experts,
Could you please guide me how to upload data into form on Oracle EBS R12 using Oracle Application Testing Suite verson 9.(The simpliest way)
For example: I need to create user account on Oracle EBS. Normally, I use Dataloader to upload the data, however it just can upload one by one record, cannot upload multi record at same time. Moreover if the performance of server is low, so I will get the issue when using dataloader.
Thanks in advance
Best Regards
HieuHi you can create Virtual users to enter data. Note than you have to name the objects accordingly.
For Example default recording provided by Open script is ObjectNAME_(Index No of the object).
when you record one iteration the name of any object would be ObjectNAME_(0)
You can then create virtual users so the index will increment as the total number of Virtual users increases. Also you have to handle which row of your test data would get mapped to which Virtual user in the script run session.
Thanks -
Uploading data into a fixed length file
hello experts,
I got a task to upload data into a fixed length positional file from internal table.So please help me.
regards,
sriram.Hi there. What you basically need to do is set up the path and name for the export file, move your records to an output table, and then transfer the data to the file that you have specified. We usually set up our export programs so that the user can choose to download the file locally or onto the application server. So first we define the following fields on the selection screen:
PARAMETERS: p_file(128) LOWER CASE OBLIGATORY. "File
*path name from system standard
PARAMETERS: p_path LIKE rlgrap-filename MODIF ID fpn. "Path Name
PARAMETERS: p_local AS CHECKBOX. "Local File Flag
Then we use this to set the path to the application server:
INITIALIZATION.
CALL FUNCTION 'FILE_GET_NAME'
EXPORTING
logical_filename = 'Z_AO_HR_UP_LOAD'
parameter_1 = space
IMPORTING
emergency_flag = lw_emergency_flag
file_name = p_path
EXCEPTIONS
file_not_found = 1
OTHERS = 2.
AT SELECTION-SCREEN OUTPUT.
make path name display only
LOOP AT SCREEN.
CHECK screen-group1 = 'FPN'.
screen-input = 0. "Output (Display) only
MODIFY SCREEN.
ENDLOOP.
After your START-OF-SELECTION statement, you need to open the file for output:
IF p_local NE ztc_on.
Get Path/file Name using logical filename.
CALL FUNCTION 'FILE_GET_NAME'
EXPORTING
logical_filename = 'Z_AO_HR_UP_LOAD'
parameter_1 = p_file
IMPORTING
emergency_flag = lw_emergency_flag
file_name = p_path
EXCEPTIONS
file_not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
w_message = 'No Output file - Missing Logical File Z_AO_HR_UP_LOAD'.
WRITE: / w_message.
IF sy-batch = 'X'. "Is this in a job?
NEW-PAGE.
PERFORM end_of_selection.
MESSAGE e000(38) WITH w_message. "This causes the job to cancel
ELSE.
MESSAGE i000(38) WITH w_message.
ENDIF.
w_stop = 'X'.
STOP.
ENDIF.
*Check if output file is already present.
OPEN DATASET p_path FOR INPUT IN TEXT MODE.
IF sy-subrc EQ 0.
CLOSE DATASET p_path.
WRITE: 'Output Data file already present ', p_path.
*Use the following for logging error message
CONCATENATE 'Ouput Data file already present ' p_path INTO
w_message.
IF sy-batch = ztc_on. "Is this in a job?
NEW-PAGE.
PERFORM end_of_selection.
MESSAGE e000(38) WITH w_message. "This causes the job to cancel
ELSE.
MESSAGE i000(38) WITH w_message.
ENDIF.
w_stop = 'X'.
STOP.
ENDIF.
OPEN DATASET p_path FOR OUTPUT IN TEXT MODE.
IF sy-subrc <> 0.
WRITE: 'Unable to open output dataset - ', p_path.
*Use the following for logging error message
CONCATENATE 'Unable to open output dataset - ' p_path INTO
w_message.
IF sy-batch = ztc_on. "Is this in a job?
NEW-PAGE.
PERFORM end_of_selection.
MESSAGE e000(38) WITH w_message. "This causes the job to cancel
ELSE.
MESSAGE i000(38) WITH w_message.
ENDIF.
w_stop = 'X'.
STOP.
ENDIF.
ENDIF.
Next you perform all of the steps to put your data in the internal table. After the end of selection we then transfer the data from the original internal table (which has many separate fields defined) to a second internal table, t_outfile, in which each record has a single field that is the total length of the original itab record:
*Internal table for Output data
DATA : BEGIN OF t_outfile OCCURS 0,
text(1000).
DATA : END OF t_outfile.
Then you can download your file, checking whether it goes to a local drive or the application server:
IF p_local EQ ztc_on.
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
filename = p_file
TABLES
data_tab = t_outfile
EXCEPTIONS
file_open_error = 1
file_write_error = 2
invalid_filesize = 3
invalid_table_width = 4
invalid_type = 5
no_batch = 6
unknown_error = 7
gui_refuse_filetransfer = 8
OTHERS = 9.
ELSE.
LOOP AT t_outfile.
TRANSFER t_outfile TO p_path.
ENDLOOP.
ENDIF.
Now close your dataset if it is on the application server:
IF p_local NE ztc_on.
CLOSE DATASET p_path.
ENDIF.
I hope this helps!
- April King -
Problems with special characters uploading data into oracle database
Greetings
I have a problem uploading data into oracle tables from sybase datasource. The data that I want to upload is in Spanish, for example when I have a varchar field with the data 'Consultoría', in oracle table the data upload with interrogation symbols.
I have my source and target datastores configured as follows.
Any suggestion? Thank you for your timeChack section 10 Locales and Multi-byte Functionality in the SAP Data Services Reference Guide for an exhaustive description of NLS settings.
As a summary, following settings are required:
locales in the datastore definitions match the actual locale used in the associated databases
the locale of the DS engine allows for source to target translation
the character set in the target database supports storage of accented characters -
Ways to Upload data into Cube,
1. What are the methods to upload data into cube, apart from flat file mode.(.csv)
2. I have some data in the Planning book in a KF eg. Sales Order. , i need to upload this sales order data to another cube, say forecast cube. how can i do it???
how to upload the data from Planning book to another cube.
Thanks!.Please follow the steps:
1. If necessary, replicate the DataSource. To do so, you can use the following options in the Data Warehousing Workbench:
○ Select the source system in the source system overview and choose Replicate DataSources in the context menu. This replicates all data sources in the source system.
○ Select the data source in the DataSource overview and choose Replicate Metadata in the context menu. This replicates just the one DataSource.
2. Create an InfoSource and assign the data source to it. To do so, choose your application component on the InfoSource page of the Data Warehousing Workbench. In the context menu, choose Create InfoSource. On the next dialog box, select Transactional Data. Another dialog box appears. Enter a name and description for the new InfoSource and choose Enter. In the tree, select the new InfoSource. In the context menu, choose Assign DataSource. On the dialog box that appears, enter the source system. A list of DataSources appears. Select the required DataSource. Choose Enter.
Alternatively you can remain in the DataSource overview. A icon indicates that no InfoSource has been assigned yet. Either click the icon or choose Assign InfoSource in the context menu. On the dialog box that appears, enter a name for the InfoSource. Choose . On the next dialog box, enter a description and choose . Confirm the following dialog box. You can now maintain the InfoSource.
You can assign a DataSource to one InfoSource only.
3. Create a DataStore object in the InfoProvider overview of the Data Warehousing Workbench.
a. Select the InfoArea and then choose Create DataStore Object in the context menu. The Edit DataStore Object dialog box appears.
b. Enter a name and a short description. If required, you can also specify a DataStore object to use as a template. Choose . The Edit DataStore Object dialog box appears.
c. On the left-hand side of the screen, you can select InfoObjects, for example, InfoCubes or InfoObjectCatalogs. You can copy characteristics or key figures from these InfoObjects to the DataStore object. We suggest that you select either the InfoCube to which you want to copy the data, or the InfoSource.
d. Copy the characteristics to the key fields in the right-hand tree in the DataStore object and copy the key figures to the data fields. In both cases, use drag and drop. You might have to transfer the 0RECORDMODE InfoObject from the Business Content.
e. In the Settings branch of the DataStore tree, set the following indicators:
■ Set quality status to 'OK' automatically
■ Activate DataStore object data automatically
■ Update data targets from DataStore object automatically
f. Activate the DataStore object.
For more information, see DataStore Object.
4. Create update rules for the DataStore object.
.a. Select the DataStore object in the data targets page (Data Warehousing Workbench).
b. Choose Create update rules from the context menu. The Create Update Rules screen appears.
c. Enter the InfoSource that you created in step 2. Choose . Edit the update rules as necessary.
d. Activate the update rules by choosing .
5. Create update rules for the InfoCube as above, but with the DataStore object as the data source.
6. Create an InfoPackage for the InfoSource. In contrast to the normal procedure, on the Processing tab page, set the Only PSA and Update subsequently in data targetsindicators. Start or schedule the data load -
Uploading data into 0CRM_CO1 cube
Hi all,
i'm trying to upload data into the above said CRM cube... its a content cube .. but when i'm trying to see what is the datasource in the content i dont see any datasource.
The question is ... do i need to create a generic datasource or there is some other way. Can anyone, let me know the steps too that should be followed to get the data from R/3 to BW into this cube?
Thanks in advance,
MavHi Sajita,
Thanks for the reply. I have checked it in the metedata repository, i doesnt show any datasources .. infact it shows all the multiproviders connected to the cube.... Any clue ....(Look at it in metadata repository, u'll know what i'm talking abt).
Thanks,
Mav
Maybe you are looking for
-
Itunes freezing with Ipod Touch on Windows 7x64 when setting up
Hi, I have an Ipod Touch 3G and a new Dell XPS16 Core I7 with Windows 7 x64. The Ipod cannot be Synced or restored properly. When connecting it it says there is an issue with the Ipod and it needs to be restored. The actul restore seems to go OK but
-
Configuration of Mopz in solution manager 7.1
Hi, Can you please help me in configuration of Mopz's in solution Manager 7.1 so that i can do step by step installation. Thanks & Regards, Sreeram
-
Manipulating PDF Files With API
I want to scan pdf files and vector graphics for specific content and then manipulate the graphic images, but I don't know where to begin. I have looked at the API, but I need more of a beginner approach. Where can I find resources to get me starte
-
Software Installation for Sound Blaster X-Fi Notebook
5Software Installation for Sound Blaster X-Fi Notebook[ Hello, I have searched through the sound blaster forum for an answer to my question, but have been unable to find it. I recently recieved a sound blaster x-fi notebook. When I inserted the unit
-
Hello to all, When i am executing report in RSRT2 or in query designer,It is showing me Last data update on 30thoct 2009,But i have loaded data on 1st nov.2009, It should show last data update on 1st Nov 2009. that reports are based on Infoset. and i