Help needed: My first AddOn experiences.

Hi all,
I try to develop a special AddOn for our Item-Management (Better Item-Description, Item-Images, Cross-Selling, and so on...).
I don't have many experiences in DI/UI-API, UDO/UDF and User Tables, nevertheless I want to develop the AddOn.
For demonstration purposes, I developed the whole system using Java and MySQL and now its time make this work in SAP Business One.
Of course I read the documentations and Help-Files how to create User Tables, UDF and UDO and I made some practices (e. g. connecting to the companies database using DI with several languages (VB, C# and the of course the JCO-DI-API).
So far, and now to my problem:
I need several special Tables. Nearly all with an auto-incremented ID Field. Is this possible? If not, is it ok to work directly inside the MS-SQL Database using the Management-Studio? And how can I link tables, if there is no identifier?
Are there other ways to develop AddOns, than using the internal user-defined methods?
And last but not least: Is there a way to communicate in my mother-language (german), are there some german-places? In most cases, it is much easier for me to explain problems in german. Have you seen "Babel" with Brat Pitt
Ok that's it! Thanks for your help.
Regards, David

Hi David
>I need several special Tables. Nearly all with an auto-incremented ID Field. Is this possible?
This is not possible.. You will need to create some auto-number code for the Code/Name fields in the UDTs
You can use code like this to do so, but drawback is of cause that it is slower than Autonumbers
DECLARE @next VARCHAR(8)
SET @next = (SELECT CAST(CAST(MAX(CODE) AS INT)+1 AS VARCHAR) FROM [@BOY_B1P_AFVIGELSER])
WHILE(DATALENGTH(@next)) <8
BEGIN
  SET @next = '0'+@next
END
SELECT @next
>If not, is it ok to work directly inside the MS-SQL Database using the Management-Studio? And how can I link tables, if >there is no identifier?
No, this is not permitted by SAP Support
>Are there other ways to develop AddOns, than using the internal user-defined methods?
I know a few of the older add-ons have created their own tables but this is actually not allowed and you wil not be able to get your addon certified. Alternative you could create your own database along side the SAP database to hold all your tables, but it give a lot of additional work and does not work with Userdefined Objects
>And last but not least: Is there a way to communicate in my mother-language (german).
I think you are "stuck" in here... Pretty much all SDK related things are at the SDN

Similar Messages

  • Help Needed, possible first brick

    Hello everyone, today i bought a iPhone 3G at the local store in my country (The Netherlands), after i went home i tryed to activate the iPhone.
    I first opened the package and turn the device on. The iPhone displayed that the sim was incorrect so i put the simcard in and connected it to iTunes, failed to activate the iPhone, i quitted iTunes and try to turn my iPhone of.
    Instead of going out, the iPhone displayed a white screen, wich did not disappear. A forced reboot was the only solution, But after trying the force reboot, my iPhone would not startup again!
    To fix this i tryed several things, including the force restore, connect to other usb ports (all 2.0). I even left the iPhone connected for over 2 hours to respond or maybe a empty battery but none of solutions did work.
    Restarting the computer with or without the iPhone connected did not work as well.
    Any help on how to solve this is welcome, thank you in advance!

    Look at the "Popular Discussions" or "More Like This" to right side of this window for copious threads along these lines---->
    1. Open Applications > Utilities > Activity Monitor and terminate processes linked to MACDefender (or other names).
       2. Delete MACDefender (or other names) from the Applications folder
       3. Check System Preferences > Accounts > Login Items for MACDefender (or other names) items.
       4. Check the downloads for any related items to MACDefender (or other names).
       5. Run a Spotlight search for "MACDefender (or other names)" to check for any associated files and if any remove them,ie drag to the trash.
    There are different variants of names for this malware but the steps of removal should be the same unless it has advanced.
    https://discussions.apple.com/thread/3032201?start=0&tstart=0
    https://discussions.apple.com/thread/3042885?start=0&tstart=0
    http://www.reedcorner.net/news.php/?p=138

  • Hi there, I have MacBook Air (Mid 2012) with OSX 10.8.2. I want to update to latest OSX but it is saying that I need to first install MBA Flash Firmware Update 1.1. When I try to install this firmware, I am told I should have OSX 10.8.3,can some one help?

    Hi there, I have MacBook Air (Mid 2012) with OSX 10.8.2. I want to update to latest OSX but it is saying that I need to first install MBA Flash Firmware Update 1.1. When I try to install this firmware, I am told I should have OSX 10.8.3, Each one asking other to update first, can some one help me in this regard ?

    If you don't already have a current backup, back up all data, then reinstall the OS.* You don't need to erase the startup volume, and you won't need the backup unless something goes wrong. If the system was upgraded from an older version of OS X, you may need the Apple ID and password you used.
    If you use FileVault 2, then before running the Installer you must launch Disk Utility and select the icon of the FileVault boot volume ("Macintosh HD," unless you gave it a different name.) It will be nested below another icon with the same name. Click the Unlock button in the toolbar and enter your login password when prompted. Then quit Disk Utility to be returned to the main screen.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    If you installed the Java runtime distributed by Apple and still need it, you'll have to reinstall it. The same goes for Xcode.
    *The linked support article refers to OS X 10.9 ("Mavericks"), but the procedure is the same for OS X 10.7 ("Lion") and later.

  • 1 year experience in NetWeaver installations- Whats next ?? help needed..!

    Hi Gurus,
       Iam a BE graduate(electronics) and have been working in a small company  basically doing plain installation of Netweaver ,XI, ECC systems installations will little configurations.
    I feel there is no much future in this domain.
      I want to switch team or take other roles to help me reach my goal of becoming a <b>Funtional Consultant</b><u></u>..
    If I am given  a role of <b>funtional tester </b>will it be okay to take this role.. or a role in <b>support</b> will help me reach the goal.
    Please help me in this regard.!!
    PS: replies will be appreciated and rewarded...

    I agree with what you say about new technologies coming along but they will all need basis input to get them up and running.  Visual Composer isn't all it is cracked up to be (in my opinion) but that's a separate issue...
    Whilst I'm sure the E-SOA achitecture will enable functional people to implement some business logic I still believe there will be a large requirement for technical people - functional people will only be able to build fancy xApps based on underlying services which will still need to be built by a developer, on a system installed and configured by a basis person.  They won't be able to magic functionality up out of thin air!
    You're right that functional people have more exposure to business processes (development people do as well in my personal opinion - in 10 years I've worked as an ABAP developer, PP/MM functional consultant and more recently Web development (portals, Web dynpro, etc.) and all along I've gained wide business process experience with the benefit that I've worked in most of SAP's modules not just 1 or 2.)   I've kept up with most of SAPs new technologies but never had to unlearn anything - in fact most technologies serve as good foundations for newer solutions.  The trick is to keep learning!
    The key thing here for you is possibly your MBA desires - I'd say this leads more to you moving towards functional work as you will no doubt gain more relevant experience that will help your goals.
    My experiences have taught me a really good consultant has a good understanding of numerous areas of SAP and technical knowledge is always useful on a project regardless of the functionality being implemented.
    Hope this helps
    Gareth.

  • Hi help needed. Just updated my I phone 4 for first time since I bought it (I know, I know). Lost everything. What I really want back is my notes. Any ideas. Please. Somewhat desperate!!!!

    Help needed. Just updated my I phone 4 and lost all my notes, and no I didn't put them in the I cloud. Please help. Need those notes!

    You could always check to make sure itunes is updated to 10.7 but im sure gdgmacdude is
    right.
    thanks
    gdgmacdude
    Hey dude
    are there anymore hardware failure errors u know of
    im kinda a novice apple man and could use all the help i can get
    capp

  • Help needed to loadjava apache poi jars into oracle database.

    Help needed to loadjava apache poi jars into oracle database. Many classes left unresolved. (Poi 3.7, database 11.1.0.7). Please share your experience!

    Hi,
    The first 3 steps are just perfect.
    But with
    loadjava.bat -user=user/pw@connstr -force -resolve geronimo-stax-api_1.0_spec-1.0.jar
    the results are rather unexpected. Here is a part of the log file:
    arguments: '-user' 'ccc/***@bisera7-db.dev.srv' '-fileout' 'c:\temp\load4.log' '-force' '-resolve' '-jarsasdbobjects' '-v' 'geronimo-stax-api_1.0_spec-1.0.jar'
    The following operations failed
    resource META-INF/MANIFEST.MF: creation (createFailed)
    class javax/xml/stream/EventFilter: resolution
    class javax/xml/stream/events/Attribute: resolution
    class javax/xml/stream/events/Characters: resolution
    class javax/xml/stream/events/Comment: resolution
    class javax/xml/stream/events/DTD: resolution
    class javax/xml/stream/events/EndDocument: resolution
    class javax/xml/stream/events/EndElement: resolution
    class javax/xml/stream/events/EntityDeclaration: resolution
    class javax/xml/stream/events/EntityReference: resolution
    class javax/xml/stream/events/Namespace: resolution
    class javax/xml/stream/events/NotationDeclaration: resolution
    class javax/xml/stream/events/ProcessingInstruction: resolution
    class javax/xml/stream/events/StartDocument: resolution
    class javax/xml/stream/events/StartElement: resolution
    class javax/xml/stream/events/XMLEvent: resolution
    class javax/xml/stream/StreamFilter: resolution
    class javax/xml/stream/util/EventReaderDelegate: resolution
    class javax/xml/stream/util/StreamReaderDelegate: resolution
    class javax/xml/stream/util/XMLEventAllocator: resolution
    class javax/xml/stream/util/XMLEventConsumer: resolution
    class javax/xml/stream/XMLEventFactory: resolution
    class javax/xml/stream/XMLEventReader: resolution
    class javax/xml/stream/XMLEventWriter: resolution
    class javax/xml/stream/XMLInputFactory: resolution
    class javax/xml/stream/XMLOutputFactory: resolution
    class javax/xml/stream/XMLStreamReader: resolution
    resource META-INF/LICENSE.txt: creation (createFailed)
    resource META-INF/NOTICE.txt: creation (createFailed)
    It seems to me that the root of the problem is the error:
    ORA-29521: referenced name javax/xml/namespace/QName could not be found
    This class exists in the SYS schema though and is valid. If SYS should be included as a resolver? How to solve this problem?

  • Help needed to enhance Image Processor Pro Script to save transparency in TIF

    Hi everyone,
    this is my first post in this community.
    We have a droplet which reduces the resolution of tif images to 72dpi and save the tif image with transparency. This works fine, but it took to long for the whole process of many picture in different folders. That's the reason why we searched for another script which can preserve the folder structure and set the resolution of every tif image to 72dpi.
    We found Image Processor Pro, which does exactly what we needed. The script works perfectly in CS5 and CS5.5 as it saves the tif with the transparency. Those saved tif images could be used in InDesign with the transparency.
    BUT Image Processor Pro script works not so perfectly in CS6 as it seems that this option to save a tif with transparency is not implemented or does not work in the script. The result is that those converted tif images are w/o transparency in InDesign. That's a huge problem for us.
    This is the point where I need your help. Neither I have experience yet with jsx-files nor with the right syntax of it.
    Is there a way for anybody of you to implement / enhance Image Processor Pro so it will save tif with transparency?
    We used the latest German Version of Image Processor Pro: 2.3.1 (link: http://www.russellbrown.com/scripts.html)
    (The German version contains only german on screen texts!)
    I am very thankful for every help you can give.
    Thanks in advance for your help.

    Possible causes:
    1) It probably has nothing to do with your image files, but you won't know until someone else tests one of them. You could create a small 50% gray TIFF file with transparency and post it, assuming you know it exhibits the issue with IPP.
    2) At the download link you provided:
    http://www.russellbrown.com/scripts.html
    There are two installers for Image Processor (CS5 and CS6). Did you download and install the CS6 Version Installer?
    3) Another possible solution other than modifying the script is to reset the PS Preferences file. When strange things happen in PS with no explanation this usually fixes them. My PS CS6 was inflating  all new files by 1.4MB. After examining one of the files it turned out PS was inserting a Costco printer profile into every new file. So don't automatically assume your PS image files are not somehow being corrupted and causing loss of transparency in IPP. Creating a new Preferences file resolved my issue:
    http://forums.adobe.com/thread/375776
    You may want to record your old Preferences settings prior to creating a new one, but test it first with the default settings.

  • Interprocess Communication on same machine (Help needed)

    Hello everyone, I have a question that I thought you guys could help. Actually I have multiple processes running on a same machine and I want to put messages from one process to the queue of other process what is the best way to achieve this functionality in Java?
    Currently I'm working on C++(linux). I have a webservice and some TCP listener processes running on the same machine, and there is another process (i call it processing engine) running one the same machine. So everytime I receive the message from webservice or from TCP socket, I write those messages to the Queue of Processing Engine, and after processing that message my processing engine writes the reply to the queue of webservice/TCP (from wherever it received the message).
    I want to achive the same functionality in java. My messages are simple literals/string and I'll write all my processes (webservice/tcp/proc. engine etc) in java aswel.
    Secondly I want to process the messages according to FIFO.
    Your help will be appreciated.
    Thank you.
    Edited by: Nafri on Dec 3, 2009 11:02 AM

    Rahil.Ali wrote:
    What we are trying to accomplish is implement a transaction processing system...
    There will several processes working independently, but these processes will be sending messages to one another.. for example
    - a TCP process will read the message and translate it into our internal message format and send that formatted message to Processing engine..
    - TCP process will then wait for other message from the network..
    - Processing Engine will do its job and reply back to TCP process...
    We cannot incorporate all the business logic in one process .. since its too big...
    Why not? The first server should not involve that much processing. So only the second is the problem. And that is one server.
    And what is the actual performance metrics for a single server?
    For comparisons I usually use max 2000 txns a second. If you have a server that handles 100 txns a second then you need between 25-40 servers depending on the target box load and back up servers. That really isn't a lot of servers if you really are doing 2000 txns a second (and getting a reasonable per txn fee.)
    And I speak from some experience since I have been working on txn processing systems for years.
    But I can see the allure of thinking that the front end and back end make more sense. One real advantage is adding another front end (different protocol) without touching the current systems.
    Communications options that do work that way would normally be
    - messages via sockets
    - message queues.
    Remember JMS is an API not a solution so you for the second above you need to investigate solutions.
    I consider message queues more complex than sockets (message queues of course use sockets and provide more functionality so that is probably a reasonable view.) There have however been some impressive processing speeds reported for them. And getting that same throughput using sockets takes some work.
    For either solution spend some time building some non-trivial test setups to gauge real speed paying attention to what you expect your real production needs to be. Experience speaking there since what they claim and what one can actually do for a particular situation can vary.
    Keep in mind that a two server solution where you anticipate that the second server might be doing more work might suggest that you need to consider a cluster of second servers servicing the front end server. Either solution requires thought about that before implemetation proceeds.

  • Troubleshoting help needed:  My iMac keeps crashing and restarting with a report detail: "spinlock application timed out"  What can I do to fix this?timed out"

    Troubleshooting help needed:  My iMac keeps crashing and restarting with a notice: "Spinlock application timed out"  What can I do?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the page that opens.
    Select the most recent panic log under System Diagnostic Reports. Post the contents — the text, please, not a screenshot. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post shutdownStall, spin, or hang reports.

  • Help needed I have a canon 40D. I am thinking of buying a canon 6D.But not sure that my len

    Hi all help needed I have a canon 40D. I am thinking of buying a canon 6D.
    But not sure that my lenses will work.
    I have a 170mm/ 500mm APO Sigma.
    A 10/20 ex  Sigma   HSM  IF.
    And a 180 APO Sigma Macro or do I have to scrap them and buy others.
    ALL Help will be greatly received. Yours  BRODIE

    In short, I love it. I was going to buy the 5DMark III. After playing with it for a while at my local Fry's store where they put 5DMII, 5DMIII and 6D next to each other, using the same 24-105L lens, I decided to get the 6D and pocket the different for lens later.
    I'm upgrading from the 30D. So I think you'll love it. It's a great camera. I have used 5DMII extensively before (borrowing from a close friend).
    Funny thing is at first I don't really care about the GPS and Wifi much. I thought they're just marketing-gimmick. But once you have it, it is actually really fun and helpful. For example, I can place the 6D on a long "monopod", then use the app on the phone to control the camera to get some unique perspective on some scenes. It's fun and great. GPS is also nice for travel guy like me.
    Weekend Travelers Blog | Eastern Sierra Fall Color Guide

  • Help needed in constructing a tree

    Help needed in constructing a tree. I was wondering if some one can suggest me how to add messages in the second column for both the parent node and child elements.
    I was able to create a tree succefully, but want to add some description in the second column for the first column elements, for both parent and child elements.
    Please suggest me how to add the arrays to second column for parent and child nodes.
    Solved!
    Go to Solution.
    Attachments:
    Tree_fix.vi ‏15 KB

    The Child Text parameter is the one you are searching for. It accepts a 1D string array for the following columns.
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Help needed for using BASIC authentication through JDBCRealm

    Help needed.
    Hello,
    I am doing a degree project, so far it works fine in my local machine, I need to try it on my virtual hosting (as it is a live server).
    My project requires JDBCRealm, that is BASIC authentication loading access data from mysql database. Normally this setup can be done in Server.xml file, because my Tomcat hosting is a virtual one, I only have permission to access the web.xml file.
    My question is: is it possible to get it done in an alternative way? In web.xml? Some properties file maybe?
    Thank you very much.

    You can set this up for your context using META-INF/context.xml instead of working with server.xml.
    Make a directory called META-INF under your webapp ( it'll be at the same level as WEB-INF ). Under this, add a context.xml with all your context specific configuration including the realm. A sample is below
    <?xml version="1.0" encoding="UTF-8"?>
    <Context path="/myApp" reloadable="true">
        <Realm
            className="org.apache.catalina.realm.JDBCRealm"            
            driverName="com.microsoft.jdbc.sqlserver.SQLServerDriver"         
            connectionURL="jdbc:microsoft:sqlserver://127.0.0.1:1433;DatabaseName=myDB;SelectMethod=Cursor;"
            connectionName="username" connectionPassword="password"
            digest="MD5" userTable="users" userNameCol="userid" userCredCol="userpassword"
            userRoleTable="user_roles" roleNameCol="rolename"
        />
    </Context>Hope this helps.
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    ----------------------------------------------------------------

  • Help needed

    Help needed
    1. When we use USING clause in execute immediate does it hard parse ?
    2. Is it better to use values stored in SYS_CONTEXT or to use USING clause in Execute Immediate ?
    3. In Dynamic SQL, if i use SYS_CONTEXT does it Hard Parse or Soft Parse ?
    Edited by: Prathamesh on Jun 22, 2010 5:19 AM

    Prathamesh wrote:
    1. When we use USING clause in execute immediate does it hard parse ?Only the first time.
    2. Is it better to use values stored in SYS_CONTEXT or to use USING clause in Execute Immediate ?I think it depends, Tom would say the latter
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1669972300346534908
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1288401763279

  • Help needed by new Iphone 4s owner

    Help needed please - both my hubby and I have iphone 4s - I've just gone to download music onto my phone and have somehow managed to download all his stuff onto my phone and lost all of mine Is there anyway I can get my info back and delete his without restoring to back to factory settings (this was the first time I connected mine to the laptop to download and I'm not very good with the computer as you can see from my problem !) xx

    Thank you but I've not managed to download any I tunes yet but have got all his contacts and none of mine - thats what I'm trying to restore (sorry if not clear in question but as I said before I'm useless on computers)

  • URGENT HELP NEEDED ... Tomcat Realm and JRE1.4 plug-in problem

    I have tried the Security Realm of Tomcat. Since I do not have
    an LDAP server, I decided to use the Tomcat-users.xml file in
    Tomcat\conf directory.
    I added the following lines of code in the web.xml file.
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>Entire Application</web-resource-name>
    <url-pattern>/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <!-- NOTE: This role is not present in the default users file -->
    <role-name>webviewer</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>BASIC</auth-method>
    <realm-name>Tomcat Manager Application</realm-name>
    </login-config>
    The <role-name> "webviewer" is added into "Tomcat-Users.xml" as the following:
    <tomcat-users>
    <user name="test" password="password" roles="webviewer" />
    </tomcat-users>
    So, now when we type the url: http://localhost:8080/adbpdbre/default.htm, TOMCAT shows a dialog box asking for UserName: and Password:Now, only when we give the username and password, it shows the page. This is exactly what we want.
    But the problem now is, this default.htm page, has 5 links to 5 applets. The first time that I click on one of these links, the JRE plug of 1.4 shows a dialog again asking for the username and password. Till I dont provide the username and password the system doesnt go ahead and applet doesnt load. I do not want the JRE to ask me for the username/passwords again..How to avoid this ?
    Can you give me some more information on this. Ultimately in the production usage, we will be using LDAP and not Tomcat's memory realm.
    URGENT HELP NEEDED ... I need to get back to my client on this.
    Help would be v. much appreciated.

    In the config file, you 're essentially saying that you want Tomcat to prompt for usr/passw on every request (url-pattern = /*) made by a 'webviewer', and that's exactly what Tomcat is doing.
    Consider using specific url-patterns & roles for resources to be protected. If for now, all you need is to protect the first page, use a more specific url-pattern.
    Just an advice : if you'll be using LDAP in production, do not waste time with Tomcat's Security Realm and the BASIC authentication type, since the two have not much in common. Start reading doc on LDAP, and code a prototype, or even better, a vertical slice of the app (i.e a proof of concept).

Maybe you are looking for

  • Settlement of Internal order to Asset under construction (AUC)

    Hi, To All While settling an internal order to AUC through KO88 it shows already settled whereas the balance of the internal remains the same and while settling AUC the error shows "there is no line item". What can be the problem, why internal order

  • Does apple tv work with android tablets

    Does apple tv work with android tablets.

  • My Laser Jet P1102W is not printing

    Hi, My Laser Jet P1102W is not printing. I shut my computer off and then back on. Made sure that the cable of the printer is secure to the back of my computer, but it still does not print. Any other suggestions?

  • Preview.app selection dimensions?

    In Tiger (OS X 10.4), when I wanted to crop an image in Preview, I would make a rectangular selection by clicking and dragging. If I held down the Option key while doing so, a little window would appear next to my cursor that displayed the pixel dime

  • Editing a Smart Collection

    Is it possible to edit a smart collection after you initially create it?  Or is it something you simply have to create all over again if you want to add a search parameter to it? I have created 132 smart collections for a specific event.  One for eac