Cannot add businesspartners via DTW
Hello,
I'm trying to import business partners into our SAP Business One Company via the DTW. I followed the templates which can be found in the DTW installation dir, but I keep getting this error:
Bank and account do not exist in the company Application-defined or object-defined error65171
Does anybody know how to solve this problem and what may be causing it? I am using SBO 2005 SP1, PL7
Thanks in advance!
Regrettably, I was providing HousBank (the bank code), but I got the same error when disabling the field (setting it to [Leave it blank]) in DTW.
Edit:
I have also tried putting HouseBank on -1, that gave a slightly different error: [OCRD.BankCode]Application-defined or object-defined error65171
Is it me or are these error messages often very vague and cryptic?
Message was edited by: Wouter Demuynck
Similar Messages
-
i am unable to manually add artwork via itunes 12 on windows 7. I've tried all the suggestions to no avail. Has anyone succeeded on the same platform as me?
The new iTunes 12 Get Info dialog lacks right-click context menus (at least for now) but it still accepts most standard keyboard shortcuts and drag & drop actions.
Delete Artwork
On the artwork tab of Get Into, tap the image in question, use Backspace or Ctrl+X. Delete doesn't work.
Or, tap the image at the top left of Get Info, this time use Backspace or Delete, it is Ctrl+X that doesn't work.
Add Artwork
Select artwork, press Ctrl+C to copy, tap the centre of the Artwork tab, press Ctrl+V to paste.
Or, select artwork, press Ctrl+C to copy, tap the small image area at the top left, press Ctrl+V to paste.
Or, you can drag & drop to, or sometimes from, the same locations.
You can also copy artwork from the Get Info dialog to Windows Explorer with the keyboard shortcuts.
If the source image is on a web page right-click and use Copy Image rather than copy. (With Chrome I get a one pixel wraparound so tend to go for a temporary local copy anyway - not sure whose bug this is, but it isn't new.)
If you have multiple images embedded drag the one you want to be the primary artwork to the leftmost position.
Replace/Remove All Artwork
The top left image box can be used to add or delete art from multiple tracks. In either case all existing artwork in all tracks is replaced/removed.
Old Style Get Info Dialog
Select some items, right-click, hold down shift, then click Get Info from the context menu. (Use alt/option on a Mac)
If you still cannot add artwork via any of these methods then I would suspect a permissions problem. See Repair security permissions for iTunes for Windows.
tt2 -
JSPM ERROR- cannot add JAVA patches to deploy queue via JSPM
Hi Experts! Last two days I have deployed java patches(SP13 to SP18).......almost finished......i have to deploy 2 more components only but suddenly i got error.now i cannot add java patches to JSPM deployment queue. am getting error '/usr/sap/BWP/DVEBMGS10/j2ee/JSPM/log/log_2009_07_22_23_41_20/JSPM_MAIN_1_01.LOG.' I have checked trouble ticket log and i have followed Snote-1329945 and changed instace.properties files as instance.runmode=normal and just restarted java via SMICM only (server reboot is not possible in my environment)
Trouble Ticket Report----
Java Support Package Manager for SAP NetWeaver'04s
SID................: BWP
Hostname...........: abcbwp02
Install directory..: /usr/sap/BWP
Database...........: DB2/AIX64
Operating System...: $(/J2EE/StandardSystem/CentralInstance/J2EEEngineInstanceHost/OpSysType)
JDK version........: 1.4.2 IBM Corporation
JSPM version.......: 7.00.18.1.01
System release.....: 700
ABAP stack present.: true
The execution ended in error.
Cannot initialize application data.
Error while detecting start profile for instance with ID _s.
More information can be found in the log file /usr/sap/BWP/DVEBMGS10/j2ee/JSPM/log/log_2009_07_22_23_41_20/JSPM_MAIN_1_01.LOG.
Use the information provided to trouble-shoot the problem. There might be an OSS note providing a solution to this problem. Search for OSS notes with the following search terms:
com.sap.sdt.jspm.phases.PhaseTypeJSPM/com.sap.sdt.jspm.gui.JspmUiException/Cannot initialize application data/JSPM_MAIN
JSPMPhases/Java Support Package Manager
log_2009_07_22_23_41_20 exception:
#1.5 #C000C0A8D28F0000000000366BD46BD400046F4D35AF2008#1248277310677#/System/Server/Upgrade/Phases/JSPM/JSPMPhases/JSPM_MAIN##com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:795)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:795)#Java###Duration: .#1#0:00:10.915#
#1.5 #C000C0A8D28F0000000000376BD46BD400046F4D35AF2008#1248277310677#/System/Server/Upgrade/Phases/JSPM/JSPMPhases/JSPM_MAIN##com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:796)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:796)#Java###Phase status is .#1#error#
Thanks.Hi,
ABAP stack present.: true
The execution ended in error.
Cannot initialize application data.
Error while detecting start profile for instance with ID _s.
Looks like the problem is above 1
Do the following. This should resolve the issues.
1. If your dialog instance are also having the Java stack then do one thing move your profile folder to some other name and create a new profile folder with the name "profile".
Copy only the central instance profiles Default, Instance and start profile.
Then give a try.
2. If you do not have the java instance in Dialog instance still do the same thing what I have described. move the current profile folder and create the new folder with the name "profile" and copy the profiles Default, Instance and start profile.
Chances are the JSPM is reading some other profile while starting the JSPM.
Regards,
Ravi -
'Master data type User table cannot add row'-DTW error
Hi All,
I am creating a template for user define Master data table from DTW, when i am trying to port data by using that template through DTW. it is giving error like--'Master data type User table cannot add row'
So can any one have solution for this.
Regard's
HariHari,
Please see SAP Note 1234690 on the SAP PartnerEdge Portal. This seems like a similar problem although the example is using the Business One SDK which uses the DI API. The DTW also uses the DI API ... so there may be a relation.
You may want to check the latest patch level for SAP Business One 2007A as the note says it is a known issue.
Eddy -
You cannot add "WarehouseCode" value... dreaded DTW error65171
Trying to import Inventory Revaluation for a large number of items and get the dreaded error message 65171. The full message is You cannot add "WarehouseCode" value when SAP Business One manages item cost per companyApplication-defined or object defined error65171.
OMRV
DocEntry DocDate Reference2 Comments JournalMemo Series TaxDate RevalType RevaluationIncomeAccount RevaluationExpenseAccount
DocEntry DocDate Ref2 Comments JrnlMemo Series TaxDate RevalType RIncmAcct RExpnAcct
1 20110117 Revalue for Negative Inventory Revaluation P _SYS00000000172 _SYS00000000172
MRV1
ParentKey LineNum ItemCode Quantity Price WarehouseCode DebitCredit RevaluationDecrementAccount RevaluationIncrementAccount
DocNum LineNum ItemCode Quantity Price WhsCode RActPrice RDcrmAcct RIncmAcct
1 0 DE-D1000-X 11.386 _SYS00000000172 _SYS00000000172
1 1 DE-D1005-X 11.41 _SYS00000000172 _SYS00000000172
There is no value under Quantoty, WhseCode or RActPrice
Any thoughts???
Edited by: Gary Feldman on Feb 8, 2011 9:13 PM
Edited by: Gary Feldman on Feb 8, 2011 9:23 PMI did have the same problem of incompatibility between SDK 2007 and SDK 8.8 at Material Revaluation cost.
I use only ID-API in my Addon.
I tried to insert a material revaluation, debit/credit, in SBO, in one company isn't administrated cost by warehouse (the cost is equal everywhere), I filled field "warehouse" and SBO returned error message:
"10001465 - You cannot add "WareHouseCode" value when SAP Business One manages item cost per company"
Apparently, in SDK 8.8, what it was permitted in SDK 2007 was changed, ie, not permitting fill field u201Cwarehouseu201D in SDK 8.8.
Then, now, in SDK 8.81, for my surprise, it is re-changed.
I installed version SBO 8.81 in my PC, and to continue to use SDK8.8 at the Addon (ie, compile AddOn with DIAPI 8.8), and the prohibition to inform field u201Cwarehouseu201D disappeared.
Apparently, in SDK 8.81 or the last version of DIAPI SDK 8.8, in a material revaluation using DI-API, if you inform warehouse, ok, SBO will insert in this warehouse, whether don't inform warehouse, SBO, assume the system default warehouse (01) ou default warehouse defined by user. -
I Cannot Add Buddies in iChat 4 and 5 - How do I fix this ?
Disclaimer: Apple does not necessarily endorse any suggestions, solutions, or third-party software products that may be mentioned in the topic below. Apple encourages you to first seek a solution at Apple Support. The following links are provided as is, with no guarantee of the effectiveness or reliability of the information. Apple does not guarantee that these links will be maintained or functional at any given time. Use the information below at your own discretion.
I Cannot Add Buddies in iChat 4 and 5
Many people are reporting that they cannot add Buddies to either iChat 4 or iChat 5.
The Symptoms are that the Buddy appears in the Buddy List and then does the "Brightening/Fading" cycle but fails to be anywhere in the list including Off Line Buddies.
To Show Off Line Buddies, highlight the Buddy list to bring to the "front".
Then go to the View Menu and Enable Show Off Line Buddies.
(there is also an Option to display these in a separate Group).
There can be many causes and I will attempt to deal with then in the order that they are most likely.
A) The Contact is already in the Address Book.
When Adding a Buddy via the use of the + Sign at the Bottom of the Buddy List (Then Add Buddy) or invoking it from the Buddies menu a drop down appears to slide down out of the Buddy List Header area
In this slide out/drop down, you get the chance to Add the Screen Name and then the First Name Last Name details of the Buddy.
iChat checks the Address Book and if the First Name, Last Name items do not match any contact in the Address Book already then the Buddy will be added to the Buddy list.
As the Address Book does not allow two contacts to have the same name they will not be added to the iChat Buddy List if the name exists already.
In iChat 3 and earlier there was an Error Message that popped up saying there was Feedbag Error
See here for More
Note: AIM Protocols call Lists "Feedbags". Contents (Buddies) are "Food" and of course Food is kept in Feedbags.
The Address Book is one Feedbag in this case and the Screen Name (only) Buddy List held on the AIM Server is the other.
The Software puts the two together for Display purposes
The Fix.
Either:
1) Add them as Screen Name only
2) Use the Arrow head at the end of the Last Name line to open the Address Book and pick the Contact.
3) Open the Address Book and Edit their Card to Add the Screen Name, then drag them from the Name column to the iChat Buddy List.
4) During any type of Chat use the item in the Buddies Menu to Add the person (it will display their Screen Name in Dark text if not in the Buddy List - Then item 2 can also be used)
B) Parental Controls
There are similar Symptoms if the Mac User Account is subject to Parental Controls.
If the Mac User Account on the computer is not an Admin account it is a Standard or Managed one
A Managed one has Parental Controls Enabled.
There is a Tab for Mail and iChat.
If it is turned on for iChat then all buddies are Blocked initially (in iChat 4 Jabber and Bonjour Buddy List cannot be used.)
Adding AIM valid Screen Names (AIM, Those with either @mac.com or @me.com endings) to the allow List Unblocks those Buddies and they will show in the Buddy List as On or Off line
The Fix.
In this case if you are the Managed account you have to get the Admin account to add the Buddy to the Buddy allowed list in Parental Controls.
Exception
There is a very large exception.
Due to the fact that the way Parental Controls blocks names until they appear in the Allow List there can be a problem if testing the same iChat Details in a Test Account.
Lets say you are the Admin User on the Mac.
You set up a second Mac User Account called Test.
In this you set up iChat with the same details (Screen name) you use in your Main Mac User Account.
You then test Parental Controls by turning it On and setting the iChat Limit option.
Then you add to the allow List one or two AIM valid names.
You check iChat and find they are the only Buddies that show up.
It works, so you return to your main Mac User Account and discover that most of your Buddies are missing.
On checking the iChat Menu > Preferences > Accounts > Security Tab you find the Allow Specific People option is Enabled and the list only includes those Buddies you set in Parental Controls.
Choosing allow All does not seem to bring back the Buddies even if you Log out of the Test Mac User Account.
The Fix Here
Is to Disable all the Parental Control Settings again (Remove names from any list) before Logging out of the Test Mac User Account.
The cause is partly to do with the Setting in iChat > Preferences > General Section that reads "When I quit iChat, Set the Status to Off Line" which is not the default - leaving a partial login for Off Line Messaging. As a consequence your Buddy List is constantly being told to block certain Screen Names.
A Variation on this is if you have Two Log-ins of your Screen Name from either different apps or computers.
Altering the Buddy List in one effects the other login. The computer or app that was logged in first take precedence.
C) Adding Buddies as the wrong type (In Buddy List - But always Off Line)
This applies more to iChat 4 than it does to iChat 5
At the Add Buddy Screen/Slide in iChat 4 you have to choose if the Buddy is an AIM, @mac. or MobileMe name in a drop down.
The software shows the @mac.com or @me.com endings in grey in the Screen Name text field and adds this for you.
This can lead to Buddies being added as the wrong type as in ralphjohnsr added as [email protected] etc.
It can also lead to people being added with 2 @ symbols in the Screen Name ([email protected]@mac.com) and iChat not always telling you this is not allowed.
In both iChat 4 and 5, as Jabber IDs/Screen Names also look like Email Addresses, we have to also consider whether AIM names have been added to a Jabber List or Jabber Names added to AIM valid Lists.
D) Plain old Typos
Here I am talking about misreading someone's Screen Name and typing that in (Such as receiving and email with a Screen Name in it and typing the letter O for 0 (zero).)
And of course, just plain typing mistakes.
The Fix for C) and D)
The Buddy in this case will be in the Buddy List but will always be Off line
Highlight the Buddy with one click.
Do a Get Info (Apple()/Command(⌘) key and I key together) and their Info card will show up.
Correct as Required.
8:25 PM Wednesday; November 24, 2010
This is the 1st version of this tip. It was submitted on November 24, 2010 by Ralph Johns (UK).
Do you want to provide feedback on this User Contributed Tip or contribute your own? If you have achieved Level 2 status, visit the User Tips Library Contributions forum for more information.Thanks Ralph,
Some thoughts.
To Show Off Line Buddies, highlight the Buddy list to bring to the "front".
Then go to the {color:red}Show Menu{color} and Enable Show Off Line Buddies.
(there is also an Option to display these in a separate Group).
Do you mean under the {color:green}View{color} menu where I see Show Offline Buddies? (both iChat 4.0.8 and 5.0.3)
A)… In the {color:red}slide out that appears from the top{color} of the Buddy list you get the chance to Add the Screen Name and then the First Name Last Name details of the Buddy.
I kept looking for a button for the "slide out" at the top of the Buddy list. Found out it's the dialog box that appears when you click "+" (Add a new buddy…) at the bottom of the list. Yes, I can act like a beginner too
(Slide out to me sounds like a sideways slide out, versus a Pop Up or Pop Down Dialog box).
As the Address Book does not allow two contacts to have the same name they will not be added to the iChat Buddy List {color:green}if the name already exists.{color}
The Address Book i one Feedbag in this case
The Address Book {color:green}is{color} one Feedbag in this case
B) Adding AIM valid Screen Names (AIM, Those with either @mac.com or @me.com endings) to the allow List Unblocks those Buddies and they will show in the Buddy List as On {color:red}of{color} Off line
… as On {color:green}or{color} Off line
*The Fix.
Exception*
{color:red}The{color} you add to the allow {color:red}List{color} one or two AIM valid names.
{color:green}Then{color} you add to the allow one or two AIM valid names.
C)
At the Add Buddy Screen/Slide in {color:red}ichat{color} 4
At the Add Buddy Screen/Slide in {color:green}iChat 4{color}
In both iChat 4 and 5 as Jabber IDs/Screen Names also look like Email Addresses we have to also consider
In both iChat 4 and 5 as Jabber IDs/Screen Names also look like Email Addresses{color:green}. We{color} have to also consider
Nubz -
I have purchased a new 6th generation ipod and registered it with Apple- it has loaded all my library onto the iPod but when the library is displayed all songs are greyed out and I cannot add a playlist. Can anyone help me ?
The content that you are viewing on your Nano via iTunes is grayed out since your iPod is set up for automatic syncing with your iTunes library. If you want to be able to manually manage your contents (which is sounds like you are trying to do), you must enable the Manually manage music option from under your iPod's Summary tab in iTunes.
B-rock -
ORABPEL-02052 and cannot add a new domain
Hi, I develope a very simple BPEL processes and ant it. But it shows error ORABPEL-02052. I add
<property id="optSoapShortcut">
<name>Make Calls Via Soap Stack</name>
<value>true</value>
<comment><![CDATA[
Make Calls Via Soap Stack.
<p/>
The default value is true.
]]></comment>
</property>
in domain.xml file. Then, I stop and re start application server. But I still cannot ant the bpel process. However, in the BPEL control, I cannot add a new domain. And it shows err:
Oracle BPEL Server 10.1.3.4.0
0
Fri Jul 18 07:32:24 PDT 2008
release
PCBPEL_10.1.3.4.0_GENERIC_080718.0645
javax.servlet.ServletException
I use XP and install patch of 10.1.3.4I reinstall DB and application server this weekend. I do not install the patch this time.
This error has not appeared.
I can add a new domain and delete it in the BPEL control. However, after I add a new domain. I cannot login to the BPEL control from Start->soaInstance->Oracle BPEL processes Manager->BPEL control.
If I need to login to the default domain, I should key in the default after the address. Why I should do this?
Edited by: [email protected] on 2009-3-8 下午8:20 -
Updating Warehouse Infor via DTW
Hi,
I'm having some diffuclties in updating my warehouse info particularly the warehouses average price per item.
Example:
Item.txt has
RecordKey ItemCode
1 A1
2 B1
3 C1
WhseInfo.txt has
RecordKey WhseCode LineNum ToAvgPrc FrmAvgPrc
1 1 0 1.00 2.00
1 2 1 1.00 2.00
1 3 2 1.00 2.00
1 4 3 1.00 2.00
2 1 0 3.00 2.00
2 2 1 3.00 2.00
2 3 2 3.00 2.00
2 4 3 3.00 2.00
3 1 0 2.00 2.00
3 2 1 2.00 2.00
3 3 2 2.00 2.00
3 4 3 2.00 2.00
Whenever the uploads begins, I always ended-up with this kind of error 'Field cannot be updated (ODBC -1029)Application-defined or object-defined error65171' and this error occurs only for some item. With the data shown above, only Item C1 would have that kind of problem.
And the reason why I wanted to do the update via DTW is I don't want to have an accounting entry for this update.
Is there anybody could explain or help me on this.
Thanks in advance.I got your point and I'm aware that. I actually assumed that it would be the next subject, but apparently (based from the actual data that I have) for some items even if FrmAvgPrc and ToAvgPrc is the same, DTW upload is ok and for some items that have difference, upload was unsuccessful. And when I chose to eliminate/delete the item that causes the error, upload was successful.
Here is the actual data;
Item.txt
RecordKey ItemCode
RecordKey ItemCode
1 000000200T
2 000100000P
3 000100000T
4 000100200T
WhseInfo.txt
RecordKey LineNum StandardAveragePrice WarehouseCode
RecordKey LineNum StandardAveragePrice WarehouseCode
1 0 899.05 ACE01
1 1 899.05 ACE02
1 2 899.05 ACE03
1 3 899.05 ACE04
2 0 200.89 ACE01
2 1 200.89 ACE02
2 2 200.89 ACE03
2 3 200.89 ACE04
3 0 0 ACE01
3 1 0 ACE02
3 2 0 ACE03
3 3 0 ACE04
4 0 25.33 ACE01
4 1 25.33 ACE02
4 2 25.33 ACE03
4 3 25.33 ACE04
item 000100200T cause the problem and the rest are not, aside from that, item 000100000P and 000100000T doesn't have any changes with the item cost while 000000200T and 000100200T do have. and all item has history of transaction. and leaving LineNum column as blank doesn't made any effect at all. -
Import Advance Payments via DTW
Hello Expert,
as written in the object i need to import Advance payments (not against any invoice) via DTW.
Can i import only the template Payments as a stand alone?
the error i get is: no matching records found and here is an example of the template:
RecordKey CardCode TransferAccount TransferSum DocCurrency DocNum DocRate DocType DocDate DueDate HandWritten
0 S000082 100.40.000 492.30 GBP 0.0000 rSupplier 20110218 tYES
1 C000470 100.30.000 247.59 EUR 1.0961 rCustomer 20110218 tYES
Thanks for your help
Edited by: AAM_London on Feb 22, 2011 12:05 PMHi,
It is possible. Are you looking for payment on account . You have to use two templates,
1. Payments
2. Payments accounts
and customer and supplier cannot be imported in one template the Incoming payments for Customer and Outgoign payments for suppliers.
Regards,
Rakesh N -
Hello,
I am trying to update my BOMs via DTW. There is a tick box called "Hide BOM Components on Printoutu201D on the SALES BOM that i would like to tick but it doesnt seem to have a mapping in the DTW template. I've tried adding a column called "HideComp" to the ProductTrees template but DTW does not recognize this or allow me to manually map the feild.
What can i do? Any suggestions are much appreciated.
GreeshmaHI Joseph,
If i tick what you suggested in the Document SEttings then the Component items of the Sales BOM can still be seen when you are adding the document in SAP but you just cannot see their indivdual prices. When you do a print preview of the document the component items still show. I do not want them to show on the physcial printout of the document-whether it is a SAles Order or Invoice.
Kind regards,
Greeshma -
Updating Serial # Location via DTW???
Hi, we recently had to relocate some inventory from one location to another. During initial upload we populated the serial # location during goods receipt. I now need to change that location for about 100 serial numbers. Is there a way to do this via DTW?
Hi Joe........
Location field for Serial or Batch No. details is editable and you can edit it anyhow but only by going through Inventory> Inventiory Management> Serial/Batch Details and which you can not update through DTW.
But SAP allows you to enter the correct location while uploading data through DTW of Marketing docs.
But unfortunately you cannot update the location through DTW where you want to update it. You have to do it one by one manually........
Regards,
Rahul -
Hi,
I want to close Sales Orders using DTW but I got an error:
Document rows Cannot be closed concurrently.
I read some threads:
Link: [Document rows Cannot be closed concurrently - Purchase Orders;
Link: [How to close a row in a Sales Order?;
Link: [Closing Order rows;
Link: [Documents rows cannot be closed concurrently with the other document modify;
and many more but couldn't solve problem.
I work on 8.8 version and try to close Sale Order that has few rows. I can close line via UI ( right mouse button and choose close line) but when I try to do it via DTW I have an error.
I disabled all formatted searches and it didn't help.
Need help.
Reagrds
SzymonHi,
the problem now is not the error message. The problem is: what about the sales order which should be lost after we regenerate the program RSM13000?
We installed the following support packages:
1. SPAM and SAINT from 26 to 38
2. SAP Basis: From SAPKB62047 to SAPKB62068
3. SAP_ABA: SAPKA62047 to SAPKA62068
a. And 2 CRT
4. SAP_APPL SAPKH47022 to SAPKH47033
5. SAP_HR: SAPKE47024 to SAPKE47099
6. SAP_IPPE: SAPKGPIA06 to SAPKGPIA28
7. PI: SAPKIPZI55 to SAPKIPZI59
8. PI_Basis: SAPKIPYI57 to SAPKIPYI59
9. ST_PI: SAPKITLQG7 to SAPKITLQG8
10. EA_APPL: SAPKGPAA06 to SAPKGPAA29
11. EA_FINSERV: SAPKGPFA06 to SAPKGPFA29
12. EA_GL TRADE SAPKGPGA06 to SAPKGPGA29
13. EA_HR SAPKGPHA10 to u2026u2026 SAPKGPHA99
14. EA_PS SAPKGPPA06 to SAPKGPPA29
15. EA_RETAIL: SAPKGPRA06 to SAPKGPRA29
Thanks in advance
Hanseatik -
Cannot add column to flexible table when ddl autocommit is off using Procedure
Hello All,
Through procedure I am trying to insert data into the target(EX_92) table(with schema flexibility)
Source table data
ID
PRODUCT_CODE
PRODUCT_NAME
PRICE
COLOR
TYPE
1
1
rugg
101.22
2
1
rugg
101.22
3
2
book
200.32
BLUE
Y
Target table QUERY
drop table EX_P2;
CREATE COLUMN TABLE EX_P2(
ID INTEGER PRIMARY KEY,
PRODUCT_CODE VARCHAR(3),
PRODUCT_NAME NVARCHAR(20),
PRICE DECIMAL(5,2)
) WITH SCHEMA FLEXIBILITY;
Procedure to insert above records with additional columns into the target table(EX_P2)
Procedure
drop procedure "DS_O1"."PROC";
create procedure "DS_O1"."PROC"(IN max_value INTEGER, IN schema_name varchar(40), IN table_name varchar(40), IN column_list varchar(400))
LANGUAGE SQLSCRIPT AS
BEGIN
DECLARE maxid integer :=0;
DECLARE INSERT_STR VARCHAR(1000) :='';
select max(ID) into maxid from "DS_O1"."EX_P2";
select :maxid from dummy;
INSERT_STR :='insert into "' || 'DS_O1' ||'"."EX_P2" ('||:column_list||') (select ' ||:column_list||'
FROM "'||:schema_name||'"."'||:table_name||'"' || ' where ID >' || :max_value || ')';
EXECUTE immediate(:INSERT_STR);
END;
Now while executing above procedure
CALL "DS_O1"."PROC" ( 0, 'DS_O1', 'TMP_EXL2','ID,PRODUCT_CODE,PRODUCT_NAME,PRICE,COLOR,STATUS,TYPE');
I am getting the following error
Could not execute 'CALL "DS_O1"."PROC" ( 0, 'DS_O1', 'TMP_EXL2','ID,PRODUCT_CODE,PRODUCT_NAME,PRICE,COLOR,STATUS,TYPE')' in 23 ms 564 µs .
SAP DBTech JDBC: [7]: feature not supported: [7] "DS_O1"."PROC": line 18 col 1 (at pos 779): [7] (range 3): feature not supported: cannot add column to flexible table when ddl autocommit is offHi Rajnish,
I had the same issue. For what it’s worth I was able to do a workaround basically creating all the columns when I create the table. The following code works for me to create the table which is just a matrix with one Integer column as the key and the rest as type Double.
It is not ideal in all scenarios because the table columns cannot be added dynamically via a procedure at a later point. This table has 27K columns now
Of course one of the advantages of a flex table would be programmatically adding columns dynamically. This works, but maybe there is still a way to add columns dynamically from a procedure, and someone else can advise.
Apparently dynamically adding columns via procedures may have some "minor" limitations due to the need to compile the procedure with knowledge of the flex table DDL. But again, hopefully someone knows another solution.
Best regards,
Mark
DROP PROCEDURE CREATE_MATRIX;
CREATE PROCEDURE CREATE_MATRIX(
LANGUAGE SQLSCRIPT
SQL SECURITY INVOKER
AS
/*********BEGIN PROCEDURE SCRIPT ************/
BEGIN
-- cursor over messages
declare cursor matrix_cursor for
select distinct TERM
from TERMS
order by term;
declare cnt INTEGER := 0;
declare temptxt NVARCHAR(500000) := 'CREATE COLUMN TABLE DOC_MATRIX ( CONTENT_ID INTEGER ';
for cur_matrix as matrix_cursor do
cnt:=:cnt + 1;
select temptxt || ', C' || cnt || ' DOUBLE' into temptxt from dummy;
end for;
temptxt:=temptxt || ' ) WITH SCHEMA FLEXIBILITY';
EXEC :temptxt;
select :temptxt from dummy;
END;
DROP TABLE DOC_MATRIX;
CALL CREATE_MATRIX(); -
Cannot add users to mapped third party group
when i try to add a user to a group i get the following message
"cannot add users to mapped third party group"If a group was mapped in via AD/LDAP/SAP then the users must be added in the 3rd party (AD/LDAP/SAP) you cannot create members inthe CMC. This is by product design. If you want to add members to groups in the CMC they must be enterprise groups only (groups created in the CMC not mapped in from 3rd parties).
Regards,
Tim
Maybe you are looking for
-
My 8320 cant connect to my Wifi
I have a wifi router set up in my home and when i run the setup for my BB it says its connected but i still cant cennect using the wifi. When i go into Manage Connections and check Wi-Fi i see a little yellow circle with a horizantal line in it inste
-
Hello, I've been tinkering around with Bridge (4.0.4.2) Created a template with IPTC Extension checked, IPTC Extension is checked in the preferences as well. It doesn't show in the Metadata panel though. IPTC Core shows. Any ideas as to what may have
-
Opening .XFDF files without browsing for form
I have created a form that has an email submit button. The button is opening my email, adding the address and subject, and attaching the .XFDF correctly. The problem I am having is once I receive the email, I always get this error when I open it: T
-
Ipad first workflow in lightroom mobile
I like the editing options in lightroom mobile. Great job! My main usage of the ipad is preselecting and tagging images on tours or events and I am using Photosmith until now. This is not yet supported by lightroom mobile. Will creating smart preview
-
I'm using the ipod 5th generation video one 30GB, was working fine when i transfer the videos "MP4" to the itunes, but since i update the ipod software to the version 1.2.1 the videos are not transfering to the itunes, the msg is coming when i drag t