on 08-24-2005 8:11 AM
Hi,
just want to let you know that there's some "practical info" about mapping looups on SDN
RFC API (an article which I posted a week ago)
together with siva's weblog (jdbc lookup) we have
quite nice collection for a start
/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
might be useful for "mapping lookups starters"
Regards,
michal
Hi Michal,
I found your article about the Lookup API and it was a really helpful start into the topic. However, the way the XML is composed in the function didn' please me at all.
So I took your approach forward and added some generic RFC-XML construction for certain situations (it's actually intended for simple mapping lookup RFCs that have a 'flat' structure and the result containing just one element - which I assume will the most common case) and also some generic retrieval of the result value and made it a function in a Java Archive that can easily be called from a user-defined function, passing the relevant information as parameters - getting rid of the hard-coded stuff.
Now I thought it might be a good idea to share this function as addition to your article, but I'm not sure about the best way to do so - what would you suggest?
regards,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Michal,
I followed the steps in your weblog, created an archive and am using the function from a class in User defined function. This gives me a lookup exception at the statement
accessor.close();
-
Error while closing accessor Technical error when calling an adapter remotely. The HMI method with the ID close was called with an incorrect session status. The system accessor object is missing.
---
Any Idea about this problem?
Please note that the function does the intended task but the lookupexception occurs at this close statement.
Regards,
Yogeshwari Agashe
hello,
I read the article and it was very helpful.
but, i have a problem with other language than english.
i get the other language characters not as they appear in the SAP XI system (i get not recognized charcters).
Is there something i forgot to do?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.