Data conversion into SAP B1
Hi all,
First time poster with a newbie question.
I am a project manager working with a consultancy in implementing SAP B1. Our old system is SBT.
One of the tasks to be done is to import four "inventory" fields into SAP (about 2700 rows total):
Bin location
Batches
Cost
Quantity on Hand
I have two questions:
(1) I have a friend who is experienced in SQL data transfer. He said he could easily write a program to insert data directly into the SQL tables. When I mentioned this to my SAP consultant, he said that this is a HUGE no-no due to system complexity, high potential for errors down the road, etc. Would you agree with him? Or is he just trying to save his company from losing business?
(2) If the consultant does the data transfer, he estimates 2 days of work (using SAP Data Transfer Workbench). To me, this sounds like a lot of time! My data transfer friend says he could do the entire transfer in an hour or two. Do you think that 2 days of work is a reasonable amount of time for importing these four inventory fields into SAP?
Thank you for any help you can offer.
Lin,
SAP does not Support any kind of Direct data manupulation with their SQL Tables. Everything has to flow through DI API.
This being said Data Tranfer Workbench is the way to import the 4 peices you are needing to import.
Regarding the time line, it could be done in 10 hours or it could take a week, it will all depend on how the data is currenly available. If your data is accurate and all values are mapped in an Excel it could take 2 days or less. If your data is not in the right format it could take more.
2 days is a reasonable estimate. One thing to remember is importing data into SAP is not a tough job but it is a time consuming job.
Best wishes
Suda
Similar Messages
-
Data load into SAP ECC from Non SAP system
Hi Experts,
I am very new to BODS and I have want to load historical data from non SAP source system into SAP R/3 tables like VBAK,VBAP using BODS, Can you please provide steps/documents or guidelines on how to achieve this.
Regards,
MonilHi
In order to load into SAP you have the following options
1. Use IDocs. There are several standard IDocs in ECC for specific objects (MATMAS for materials, DEBMAS for customers, etc., ) You can generate and send IDocs as messages to the SAP Target using BODS.
2. Use LSMW programs to load into SAP Target. These programs will require input files generated in specific layouts generated using BODS.
3. Direct Input - The direct input method is to write ABAP programs targetting on specific tables. This approach is very complex and hence a lot of thought process needs to be applied.
The OSS Notes supplied in previous messages are all excellent guidance to steer you in the right direction on the choice of load, etc.,
However, the data load into SAP needs to be object specific. So targetting merely the sales tables will not help as the sales document data held in VBAK and VBAP tables you mentioned are related to Articles. These tables will hold sales document data for already created articles. So if you want to specifically target these tables, then you may need to prepare an LSMW program for the purpose.
To answer your question on whether it is possible to load objects like Materials, customers, vendors etc using BODS, it is yes you can.
Below is a standard list of IDocs that you can use for this purpose to load into SAP ECC system from a non SAP system.
Customer Master - DEBMAS
Article Master - ARTMAS
Material Master - MATMAS
Vendor Master - CREMAS
Purchase Info Records (PIR) - INFREC
The list is endless.........
In order to achieve this, you will need to get the functional design consultants to provide ETL mapping for the legacy data to IDoc target schema and fields (better to ahve sa tech table names and fields too). You should then prepare the data after putting it through the standard check table validations for each object along with any business specific conversion rules and validations applied. Having prepared this data, you can either generate flat file output for load into SAP using LSMW programs or generate IDoc messages to the target SAPsystem.
If you are going to post IDocs directly into SAP target using BODS, you will need to create a partner profile for BODS to send IDocs and define the IDocs you need as inbound IDocs. There are few more setings like RFC connectivity, authorizations etc, in order for BODS to successfully send IDocs into the SAP Target.
Do let me know if you need more info on any specific queries or issues you may encounter.
kind regards
Raghu -
Mass data load into SAP R/3 - with XI?
Hi guys!
I have an issue - mass data migration into SAP R/3. Is XI a good solution? It will be about 60GB of data. Or is there a better way of this data load?
Thanx a lot!
Olianhi,
SAP doesn't recomment using XI for mass data migration
and 60 Gb is certainly too much
use LSMW for that purpose
Regards,
michal -
Import data Automatically into SAP
Hi all,
Is is possible to import data Automatically in SAP?
For Ex: if the client having online filling form (through website) is is possible to upload data directly into SAP?
one getting the alert or approval they will add the document.
Regards
AnishHi Anish,
This can be done through scheduled DTW job.
Thanks,
Gordon -
Data Conversion in SAP E-Recruiting.
Hi SAP E-Recruiters,
Our client is using a Legacy application for recruiting candidates where it has 5000 candidates data base (internal and external candidates' applications).
Now they are asking for movement of this whole data to the newly implementing SAP E-recruiting system. We are exploring various data conversion methods and found that BDC, LSMW will not work for E-recruiting data upload as we have every thing in BSP/Web Dynpro pages here.
We need your help in finding a solution for moving this data from legacy to SAP E-Recruiting. Pls do the needful.
Thanks,
SudheerSudheer,
So far there are no SAP delivered migration methods or BAPI's available conversion of candidates/applications, as you have already specified BDC's wouldnot work. Internal candidates always can be brought over in eRecruitment with integration techniques between PA and eRecruit depending upon the landscape.
However, for external candidates custom conversion programs have to be written by making use of methods/function modules that are used in BSP/WebDynpro.
regards
Sridhar -
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 -
Getting BW and third party data source into SAP Cloud for customer
Hi Experts.
I have an architecture question and would like to know any guidance or pointers to help. We have a requirement to integrate 3rd party data sources to be brought into SAP cloud for sales so that reporting can be driven out of SAP cloud for sales. What is the best approach to do it.
Client doesn't want users to go to another site to look for reporting data.
Worst case scenario, is there a way to show BW or Third party reports in a separate tab where we can fetch the report data for user or may be a redirect link displays home page of reports under new tab without user leaving the cloud for sales application.
Thanks
ApoorvaHi Vivek/Mithun,
I have brought in data from BW system to C4C using Webservice and stored it in C4C backend.
I am building a custom datasource from these variables, but I want to restrict access of this data based on user roles.
However, while creating the datasource "Enable Access Control" checkbox is not enabled. The help text says "To enable access control your BO must contain an association marked as relevant for access control".
Could you help me in understanding how can we enable this feature for our custom datasource?
I have also raised a separate thread also for this query Require more details on "Enable Access Control" feature of Data source
Thanks and Regards,
Manasi -
Where do contract/PIR data fit into SAP's "suggested" master./trxn models?
At this link:
http://help.sap.com/saphelp_scm50/helpdata/en/9b/57df37463a126ae10000009b38f842/content.htm
SAP provides suggestions for an overall master data model and transactional data model.
Where do "contract" data fit into these models (what category)?
Where do "PIR" data fit into these models (what category)?Answered myself
-
Manual data enter into SAP Service Receipt
Hi,
Can anyone please tell me how to manually enter data into SAP Service Receipt?
1. What is the transaction for that?
2.What are the steps to do?
I'm new to SRM. Any help will be highly appreciated...
Thanks!
Uma.Hi,
I am not sure to understand what you mean with "sap service receipt"...
If it is "Confirm good receipt or service" in SRM, transaction are :
BBPCF02 to receive your own purchase order
BBPCF03 to receive all purchase order (central recipient)
Kind regards,
Yann -
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. -
How to convert date format into sap standard format?
Hi All,
In SAPUI5 screen i have one simple form in form i have date field which is format (MM/DD/YYYY). but i am getting POST error while inserting the data in to sap table.
I want convert date format in sap format (YYYY/MM/DD).
One more issue, when i am fetching the data from sap table,but the date display with time and time zone.
eg. Sat Aug 02 2014 05:30:00 GMT+0530 (India Standard Time)
I want to display only date.
Thanks,
Prashant.Now i am using <DatePicker id="Emp_fsdate" displayFormat="yyyy-MM-dd"/>
I checked in console, but date is display like mm/dd/yy
In my controller.js file i have written code
OData.request
requestUri: "http:sap/opu/odata/sap/ZSERVICE_FINAL_SRV/es_sodata",
method: "GET",
headers:
"X-Requested-With": "XMLHttpRequest",
"Content-Type": "application/atom+xml",
"DataServiceVersion": "2.0",
"X-CSRF-Token":"Fetch"
function (data, response){
var header_xcsrf_token = response.headers['x-csrf-token'];
OData.request
requestUri:
"http://sap/opu/odata/sap/ZSERVICE_FINAL_SRV/es_sodata",
method: "POST",
headers:
"X-Requested-With": "XMLHttpRequest",
"Content-Type": "application/atom+xml",
"DataServiceVersion": "2.0",
"Accept": "application/atom+xml,application/atomsvc+xml,application/xml",
"X-CSRF-Token": header_xcsrf_token
data:
Empid:Emp_id,
Empname:Emp_name,
Start_Date:Emp_sdate,
// End_Date:Emp_edate,
Status:Emp_status,
City:Emp_city,
Location:Emp_location,
and in my CREATE_ENTITY method
method ES_SODATA_CREATE_ENTITY.
DATA: ls_request_input_data TYPE zcl_zservice_final_mpc=>ts_et_sodata,
ls_userinfo TYPE zsodata.
DATA ls_temp TYPE sy-datum.
* Read Request Data
io_data_provider->read_entry_data( IMPORTING es_data = ls_request_input_data ).
* Fill workarea to be inserted
ls_userinfo-Empid = ls_request_input_data-Empid.
ls_userinfo-Empname = ls_request_input_data-Empname.
ls_userinfo-Start_Date = ls_request_input_data-Start_Date.
ls_userinfo-End_Date = ls_request_input_data-End_Date.
ls_userinfo-Status = ls_request_input_data-Status.
ls_userinfo-City = ls_request_input_data-City.
ls_userinfo-Location = ls_request_input_data-Location.
* Insert Data in table ZUSERINFO
INSERT zsodata FROM ls_userinfo.
IF sy-subrc = 0.
er_entity = ls_request_input_data. "Fill Exporting parameter ER_ENTITY
ENDIF.
endmethod.
But still i am getting an error
POST http://sap/opu/odata/sap/ZSERVICE_FINAL_SRV/es_sodata 500 (Internal Server Error)
I am able to insert all field except date field. How to insert date field in sap table. -
Excel data transfer into SAP internal table with GUI_UPLOAD
hi all,
i m using SRM4 system and i wanted to develop one report which will upload data from excel and convert it into IT.
i know that many threads are posted on this topic.
but my requirement is slight different. in the system only one function module is available that is "GUI_UPLOAD" and we want that user shd not save file as tab delimited before calling this fm. instead, program shd take care of all these things...
please suggest something asap..
helpful ans will be rewarded..
thanks,
jigs.Dear Jigs,
Please go though the following lines of code:
D A T A D E C L A R A T I O N *
TABLES: ANEP,
BKPF.
TYPES: BEGIN OF TY_TABDATA,
MANDT LIKE SY-MANDT, " Client
ZSLNUM LIKE ZSHIFTDEPN-ZSLNUM, " Serial Number
ZASSET LIKE ZSHIFTDEPN-ZASSET, " Original asset that was transferred
ZYEAR LIKE ZSHIFTDEPN-ZYEAR, " Fiscal Year
ZPERIOD LIKE ZSHIFTDEPN-ZPERIOD, " Fiscal Period
ZSHIFT1 LIKE ZSHIFTDEPN-ZSHIFT1, " Shift No. 1
ZSHIFT2 LIKE ZSHIFTDEPN-ZSHIFT1, " Shift No. 2
ZSHIFT3 LIKE ZSHIFTDEPN-ZSHIFT1, " Shift No. 3
END OF TY_TABDATA.
Declaration of the Internal Table with Header Line comprising of the uploaded data.
DATA: BEGIN OF IT_FILE_UPLOAD OCCURS 0.
INCLUDE STRUCTURE ALSMEX_TABLINE. " Rows for Table with Excel Data
DATA: END OF IT_FILE_UPLOAD.
S E L E C T I O N - S C R E E N *
SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME,
BEGIN OF BLOCK B2 WITH FRAME.
PARAMETERS: P_FNAME LIKE RLGRAP-FILENAME OBLIGATORY.
SELECTION-SCREEN: END OF BLOCK B2,
END OF BLOCK B1.
E V E N T : AT S E L E C T I O N - S C R E E N *
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FNAME.
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
EXPORTING
PROGRAM_NAME = SYST-REPID
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = ' '
STATIC = 'X'
MASK = '.'
CHANGING
FILE_NAME = P_FNAME
EXCEPTIONS
MASK_TOO_LONG = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
E V E N T : S T A R T - O F - S E L E C T I O N *
START-OF-SELECTION.
Upload Excel file into Internal Table.
PERFORM UPLOAD_EXCEL_FILE.
Organize the uploaded data into another Internal Table.
PERFORM ORGANIZE_UPLOADED_DATA.
E V E N T : E N D - O F - S E L E C T I O N *
END-OF-SELECTION.
*& Form UPLOAD_EXCEL_FILE
text
--> p1 text
<-- p2 text
FORM UPLOAD_EXCEL_FILE .
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
FILENAME = P_FNAME
I_BEGIN_COL = 1
I_BEGIN_ROW = 3
I_END_COL = 7
I_END_ROW = 32000
TABLES
INTERN = IT_FILE_UPLOAD
EXCEPTIONS
INCONSISTENT_PARAMETERS = 1
UPLOAD_OLE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " UPLOAD_EXCEL_FILE
*& Form ORGANIZE_UPLOADED_DATA
text
--> p1 text
<-- p2 text
FORM ORGANIZE_UPLOADED_DATA .
SORT IT_FILE_UPLOAD BY ROW
COL.
LOOP AT IT_FILE_UPLOAD.
CASE IT_FILE_UPLOAD-COL.
WHEN 1.
WA_TABDATA-ZSLNUM = IT_FILE_UPLOAD-VALUE.
WHEN 2.
WA_TABDATA-ZASSET = IT_FILE_UPLOAD-VALUE.
WHEN 3.
WA_TABDATA-ZYEAR = IT_FILE_UPLOAD-VALUE.
WHEN 4.
WA_TABDATA-ZPERIOD = IT_FILE_UPLOAD-VALUE.
WHEN 5.
WA_TABDATA-ZSHIFT1 = IT_FILE_UPLOAD-VALUE.
WHEN 6.
WA_TABDATA-ZSHIFT2 = IT_FILE_UPLOAD-VALUE.
WHEN 7.
WA_TABDATA-ZSHIFT3 = IT_FILE_UPLOAD-VALUE.
ENDCASE.
AT END OF ROW.
WA_TABDATA-MANDT = SY-MANDT.
APPEND WA_TABDATA TO IT_TABDATA.
CLEAR: WA_TABDATA.
ENDAT.
ENDLOOP.
ENDFORM. " ORGANIZE_UPLOADED_DATA
In the subroutine --> ORGANIZE_UPLOADED_DATA, data are organized as per the structure declared above.
Regards,
Abir
Don't forget to award points * -
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 -
I need convert some data from one metric system to another when mapping, how to implement it in XI easily? do I need to implement java code or just design at integration repository?
Message was edited by: Spring TangHi Spring,
May be you can try this method.
1. write the conversion routines as functions in a JAVA class.
2. convert it as a JAR.
3. import it in Integration Repository.
4. now in "user defined function", you can use the methods, present in the imported JAR.
this time also u need to create user defined function for each mapping, but that "user defined function" will have only one statement, the function call from that imported JAVA class.
hope this helps. if any clarification revert back.
regards,
P.Venkat -
Adobe Form Data Integration into SAP using RFC
Hi All,
I have created a Adobe Form, there is a button Called Submit ,On clicking that button the Adobe form must call a RFC function Module and pass the data from the form to Function Module.
I have written the below code for the submit button but it is not working.Please Lemme know if u have any solutions..
Below is my code
//Submit this form to SAP using web services
var webService = xfa.resolveNode("xfa.record.WEBSERVICE");
xfa.host.messageBox ("test 3");
var response = Net.SOAP.request(
cURL: webService.value,
oRequest: {
"urn:sap-com:document:sap:rfc:functions:ZUPDATETIMESHEET":{
TIMESHEET: t_time_record,
HEADTIME: wa_head
cContentType: "text/xml"
xfa.host.messageBox ("test 4");
var success = response["urn:sap-com:document:sap:rfc:functions:ZUPDATETIMESHEET.Response"]["SUCCESS"];
var response = response["urn:sap-com:document:sap:rfc:functions:ZUPDATETIMESHEET.Response"]["RESPONSE"];
if (success == "X") {
xfa.host.messageBox(response, "Response from SAP", 3);
CONFIRMED.rawValue = "Yes";
ConfirmedLogo.presence = "visible";
for (var nPageCount = 0; nPageCount < xfa.host.numPages; nPageCount++) {
var oFields = xfa.layout.pageContent(nPageCount, "field");
var nNodesLength = oFields.length;
for (var nNodeCount = 0; nNodeCount < nNodesLength; nNodeCount++) {
oFields.item(nNodeCount).access = "readOnly";
if (oFields.item(nNodeCount).border.fill.color.value == "255,0,0")
oFields.item(nNodeCount).border.fill.color.value = "255,255,255";
if (oFields.item(nNodeCount).ui.oneOfChild.className == "button") //Hide all buttons
oFields.item(nNodeCount).presence = "hidden";
ZUPDATETIMESHEET is my Function Module.
t_time_record and wa_head are the parameters being passed to the function Module.
Please lemme know if i have to do any settings and configurations also...
I have attached the entire code in the below file...
Thanks in AdvanceMaruti,
1. Just use the RFC's that does the update.
2. There are update flags for each field that you would like to update. These flags should be marked be marked for update. They come along with the classes that are generated when you import the RFC's.
3 Call BAPI_TRANSACTION_COMMIT afterwards.
All the above steps have to be done in the program.
Sumit.
Maybe you are looking for
-
I'm going to install Arch this weekend but I have some questions
Currently I use Linux Mint on my primary PC, but I've installed Arch on my older PC at my parents house. I like it a lot and I think I want a distro that is rolling release and also that I build myself (as opposed to installing all of the bloat on M
-
The windows are larger the screen - how do I adjust (sys pref display doesn't do it)
The windows are larger than the screen. I don't know why this happened.I can get to the top, bottom, or side by placing the mouse there.
-
Using variables in CURL for urls.
Hello, I am fairly new here and new to programming. I am trying to make a program that will ask for a url and store it in a character array and use that variable as the URL for the url argument, in quotations, using libcurl, of course. curl_easy_seto
-
Patch 8290549 for oracle 9.2.0.8
Hi, I need to install April patch 8290549 for oracle 9.2.0.8 but have some doubts if it is cumulative patch and if it is include Jan patch. I will appreciate if someone could help with the two questions below. Is April patch 8290549 for oracle 9.2.0.
-
Can I create a table in my form?
Our need our teachers to fill out a field trip form using a table format? Can I create a table in my form? and if yes, how? thank you Need it to look like this: DATE TIME To start/finish Name of Program TEACHER'S NAME TEACHER'S EMAIL # OF STUDENTS