Re-lookup possible ?
I have the following scenario:
A RMi Server bound to Registry and a client who has get the Remote Object via Lookup.
All works fine, but then the server was killed and restarted.
If the client calls now a method of the Remote Object a ConnectionError occurs.
How can I get the new Remote Object from the Server?
Regards,
Geri
I new lookup doesn't work.
I made a new lookup and get no error. But if I call a remote method a get a
ConnectionException. Any ideas?
Regards,
Geri
Similar Messages
-
Double lookup possible in ISE 1.2 ?
I want to do MAB on a certain SSID and authenticate and register devices used in the SSID.
I managed to do that. If not "RegisteredDevice" then redirect to a portal where users can login with AD account and register there devices.
After registration, the device MAC is added to "RegisteredDevices" and the endpoint is profiled.
The ISE database contains an endpoint profile and this profile contains the propertie "BYODRegistration" = yes and "PortalUser" = the AD account xxx@ADdomain.
Now i want to link the state of the AD account to the database. When the user account is locked/expired/disabled, the device should be refused.
I wonder if it is possible to do the following:
MAB authentication occurs -> lookup MAC address in Registered Devices (=OK), lookup "Portal User" of device -> Query AD for this user, get property "UserAccountControl". Based on this property, i can determine if account is still active. If yes -> allow access. If not -> refuse access, even if device is in "RegisteredDevices".
When i troubleshoot however, i notice that -when using MAB- ISE is trying the MAC address as username against AD and gets returned: "Unknown User", of course. Is there a way to use the linked "PortalUser" as username against AD instead of MAC address ?
[NOTE: i am fully aware that the proper way of doing this is through Client Provisioning and Certificates with a second SSID using 802.1x to authenticate certificates, but for now, i want to prevent pushing anything to the clients.......]Too bad.
I wish Cisco had implemented a property like this: RegisteredDevices:PortalUser:IdentityAccessRestricted
(i am assuming PortalUser is an AD account here). Maybe a PER can help..... -
Is is possibel to do an RFC Lookup from The Graphical Mapping?
Greetings,
While doing a message mapping I need to get the value from R3 system using an RFC, is it is possible ?Hi
we can do by using rfc look ups
Lookup in mapping is the feature provided by SAP to lookup the data in the target R/3 or DB systems with the API provided.
You need to write UDF in order to implement the API's provided by SAP.Consider the below example
VendorNumber-UDF--CURR
The scenario is legacy to SAP. The legacy system doesn't provide the currency details. But the target field need's to be populated with currency value.
"The business rules says there are values maintained in SAP Table where if you pass VendorNumber it will return thr currency to you"
So what you can do? You can write UDF implementing SAP Provided API's and do a lookup in the SAP System and get back the currency value and populate them in CURR field.
I hope it clears a bit.
Please find the below blogs
DB Lookup: /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
RFC Lookup:https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439
There are three types of look ups u can do
RFC look up
SOAP look up
JDBC look up
What is Lookup and why we need:
Within an XI mapping it is a common requirement to be able to perform data lookups on-the-fly. In particular, there may be a need to look up some data that is maintained in an R/3 application.
In the error handling topic we have seen the different validations which need to be performed on file. This can be done through Lookup.
Some use cases:
Look up material number from table MARA.
Look up cost center budget.
Look up employee information.
Look up unit-of-measure (UOM) information from table t006a.
Lookup for raising an alert.
The purpose of the lookup may be:
To perform application-level validation of the data, before sending it to the backend.
To populate fields of the XML document with some additional data found in the backend application.
This is a form of value transformation.
The "value mappings" offered by XI are not adequate in this case, since the data would have to be manually entered in the Integration Directory.
There are two ways in which we can do lookup:
Call lookup method from GUI mapping.
Call lookup method from XSLT mapping.
Lookup method from GUI mapping can be called using any of the following ways.
RFC lookup using JCO (without communication channel)
/people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
RFC lookup with communication channel.
/people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
Lookup using JDBC adapter.
/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
/people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
CSV file lookup.
/people/sundararamaprasad.subbaraman/blog/2005/12/09/making-csv-file-lookup-possible-in-sap-xi
Lookups with XSLT - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8e7daa90-0201-0010-9499-cd347ffbbf72
/people/sravya.talanki2/blog
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/05a3d62e-0a01-0010-14bc-adc8efd4ee14
DB lookup - /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
SOAP Lookup - /people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function
You can refer to these links.
/people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer Absolute stealer.
/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
For Java APIs and also here you can map that how many types of lookups are possible in XI.
http://help.sap.com/javadocs/NW04/current/pi/com/sap/aii/mapping/lookup/package-summary.html -
What is LookUp's in XI
Hi,
Within an XI mapping it is a common requirement to be able to perform data lookups on-the-fly. In particular, there may be a need to look up some data that is maintained in an R/3 application.
In the error handling topic we have seen the different validations which need to be performed on file. This can be done through Lookup.
Some use cases:
Look up material number from table MARA.
Look up cost center budget.
Look up employee information.
Look up unit-of-measure (UOM) information from table t006a.
Lookup for raising an alert.
The purpose of the lookup may be:
To perform application-level validation of the data, before sending it to the backend.
To populate fields of the XML document with some additional data found in the backend application.
This is a form of value transformation.
The "value mappings" offered by XI are not adequate in this case, since the data would have to be manually entered in the Integration Directory.
There are two ways in which we can do lookup:
Call lookup method from GUI mapping.
Call lookup method from XSLT mapping.
Lookup method from GUI mapping can be called using any of the following ways.
RFC lookup using JCO (without communication channel)
/people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
RFC lookup with communication channel.
/people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
Lookup using JDBC adapter.
/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
/people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
CSV file lookup.
/people/sundararamaprasad.subbaraman/blog/2005/12/09/making-csv-file-lookup-possible-in-sap-xi
thnx
Chirag -
Hi,
1) I need help regarding how to do value lookup in SAP XI.
2) My particular scenario includes a small list as well a long list. Is their a differnce in how i can eficiently do a value lookup based on whether it is short or long list.
Thanks,
KunalHi Kuna,
If the values have to be maintained by user then it's normally done in tables (any database)...and then within the message mapping by using function we can connect to databse for lookup (JDBC lookup).
You can also use value mapping if you are not looking at picking up values from application system.
It is just like your SM30 transcation.You can get the info under SAP XI->Design and Configuration->Configuration->Value Mapping.
If you are in SP13 you can use lookup API SAP XI->Design and Configuration->Design->Mapping look ups.
Also have look at these Blogs and threads...
/people/sundararamaprasad.subbaraman/blog/2005/12/09/making-csv-file-lookup-possible-in-sap-xi
/people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
JDBC Lookup
EJB Lookup
Re: RFC Lookup.
CSV File LookUp
I hope it helps...
Regards,
Abhy -
Possible values for WDY_ATTRIBUTE_FORMAT_PROP-DATE_FORMAT?
Hi,
where can I lookup possible values for formatting a date typed field using WDY_ATTRIBUTE_FORMAT_PROP-DATE_FORMAT?
I did not find any documentation so far.Same question here.
I have a field in webdynpro table of type domain TZNTSTMPL which is displayed as "06.12.2011 08:46:30,7730500". I want to format it like "06.12.2011 08:46:30" and thought it is maybe possible with something like:
data: LS_ATT_FORMAT TYPE wdy_attribute_format_prop,
LO_IF_SO_ITEMS TYPE REF TO IF_WD_CONTEXT_NODE_INFO.
LO_IF_SO_ITEMS->set_attribute_format_props( name = 'CREATED_ON'
format_properties = ls_att_format ).
So anyone has an idea which value for WDY_ATTRIBUTE_FORMAT_PROP-DATE_FORMAT are possible?
Thanks
Markus -
i wan to make a RFC call from my UDF, in a message mapping.....can u provide me sample blog for making call through lookup APIs
Hi Sudeep,
these may help you
/people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
database lookup
lookup jdbc in graphical mapping
Remote JDBC Connection Error
JDBC Lookup
http://help.sap.com/saphelp_nw2004s/helpdata/en/0f/f084429fb4aa1ae10000000a1550b0/frameset.htm
Also have look at these Blogs and threads...
/people/sundararamaprasad.subbaraman/blog/2005/12/09/making-csv-file-lookup-possible-in-sap-xi
/people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
JDBC Lookup
EJB Lookup
Re: RFC Lookup.
CSV File LookUp
Thanks,
Ram
Pls reward for useful answers -
what are look-up tables.....jena
some more links
Lookup method from GUI mapping can be called using any of the following ways.
RFC lookup using JCO (without communication channel)
/people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
RFC lookup with communication channel.
/people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
Lookup using JDBC adapter.
/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
/people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
CSV file lookup.
/people/sundararamaprasad.subbaraman/blog/2005/12/09/making-csv-file-lookup-possible-in-sap-xi
3.2 Call lookup method from GUI mapping:
The steps are as follows:
Develop and test ABAP function module.
Develop and test Java method within Integration Repository/message mapping tool.
refer the below ays of lookup:
Lookup - /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
DB lookup - /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
SOAP Lookup - /people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function
http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0
Lookups in XI made simpler - /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
How to check JDBC SQL Query Syntax and verify the query results inside a User Defined Function of the Lookup API -
http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
/people/prasad.illapani/blog/2006/10/25/how-to-check-jdbc-sql-query-syntax-and-verify-the-query-results-inside-a-user-defined-function-of-the-lookup-api
Lookups - /people/morten.wittrock/blog/2006/03/30/wrapping-your-mapping-lookup-api-code-in-easy-to-use-java-classes
Lookups - /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0/content.htm
/people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
Lookups with XSLT - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8e7daa90-0201-0010-9499-cd347ffbbf72
/people/sravya.talanki2/blog
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/05a3d62e-0a01-0010-14bc-adc8efd4ee14
Thanks
Swarup -
Sender File Adapter FCC to Hierarchial MT Coversion
Hi,
I have MT with structure as follows
Header 1..1
F1 string 1..1
F2 string 1..1
SUB 1 to unbounded
S11 string 1..1
S12 string 1..1
Can you anybody help me out how to convert the a CSV file to Convert the structure mentioned above using sender File Adapter FCC.
Regards,
Daniel.LAHi,
There is no suc h direct way to get the data from csv fiel with conversion.
Either you can use JAVA Mapping for it or use the adapter module to read csv files.
How to process CSV data with XI file adapter
/people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter
"JAVA MAPPING", an alternate way of reading a CSV file
/people/rahul.nawale2/blog/2006/07/18/java-mapping-an-alternate-way-of-reading-a-csv-file
There is one way that you could bypass IR (Integration Repository) for any type of files, see below link
/people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository
Making CSV File Lookup Possible In SAP XI !!!
/people/sundararamaprasad.subbaraman/blog/2005/12/09/making-csv-file-lookup-possible-in-sap-xi
This will help you
Thanks
Swarup -
Accessing a file in Imported Archive from Adapter module
Hi,
I am designing a module for File/FTP and Mail adapters. Is it possible to retrieve data from a CSV or TXT file uploaded in the Imported Archive from the Java code in the module? If this is possible, do I use the same approach as accessing the CSV data from the mapping using a UDF? If this is not possible, can you suggest other ways were I can access a CSV or TXT configuration file from an adapter module?
I would like to avoid using Module key, Parameter name and Parameter value as I would like to make the adapter module generic and the data I will be reading might be too much to be specified in this location. However, I would use the Module key, Parameter name and Parameter value to specify the CSV or TXT filename which the adapter module will be using.
Thanks in advance for any help that you can provide.
Regards,
ElbertImported archives are part of mapping flow and adapter modules are more part of routing. Therefore I don't think imported archive could be made accessible anywhere outside mapping.
but my CSV or TXT file would be updated regularly by the developer.
So were you planning to import this file again and again under imported archive? This doesn't seems to be a good solution when you think about changin Design part in Production environment. It would be better to give access to certain folder to developer to put the file there and access it using some code. You may refer this
/people/sundararamaprasad.subbaraman/blog/2005/12/09/making-csv-file-lookup-possible-in-sap-xi
Regards,
Prateek -
Hi all,
Can u please send me blogs of csv to file scenario.
Thanks in advanceHi Naveen,
Here u go,
/people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter
/people/rahul.nawale2/blog/2006/07/18/java-mapping-an-alternate-way-of-reading-a-csv-file
/people/kausik.medavarapu/blog/2005/12/29/csv-file-lookup-with-http-request-and-response-in-xi
/people/sundararamaprasad.subbaraman/blog/2005/12/09/making-csv-file-lookup-possible-in-sap-xi
CSV File Example
CSV file
<i>[Reward Points if helpful]</i>
Regards,
Prateek -
Duplicate checking based on the content of the incoming file
Hi,
We have a requirement where in we have to check whether a file has been duplicated or not based on the contents of an incoming file.The threads which I have seen in SDN deal with the duplicate checking based on the filename of the incoming file.
The incoming file has the following structure :
Recordset Occurance-1
|....... Idoc Occurance 1...unbounded
|...... segment Occurance 1
We are required to make a check based on certain fields which occur in the segment.There are about 4 fields which we will have to take from the incoming file and carry out the check.These 4 fields exist in different segments.We will have to update a ztable with these 4 fields and then perform an rfc lookup to check for the contents of the incoming files with this table,and reject or process the file based on whether the entries exist in the table or not.
Please let me know if there is any way this can be achieved.
Appreciate if anyone could help me on this.
Thanks and Regards,
IndujaSAP PI 7.1 Mapping Enhancements Series: Graphical Support for JDBC and RFC Lookups
Use this crazy piece for any RFC Mapping Lookups!
The specified item was not found.
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5877---- [original link is broken] [original link is broken] [original link is broken]
Imp
SAP NetWeaver Process Integration 7.1: Mapping Enhancements Blog Series
SAP PI 7.1 Mapping Enhancements Series: Mapping Enhancements Demo
/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
How to check JDBC SQL Query Syntax and verify the query results inside a User Defined Function of the Lookup API
The specified item was not found.
The specified item was not found.
Making CSV File Lookup Possible In SAP XI !!!
SAP PI 7.1 Mapping Enhancements Series: Parameterized Message Mappings
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1888-----Imp [original link is broken] [original link is broken] [original link is broken]
Triggering XI Alerts from a User Defined Function
Aspirant to learn SAP XI...You won the Jackpot if you read this!-Part II -
Required Java Code for Validation
Hello Everybody
I need a java Code To validate the value exist in system
For an user Defined Function.
System A value Need to Compare in System B.
IF the value exist in System B Then need to sent to System C.
early answer would be great
Regds
RajHI,
Lookup has to be use in this case.
Steps to be done:
1) Get the value from the file and pass that value to R3 system using JAVA lookup.
2) In R3 end under the function module write a code which checked the PO with the PO which is present in R3.
3) Return the value of the comparision to UDF and then pouplate the value in IDOC.
I hope this is what u want.
Lookup links are below:
Some use cases:
Look up material number from table MARA.
Look up cost center budget.
Look up employee information.
Look up unit-of-measure (UOM) information from table t006a.
Lookup for raising an alert.
There are two ways in which we can do lookup:
Call lookup method from GUI mapping.
Call lookup method from XSLT mapping.
Lookup method from GUI mapping can be called using any of the following ways.
RFC lookup using JCO (without communication channel)
/people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
RFC lookup with communication channel.
/people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
Lookup using JDBC adapter.
/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
/people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
CSV file lookup.
/people/sundararamaprasad.subbaraman/blog/2005/12/09/making-csv-file-lookup-possible-in-sap-xi
Call lookup method from GUI mapping: Use this for ur scenario:
The steps are as follows:
Develop and test ABAP function module.
Develop and test Java method within Integration Repository/message mapping tool.
Check this weblogs with some screenshots on how to achieve this:
/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
/people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
/people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
/people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
/people/morten.wittrock/blog/2006/03/30/wrapping-your-mapping-lookup-api-code-in-easy-to-use-java-classes
Thnx
Chirag -
Need Info regarding versions in XI
Hi experts,
How many versions are there in SAP XI..
currently i am working on SAP XI 3.0.
what is the difference between new 3.0 and new versions...
Thanks,
Swetha reddyNow the latest version is PI7.1 which contains below features,
JDBC and RFC Lookup possible through Graphical design. so no need to write java coding for jdbc and rfc lookup.
PI 7.1 consists of advanced adapter engine which bypasses to process messages & hence improves performance.
Integration Repository (IR) is called Enterprise Service Repository(ESR)
Introduced feature called Direct Connections, if you want to send some message with out mapping to some receiver.
Introduced Function Library to reuse Java objects in other namespaces.
Introduced MDM adapter with new features.
etc.
thanks,
madhu -
Accessing file in the MessageMapping/BPM
Hello Friends,
I need to fetch some data from the FTP server while processing the message.
e.g After I get a message from a input system; I need to go to get some corresponding details given in the file and based on that do some processing and send the response to the output.
Is there any way to get a connection to the FTC at the runtime from the MM or BPM ?
I have gone through the weblog /people/sundararamaprasad.subbaraman/blog/2005/12/09/making-csv-file-lookup-possible-in-sap-xi
But this is not feasible from my end.
Is there any other way to achieve this ?
Thanks for your help.
Pranav.can you change other idea?
actually,
why do not you fetch you file you want to get and the message which comes from your input system in bpm together firstly,
and then process them!
it is typicaly n:1 i.e collect message patten
you must get a file info during mapping?
Maybe you are looking for
-
I cannot update my apps in the app store because it asks me to sign in using an incorrect username account. The username in settings-general-apps is correct and the username on the App store page is correct. The only place it is incorrect is when I
-
I have recently bought a Macbook pro and have noticed that I am getting an electric current running up my fingers when using the track pad. This happens when it is charging but most worryingly it happens when it is not plugged in. It leaves me with p
-
How to run and displaying output of java file in jsp page ???
Hai, I am going to develop a website which would have everything about java. Example code displayed for all methods.Next to every Example i shoud have *"Run"* button. Click at Run button should compile the example and show the output or even error. E
-
Elements 13 does not recognise Epson Perfection 4990 photo scanner
I just installed Elements 13 (also have 11 and 12 installed). I have installed 13 as a 64 bit (windows 8), but cannot get it to recognize my Epson perfection 4990 photo scanner (or Perfect Effects 4, for that matter). Any ideas? I copied the PlugI
-
Cant find my pics from photostream in my icloud
The memory on my iphone 4 is running low, so i want to get the photos from my photostream out. I thought they automatically loaded into my icloud account but when i go there i do not see a folder for pictures. Anynone know what i am doing wrong?