Time data upload to SAP tables
i m corking on HR Time Management project.
now i hav to upload data which is coming frm external time management system.i m getting 1 txt file in which list of string are recorded by external software.
Eg of that string is :
N000645120420062857
This is one of the string frm tat list.
now in this string
N00-TERMINAL NUMBER
0645-HHMM ( TIME OF SWIPPING CARD )
12042006 - DDMMYYYY (DATE OF SWIPPING CARD )
2857 - EMPLOYEE CODE
Now the problem is we r having only 1 terminal machine.So in this list login & logout both the data r included...now i have to identify which data is login & which is logout time and upload that data in SAP tables.
So i want suggestions & help how to upload this data to HR tables.What tables i shud consider for uploading data...Is thr any SAP standard program which can solve this problem.
Report 'RPTEXTPT' is used for wat??
Please help me in this.....its urgent & inportant....
Hi,
Use LSMW tool and define mapping rules, code in ABAP for extra mapping rules, use fixed values or translations wherever appropriate.
But first sit with an analyst/functional person and jot down the algorithm of how to do and when to do what to do based on the file format.
Similar Messages
-
Dear SAP Gurus...
Is there any other way to upload the time data into the sap system except the BDC program. If yes, please send me the answer in detail..
Best Regards..
VikashHi Vikash
Are you using any sub system.
Pls let me know the time management status on which u r working
Cheers
Vijai -
What is the meaning of data uploading in SAP system?Which TCode is used and how it is done?
Data Uploading : This is uploadig the master datas like material master,BOM,Routing etc from a legacy system or new created in uploadale format.
Then using the uploading tools like SCAT,LSMW,BDC ETC the datas would be uploaded.
When you first set up SAP landscape the system will not have any datas and configuration it will be a plain box.
So configuration has to be done by the consultants and later all the master datas,static and dyanamic datas etc has to be uploaded to start working on SAP -
Mass Data upload in SAP from 3rd party system
Hi Experts.
Can anyone help me how to do mass data upload in SAP. Actually, when any new joining is done, a form is being filled by employee(joining form), and that data is finally updated in SAP manually using various infotypes. Now, i m planning to make that form available in webpage. The employee will go to the webpage, fill the data , also the HR will fill the required fields, and once the form is complete, the data will get updated in SAP, in resp. infotypes. Like personal details in infotye 2, address in infotype 6, bank details in 9 and so on, in a single shot. Is there any BAPI or something like that, using which this can be achieved.
Thnx
S KumarYou can try BAPI_BANK_CREATE for IT0009, BAPI_ADDRESSEMP_CREATE for IT0006 and BAPI_PERSDATA_CREATE for IT0002. Otherwise, you can also use FM HR_MAINTAIN_MASTERDATA to create any infotype.
Have a look also at the Life and Work Events functionality in SAP Portal (http://help.sap.com/erp2005_ehp_04/helpdata/EN/f6/263359f8c14ef98384ae7a2becd156/frameset.htm) -
Here we are using positive time management, where all actual time in and time out has been recorded in the time machines installed at factory gates.
We want the daily time data has to uploaded to SAP System to run the time evaluation.
Does SAP have any standard report/tool for the data upload, from time machine to SAP Or need to write ABAP programming to upload the data?
Can you please send me the steps to be taken for the integration and any standard format is available for the uploading. Do you have any kind document on this?
Please mail to [email protected]
Thanks in Advance
PeeyooshHi Peeyoosh,
please have a look at following thread:
How to upload time events?
Regards
Bernd -
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 -
BSP: Write data in a sap-table in javascript
Hi experts,
I try to use a abap table in JavaScript code. In a BSP I generate a lot of data with a javascript function. Now I want to write this data in a abap-table and send it back to the controller. The sap-table is defined in the page attributes.
The table has char fields and a dec13,3 field.
What I need is something like this:
Sap-table[] = JS-table.
Or
For(var i=0;i++;EndOfJSTable){
<%= wa-char_field1 %>) = js-table<i>-field1;
<%= wa-char_field2 %>) = js-table<i>-field2;
<%= wa-dec_field3 %>) = convert(js-table<i>-field3,13,3);
append wa to sap-table;
Can anybody give me an idea?
Thanks a lot!Hi Renald,
Unfortunately I really create a lot of data. Nearly 5000 rows, with 8 fields in every row. So, when I have to create a hidden fields, I have a lot to do.
I definitely have to programming a solution.
Best regards
Elpis -
Data extraction into sap table from legacy oracle database
Hello All,
I have a scenario where I have two different software systems (SAP and xyz systems), where a intermediate table will be created in between the two systems that is shared. Data will be updated by the xyz systems into this shared table. Now, my questions regarding this shared table.
1) Can we write some program or something to get the data from shared table to update the SAP?
2) If possible send me the suggestions
3) Please also send me the sample code to get the data from the shared table
Thanks in advance,
SDN poweredthis shared table should be compatiable to sap fields...write code to fetch data from this table and assign data to appropriate fields in SAP and insert the data into sap.
1. Push mechanism
Write a RFC on SAP side to insert entries into the table.
Call the RFC from xyz application passing the data you want to insert.
2. Pull mechanism
Write a ABAP Program, where you can somehow read the data of the xyz application and insert data into the table.
3. Flat file
Dump the data from xyz application into the file.
Write a ABAP program to read the file and update the table. -
Data Upload into SAP from Microsoft Excel
Hi Guys: I created a function module from a BDC program and made it RFC enabled. When I execute this in SAP, it works fine and creates a customer. But when I try to trigger it from Excel, it gives me the error Object Variable or With Block Variable not set. Please HELP!...
Here is my VB code
Option Explicit
' Declaration for the necessary objects
Dim objBAPICortrol, objConnection, objCreateCustomer, objAcctGr, objCoCode, objReturn As Object
Dim objSalesOrg, objDistCh, objDiv, objName, objStreet, objPostalCode, objCity, objRegion, objCountry As Object
Dim objCountycode, objCityCode, objReconAcnt, objPaymentHist, objCustPrPro, objCustStGrp, objIncoTerms, objSDPayTerms, objAcntAssGrp, objTaxClass As Object
Dim vLastRow, vRows As Integer
Private Sub CommandButton2_Click()
' Create an Email in Outlook
Application.Dialogs(xlDialogSendMail).Show
End Sub
Private Sub CommandButton3_Click()
' Getting the last filled Row in Column A
vLastRow = Cells(Rows.Count, "A").End(xlUp).Row
' Setting the necessary variables for R/3 connection
Set objBAPICortrol = CreateObject("SAP.Functions")
Set objConnection = objBAPICortrol.connection
' Establish a connection
If objConnection.Logon(0, False) Then
MsgBox "Connection Established"
End If
On Error Resume Next
' Assign the Parameters
Set objCreateCustomer = objBAPICortrol.Add("Z_RFC_CUSTOMER_CREATE_XLS")
Set objAcctGr = objCreateCustomer.Exports("KTOKD_005")
Set objCoCode = objCreateCustomer.Exports("BUKRS_001")
Set objSalesOrg = objCreateCustomer.Exports("VKORG_002")
Set objDistCh = objCreateCustomer.Exports("VTWEG_003")
Set objDiv = objCreateCustomer.Exports("SPART_004")
Set objName = objCreateCustomer.Exports("NAME1_006")
Set objStreet = objCreateCustomer.Exports("STRAS_007")
'Set objHouseNumber = objCreateCustomer.Exports("House Number")
Set objPostalCode = objCreateCustomer.Exports("PSTLZ_009")
Set objCity = objCreateCustomer.Exports("ORT01_008")
Set objRegion = objCreateCustomer.Exports("REGIO_011")
Set objCountry = objCreateCustomer.Exports("LAND1_010")
Set objCountycode = objCreateCustomer.Exports("COUNC_013")
'Set objPhone = objCreateCustomer.Exports("Phone")
'Set objContact = objCreateCustomer.Exports("Contact")
'Set objFax = objCreateCustomer.Exports("Fax")
'Set objEmail = objCreateCustomer.Exports("Email")
'Set objDirections = objCreateCustomer.Exports("Directions")
Set objCityCode = objCreateCustomer.Exports("CITYC_014")
Set objReconAcnt = objCreateCustomer.Exports("AKONT_015")
Set objPaymentHist = objCreateCustomer.Exports("XZVER_017")
Set objCustPrPro = objCreateCustomer.Exports("KALKS_019")
Set objCustStGrp = objCreateCustomer.Exports("VERSG_020")
Set objIncoTerms = objCreateCustomer.Exports("INCO1_021")
Set objSDPayTerms = objCreateCustomer.Exports("ZTERM_023")
Set objAcntAssGrp = objCreateCustomer.Exports("KTGRD_024")
Set objTaxClass = objCreateCustomer.Exports("TAXKD_01_025")
' Now looping through all values create customer
' The data begin row is set to 2
For vRows = 2 To vLastRow
' Set the Parameter Values
objAcctGr.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 1).Value
objCoCode.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 2).Value
objSalesOrg.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 3).Value
objDistCh.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 4).Value
objDiv.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 5).Value
objName.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 6).Value
objStreet.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 7).Value
'objHouseNumber.value = ThisWorkbook.ActiveSheet.Cells(vRows, 8).Value
objPostalCode.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 9).Value
objCity.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 10).Value
objRegion.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 11).Value
objCountry.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 12).Value
objCountycode.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 13).Value
'objPhone.value = ThisWorkbook.ActiveSheet.Cells(vRows, 14).Value
'objContact.value = ThisWorkbook.ActiveSheet.Cells(vRows, 15).Value
'objFax.value = ThisWorkbook.ActiveSheet.Cells(vRows, 16).Value
'objEmail.value = ThisWorkbook.ActiveSheet.Cells(vRows, 17).Value
'objDirections.value = ThisWorkbook.ActiveSheet.Cells(vRows, 18).Value
objCityCode.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 19).Value
objReconAcnt.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 20).Value
objPaymentHist.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 21).Value
objCustPrPro.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 22).Value
objCustStGrp.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 23).Value
objIncoTerms.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 24).Value
objSDPayTerms.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 25).Value
objAcntAssGrp.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 26).Value
objTaxClass.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 27).Value
' Function call
objCreateCustomer.call
' Get return parameters & display in excel
Set objReturn = objCreateCustomer.Imports("RETURN")
ActiveSheet.Cells((vLastRow + vRows), 1) = objReturn.Value("MESSAGE")
' Error handling
If Err Then
MsgBox Err.Description
End If
Next vRows
End SubHello,
Whatz impossible ??
Yes you can export the data from excel to SAP using VBA, but you need to create fome RFC in SAP as well that will handle the data you will send.
1. Create a RFC function in R/3 that will read a file from specific location and perform the respective transaction.
2. Create your excel file with respective file format and call the RFC function in SAP passing the parameters as file name and other required details.
3. SAP coding for RFC will be a single time activity and then onwads you can just create excel file for upload and use VBA code to initiate the RFC call.
Hope this make some sence. Tell me if you have more queries.
Regards,
Vishal
Reward points.. if helpful -
Data upload from sap to oracle
hi friends,
we r uploading and downloading data from SAP to orcale table
we have used this code [down i am giving only sql statements ]
plz some one anlayse the code n tell me wat its exactly doing
1.EXEC SQL.
SELECT VBELN INTO :WA_VBELN FROM ZASCENT@ZASCENTLINK
WHERE VBELN = :ITAB_ASCENT-VBELN AND
MANDT = :SY-MANDT
ENDEXEC.
2. EXEC SQL.
INSERT INTO ZASCENT@ZASCENTLINK VALUES
( :WS_ZASCENT-MANDT,
:WS_ZASCENT-VBELN,
:WS_ZASCENT-NAME1,
:WS_ZASCENT-STRAS,
:WS_ZASCENT-STR_SUPPL1,
:WS_ZASCENT-STR_SUPPL2,
:WS_ZASCENT-CITY1,
:WS_ZASCENT-REGION,
:WS_ZASCENT-POST_CODE1,
:WS_ZASCENT-COUNTRY,
:WS_ZASCENT-TEL_NUMBER,
:WS_ZASCENT-CONTACT,
:WS_ZASCENT-STATUS,
:WS_ZASCENT-PRONO,
:WS_ZASCENT-ANZPK,
:WS_ZASCENT-BTGEW,
:WS_ZASCENT-DATE1,
:WS_ZASCENT-DATE2,
:WS_ZASCENT-DATE3 )
ENDEXEC.
EXEC SQL.
COMMIT
ENDEXEC.
IF sy-subrc = 0.
WRITE:/ itab_ascent-vbeln,'INSERTED SUCCESSFULLY INTO TABLE ZASCENT'.
ENDIF.
COMMIT WORK.
3.EXEC SQL.
OPEN c1 FOR
SELECT VBELN,
NAME1,
STRAS,
STR_SUPPL1,
STR_SUPPL2,
CITY1,
REGION,
POST_CODE1,
COUNTRY,
TEL_NUMBER,
CONTACT,
STATUS,
PRONO,
ANZPK,
BTGEW,
DATE1,
DATE2,
DATE3
FROM ZASCENT@ZASCENTLINK
WHERE MANDT = :SY-MANDT AND
STATUS = '1'
*WHERE VBELN = '0080036329'
ENDEXEC.
DO.
EXEC SQL.
FETCH NEXT c1 INTO
:ITAB_ASCENT-VBELN,
:ITAB_ASCENT-NAME1,
:ITAB_ASCENT-STREET,
:ITAB_ASCENT-STR_SUPPL1,
:ITAB_ASCENT-STR_SUPPL2,
:ITAB_ASCENT-CITY1,
:ITAB_ASCENT-REGION,
:ITAB_ASCENT-POST_CODE1,
:ITAB_ASCENT-COUNTRY,
:ITAB_ASCENT-TEL_NUMBER,
:ITAB_ASCENT-CONTACT,
:ITAB_ASCENT-STATUS,
:ITAB_ASCENT-PRONO,
:ITAB_ASCENT-ANZPK,
:ITAB_ASCENT-BTGEW,
:ITAB_ASCENT-DATE1,
:ITAB_ASCENT-DATE2,
:ITAB_ASCENT-DATE3
ENDEXEC.
IF sy-subrc = 0.
APPEND itab_ascent.
CLEAR itab_ascent.
ELSE.
EXIT.
ENDIF.
ENDDO.
thanks ,
sooryaHay Soorya
go through this link
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/exec.htm
Thanks & Regards
Sreenivasulu P -
Hi,
Im uploading an excel file in sap using gui_upload in binary format.In the internal table my data is stored in one column of char type.Now i want to store that internal table data into a single column in my Ztable.Pls tell me how to do that in such a way that i can retrieve that data back from ztable to internal table to the user as the original file.
thanks,
Nidhi.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. -
Hi,
My client wants to upload condidential employees data into Z table (do not want HR). These tables will contains some informations that I want to encrypt (salary, ssn, etc...). Is there an easy way to encrypt/decrypt this kind of data. I found the BASE64 methods but is it safe to use that ?
I also found the SSF functions but they look not easy to use. I just want to encrypt some fields of a database records before inserting this record and decrypt it in some applications.
Regards,
StephThe BASE64 methods don't truely encrypt the data. They just change the encoding to base 64. At the very least, the data will be obfuscated to some degree. If you go this route, the Z table fields might need to be characters to prevent errors.
I hope this helps.
-Erik -
Respected Sir,
Can anybody tell me how we upload data(like word document,excel document) into SAP R/3.
Actually I am beginner, So Please suggest me as soon as possible.Hi,
check this link
ABAP Connectivity
Regards,
Madhu -
XLS multiple Sheet Data Upload to Internal Tables
Hi All,
Required one help.
There are many FMs which are Uploading XLS to Internal Tables.
But is there any function module, which picks up the data from All the sheets available in XLS file,
and Upload it to Internal Table.
Thanks,
Jimit Vadherhi Vinodh,
I m not getting any value.
Pl. find the code.
DATA : value TYPE string.
DATA : e_value TYPE UAB_TEXT.
TRY.
CALL METHOD CL_UA_EXCEL_TOOLS=>READ_CELL_FROM_LOCAL_FILE
EXPORTING
ID_PATH = 'D:\Approved BP 10-11.xls'
ID_SHEET =
ID_CELL =
ID_ALIAS =
RECEIVING
ED_VALUE = e_value.
CATCH CX_UA_FORMULA_EXCEPTION .
ENDTRY.
WRITE : e_value.
pl. guide.
thanks,
Jimit -
Data uploading in SAP BW (Automated)
Hello Experts,
Currently i am manually loading data files from Unix server into the Infocubes in SAP BW. This process is done only in one shift & for the rest of the time the system is idle i.e no loading is done. This is very time consuming, so can anyone please let me know, is there any tool or standard program, through which we can queue up the data files & load it simultaneously 24X7.
Thanks & Regards,
AmitHi,
This can be achieved through process chains.Design a Process chain in BW system with time schedule as per your reuirement in variant ( 24*7) and you need to Trigger this PC on BW Server by Unix Server. tFor this you need to use the sapevt.exe.With it you can trigger an event in the SAP system with the execution of a simple command file (.bat for ex.)So the event will start the chain as you require.
You can find more info for sapevt in:
http://help.sap.com/saphelp_nw04/helpdata/en/fa/096e6b543b11d1898e0000e8322d00/frameset.htm
Regards
CSM Reddy
Maybe you are looking for
-
E-Recruitment Candidate Search Problem
Hi, I have done the Trex config properly. In table T77RCF_EXT_PUB it is showing 'X' in published , therefore Ithink trex is configured properly. But still when I am goin for search it is showing blank result. while there is data in database. When I
-
Does anyone know how to remove duplicate songs other than one by one? When I got my new computer, the Apple store transferred my songs over but it duplicated every song in my itunes library. I'd like to remove the duplicates. Thanks.
-
dear sap guis when i start the sapserver all abap workprocess will be ended. plz suggest how to solve this problem the following matter is developer trace ... trc file: "dev_w0", trc level: 1, release: "700" ACTIVE TRACE LEVEL 1 ACTIVE TRA
-
Number of rings on incoming calls
Is there a way to increase the number of rings on an incoming call on a Razr Maxx? 3 rings just doesn't cut it.
-
I was accedentally deleted my facetime. then after that from now on i cant see my facetime button in my home screen and also in setting. im just see only my facetime in setting>noicifation center. and i tried to check at my contact i didnt see also f