UDO Data Import
Dear everyone,
I defined some UDO and try to import the excel data into B1. Any tools can do this?? Since, DTW seem not support UDO.
Regards,
Kit
Hi Kit,
The UDO support in DI API was by far the most wanted feature in our recent small survey in this Forum (don't know whether you have seen it...) - and the lacking suupport was discussed in this Forum a lot of times earlier...
There are 2 consistent + compliant workarounds (which won't really resolve all cases or have other implications:
1) Upload UDO records when calling UserObjectMD.Add() in a flat file. This is documented in the SDK Helpcenter and should work when the UDO definition is added.
I need to check what happens when this definition would be deleted / readded - maybe that would work
Consequences when the delete / readd would work:
<b>Pro:</b> Would require only DI API (+ providing the right file format) - if it works at all
<b>Con:</b> All logged on users would get the message about changes in the DB structure
- unless this would be suppressed by an Add-On?!
2) Use another (dummy) UDO to have the Implementation DLL of that (dummy) UDO called when working in the B1 application
... and import the data there (shown in a RKT WebEx (aka Live Expert session)) - but did only worked for one line so far (still need to talk to R&D to check whether this is a lack of knowledge / a strange feature / bug)...
<b>Pro:</b> Can be repeated without disturbing other processes / users...
<b>Con:</b> Requires C++ skills so far; need to clarify how to add multiple lines; cannot be used without using the B1 application today.
Regards,
Frank
Similar Messages
-
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?
ThanksHi 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 -
FDM Data import from EBS failed via FDMEE after roll back the 11.1.2.3.500 patch . Getting below error message in ERPI Adapter log.
*** clsGetFinData.fExecuteDataRule @ 2/18/2015 5:36:17 AM ***
PeriodKey = 5/31/2013 12:00:00 AM
PriorPeriodKey = 4/30/2013 12:00:00 AM
Rule Name = 6001
Execution Mode = FULLREFRESH
System.Runtime.InteropServices.COMException (0x80040209): Error connecting to AIF URL.
at Oracle.Erpi.ErpiFdmCommon.ExecuteRule(String userName, String ssoToken, String ruleName, String executionMode, String priorPeriodKey, String periodKey, String& loadId)
at fdmERPIfinE1.clsGetFinData.fExecuteDataRule(String strERPIUserID, String strDataRuleName, String strExecutionMode, String strPeriodKey, String strPriorPeriodKey)
Any help Please?
ThanksHi
Getting this error in ErpiIntergrator0.log . ODI session ID were not generated in ODI / FDMEE. If I import from FDMEE its importing data from EBS.
<[ServletContext@809342788[app:AIF module:aif path:/aif spec-version:2.5 version:11.1.2.0]] Servlet failed with Exception
java.lang.RuntimeException
at com.hyperion.aif.servlet.FDMRuleServlet.doPost(FDMRuleServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221) -
Hi Guys
I am facing an error when uploading the items through Data Import.
Just i am uplaoding only Item Code and Item Description .
but error is coming like this " Row Number 1: Invalid Code [Items - Chapter ID] "
Also when uploading the BP master data
i am uploading BP name and Addresses like street, block, state and country. in state i am giving delhi
but error is coming like this " Business Partner Row Number 6: Character number is greater than allowed [Business Partner - Bill-to State] , 'Delhi' "
Pls help me on this.
Regards
Giridharan Vhi
i tried to upload the data's through DTW. The thing i did
RecordKey ItemCode ItemName
RecordKey ItemCode ItemName
1 i011 a
2 i002 b
3 i003 c
in the ".csv " format..
Bur error is coming like this
" Invalid code (OITM_ Chapter ID ) Application defined or object degfined error 5171 "
Edited by: Giri dharan on Jul 4, 2008 10:33 AM -
Data Import error - Valuation Method (ODBC -1029)
Hello all, first post on the SCN. I did some search for similar problems, but nothing seemed to help here.
We are using Business One, two different companies and databases. We were at the time of the year to update the price list, so we used the Administration -> Data Import/Export -> Data Import -> Import from Excel.
One company (US only) imports perfectly, but the other database (Canada + US) gives me the following error message on 91 / 1036 entries.
Row Number xxx : [Items - Valuation Method] , 'Field cannot be updated (ODBC -1029)
Since the errors only appears on one of the two databases, I ruled out that the excel sheet we used to be the problem.
The excel sheet only has 4 columns : The item identification, the price list that it needs to update, the price, and the currency (USD or $ for us).
Neither of the two companies use any valuation method. In fact, neither companies have the field at all in Item Master Data, and its grayed out in the Company Details.
We also made a dump of the entire item database, and compared what items were imported successfully and those that generated the error, and while the column Valuation Method either had nothing or A, there was no pattern to it. Some errors had nothing, some had A in it.
I checked for any other differences between items that were imported and the ones with error, and cannot see any visible differences, so all I can think here is that its either an invisible setting when the item was created, or there's some character that is creating a fault somewhere (like an empty space).
One of the topics found on this error message (ODBC -1029) said that we might need to request a script to fix the database, but that topic was back in 2006, I'm not sure if it still applies, 8 years later.
Essentially I ran out of things to try on my end. Now I can only ask to the experts.
Thank you for your time!The company that has troubles importing does not allow us to change the Valuation Method for each item. The field is missing entirely from the Item Master Data. I included a screenshot.
The field is grayed out in the Company Details, but its set as Moving Average. The other company uses Moving Average by default as well, from the looks of it (the field does appear in Item Master Data, but its grayed out).
We used the same excel sheet to import data in both companies, just need to figure out why its 100% on one side and not on the other side.
Just to be a bit more clear, we cannot select or visualize the Valuation Method on the items that are not getting imported. Its invisible.
When we exported the full list of items, there was no pattern between the items that are not imported and those that are imported properly.
To be clear, the Valuation Method for :
Items that are imported properly are A or blank.
Items that are not imported and generate an error are A or blank.
There is no logic between those that work and those that do not, which is why I can't figure it out on my own.
Thank you! -
Data Import defaulting Null date to system date
I am trying to import Campaigns using Data Import, and when End Date is NULL it defaults to system date. Is there any way to avoid this default? Even when I don't "map" the End Date, it still defaults it.
Thanks!This file will always populate itself what you have to try to do is establish what is a good date to put in this section. What i have done is created a System default to be today() + 14 this will mean that the end date will be roughly 14 days after it was created. This is then up to the person running the campaign to change if required.
-
Use of ODI in Data Import scenario
Hi,
We are contemplating to use ODI for a Data Import scenario. The flow goes something like this:
1.A user specified flat file or xml with a mapping between the file columns and base table columns serves as the input.
(Note that the file column names could be anything and that is why we use mapping).
2. This file data is stored in a stager table and certain validations are run on this data.
3. This data is then imported into the base tables.
I assume we cannot use ODI for step 1 as the file columns are not fixed and can vary. We need to programmatically interpret the data from the mappings. (Is there a way to do this in ODI?).
If we use ODI for step 3 to import data from stager to base tables:
- If we have a million records to be imported, then how performant is ODI? Do we need to invoke ODI in batches of (a few thousands) to improve performance?
- Thanks in Advance,
RaghuHi Jont,
Thanks for your reply..
Here is an example of the mapping that we use:
Flat File columns:
AccName
AccLoc
Mapping (Specified by the user at run time):
AccName -->(Maps to) Account.Name
AccLoc --> (Maps to) Account.Location
The user would map the file columns to the final target entity fields (like Account.Name) as above.
Since, we have to store this data in a intermediate staging table, we would have a mapping internally (which is fixed), like
Account.Name -->(maps to) AccStager.Name
Account.Location -->(Maps to) AccStager.Location
where AccStager.Name is the staging table field name.
Thus, by using these two sets of mapping, we store the file data into staging table.
Hope this is clear...
Thanks,
Raghuveer -
Data import for users of forms created with Livecycle Designer
Hello,
I have seen several posts regarding data import for forms created by Livecycle Designer but nothing that helps with something I am trying to accomplish. I can create a data connection and import information in a form but what I would like to do is import data, then send the pdf for completion to a user. There are a few data elements that I have available and the rest of the information comes from from the user. The problem I run into is once I create a data connection, the pdf is ALWAYS looking for the source file for that data. I simply want to prepopulate some fields and send to the various users for completion. Any help would be greatly appreciated.
Thanks!Which type of Data Connection are you trying to create?
XML Schema, Sample Data File or WSDL?
Creating any one of first two types(mentioned above) will only create schema and will never import any data into PDF.
If you create the WSDL connection, you can surely import data (i.e. prepopulate data) into your PDF and forward it for users review/fill.
If I misunderstood your question, please get me clarified.
Nith -
The Sequence/order in which Data Import should be done?
Hi experts,
Can anybody suggest the sequance/ order in which we should do the data import using DTW, while setting up a fresh company, so that we can avoid dependancy conflicts?
Is there any document available?
Thanks and regards
Ajith GHai!
Check List For Data Migration
Sl.No. Module Data
1 Finance Chart of Accounts
2 Finance Validating Cash Account, Control Account, Multi-Currency properties for G/L Accounts, Account Type, Relevant to Budget, Exchange Rate Differences, Rate Conversion, etc.,.
3 Finance Profit Centres
4 Finance Distribution Rules
5 Finance Mapping Distribution Rules to G/L Accounts
6 Finance Projects
7 Finance Mapping G/L Accounts to Projects
8 Finance Currencies
9 Finance G/L Account Determination
10 Finance Item Groups Accounting
11 Finance Warehouse Accounting
12 Finance Item level Accounting
13 Finance Tax Codes
14 Finance Plant Wise Tax Information
15 Finance Freight Types (Additional Expenses)
16 Banking Banks
17 Banking HouseBanks
18 Banking Payment Methods for PaymentWizard
19 Inventory Locations
20 Inventory Manufacturers
21 Inventory Package Types
22 Inventory Inventory Cycles
23 Inventory Item Groups
24 Inventory Item Properties
25 Inventory Warehouses
26 Inventory Define Default Warehouse
27 Inventory Excise Chapter Information
28 Inventory Items - (Attributes ex.: PurchaseUOM, InventoryUOM, SalesUOM, Conversion Factors)
29 Inventory Items - Labor & Travel Type
30 Inventory Customs Groups
31 Inventory ShippingTypes
32 Inventory LengthMeasures
33 Inventory WarehouseLocations
34 Inventory WeightMeasures (Volume)
35 Inventory PriceLists
36 Inventory BP Catalogue Numbers
37 Business Partners Customer Groups
38 Business Partners Vendor Groups
39 Business Partners BP Properties
40 Business Partners States
41 Business Partners Payment Terms
42 Business Partners Sales Employees
43 Business Partners Territories
44 Business Partners BP Customers
45 Business Partners BP Vendors
46 Business Partners BP Priorities
47 Sales SalesStages
48 Sales Industries
49 Sales Information Source
50 Sales Commission Groups
51 Sales Relationships
52 Sales Level of Interest
53 Sales Won/Lost Reasons
54 Sales CompetitorInfo
Sales Partners
57 Production Products
58 Production WIP Products
59 Production Production - Bill of Materials
60 Production Sales - Bill of Materials
61 Production Assembly - Bill of Materials
62 Production Template - Bill of Materials
63 CRM ActivityTypes
64 CRM ActivitySubjects
65 CRM ActivityLocations
66 HR Teams
67 HR Employees
68 Service Queue
69 Service ContractTemplates
70 Service Service Call Status
71 Service Service Call Priority
72 Service Service Call Origin
73 Service Service Problem Type
74 Service Service Call Type
75 Service Technicians
76 Service SolutionStatus
77 Administration MultiLanguageTranslations
78 Administration UserLanguages
79 Administration User Defaults
80 Administration Users
81 Administration Departments
82 Administration Branches
83 Administration UserPermissionTree
84 Administration Assign License to users
85 Opening Balance Item Opening Balances
86 Opening Balance G/L Opening Balances
87 Opening Balance BP Opening Balances
88 Configuration/Development oUserFields
89 Configuration/Development oDynamicSystemStrings
90 Configuration/Development oChooseFromList
91 Configuration/Development oQueryCategories
92 Configuration/Development oUserQueries
93 Configuration/Development oFormattedSearches
94 Configuration/Development PLD
95 Configuration/Development QueryPrintLayouts
96 Configuration/Development StoredProcedure
97 Configuration/Development Document Numbering Series
98 Configuration/Development Alerts
99 Configuration/Development Approval Procedures
Regards,
Thanga Raj.K -
Reset sequence after data import
Hi all,
I've got a problem where we import data into a table with an auto-incremented field for a primary key. After the data import, I can drop the sequence, check the max(primary key), and re-create it to start at the max value + 1. My problem is that I need to do this for a large number of tables and don't know how to write a script to do it. In the Create Sequence command, whenever I try to use a variable in the "START WITH" clause, I get an error.
Thanks in advance,
RaymondSpool sequence creation scipt result in a file and then run it.
Or use dynamic sql.
Or You can "drive" sequence forward issuing select myseq.nextval from dual; apropriate times. If You need "drive" sequence backwards alter it with increment -1, issue select myseq.nextval from dual; apropriate times and alter it with previous increment. -
Data Import Wizard from Excel on DATE column
I have exported data to a csv in Oracle SQL Developer and one of the columns are of an Oracle Date datatype. In opening up Excel I see the Date column represented as 15-MAY-01 12.00.00.000000000 AM.
I am now going through the Data Import Wizard to create a new table and import the data. When I get to Step 3 of 4 it reads the data and assigns it a VARCHAR2. I want the column to be Date or Timestamp. In this case I choose timestamp and for format entered DD-MON-YY hh.mi.ss.fffffffff AM.
When I go to Step 4 of 4 to and click the Verify button I get:
"Verifying if the Date columns have date formats" Date columns DOT_LOGN_EFDT, have invalid or null date formats.
I am using Oracle SQL Developer 2.1.0.63 Build 63.73.
Any idea what I put in the format window to read the excel value of 15-MAY-01 12.00.00.000000000 AM correctly?I am not able to reproduce your problem. When I export a date column, I do not get the time portion. This is the expected behavior. When re-importing the date, I therefore have no problem. I have tried manipulating the tools->preferences->database->nls->date format mask to include the time (and fractional seconds), but export still only exports the date portion. The fractional seconds is not valid for a date field, which explains the import error you are getting. The question remains as to why the exported data has the time. Can you describe your exact steps for doing the export?
-
Data import automation using webservices
Hi,
We have a requirement to load data into Oracle On demand monthly from an external application. We want to automate the task using webservices.
Did anyone of you work on such automation? If yes, request you please provide me the details of the same.
Thanks in advance.
regards,
mHi ,
Automated Data Import / Export to or from Oracle SOD using Web-Service is a very much a common requirement these days and we at CRMIT should be able to do that for you.
Drop me your requirement to [email protected] so that we can help you take it forward.
Regards,
Deepak H Andeli -
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSe61e35da8d318518-1acb57941353e8b4 f85-7ffe.html
This page should mention that the Data Import Handler is not available in ColdFusion 10 Standard (so available only in Enterprise, Trial, or Developer editions.)
-
Error Message in Data IMport from Excel
Hi All
Please can you help - I am trying to import some BP data using the option in the menu Administration - Data Import/Export - Data Import from Excel.
I have created my import file as a text file and provided the relevant mappings. Having located my text file, I then get the following error message:
Row Number 1:Internal error (-2007) occurred.
Has anyone got any ideas as to what this means I've done wrong?
ThanksDear,
Kindly refer to note 1296487 below:
Symptom
In attempt to import a Business Partner from an Excel file to SAP
Business One, the following error messages are displayed and the
Business Partner is not imported:
o When there are no House Banks in the company, the following error
messages are displayed:
Row Number 1: Internal error 'House Bank Accounts' occurred,
and,0 Records imported successfully.
o When there are no Payment Methods in the company, the following
error messages are displayed:
Internal error 'Payment Methods for Payment Wizard' (OPYM)
(-2007) occurred, and, 0 Records imported successfully.
o When Payment Methods and House Bank are defined in the company,
the following error messages are displayed:
Row Number 1: Internal error (-2007) occurred, and,
0 Records imported successfully.
Other terms
DB, export, BP
Reason and Prerequisites
Application error
Solution
SAP intends to provide patches in order to solve described problem.
The section Reference to related Notes below will list the specific
Patches when available.
The corresponding Info file of Patches on SAP Service Marketplace will
show the correction / SAP Note number also.
Be aware that these references can only be set at Patch release date.
SAP will deliver Patches only for selected Releases at its own
discretion, based on the business impact and the complexity of the
implementation.
If it is your case, We would like to inform you that we plan to fix the problem you raised,
in patch 05 for SAP Business One 2007 A FP01 / SP01 Release.
For SAP Business One Patch Delivery Schedule please look at:
http://service.sap.com/smb/sbo/patches
Best regards,
Apple -
Data Import from Excel - Users Logged on
Hello all,
I am new the forums and am learning SAP from a user and administrator perspective so please excuse if some of my questions seem obvious. I appreciate everyone's help very help
I have the task of setting up two new company profiles in addition to our current one.
I am at the stage of importing Item Master and Business Partner data.
1) What is the preferred method? DTW vs. Import from Excel? Is one more suitable then the other for this purpose?
2) The help file for importing via excel states "If SAP Business One is running on a network, you have ensured that other users will be logged off the system during the import." Could someone please explain:
- What are the risks of running DTW or imports while users are logged in?
- If users are logged into the live version of our company but I am testing DTW/excel imports from a TEST copy of that company are there still risks or is this okay?
- If users are logged into one database but I am performing data imports on a different company database (for example I would be the only one logged into the companies currently being set up - is this okay even though users are logged into SAP server but accessing a different company?)
Thanks very much!
RichardHi Kiwi,
Referring to the Rules of enagement you have to post one thread per question. Please adhere to the rules from your next post.
DTW is the very much Preferred method you have simulation to see if you record are find to be imported before importing to the DB, using DTW Import from Excel will only help importing BP and Item master data. If you have to make any updates then it will be a task again. In DTW you can save the template and keep adding data and changes can be updated from the template and re-imported
Please refer to the link below to "Differences between the Import From Excel and Data Transfer Workbench templates" the screen shots for DTW are from version before 2007A SP01 PL09.
[http://wiki.sdn.sap.com/wiki/display/B1/DifferencesbetweentheImportFromExcelandDataTransferWorkbenchtemplatesandwhathappenswhentheyare+interchanged.]
1. When users are logged on It can cause some inconsistency, ensure no user is logged on the live DB before performing any major DTW import
2. It will be ok if you are Test importing data to test DB on the same SQL server.
Regards,
Rakesh N
Maybe you are looking for
-
Trying to download firefox on new computer there is not a download link on the firefox browser page
I have a new Dell computer using explorer to access firefox browser page to download firefox ... there is NOT a link to download firefox.
-
NO quote for some line items in a Bid Invitation
Hello Experts, We have implemented SRM 5.0/Bidding Engine. For example, When we create bid invitation with 10 line items, and invited about 5 bidders to participate. Please note each one of line item is having about 15 attributes which are all requir
-
Allow user to take exams only once?
Is there any way to allow a user to only take an exam once? I have 4 exams, and they are all seperate captivate files (IE: exam 1, exam 2, exam 3, exam 4), they are in no way linked together, but is there any way to see if a user has taken exam 1, an
-
HT204291 Apple TV iPad screen ratio
The Apple TV advertising clearly shows the mirrored iPad screen filling the screen of an HD aspect ratio TV. When I view my iPad 3 on my TV there are black boarders either side of the screen. Is there a solution to this problem.
-
How do i have a vBox shadow over another vBox
alright, I have two vBox lined up in an application layer and i have the vertical gap of the application layer set to be 0. now, i wanna make the top vBox to have a shadow over the bottom one. how do i accomplish that? plz help!