RFC with SAProuter-String?!
Hi,
well i am trying to set up a RFC Connection to a external 4.6c because i would like to send an IDoc into our XI. I have no clue if this will work, it seems not to work so I ask all of you if you could give me a hand to use the SAProuter-String inside a RFC-Connection.
I have the router-string, means the /H/Host/H/Service/H/ and also the IP-Adress of the 4.6c- System
Can u please help me?! best regards, Jens
btw, I already posted this question in the XI forum.
Hi Rolf,
well i can only say that we can connect with the SAP-Logon via SAProuter-String - yes. From Client-side i have no clue because i am no admin
Thx for your detailed description - it's the way i did it.
BUT: i have also the IP-Adress of the target 4.6c system. But where to add this IP.
<b>what i have in detail:
Connection type 3
/H/<ip of saprouter seen from source system>/S/3299/H/<ip of 2. saprouter seen from 1. saprouter>/S/3299/H/<ip of destination system seen from saprouter box>
/H/62.XXX.YY.232/S/3299/H/170.XX.YY.54/S/3299/H/170.56.XXX.80
IP-Adress 1. SAProuter: 62.XXX.YY.232
IP-Adress 2. SAProuter: 170.XX.YY.54
destination system: 170.56.XXX.80
</b>
To make it clear: from SAP-Logon everything works fine - but in RFC-Dest. the connection fails!!
Have u any idea what could be wrong? the user is able to connect to the system....
br, cheers, Jens
Similar Messages
-
How to remote connect from NWBC to r/3 with saprouter string
Hi Experts,
We've just installed and configure Business Client and succesfully login abap system, and i wonder is it possible to remote connect ERP 6.0 Abap system from Business Client via saprouter string,
Regards,Hi Atakan,
Did you solve the problem?. I need o do the same.
Regards,
Carlos. -
Hi Friends,
I want to establish a RFC connection to a system.
Normaly, then I logon to the destination system using the gui I have to provide a saprouter string like /H/123.23.22.222/H/.
So then I connect through rfc how can I provide the string.
Thanks in advance.
JimbobHi Jimbob,
Provide something like "/H/<sap_router_hostname>/S/sapdp99/H/194.39.131.34/S/sapdp99/H/oss001" string into target with sysnr "01". Don't forget to define "sapdp99" in your services file on the host, if it is not exist.
Best regards,
Orkun Gedik -
Calling RFC with webdynpro java (in NetWaver Dev.Studio)
Hi,
I have a RFC like below
FUNCTION ZSAP_X.
*""Local interface:*
*" IMPORTING
*" VALUE(USNAM) TYPE USERNAME
*" EXPORTING
*" VALUE(PWD) TYPE CHAR8
1-I want to write webdynpro java application to call RFC
2-Call RFC with USNAM parameter
3-Get PWD output parameter and write it's value into View TextInput field.
I wrote application but I did not get PWD (output parameter) value. I checked RFC running poreperly.I did not achieve to get PWD.
How can I do that?
Thanks.Hi Bala,
I checked RFC, it is running properly and getting the output value.
And I used command below, but it produces error
String X = wdContext.currentPWDElement().getpwd().toString();
Error:
java.lang.ArrayIndexOutOfBoundsException: -1
Thanks. -
[Table access] RFC with XML
Hi everyone,
The idea is to be able to read/write a table in the backend system (would it be R/3 or BW) from the Visual Composer.
In a first attempt, I managed to do it by creating 2 RFCs: one for reading the table, another for modifying it. It works quite well.
<u>Problem</u>
1) Let's say I want to do it for a large number of tables: Do I have to build as much RFCs as there are tables ?
In other words: Is there a way to do it generically ?
<i>-> I did it in BSP but it is much simple since we can use reference (TYPE REF TO DATA)</i>
<u>Bad idea</u>
1) Concatenate all fields in a string
-> Read: a lot of actions have to be performed to display the string in the tableview
-> Write: ok as long as there is only string fields but as soon as there is something else, it a nightmare
<u>Good Idea ?</u>
1) Let's use XML to wrap fields up. It will be quick and easy by using CALL TRANSFORMATION on the backend
<b>Question: How do we transform our XML to fit into the VC tableview ?</b>
Thanks in advance.
Best regards,
GuillaumeHi Guillaume,
I had the same problem a few months ago. There is no way to use a generic structure in VC. A workaround was my solution. I added a structure in SE11 with several strings. Each string for a column with values. This is not the best solution, but another isn't possible atm.
XML is an alternative, but I never read something about using it in VC with tables. I think there is also the problem with the generic structure. At designtime VC doesn't know the structure of the XML file. When you use queries you can use define/test data service -> execute -> generate for each model.
If somebody knows, if it is possible with XML, please give us a hint. I hope Mario will read this thread.
Best Regards,
Marcel -
Dear Team,
We are going to access sap from out side internet without using the office VPN or network.
Now I want to set SAP Router string thru which any person who wants to access our SAP system can do so without getting into our VPN or network. Basically people in Sales when they are at the customer sites.
My saprouter is working fine, as SAP can login to our systems.The NAT is completed so that does not seem any issue.
find the below is our configuration..
Our sap router has configured in SOLMAN SERVER.
For Solman server below are the IP:
132.147.166.3 Private IP for internal access
210.18.50.134Public IP address.
ROUTAB file is in the below path C:\usr\sap\saprouter.
Below is the content of ROUTAB file
SNC connection to and from SAP
KT "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 194.39.131.34 *
SNC connection to local system for R/3-Support
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 132.147.166.19 3202
Access from the local Network to SAP
P 192.168.. 194.39.131.34 3299
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 132.147.166.11 5631
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 132.147.166.11 23
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 132.147.166.19 3389
P * 194.39.131.34 3299
P "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" * *
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 132.147.166.7 3201
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 132.147.166.5 3200
KT "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 194.39.131.34 *
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 132.147.166.5 3389
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 132.147.166.7 3389
deny all other connections
D * * *
Now I want to access my production server with ip =132.147.166.11from outside .
So I had configured the below setting in Sap GUI .
Application server=132.147.166.11 [public ip of server where saprouter has installed]
SAProuter String=/H/210.18.50.134/S/3299
system id=ELP
system number=02
but when i click on login it is showing below error..
router permission denied(210.18.50.134 to 132.147.166.11 ,sapdp02
location =saprouter 38.10 ON 'SOLMAN'
relese=700
version=38
returncode=-94
counter=012
Is it nacessary to make any change in routab file , as net work admin is saying problem is from saprouter to production server
please help us for the same
Regards
Rabin Nayak
SAP Basis TeamDear Sourabh,
Thanks for your support, I am using /H/210.18.50.134/H/132.147.166.11/H/ for production server only
& /H/210.18.50.134/H/132.147.166.5/H/ for my developement server.
Please find the below is the Log of dev_rout file.
trc file: "dev_rout", trc level: 1, release: "700"
Mon Mar 29 10:51:26 2010
SAP Network Interface Router, Version 38.10
command line arg 0: saprouter
command line arg 1: -r
command line arg 2: -S
command line arg 3: 3299
command line arg 4: -K
command line arg 5: p:CN=SOLMAN, OU=0000849045, OU=SAProuter, O=SAP, C=DE
SncInit(): Initializing Secure Network Communication (SNC)
PC with Windows NT (mt,ascii,SAP_UC/size_t/void* = 8/32/32)
SncInit(): Trying environment variable SNC_LIB as a
gssapi library name: "C:\usr\sap\saprouter\sapcrypto.dll".
File "C:\usr\sap\saprouter\sapcrypto.dll" dynamically loaded as GSS-API v2 library.
The internal Adapter for the loaded GSS-API mechanism identifies as:
Internal SNC-Adapter (Rev 1.0) to SECUDE 5/GSS-API v2
main: pid = 5260, ppid = 0, port = 3299, parent port = 0 (0 = parent is not a saprouter)
reading routtab: './saprouttab'
ERROR => invalid token (p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE) in IPadr-string, skip line 11 [nirout.cpp 8585]
Mon Mar 29 10:56:20 2010
checkRoute: route not permitted (15)
ERROR => NiRClientHandle: NiRExRouteCon for C1/-1 'mail.supremegroup.co.in' failed (rc=-94) [nirout.cpp 2243]
Mon Mar 29 10:56:44 2010
checkRoute: route not permitted (15)
ERROR => NiRClientHandle: NiRExRouteCon for C1/-1 'mail.supremegroup.co.in' failed (rc=-94) [nirout.cpp 2243]
Mon Mar 29 11:25:43 2010
checkRoute: route not permitted (15)
ERROR => NiRClientHandle: NiRExRouteCon for C1/-1 '210.18.50.134.sify.net' failed (rc=-94) [nirout.cpp 2243]
I had addedd another twolines in my routab file as below mentioned Hilited mark.
SNC connection to and from SAP
KT "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 194.39.131.34 *
SNC connection to local system for R/3-Support
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 132.147.166.19 3202
Access from the local Network to SAP
P 192.168.. 194.39.131.34 3299
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 132.147.166.11 5631
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 132.147.166.11 23
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 132.147.166.19 3389
P * 194.39.131.34 3299
P "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" * *
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 132.147.166.7 3201
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 132.147.166.5 3200
KT "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 194.39.131.34 *
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 132.147.166.5 3389
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 132.147.166.7 3389
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 132.147.166.5 3299
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 132.147.166.7 3299
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 132.147.166.11 3299
deny all other connections
D * * *
P * * *
I had checked my Public Ip already registered with SAP,still i am getting same error at time of login.
Regards
Rabin
Edited by: RABIN-SAP BASIS on Mar 29, 2010 8:03 AM -
Error connection with SAPRouter of RAC Service
Good Morning Experts, I propose my scenario.
I use RAC Service to connect with ICC test System. I must test XI-Content for NW-XI-CNT certification.
I have to use SAPGUI for Java to configure NX7 System and backend system.
My laptop is in lan that is protected by Firewall.
I've installed SAPRouter 7.00 (NI=38 - Version=10), I've done some test of connection and all is correct!
RAC Support had sended credentials of systems and SAProuter String.
This string is "/H/[your_server]/S/[your_port]/H/155.56.49.28/H/";
your_server = this is a private ip of server with my SAPRouter, when i execute an connection attempt this ip is changed with official public ip of my company;
your_port = is default 3299 (like recommendation) ;
if use this string via SAPGUI, this error is generated:
java.lang.Exception: Error: hostname ' ' unknown
Location: SAProuter 39.1 (SP3) on 'ld8360'
Wed May 6 16:49:41 2009
Release 710
Component NI (network interface), version 39
rc = -93, module nixxhsl.cpp, line 233
Detail NiHsLGetNodeAddr: hostname cached as unknown
at: com.sap.platin.r3.protocol.ni.GuiNiNetConnection.processOpenRequest(GuiNiNetConnection.java:329)
at: com.sap.platin.r3.protocol.ni.GuiNiNetConnection.handleOpenRequest(GuiNiNetConnection.java:158)
at: com.sap.platin.base.connection.GuiConnection.processCreateReply(GuiConnection.java:508)
at: com.sap.platin.base.connection.GuiConnection.handleCreateReply(GuiConnection.java:480)
at: com.sap.platin.r3.protocol.ni.GuiNiNetConnection.handleCreateRequest(GuiNiNetConnection.java:148)
at: com.sap.platin.base.connection.GuiConnection.open(GuiConnection.java:351)
at: com.sap.platin.base.application.GuiApplication.createConnection(GuiApplication.java:798)
at: com.sap.platin.base.logon.GuiLogonFrame.doConnect(GuiLogonFrame.java:838)
at: com.sap.platin.base.logon.util.SystemList$SymListener.mouseClicked(SystemList.java:1199)
at: java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
at: java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
at: java.awt.Component.processMouseEvent(Unknown Source)
at: javax.swing.JComponent.processMouseEvent(Unknown Source)
at: java.awt.Component.processEvent(Unknown Source)
at: java.awt.Container.processEvent(Unknown Source)
at: java.awt.Component.dispatchEventImpl(Unknown Source)
at: java.awt.Container.dispatchEventImpl(Unknown Source)
at: java.awt.Component.dispatchEvent(Unknown Source)
at: java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at: java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at: java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at: java.awt.Container.dispatchEventImpl(Unknown Source)
at: java.awt.Window.dispatchEventImpl(Unknown Source)
at: java.awt.Component.dispatchEvent(Unknown Source)
at: java.awt.EventQueue.dispatchEvent(Unknown Source)
at: com.sap.platin.micro.event.GuiEventQueue.dispatchEvent(GuiEventQueue.java:73)
at: java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at: java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at: java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at: java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at: java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at: java.awt.EventDispatchThread.run(Unknown Source)
I've debugged connection attempt, my request is arrived to SAPRouter of RAC Service.
In other connection attempt I've appended information of NX7 server to SAProuter string.
SAProuter string: "/H/[your_server]/S/[your_port]/H/155.56.49.28/H/[server_nx7]".
I saw this error:
java.lang.Exception: Error: ld8360: route permission denied ([my_public_ip] to [server_nx7], sapdp00)
Location: SAProuter 39.1 (SP3) on 'ld8360'
Wed May 6 17:02:06 2009
Release 710
Component NI (network interface), version 39
rc = -93,
at: com.sap.platin.r3.protocol.ni.GuiNiNetConnection.processOpenRequest(GuiNiNetConnection.java:329)
at: com.sap.platin.r3.protocol.ni.GuiNiNetConnection.handleOpenRequest(GuiNiNetConnection.java:158)
at: com.sap.platin.base.connection.GuiConnection.processCreateReply(GuiConnection.java:508)
Can someone give me some advice?
Edited by: m.genova on May 6, 2009 6:06 PMI've resolved the problem, the key of problem is SAProuter String.
SAPRouter String is used only for routing phase.
It needs aappend another string to SAPRouter String to connect with AS or Exchange infastructure correctly.
Complete String = SAPRouter String + "[server]/S/32[SystemNumber]"
in case of connection with nx7 system:
"/H/[your_server]/S/[your_port]/H/155.56.49.28/H/[server_nx7]/S/32[SystemNumberNX7]".
Bye
Edited by: m.genova on May 7, 2009 12:18 AM -
SharePoint 2013 List View with query string filter stops working after editing view from browser
I have created one list definition in which I have added one list view which will filter data from query string paramater
So when I am creating list from my list definition, view with query string filter is working fine.
But when I am modifying view from UI(I am not changing any thing , just opening "Modify View" page and then click on "Save" button), view gets stop working means it's not filtering data based on query string
Any suggestion what I am missing?
Below is my list view schema
<View BaseViewID="11" Type="HTML" TabularView="FALSE" WebPartZoneID="Main" DisplayName="$Resources:OIPLBScoreCard,viewFilterTasksByTarget;" MobileView="True" MobileDefaultView="False" Url="FilteredTasks.aspx" SetupPath="pages\viewpage.aspx" DefaultView="FALSE" ImageUrl="/_layouts/15/images/issuelst.png?rev=23">
<Toolbar Type="Standard" />
<ParameterBindings>
<ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
<ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
<ParameterBinding Name="TargetId" Location="QueryString(TargetId)" />
</ParameterBindings>
<JSLink>hierarchytaskslist.js</JSLink>
<XslLink Default="TRUE">main.xsl</XslLink>
<JSLink>clienttemplates.js</JSLink>
<RowLimit Paged="TRUE">100</RowLimit>
<ViewFields>
<FieldRef Name="Body"></FieldRef>
<FieldRef Name="Title"></FieldRef>
<FieldRef Name="StartDate"></FieldRef>
<FieldRef Name="DueDate"></FieldRef>
</ViewFields>
<ViewData>
<FieldRef Name="PercentComplete" Type="StrikeThroughPercentComplete"></FieldRef>
<FieldRef Name="DueDate" Type="TimelineDueDate"></FieldRef>
</ViewData>
<Query>
<Where>
<Eq>
<FieldRef Name="oipscTargetLookup" LookupId="TRUE"/>
<Value Type="Lookup">{TargetId}</Value>
</Eq>
</Where>
</Query>
</View>
I have one lookup field from "Target List" in my source list and I want to filter data based on that lookup field.Hi JayJT,
The Miscellaneous is located in the contact list that you used for the connection.
So , you need to edit the page, then edit the contact list that you used, in the web part properties of the contact list, you will find Miscellaneous, then expand it and select ‘Server Render’ .
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support -
File to RFC with multiple records using BPM Scenario Error...!!!
Hello Guru's,
I have done the File to RFC with multiple records using BPM scenario as per the Materiel available in the sdn.sap. This involves BAPI (BAPI_MATERIEL_AVAILABILITY). I have done exactly the same what is their in the materiel. SXI_CACHE is also giving return value " 0 ". File is getting deleted from the source directory, but no file in target directory. SXMB_MONI is also showing no error (black Flag). BPM is also error free. Checked the interfaces also.
Can any one tell me what mistake would i have done.
Thanks in advance.Hi,
There is one similar discussion I found,
FTP TO RFC using BPM
Thanks
Swarup -
Call RFC with DLL created with DCOM CONNECTOR
I try to call a RFC with a DLL that i created with the SAP R/3 DCOM CONNECTOR (Release 4.5.B):
My external soft calls the DLL, which calls the RFC, which calls a transaction (Call Transaction Mode N, Update S)...
When i test the RFC in SAP (SE37), it's OK.
But when i call the RFC with my soft (and with the DLL), the Call Transaction returns sy-subrc = 1.001 (the methode "AdviseRfcGuiSink" included in the DLL allows me to launch the debugging with my external soft).
I found no SAP notes about this problem.
If you met the same problem, could you help me ?
Thanks.
Julien.Some Years later I have the same Problem.
As discripet in the post before - first I've got an error in the Method "CreateNewRow()" where the Method wants to return "return new byte[]()". Well I don't know why the .Net-Connector creates that code - but it looks strange to me.
The origin Code is:
/// <summary>
/// Creates an empty new row of type byte[].
/// </summary>
/// <returns>The newbyte[].</returns>
public override object CreateNewRow()
return new byte[]();;
With Changing that method I've got the same Error as in the post before:
System exception thrown while marshaling RFCTYPE_XMLDATAto .NET type.
Does someone has found a solution for that kind of Problem? -
Sling mapping issue with Query String
For a button component, URL behaves differently with query string. Please let me know the sling mapping example for query string.
Button component behavior across env:-
Working Scenario:-
- In Author edit mode, URL pointing to "/content/<websitelink>"
- In Author preview mode shows URL "<host>:<port>/content/<websitelink>.html"
- In Publisher mode shows URL, "<host>:<port>/<websitelink>", we do not want "/content" before website link so it is fine.
Failure Scenario with query string:-
- In Author edit mode URL pointing to "/content/<websitelink>?username=han"
- In Author preview mode with URL "<host>:<port>/content/<websitelink>?username=han"
- In Publisher mode, <host>:<port>/content/<websitelink>?username=han - Here we see the content, which is not acceptable in our scenario.
Please let me know the mapping changes when we have a URL with query string.1) I assume you configure as per the rules mentioned in http://sling.apache.org/site/mappings-for-resource-resolution.html --> 'Mapping Entry Specification' under /etc/map. Based on the configuration in /etc/map and the website that we publish, it translates and shows all the applicable combination in the Felix console http://<host>:<port>/system/console/jcrresolver.
2) How does Adobe CQ 5.4 resolve the right mapping, if we have multiple map folder like below in /etc directory with the same website with different rules.
etc/map --> http --> <website> with property sling:match, sling:internalRedirect
etc/map.publish --> http --> <website> with property sling:match, sling:internalRedirect
etc/map.publish-stag --> http --> <website> with property sling:match, sling:internalRedirect
Kindly clarify. -
How to replace a particular striing with another string in jtextpane
how to get replace a particular string with another string of a jtextpane without taking the text in a variable using getText() method .
Thanks for your answer,
"relevant object" means for you datasources, transfer rules and transformations ?
With the grouping option "Save for system copy" I can't take easily all datasources, and others objects
Will I have to pick all object one by one ?
What would be the adjustement in table RSLOGSYSMAP ? For the moment it's empty.
Regards
Guillaume P. -
Problem with output string to command
hey i have no idea why this aint working
its a simple output string to command.
what it is supposed to do is make a new directory given by the input string
e.g. mkdir /home/luke/dep
thanks for the help
//methods input save files
saveFile = JOptionPane.showInputDialog("Save Files To : ");
//method command for saving files
//Stream to write file
FileOutputStream fout;
try { Process myProcess = Runtime.getRuntime().exec("mkdir" + saveFile );
InputStreamReader myIStreamReader = new InputStreamReader(myProcess.getInputStream());
fout = new FileOutputStream ("file.txt");
while ((ch = myIStreamReader.read()) != -1) { new PrintStream(fout).print((char)ch); } }
catch (IOException anIOException) { System.out.println(anIOException); }What you fail to understand is that "aint working" and "Problem with output string to command" tells us absolutely squat about what your problem is. This is the same as saying to the doctor "I'm sick" and expecting him to cure you. As mentioned by Enceph you need to provide details. Do you get error messages? If so post the entire error and indicate the line of code it occurs on. Do you get incorrect output? Then post what output you get, what output you expect. The more effort you put into your question the more effort others will put in their replies. So until you can manage to execute a little common sense then the only responses you will get will be flames. Now is your tiny little brain able to comprehend that?
-
Comparing string delimited by semicolon in a column with another string
Hi
I have requirement like comparing a column which contains the string delimited by semi colon with a string delimited by semicolon. i.e. comparing the multiple values with multiple values.for this purpose i am using the following code
select ams.application_id,it_mgmt_chain
FROM tb_ams038_application ams,THE
(SELECT CAST
(Appmgmt_Str_To_Table
(NVL (ams.it_mgmt_chain,
) AS appmgmt_tabletype_string
FROM DUAL
AND (COLUMN_VALUE IN ( SELECT COLUMN_VALUE
FROM THE
(SELECT CAST
(Appmgmt_Str_To_Table
(nvl(NVL (replace('1234;8383;83939;93939',',',';'),
ams.it_mgmt_chain
) AS appmgmt_tabletype_string
FROM DUAL
here in the above it_mgmt_chain has the string containing numbers seperated by semi colon. and the Appmgmt_Str_To_Table function used to split the string and return it in the form of list. and appmgmt_tabletype_string is a varray which is created for spliting and storing purpose.
Can anyone please suggest the best way to do this task as the above code is giving a performance issue.This example uses a "|" not a semicolon but it leverages the REGEXP_SUBSTR, SUBSTR, LENGTH to perform a parsing action.
http://blog.mclaughlinsoftware.com/plsql-programming/a-result-cache-function-returning-a-collection/
You may wish to remove the "THE" and replace it with "TABLE" too. Good luck. -
File uri with query string can't be propagated by desktop.browse()
I have been trying to show some help pages using the following command:
java.awt.Desktop.getDesktop().browse( helpURI);
while the helpURI.toString() prints out the following:
file:///C:/Share/Code/phoenix/Install/REDIST/Help_Files/en/wwhelp/wwhimpl/js/html/wwhelp.htm?context=BD&href=Chapter%202%20-%20Configuration.1.14.html
But when the getDesktop().browse() API is executed it will only propagate the uri-path and not the query string.
So the browser shows the following url as a result of the browse() call:
C:\Share\Code\phoenix\Install\REDIST\Help_Files\en\wwhelp\wwhimpl\js\html\wwhelp.htm
But if I manually copy the string "file:///C:/Share/Code/phoenix/Install/REDIST/Help_Files/en/wwhelp/wwhimpl/js/html/wwhelp.htm?context=BD&href=Chapter%202%20-%20Configuration.1.14.html" to the internet explorer it works fine.
So can somebody give me any guidance on how I can propagate the file uri with query string through the browse() API or is there a better API for that?
Sibon.The "cmd /S /C" suggestion didn't seem to work. I don't think the problem is in java but how the command line parameter needs to be added from msdos shell to "iexplore.exe"
When from the command line I enter the following command:
iexplore.exe file:///C:/Share/Code/phoenix/Install/REDIST/Help_Files/en/wwhelp/wwhimpl/js/html/wwhelp.htm?context=BD&href=Chapter%202%20-%20Configuration.1.14.html
I get the same result as invoking from java Desktop API --- it truncates everything from question mark. I tried palying around with double quotes, single quotes, escaping and nothing seem to work.
Any ideas?
Maybe you are looking for
-
HT1414 how do you reset your password if you have forgotten it
I am trying to restore my iphone3 everything ok till it asked for the password on my encryption i have forgotten it how can I restore my phones settings from the encrypted backup
-
I can't connect to the itunes store. I've tried everything in the articles for trouble shooting and nothing works. My library comes up, my ipod syncs, and I get no alert messages. I'm running Vista.
-
Unable to reverse Depreciation
Hi, We have created one asset in the year 2008, Month -- Sept. Our fiscal year starts and ends from Oct-Sept. So for this asset the first Acquistion was done on Sept 2008 which was the last period of our 2008. After this the depreication being po
-
Hi All, I am making some panels (3x3) which are draggable. When I drag a panel over another panel these two panels must swap from place. Therefore I use the DragManager. On the mouseMove event I call a method which does: if (_model.mouseIsDown) { var
-
PS Displaying Colors Oddly...
I can't seem to figure this out (ive done a couple hours of research on the subject via google). When I Save For Web the color shifts. It becomes more vibrant (which I would prefer...). I have reset the settings for photoshop followed by a uninstall/