IPV6 statics and IP SLA
Hi,
I have a test setup working fine in general with IPV4/IPV6. However, I have one situation where I'd like to do what I do in IPV4 for IPV6
The situation is where an IPV4 SLA pings two IP addresses. Then there are two static routes tracking these two routes. Under certain failure conditions, the tested destinations disappear and the pings fail. The static routes disappear and a floating static on another router seen via OSPF takes over.
All this works well with IPV4.
I'd like to do the same in IPV6 but there is no equivalent to the
ip route x.x.x.x y.y.y.y z.z.z.z track N command
I have 12.4.22T and can configure the icmp echo tests fine and they go up/down correctly when the tested destination goes, but I can't configure the ipv6 static as there is no command:
ipv6 route x:x:x:x::/x z:z:z:z::z track N
Had a look round 15.2 code and still nothing.
Anyone know if this is coming ?
Or is there another way ?
Answered my own question. Found a link on a non-Cisco forum that said IPV6 static route track not yet there although on the list and referred to EEM as alternative.
So this is what I did - and it all works correctly.
#On c7200-adventerprisek9-mz.124-22.T4.bin
#First create tests that check the availability of something known via BGP.
#If BGP peering fails this goes away.
#There are two tests to BGP peer loopbacks for resilience
#since in this case there are two BGP peers
ip sla 3
icmp-echo FC00:1:11:115::1
timeout 1000
frequency 5
ip sla schedule 3 life forever start-time now
ip sla 4
icmp-echo FC00:1:11:115::2
timeout 1000
frequency 5
ip sla schedule 4 life forever start-time now
#Then setup some trackers against the SLAs.
track 3 ip sla 3 reachability
delay down 2 up 2
track 4 ip sla 4 reachability
delay down 2 up 2
#then set up 2 'down' handlers and 2 'up' handlers. The handlers add static routes if the BGP peers
#are up. The handlers remove if they are down letting OSPF (in this case) deal with an alternate.
#a syslog is sent to show the handler action.
event manager applet track_ipv6_test1_down
event track 3 state down
action 1.0 syslog msg "EEM applet track_ipv6_test1_down - removing ipv6 static track route 1"
action 2.0 cli command "enable"
action 3.0 cli command "conf term"
action 4.0 cli command "no ipv6 route fc00:1:12:48::/48 fc00:1:11:115::1"
event manager applet track_ipv6_test2_down
event track 4 state down
action 1.0 syslog msg "EEM applet track_ipv6_test2_down - removing ipv6 static track route 2"
action 2.0 cli command "enable"
action 3.0 cli command "conf term"
action 4.0 cli command "no ipv6 route fc00:1:12:48::/48 fc00:1:11:115::2"
event manager applet track_ipv6_test1_up
event track 3 state up
action 1.0 syslog msg "EEM applet track_ipv6_test1_up - adding ipv6 static track route 1"
action 2.0 cli command "enable"
action 3.0 cli command "conf term"
action 4.0 cli command "ipv6 route fc00:1:12:48::/48 fc00:1:11:115::1"
event manager applet track_ipv6_test2_up
event track 4 state up
action 1.0 syslog msg "EEM applet track_ipv6_test2_up - adding ipv6 static track route 2"
action 2.0 cli command "enable"
action 3.0 cli command "conf term"
action 4.0 cli command "ipv6 route fc00:1:12:48::/48 fc00:1:11:115::2"
Similar Messages
-
Static and dynamic multipoint ipv6 tunnel
Hi everybody.
How is everyone doing?
My book says " the dynamic forwarding logic requires more work per packet as compared to point-point tunnels which is one of the main reason multipoint tunnels are best used for less frequent traffic while point-to-point tunnels are best suited for more frequent traffic"
In case of multipoint ipv6 tunnel, router has to drive the tunnel destination ip which is encoded in ipv6 address . What other work is performed on a packet when it comes to multipoint ipv6 tunnel which is not performed in case of static ipv6 over ip tunnel ?
thanks and have a great dayHi Sarah,
Apart from "extracting" the embedded IPv4 address from the IPv6 address and placing it into a newly constructed IPv4 encapsulating header, I do not think there is any more significant work involved for multipoint tunnels. It is true that with static point-to-point tunnels, you can already have that header prepared beforehand in memory for all packets - you just use it again and again. With dynamic tunnels, you have first to derive the destination IPv4 address and then place it into a new IPv4 header but even this can be done in software so that the difference in the amount of work is negligible.
Best regards,
Peter -
IPv6 Network Management and IP SLA
Hi,
I have to plan a network infrastucture with MPLS-IPv4, IPv4 and IPv6 routing tables.
Since I have an hybrid network and dual stack IPv4/IPv6 routers I must manage both protocols for all boxes using SNMP and IP SLA.
Can the SNMP IPv4 traps from the router targeted to the network management station carry information about IPv6 interfaces ?
I found the IP SLA is supported in IPv6 networks for some measurements, is required IPv6 enabled on the IP connection between the management station and the responder?
Thanks
MassimilianoFirst, traps can be sent over IPv4 transport and contain IPv6-related varbinds. Second, I'm not sure I understand why you would need IPv6 enabled between the management station and the responder. The management station will only perform IP SLA configuration options on the IP SLA source device.
-
As the topic states, I can not setup a static IP to save my life. I've enabled ipv6, I have a hostname6.ce1 I put the hostname (madrid-ipv6) in the hostname6.ce1 file but it will not stay set.
I've tried the addif command, and it creates a logical interface, but I can't ping out with the address that is set.
I'm sure I am missing something, and I am new to Solaris. I've got ipv6 static addresses setup in linux with no problems. It's just Solaris 10 that is kicking my butt.
If anyone can point me in the right direction I would be in your debt.
Thanks!edit: To darren: I've tried that as well. When the system boots, it gives me the error: "Failed to assign ipv6 address to ce1" or something similar to that.
hmmm, I've tried that, it still doesn't seem to be working. Here is my hostname6.ce1 file:
madrid-ipv6
addif fd01::e2/64 up
this is the output of ifconfig -a6:
bash-3.00# ifconfig -a6
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
inet6 ::1/128
ce0: flags=2004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 2
inet6 fe80::203:baff:fe9b:92d/10
ether 0:3:ba:9b:9:2d
ce1: flags=2000840<RUNNING,MULTICAST,IPv6> mtu 1500 index 3
inet6 fe80::203:baff:fe9b:92d/10
ether 0:3:ba:9b:9:2d
ce1:1: flags=2000841<UP,RUNNING,MULTICAST,IPv6> mtu 1500 index 3
inet6 fd01::e2/64
and this is what I get when I ping fd01::f2:
bash-3.00# ping fd01::f2
ICMPv6 Address Unreachable from gateway fd01::e2
for icmp6 from fd01::e2 to fd01::f2
ICMPv6 Address Unreachable from gateway fd01::e2
for icmp6 from fd01::e2 to fd01::f2
ICMPv6 Address Unreachable from gateway fd01::e2
for icmp6 from fd01::e2 to fd01::f2
I've got to be missing something. This is all on a private switch that doesn't need to connect to the net. I need to connect an iscsi VTL to this sun system but the first step is to be able to ping the damn thing. I've checked the networking to make sure everything is connected. I can ping the VTL using IPV4, but not IPV6. I've checked on a linux system and it can ping the VTL over IPV6 so I know it is setup properly. This is just driving me nuts.
Edited by: jonwheeler on Sep 11, 2008 9:47 AM -
I have a Swann Communication security camera system with their DVR8-4000 hooked to an IPv4 router, connected to the Internet using the new HughesNet Gen4 service.
The Swann DVR wired to my router requires a static IP address. HughesNet Gen4 is implemented with IPv6 and I am told that it does not accommodate an IPv4 type static address.
I have discussed the issue with both company’s technical support. HughesNet Gen4 reps recognize the issue and may support static addressing in the future, but not now. Swann reps will not modify their implementation because of the relatively small Gen4 market. The Swann rep suggested that replacing my IPv4 router with an IPv6 router might resolve the “static IP address” issue.
I am looking at several Linksys IPv6 routers including the EA4500 SMART WiFi Wireless Router N900, but know too little about IPv4, IPv6 and router/static addressing to proceed unassisted.
I will be grateful for any guidance; including 1) can I implement a static address with an Linksys IPv6 router cdonnected to Gen4? 2) Which Linksys routers offer IPv6 support? 3) How does one go about setting an IPv6 static address using HughesNet Gen4 on a Linksys router?For your 1st question, the EA4500 does support manual ipv6 but only for 6rd tunneling. For your 2nd question, E4200 v1&2 and the EA series routers support ipv6. Last, for your 3rd question; as long as you have the 6rd tunnel settings from your ISP then you will be able manually set ipv6 on your router.
-
Credit Management: Difference Between Static and Dynamic Credit Check
Hi,
Could anyone tell the difference Between Static and Dynamic Credit Check?
According to website: http://www.sap-basis-abap.com/sd/difference-between-static-and-dynamic-credit-check.htm ... this is the answer:
====================
Simple Credit Check : Tr.Code - FD32
It Considers the Doc.Value + Open Items.
Doc.Value : Sales Order Has been saved but not delivered
Open Item : Sales Order has been saved , Delivered, Billed & Transfered to FI, but not received the payment from the customer.
Static Credit Check it checks all these doc value & check with the credit limit
1) Open Doc.Value / Sales Order Value : Which is save but not delievered
2) Open Delivery Doc.Value : Which is delivered but not billed
3) Open Billing Doc.Value : Which is billed but not posted to FI
4) Open Item : Which is transfered to FI but not received from the customer.
Dynamic Credit Check 1) Open Doc
2) Open Delivery
3) Open Billing
4) Open Items
5) Horizon Period = Eg.3Months
Here the System will not consider the above 1, 2, 3 & 4 values for the lost 3 months.
====================
Question 1: Could you further explain the above information, if there is any?
Question 2:: What is the Tcode to customize settings of:
a) Simple Credit Check (isn't this same with b) below?)
b) Static Credit Check
c) Dynamic Credit CheckHi Tanish,
Diff between Static and Dynamic Filters.
Example One at report Level.
Create a variable for a Infoobject say ,Material .
1)In the Query Designer and if u restrict it to some 10 materials at query level, the report will display for only those 10 materials only.This is Static Filter.UR AHrdcoding it to those materials.You cant change them at Query Run time.i.e not changeable by user.
2)If u give the variable as input ,and when u run the query ,u can can choose the material,may 10 may be 1 or may 20 .It is dynamic.Changeable by user at run time
Example Two at DTP and Start Routine Level,say Document Type.
1)If u give filters in Start routine it is Static as u cannot change it in Production,not changeable by user.
2)f u give filters in DTP it is Dyanamic as u can change it in Production.U can give any doc type,Changeable by user at run time.
Hope it is Understood.
Rgds
SVU -
Perform static and dynamic check together on a customer?
Hello All,
Is it possible to perform static and dynamic check together on a customer?
I believe standard SAP does not allow both options together.
The scenario is: My client has customer who orders products 1 year in advance and create sales order with a future delivery date. The customer might have balance due on their account which is close to the credit limit. As a result the sale order should be blocked as if the automatic credit check is "Static". This would allow our customer service to call the customer and arrange for the payments.
Then 11 months later, a dynamic check should be performed on the customer to make sure the past due is under the credit limit. If the past due is over credit limit, the sales order must be blocked for delivery as if the credit check was "Dynamic" with 30 days horizon. This would again give our customer service time to settle the payment with the customer.
If anyone has implemented such a scenario, can you please give me an overview of how you did it?
Thanks very much in advance and Text Removed.
With Regards,
AM
Edited by: Lakshmipathi on Nov 13, 2010 9:23 AM
Please dont include this textStatic and Dynamic Cannot be Performed together. They are mutually exclusive events.
Credit check can be performed either at Sale order level or at Delivery / PGI Level.
FCV3 is a good report to see whether a customer would fail a credit check. ( suitable for your customer service )
Coming to your Point , Assuming that the customer is eligible for a Credit of 50 Lacs. Now the Customer has placed an order for 60 Lacs. We set the Customer credit checking at order level . The Customers Sale order would get blocked.
The Customer service will follow up for the payment and see to it that it is made. Assume the customer has made a payment for 70 Lacs.
Now let us have a look at the account statement of the customer.
Account Statement : Customer Cr : 70 Lacs. Dr : 0. ( because no delivery and invoice so far has been made )
So we are supposed to deliver the Material worth value of 60 Lacs.
The First sale order worth 60 Lacs has been unblocked in VKM3. Now at the time of Delivery level why would you want to chekc the Credit limit again ? It has already passed the credit check.
It is not necessary to check credit limit . Because you have already performed the same at the order level.
Now the customer has come again and raised another sale order for 80 Lacs. The System would block him.
The system will never block the Previous delivery which you are, due for delivery to the customer.
If we keep on checking the Credits without delivering we would end up only raising in Sale orders and no Delivery to the Customer at all. The Debit side of his account will always be 0.
So i donot think Static and dynamic is needed . you can go for either Static or Dynamic. -
How to resolve an issue of static and popping noises on my iPhone 4S?
I just begAn to experience static and popping/crackling noises when on a call. This doesn't happen on speakerphone. I have had the phone for 13 months.
Hi Tin Knocker,
Thanks for visiting Apple Support Communities.
If you've started to hear static or crackling through your iPhone speaker, the troubleshooting steps in this article can help:
iPhone: No sound or distorted sound from speaker
http://support.apple.com/kb/ts5180
Cheers,
Jeremy -
Mixing static and dynamic content in a single outputText value causes NPEs
Hi,
I am having a problem and I'm wondering if it is a result of my error or if this is a bug.
I am mixing dynamic and static content in the value attribute of tags (e.g., outputText). On initial page load, everything works fine. However, if the same view is reloaded (e.g., after a failed validation) I get an NPE from JSF:
[#|2006-10-24T08:49:03.756-0500|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=12;|StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception
java.lang.NullPointerException
at com.sun.faces.el.MixedELValueParser.getNextToken(MixedELValueParser.java:140)
at com.sun.faces.el.MixedELValueParser.parse(MixedELValueParser.java:123)
at com.sun.faces.el.MixedELValueBinding.getValue(MixedELValueBinding.java:60)
at javax.faces.component.UIOutput.getValue(UIOutput.java:147)
at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:82)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:201)
at com.sun.faces.renderkit.html_basic.LabelRenderer.encodeBegin(LabelRenderer.java:128)
at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:683)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:443)
at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:445)
at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:130)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:445)
at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:445)
at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:130)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:445)
at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:609)
at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:546)
at com.sun.faces.taglib.html_basic.PanelGridTag.doEndTag(PanelGridTag.java:460)
at org.apache.jsp.registration_jsp._jspx_meth_h_panelGrid_0(registration_jsp.java:324)
at org.apache.jsp.registration_jsp._jspx_meth_h_form_0(registration_jsp.java:223)
at org.apache.jsp.registration_jsp._jspx_meth_f_view_0(registration_jsp.java:157)
at org.apache.jsp.registration_jsp._jspService(registration_jsp.java:118)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at sun.reflect.GeneratedMethodAccessor188.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:482)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:417)
at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:80)
at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:95)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:313)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:326)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:132)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:194)
at sun.reflect.GeneratedMethodAccessor202.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)My code looks like this:
<h:outputText escape="false"
value='<link href="#{myBean.styleSheet}" rel="stylesheet" type="text/css" />' />If I replace this with a much more convoluted set of tags, it works:
<h:outputText escape="false"
value='<link href="' /><h:outputText escape="false" value="#{myBean.styleSheet}"
/><h:outputText escape="false" value='" rel="stylesheet" type="text/css" />' />So is the problem that I am mixing dynamic and static content with a single value? If so, why does it work on the first view, and not after?
If it matters, I'm using the reference implementation version 1.1 (as included with NetBeans 5.5RC2) on SuSE 10.0 w/ JDK 1.5_09.
Thanks,
BillYes, that's how I originally had it, but then changed it to the outputText approach since a single tag could do what I wanted, as long as I was allowed to mix static and dynamic content within a single value.
I think this is a bug in JSF 1.1, since if what I am doing is illegal, it should throw an exception on the first page view, not work on first view and throw an exception on subsequent views. I'm guessing that this has something to do with the fact that on first page view it only runs the restore view and render response JSF phases, while on subsequent requests all of the phases will be run, and it's in one of those other phases that the exception is thrown.
For now, multiple tags is the work-around, I guess.
Thanks,
Bill -
Purpose of declaring the method or class or static and as instance
what is the purpose of declaring a method in a class or the class itself as static.
Does it mean we cannot create a copy of that class or method if we declare it as static.
if so then why do they dont want that class to be created as a copy ?
Why do they want to declare a class as static
please provide some conceptual undersatnding regarding the static and instance class with one exampleStatic methods are often used for the implementation of utility methods. Please have a look at the class CL_ABAP_CHAR_UTILITIES for example.
You use the methods of this class in the same way as you would use a function in ABAP (like
LINES( itab )
). You use it in a static way because the functionality is always the same no matter in what context you are calling the function.
The purpose of instance methods is that their logic is in some way related to an attribute of the object instance that you use to call it.
For example, you create an instance of object PO (a purchase order) called MY_PO. Then the method
MY_PO->ADD_POSITION
would add a position to a concrete PO that has a unique number etc. But if the object has a static method DELETE_POSITION then it just deletes the current position of a PO, regardless on which concrete PO you are acting at the moment.
I hope this clarifies it for you.
Regards,
Mark -
Using iMac as external display from Macbook Pro flickers static and crackles.
I'm trying to use my iMac as an external display.
When I plug in my early 2011 Macbook Pro into my Mid 2010 iMac via a Belkin Mini DisplayPort to Mini DisplayPort, the iMac screen flickers with static and there's random crackling noises.
Weird thing is, when I try the same thing with a new Macbook Air, everything works perfectly!
Here's a quick video demonstrating what I'm talking about - http://youtu.be/xxTXVRffWwE
Are the two not compatible or do I just have a defective Macbook Pro? The Macbook Pro works fine with the Cinema Display I have in the office...Huh, It should work like this:
Target Display Mode: Frequently Asked Questions (FAQ) - Apple Support
iMac Model
Cable Supported
Port on Source Computer
iMac (27-inch Late 2009)
Mini DisplayPort to Mini DisplayPort
Mini DisplayPort or Thunderbolt
Actually that table seems illogical. The cable supported is mini to mini display but the port says "or Thunderbolt"
Does that seem contradictory to you? -
Selecting both static and dynamic values in a report.
Hello,
I am using the following LOV for a select list in a form based on another post (Re: Static and Dynamic LOV ordering
It is presenting five static values along with a dynamic LOV.
select d, r
from (select n, d, r
from (select 1 as n, 'NAME_A' d, 1 r
from dual
union all
select 1 as n, 'NAME_B' d, 2 r
from dual
union all
select 1 as n, 'NAME_C' d, 3 r
from dual
union all
select 1 as n, 'NAME_D' d, 4 r
from dual
union all
select 1 as n, 'NAME_E' d, 5 r
from dual
union all
select 2 as n,
(LNAME || ', ' || FNAME || ' (' ||
to_char(DOB, 'MM/DD/YYYY') || ')') display_value,
ID return_value
from my_name_table)
ORDER BY n, r asc)
The static display and return values do not exist in my_name_table, but the static return values are recorded in my_main_table when the user submits the form.
The tables look like this:
my_main_table:
record_id
name_id
my_name_table:
name_id
fname
lname
How can I present the display values associated with the static return values recorded in my_main_table along with the dynamic display values in a report? I am currently presenting the dynamic portion in a report using the following select statment:
select
(my_name_table.LNAME||', '||my_name_talbe.FNAME) AS Name
from my_name_table
WHERE my_main_table.NAME_ID = my_name_table.NAME_ID
I have the additional problem that the static return values are not in my_name_table so the join in the last statement will not find the static values in my_name_table.
Edited by: mterlesky on Feb 24, 2009 9:51 AM1. You will need to add an outer join to return all the values in the Main table.
2. Then decode the values for the static LOV.
Something like (this is not tested, but should give you the idea)
select
decode(my_main_table.NAME_ID,1,'NAME_A',2,'NAME_B',3,'NAME_C',4,'NAME_D',5,'NAME_B',(my_name_table.LNAME||', '||my_name_talbe.FNAME)) AS Name
from my_name_table
WHERE my_main_table.NAME_ID = my_name_table.NAME_ID(+)
This will all break if any of your static LOV ID values clash with your dynamic LOV ID values.
I am now going to give you a long lecture about hard coding values ..... ;)
Related info: http://simonhunt.blogspot.com/2009/02/how-to-cope-with-list-of-values-lovs.html
I hope that helps
Shunt -
Static and dynamic Relationships in PI 7.0
Hi,
We are trying to implement Static and Dynanic relationships in PI7.0 or PI7.1. I would like to know if any component in PI will support this functionality?
Your Help is appreciated!!!HI Venkat
What exactly you are trying to achieve let us know. This is not clear
Both PI version have lots of similarity and even they can work together in a single environment. But whats your requirement based on that we can help you.
Thanks
Gaurav -
how to add a scroll bar within a view window ?I want to display x and y axis outside the scoll window and keep those axis static and move the graph within scroll area
ananyaHey Ananya,
I believe what you want to do is possible, but it will not be
easy. If you want to add a scroll bar that will scroll the graph
back and forth but keep the axis set, you would want to add a
horizontal or vertical scrollbar. Then you would create an event
handler for the scroll event. You would have to manually plot
different data within this scroll event. Unfortunately, there is
not really a built in way to do this with the Measurement Studio plot
control.
Thanks,
Pat P.
Software Engineer
National Instruments -
how can i get the speakers to work properly, they have a lot of static and scratchiness coming from them?
I found my answer in this thread:
https://discussions.apple.com/message/16646999#16646999
Maybe you are looking for
-
My computer is stuck on the screensaver
All my screen shows is "loading pictures" and the rainbow wheel. I drained my battery but no luck. Took out my battery out and no go. What now?
-
Possible to add and persist elements in server config, for use by cons ext?
I'm considering what will be my obstacles if I try to write a console extension that we would use to view excerpts of an application log file, the application of which is deployed to each server in our domain(s). It doesn't log to the WebLogic server
-
Getting Error in Dashboard Execution
Hi all We are facing some problem while executing the dashboards, when we deploy the dashboards in the BO server in june-2011, it works fine till now. Now the problem with us is it showing error getDocumentInformation exception (Error :wis10901) But
-
Display In Between Prompts Value in Report Title
Hi All, I want to show the in between dashboard prompt value in Report. So that when user download the report he will come to know the date range. I have gone through the couple of links but it does not work. I tries the below one but when ever i am
-
Logic Crashing after three edits.... ??
Hi. I have been using Logic X to do a composition that cuts up heaps of audio (at the moment about 24 tracks) with 5-9 plug ins on each track. Logic keeps crashing every third movement of a piece of audio. I thought the memory might have been overloa