Custom barcode component not working properly
package jpicedt.graphic.view;
import jpicedt.graphic.model.*; // all elements + drawing
import jpicedt.graphic.PECanvas;
import jpicedt.graphic.PicPoint;
import jpicedt.graphic.PicVector;
import jpicedt.graphic.PEToolKit;
import jpicedt.graphic.event.PEMouseEvent;
import jpicedt.graphic.event.DrawingEvent;
import jpicedt.graphic.jbarcodebean.*;
import java.awt.*;
import java.awt.font.*;
import java.awt.image.*;
import java.awt.geom.*;
import java.util.*;
import java.awt.image.BufferedImage;
public class BarcodeView extends AbstractView {
private PicPoint ptUL = new PicPoint(); // buffer
private PicPoint ptLR = new PicPoint(); // buffer
private Barcode barcode = null;
protected TextLayout textLayout;
protected AffineTransform tl2ModelTr=new AffineTransform();
* construct a new View for the given PicGroup
public BarcodeView(Element e){
super(e);
changedUpdate(null);
* Give notification from the model that a change occured for an element this view is responsible
* for rendering. This implementation update the view's bounds from the element's bounding box,
* delegating highlighter's bounds to the current Highlighter delegate..
public void changedUpdate(DrawingEvent.EventType eventType){
Rectangle2D oldClip = bounds;
// update bounds
bounds = element.getBoundingBox(null); // => null if branchElement is empty !
if (highlighter!=null) {
double s = 1.0;
PECanvas canvas = getContainer();
if (canvas != null) s=canvas.getScaleFactor();
highlighter.changedUpdate(eventType,s);
if (bounds!=null) bounds.add(highlighter.getBounds());
// if event == ADD/REMOVE/REPLACE child, don't bother, just repaint it all :
if (eventType==null || eventType != DrawingEvent.EventType.GEOMETRY_CHANGE) repaint(null);
else {
if (oldClip!=null) {
if (bounds!=null) oldClip.add(bounds);
repaint(oldClip);
else {
if (bounds!=null) repaint(bounds);
// else branchElement was empty, and is still empty : do nothing
* Render the View for the graphic element to the given graphic context. This called "paint"
* on each child's view if its bounds rectangle intersects the clip.
* @param allocation the current graphic clip
public void paint(Graphics2D g, Rectangle2D a){
if (!a.intersects(getBounds())) return;
Element be = (Element)element;
Barcode bar=(Barcode)be;
//bar.getBarcode()
//new JBarcodeBean(bar.getBarcode(), new Code39());
//System.out.println("in Barcodeview paint bar.getBarcode()=========="+bar.getBarcode());
System.out.println("in Barcodeview paint Graphics2D=========="+g);
System.out.println("in Barcodeview paint element=========="+be);
//for(Iterator it=be.children(); it.hasNext();){
View v = be.getView();
System.out.println("in Barcodeview paint view=========="+v);
//for(Iterator it=be.children(); it.hasNext();){
// View v = ((Element)it.next()).getView();
// if (v!=null) v.paint(g,a);
AffineTransform oldAT = g.getTransform();
// paint text in black
g.setPaint(Color.black);
// from now on, we work in Y-direct (<0) coordinates to avoid inextricable problems with font being mirrored...
//g.transform(oldAT); // also include rotation
try{
barcode=BarcodeFactory.create3of9("123456789012",true) ;
barcode.setBarHeight(100);
barcode.setBarWidth(100);
barcode.draw(g, 600,600);
}catch(BarcodeException bex){System.out.println("create barcode error:\n"+bex.toString());}
* @return a HitInfo corresponding to the given click-point in model-coordinate.
public HitInfo hitTest(PEMouseEvent e){
System.out.println("at barcodeview hitText");
PicPoint ptClick = e.getPicPoint();
// test hit on children, highlighted or not, from top to bottom :
BranchElement be = (BranchElement)element;
System.out.println("barcodeview hitText BrancheElement be="+be);
for(int i = be.getChildCount()-1; i>=0; i--){
Element o = be.getChildAt(i);
if (o.getView().hitTest(e,false)!=null) return new HitInfo.BarcodeComposite(be, i, e);
return null;
} // BarcodeView
So whats the question??? What is it supposed to do if it works properly
And by the way please put the code tags around your code (see Formatting help link on the page);
Similar Messages
-
Incompatibility for custom Report is not working properly
Hi Gurus,
Need your help to diagnose the issue here.
The problem here is as under
We have a custom report CP1 which fills a table T1 during the process (table is truncated in the begining of the procedure). This CP1 is set incompatible to itself so that table architecture will work properly.
but the problen here is the next run starts ( 2sec, 5 secs or 10 secs) prior to the actual completion of the last run.
the data is as
CONCURRENT_ REQUEST ACTUAL_START ACTUAL_COMPLETION_
PROGRAM_ID ID DATE DATE
138361 3033673 7/3/2012 10:31:46 AM 7/3/2012 10:57:13 AM
138361 3033671 7/3/2012 10:28:47 AM 7/3/2012 10:31:42 AM
138361 3033670 7/3/2012 10:25:22 AM 7/3/2012 10:28:48 AM
138361 3033669 7/2/2012 7:07:21 PM 7/3/2012 10:25:37 AM
138361 3033665 7/2/2012 7:05:10 PM 7/2/2012 7:07:15 PM
here as you see the req 3033670 starts @7/3/2012 10:25:22 AM whereas the req 3033669 ends at 7/3/2012 10:25:37 AM (though we have terminated the 3033669 ) similarly for 3033670 and 3033671.
the following query is giving 1 row
select * from FND_CONCURRENT_PROGRAM_SERIAL
where RUNNING_CONCURRENT_PROGRAM_ID = 138361 is
We have bounced the CM after setting the incompatibility as per the
Setting up Incompatibility Rules for Custom Reports [ID 107224.1] suggested by Hussein on this forum.
This is happening on our prod env. kindly suggest something.
We are on 12.1.1 (r12).
Thanks
-Shivdeep Singh
Edited by: user1054040 on Jul 2, 2012 10:58 PMHi Srini,
We have raised a SR with oracle for this it seems to be a bug in 12.1.1 release I will update the same once I got any fix or patch from oracle.
from the intial investigation it seems to be that the imcompatibility wit itself feature is not working as expected.
Also this is the latest case
CONCURRENT_
PROGRAM_ID REQUEST_ID ACTUAL_START_DATE ACTUAL_COMPLETION_DATE COMPLETION_TEXT
150364 3036174 7/3/2012 4:55:03 PM 7/3/2012 4:57:04 PM Normal completion
150364 3036178 7/3/2012 4:55:57 PM 7/3/2012 4:57:47 PM Normal completion
150364 3036181 7/3/2012 4:57:27 PM 7/3/2012 4:58:09 PM Normal completion
the request id 3036178 should have been started after the completion of 3036174 ie after 7/3/2012 4:57:04 PM but it actually starts 7/3/2012 4:55:57 PM
hope this give the better understanding for the scenario here.
Thanks
-Shivdeep Singh
Edited by: user1054040 on Jul 4, 2012 11:36 PM -
Custom component not working properly
Hi all - I am trying to create a custom component. I have followed the suggested MVC architecture, and created the following classes:
1. SuperLineModel (the MODEL)
2. SuperLine (the actual component,e.g. the CONTROLLER)
3. BasicSuperLineUI (the UI Delegate class, e.g. the VIEW)
4. SuperLineUI (an abstract type class for my UI Delegate)
I also have a fifth class that draws a frame and panel, and then adds the custom component to the panel. In the main method of this class, I
register the UI delegate like this:
UIManager.put(BasicSuperLineUI.UI_CLASS_ID, "com.volant.mapit.view.BasicSuperLineUI");Everything compiles without any problems, but the custom component is never painted for some reason. In fact, I added a print line to the UI delegates paint method just to see if it was ever called, and it wasn't. I know I'm missing something here, and it's probably something small. I'm hoping some of you Swing gurus can take a look at my code below and point out the problem for me.
I really appreciate any help you can give me. Thanks.
The classes are listed below:
// SuperLineModel
import javax.swing.*;
import javax.swing.event.*;
public class SuperLineModel
private double sourceXCoord = 0;
private double sourceYCoord = 0;
private double targetXCoord = 0;
private double targetYCoord = 0;
private EventListenerList listenerList = new EventListenerList();
public SuperLineModel()
public SuperLineModel(double sourceXCoord, double sourceYCoord,
double targetXCoord, double targetYCoord)
this.sourceXCoord = sourceXCoord;
this.sourceYCoord = sourceYCoord;
this.targetXCoord = targetXCoord;
this.targetYCoord = targetYCoord;
public void setSourceXCoord(double x)
this.sourceXCoord = x;
return;
public void setSourceYCoord(double y)
this.sourceYCoord = y;
return;
public void setTargetXCoord(double x)
this.targetXCoord = x;
return;
public void setTargetYCoord(double y)
this.targetYCoord = y;
return;
public double getSourceXCoord()
return this.sourceXCoord;
public double getSourceYCoord()
return this.sourceYCoord;
public double getTargetXCoord()
return this.targetXCoord;
public double getTargetYCoord()
return this.targetYCoord;
public void addChangeListener(ChangeListener cl)
listenerList.add(ChangeListener.class, cl);
public void removeChangeListener(ChangeListener cl)
listenerList.remove(ChangeListener.class, cl);
// SuperLine
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
import com.volant.mapit.view.*;
import com.volant.mapit.model.*;
public class SuperLine extends JComponent implements ChangeListener
private SuperLineModel model;
public SuperLine()
init(new SuperLineModel());
public SuperLine(SuperLineModel model)
init(model);
public void init(SuperLineModel model)
setModel(model);
setMinimumSize(new Dimension(50, 50));
setPreferredSize(new Dimension(50,50));
updateUI();
public void setUI(BasicSuperLineUI ui)
super.setUI(ui);
public BasicSuperLineUI getUI()
return (BasicSuperLineUI)ui;
public void updateUI()
setUI((BasicSuperLineUI)UIManager.getUI(this));
invalidate();
public String getUIClassID()
return SuperLineUI.UI_CLASS_ID;
public SuperLineModel getModel()
return model;
public void setModel(SuperLineModel model)
SuperLineModel oldModel = model;
if(oldModel != null)
oldModel.removeChangeListener(this);
if(model == null)
model = new SuperLineModel();
else
model.addChangeListener(this);
firePropertyChange("model", oldModel, model);
public void stateChanged(ChangeEvent evt)
repaint();
// BasicSuperLineUI
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.plaf.*;
import com.volant.mapit.control.*;
public class BasicSuperLineUI extends SuperLineUI
public static ComponentUI createUI(JComponent c)
return new BasicSuperLineUI();
public void installUI(JComponent c)
SuperLine sl = (SuperLine)c;
public void uninstallUI(JComponent c)
SuperLine sl = (SuperLine)c;
// This method is never called and I don't know why!!!
public void paint(Graphics g, JComponent c)
super.paint(g, c);
System.out.println("test2");
g.fillRect(0, 0, 200, 400);
// SuperLineUI
import javax.swing.plaf.*;
import com.volant.mapit.control.*;
public abstract class SuperLineUI extends ComponentUI
public static final String UI_CLASS_ID = "SuperLineUI";A quick glance at the code and it looks ok with the exception of the following which I don't understand what you're trying to do:
public void installUI(JComponent c) {
SuperLine sl = (SuperLine)c;
public void uninstallUI(JComponent c) {
SuperLine sl = (SuperLine)c;
}Here are my comments:
1) I expect Superline sl to be a global variable for use elsewhere in your program.
2) I have no idea what your uninstallUI does.
This is what I would do:
SuperLine sl;
public void installUI(JComponent c) {
sl = (SuperLine)c;
public void uninstallUI(JComponent c) {
}Finally, I am assuming that the changelistener will trigger a repaint which in turn will call your paint method, right?
;o)
V.V. -
Transfer Function Block Component not working properly
When using a Transfer Function Block, and you enter in the polynomial coefficients for a simple RC Passive Low-Pass Circuit, and perform an AC analysis side-by-side to its circuit equivalent, it works great. The 2 frequency response waveforms are identical. However, when you add another RC Low-Pass section in cascade with the 1st one, making it a 2-pole RC Passive Low-Pass Circuit, and you put its polynomial coefficients into the transfer function block the results of the AC Frequency Response is not identical to its 2-pole circuit equivalent. I double checked my math to make sure my transfer function math was correct. Since 2 transfer functions are in cascade, the transfer function from the 1st RC stage is multiplied times the transfer function of the 2nd RC stage, and the result is the overall transfer function. I even went as far as creating 2 transfer function blocks, each of them, with a single RC transfer function and connecting them in a cascade fashion. The results were the same....the trasnfer function block(s) do not resemble their circuit equivalent models for a >=2pole Passive RC Low-Pass filter.
The transfer function of a RC ist not retroactively-free, this is the reason why the transfer function of 2 RC Circuits is not 1 / (1 + RC*s)^2 ! You can not multiply the one function of one RC with the other!
You have to solve the differential equation of the RC circuits, to get the real transfer function. -
Export Button not working properly in custom OAF page.
Hi,
I have a custom page with a table region is there. There is an export button which exports the rows in an excel sheet.
But it is not working properly, as all the rows are not getting extracted.
Properties set for the export button::
Export all rows :: False
Any sugestion is highly appreciated.
Regards,
Arindam.Hi Arindam,
Refer below links.
Mukul's Oracle Technology Blog: Implementing Export Button Functionality Programatically
http://dilipoaf.blogspot.in/2013/02/export-selected-rows-data-functionality.html
Thanks,
Dilip -
I just had a conversation with Linksys' Customer Service via chat: Daphne L. J: Hello Fernando Paramo. My name is Daphne L..
Daphne L. J: Welcome to Linksys Global Chat. Is this your initial contact or do you have a case number?
You: Case number is 04971062
Daphne L. J: Please give me 3-5 minutes to pull up and review your case.
You: OK
Daphne L. J: Thank you.
You: I have a WRT1900 AC, V1. The router is not working properly. I have disconnections every few minutes.I already installed the new firmware version and I still have the same issues. I already reset the router to factory defaults and same issues. I have changed the settings back to my personal preferences: Changed the SSID, changed the wireless security settings, changed the DNS and deactivate WPS. That's it.I'm using 5 Ghz mode with my laptops (5 Ghz adapters) and 2-4 Ghz with a few devices (Chromecast, Nintendo 3DS).
Daphne L. J: Thank you for waiting.
Daphne L. J: Please confirm if the following information is correct:
Name : Fernando Paramo
Phone Number :
E-Mail Address :
Model Number : WRT1900AC
Serial Number : 13J10609406280
Country : United States
You: That's correct.
Daphne L. J: Okay. Were you able to check if the devices have stable connection wired to the router?
You: No. I do not have devices with Ethernet ports. Well, only the cable modem.
You: But the modem is fine. No disconnections from my ISP.
You: It is the router.
Daphne L. J: Alright. What is the current firmware version of your router?
You: I tried to return the router to Wal-Mart yesterday with no luck. This is a useless device. And I have been reading comments on the community forums and a lot of people are having problems.
Daphne L. J: We are actually aware of the issue and are working on a resolution. What is the current firmware version of your router?
You: Ver. 1.1.10.167514
You: Latest one.
Daphne L. J: Yes, so you reflashed the firmware, reset and then manually reconfigure it after, not using backup configuration, is that right?
You: That's correct.
Daphne L. J: And it is intermittent on all devices connected to both 2.4 and 5 Ghz networks, is that right?
You: That's correct.
Daphne L. J: Thank you for the information. Please give ,e 3-5 minutes to verify this with my superior.
Daphne L. J: Thank you for waiting.
You: I want to send you my WRT1900 AC and get a V2 or I want a EA8500 and pay the difference myseld.
You: I do not want my current hardware.
You: It is useless for my needs.
You: I can't believe I had an older E3000 that didn't give me any problems.
Daphne L. J: We have already exhausted all possible troubleshooting steps for your concern. As verified with my Supervisor, we will forward your case to our Customer Assurance Team. They are highly technical and knowledgeable when it comes to advanced troubleshooting. They will contact you in the next 24 to 48 hours. By the way, who is your Internet Service Provider? And do you Cable or DSL connection?
You: Cable connection.
Daphne L. J: Who is your Internet Service Provider?
You: A company called .
You: How are they going to contact me?
Daphne L. J: Alright. By the way, on the device itself, on its FCC ID, please check if you have WRT1900AC or WRT1900AC v2.
You: Are you paying attention to me?
You: I already told you it's V1.
Daphne L. J: They will call or email you. Please double check if these informations are correct:
Name :
Phone Number :
E-Mail Address :
You: I told you I want to send you my WRT1900 AC and get a V2 or I want a EA8500 and pay the difference myself.
You: I want them to contact me to my email. I can't answer the phone during work hours.
Daphne L. J: We can't assure you if we will be able to replace it with Version 2 or if you are allowed to have the EA8500 instead.
Daphne L. J: Just in case, do you also have an alternate number?
Daphne L. J: Also, what time zone are you in? And what is your preferred time and day for them to contact you?
You: I have the one from my office in Mexico. Central Time. Any time is good.
Daphne L. J: So, you are currently in Mexico?
You: I work in Mexico but I have the house in USA. I live in the border.
Daphne L. J: I see. Do you have any other questions or clarifications?
You: I live 10 minutes away from the International Bridge. But that's not an issue. I bought the router at Walmart in Laredo, TX.
Daphne L. J: Thank you for the information. Would that be all for now?
You: I want a clarification: Do you realize that there is an issue with the current WRT1900 AC? Are you aware of that?
You: Because this is a very expensive router that is not working as it should be.
Daphne L. J: Yes, we are aware of the issue and are working on a resolution.
Daphne L. J: Would there be anything else you need?
You: That would be it. I will wait for you to contact me.
You: Thanks.
Daphne L. J: Alright. Thank you for giving us an opportunity to serve you through Linksys Live Chat. You may also visit our support site at www.linksys.com. For your reference, your case number is 04980394. Thank you for choosing Linksys and have a great day! We paid $250 for this piece of equipment. That's a lot of money for a device that doesn't work. I just want to get a V2 replacement, or better yet, an exchange for a EA8500. We should all demand this. It is not fair for us. The current WRT1900 AC is a useless device. They even should do a recall of the product. I will wait for them to contact me, but I'm thinking if I should send the information to The Consumerist or someone else. What to do?FernandoRocker wrote:
Well... instead of looking into this with Engineering, I would prefer you to talk about this with the Sales department and exchange my WRT1900AC for an EA8500 (I will pay the difference if needed). Seriously. The device is useless. Not just a paperweigt... an expensive paperweight.Actually I looking into the swap for you because I think that would be best in your case. Keep this in perspective. There is laterally millions of WRT1900AC V1 out there with very few issues with latest firmwares and of course the odd exception. In your case it could be a defective WRT1900AC. -
I just had a conversation with Linksys' Customer Service via chat: Daphne L. J: Hello Fernando Paramo. My name is Daphne L..
Daphne L. J: Welcome to Linksys Global Chat. Is this your initial contact or do you have a case number?
You: Case number is 04971062
Daphne L. J: Please give me 3-5 minutes to pull up and review your case.
You: OK
Daphne L. J: Thank you.
You: I have a WRT1900AC, V1. The router is not working properly. I have disconnections every few minutes.I already installed the new firmware version and I still have the same issues. I already reset the router to factory defaults and same issues. I have changed the settings back to my personal preferences: Changed the SSID, changed the wireless security settings, changed the DNS and deactivate WPS. That's it.I'm using 5 Ghz mode with my laptops (5 Ghz adapters) and 2-4 Ghz with a few devices (Chromecast, Nintendo 3DS).
Daphne L. J: Thank you for waiting.
Daphne L. J: Please confirm if the following information is correct:
Name : Fernando Paramo
Phone Number :
E-Mail Address :
Model Number : WRT1900AC
Serial Number : 13J10609406280
Country : United States
You: That's correct.
Daphne L. J: Okay. Were you able to check if the devices have stable connection wired to the router?
You: No. I do not have devices with Ethernet ports. Well, only the cable modem.
You: But the modem is fine. No disconnections from my ISP.
You: It is the router.
Daphne L. J: Alright. What is the current firmware version of your router?
You: I tried to return the router to Wal-Mart yesterday with no luck. This is a useless device. And I have been reading comments on the community forums and a lot of people are having problems.
Daphne L. J: We are actually aware of the issue and are working on a resolution. What is the current firmware version of your router?
You: Ver. 1.1.10.167514
You: Latest one.
Daphne L. J: Yes, so you reflashed the firmware, reset and then manually reconfigure it after, not using backup configuration, is that right?
You: That's correct.
Daphne L. J: And it is intermittent on all devices connected to both 2.4 and 5 Ghz networks, is that right?
You: That's correct.
Daphne L. J: Thank you for the information. Please give ,e 3-5 minutes to verify this with my superior.
Daphne L. J: Thank you for waiting.
You: I want to send you my WRT1900AC and get a V2 or I want a EA8500 and pay the difference myseld.
You: I do not want my current hardware.
You: It is useless for my needs.
You: I can't believe I had an older E3000 that didn't give me any problems.
Daphne L. J: We have already exhausted all possible troubleshooting steps for your concern. As verified with my Supervisor, we will forward your case to our Customer Assurance Team. They are highly technical and knowledgeable when it comes to advanced troubleshooting. They will contact you in the next 24 to 48 hours. By the way, who is your Internet Service Provider? And do you Cable or DSL connection?
You: Cable connection.
Daphne L. J: Who is your Internet Service Provider?
You: A company called .
You: How are they going to contact me?
Daphne L. J: Alright. By the way, on the device itself, on its FCC ID, please check if you have WRT1900AC or WRT1900AC v2.
You: Are you paying attention to me?
You: I already told you it's V1.
Daphne L. J: They will call or email you. Please double check if these informations are correct:
Name :
Phone Number :
E-Mail Address :
You: I told you I want to send you my WRT1900AC and get a V2 or I want a EA8500 and pay the difference myself.
You: I want them to contact me to my email. I can't answer the phone during work hours.
Daphne L. J: We can't assure you if we will be able to replace it with Version 2 or if you are allowed to have the EA8500 instead.
Daphne L. J: Just in case, do you also have an alternate number?
Daphne L. J: Also, what time zone are you in? And what is your preferred time and day for them to contact you?
You: I have the one from my office in Mexico. Central Time. Any time is good.
Daphne L. J: So, you are currently in Mexico?
You: I work in Mexico but I have the house in USA. I live in the border.
Daphne L. J: I see. Do you have any other questions or clarifications?
You: I live 10 minutes away from the International Bridge. But that's not an issue. I bought the router at Walmart in Laredo, TX.
Daphne L. J: Thank you for the information. Would that be all for now?
You: I want a clarification: Do you realize that there is an issue with the current WRT1900AC? Are you aware of that?
You: Because this is a very expensive router that is not working as it should be.
Daphne L. J: Yes, we are aware of the issue and are working on a resolution.
Daphne L. J: Would there be anything else you need?
You: That would be it. I will wait for you to contact me.
You: Thanks.
Daphne L. J: Alright. Thank you for giving us an opportunity to serve you through Linksys Live Chat. You may also visit our support site at www.linksys.com. For your reference, your case number is 04980394. Thank you for choosing Linksys and have a great day! We paid $250 for this piece of equipment. That's a lot of money for a device that doesn't work. I just want to get a V2 replacement, or better yet, an exchange for a EA8500. We should all demand this. It is not fair for us. The current WRT1900AC is a useless device. They even should do a recall of the product. I will wait for them to contact me, but I'm thinking if I should send the information to The Consumerist or someone else. What to do?Hello. I sent my WRT1900AC V1 to Linksys four days ago (Monday) via UPS with a RMA. Linksys paid the shipping and everything. The router is still in route, and it should arrive to their offices tomorrow. Once they receive the WRT1900 AC V1, they are going to send me an EA8500 as a replacement. But I have been reading the comments about the EA8500 here in the forum and it seems to have the same problems. I guess the firmware is extremely flawed in both routers (maybe it is almost the same code?). Anyway, I will try the EA8500 and I hope it works. I bought a temporary router from Walmart and I paid $35 for it. It is a Belink N600 DB. I can't believe that a $35 router is working a lot, lot, lot better than my previous $250 WRT1900AC router. Unbelievable. If the EA8500 doesn't work, I'm going to try and get my money back from Linksys, or contact The Consumerist or someone to get my money back and get a Nighthawk instead.
-
Calendar popup is not working properly in af:inputDate
HI,
I am using af:inputDate component as,
<af:inputDate label="Input Date :"/>
The popup calendar is not working properly in my case. When I click on calendar buttong of the component, it is opening the calendar popup properly with showing proper date.
Now in this popup I am able to change month or year only once. Means if I am watching January month initialy and now I changed it to May, it reflect the month properly. But before closing the dialog, if I again change the month to some another month, it is not changing the calendar at all. The same case is with year also.
One more thing i want you to notice is, this component is working properly on a sample page where there is nothing in that page. But when I am adding it in my application with the same tag, it is not working.
Can any one tell me where I should look for the fix?
SujaySujay,
It's always frustrating when someone says "it is giving me exception" without providing the details. It's akin to going to your automobile mechanic and saying, "a warning light comes on." Wouldn't you think it pertinent to tell the mechanic which warning light came on? If yes, then why wouldn't you provide the exception (and perhaps the pertinent part of the stack trace) here?
Furthermore, since it works in a "very simple page," the component does at least work part of the time. If your car started at least part of the time, you'd tell your mechanic what you did that causes it not to start (for example, when I leave the headlamps on all night, it doesn't start the following morning). So... what is special about your page that it doesn't work?
Best,
John -
Pick List Value Not Working Properly
Hi Oracle Framework Gurus,
I have a strange Issue in which one of my cusom page is working properly in Jdev and not working Properly when deployed in the apps instance.
There are two custom pages with the same VO.
What I do is have a picklist from one of the custom page and depending on the value of the picklist and I navigate to the other custom page.
This is working properly in the JDev,But for some reasons it works properly in apps instance, when I try to run the first time(ie) when I run page A and pick 'X' from the picklist the Page 'B' is coming properly as per the controller code and when i pick 'Y' from the picklist in Page B, it is navigating to Page A as per the controller code.
This works fine for the first time,But when i again select 'X' from the picklist the proper value from the Picklist is not getting selected and passed to the custom package and so I get wrong values in Page 'B'
What could be the reason for it as it working fine in Jdev,I can navigate from Page A to Page B and Page B to Page A as many times possible.Hi Anand,
Controller1 :
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
//int intPersonId = pageContext.getEmployeeId();
int intPersonId; // = pageContext.getEmployeeId();
String strPersonId = Integer.toString(277671);
//String strPersonId = Integer.toString(intPersonId);
java.util.Date sysdate = pageContext.getCurrentUserDate();
String convSysDate = pageContext.getOANLSServices().dateToString(sysdate);
// Date testdate = (Date)sysdate.dateValue();
// get the Application Module
OAApplicationModule oaAM = pageContext.getApplicationModule(webBean);
Serializable parameters[] = { strPersonId,convSysDate };
Serializable param[] = { strPersonId };
System.out.println("The Sysdate PF "+convSysDate);
//pass parameters to Application Module
oaAM.invokeMethod("insertLovRow", param);
if ((String)pageContext.getSessionValue("PFlag1") != null)
String PFlag1 =(String)pageContext.getSessionValue("PFlag1");
String SDate1 =(String)pageContext.getSessionValue("SDateSession1");
Serializable param1[] = { SDate1 };
oaAM.invokeMethod("insertLovRow", param);
oaAM.invokeMethod("initEmpLovQuery1",param1);
oaAM.invokeMethod("initEmpTransLovQuery1");
OAMessageChoiceBean orgMesgChoiceBean = (OAMessageChoiceBean)webBean.findChildRecursive("Year");
orgMesgChoiceBean.setPickListViewObjectDefinitionName("EmployeeTest.oracle.apps.per.server.EmpTransDateLov");
orgMesgChoiceBean.setListValueAttribute("StartDate");
orgMesgChoiceBean.setListDisplayAttribute("DateRange" );
orgMesgChoiceBean.setPickListCacheEnabled(false);
else
oaAM.invokeMethod("insertRow", parameters);
oaAM.invokeMethod("initQuery", param);
oaAM.invokeMethod("execQuery");
oaAM.invokeMethod("totexecQuery");
OAMessageChoiceBean orgMesgChoiceBean = (OAMessageChoiceBean)webBean.findChildRecursive("Year");
orgMesgChoiceBean.setPickListViewObjectDefinitionName("EmployeeTest.oracle.apps.per.server.EmployeeDateLovVO");
orgMesgChoiceBean.setListValueAttribute("StartDate");
orgMesgChoiceBean.setListDisplayAttribute("DateRange" );
orgMesgChoiceBean.setPickListCacheEnabled(false);
oaAM.invokeMethod("initEmpLovQuery");
OAViewObject oaviewobject1 =(OAViewObject)oaAM.findViewObject("EmployeeUtilVO1");
oaviewobject1.reset();
if (oaviewobject1 != null)
do
if(!oaviewobject1.hasNext())
break;
oaviewobject1.next();
OARow row = (OARow)oaviewobject1.getCurrentRow();
String fullName = (String)row.getAttribute("EmpDep");
System.out.println("The Name is "+fullName);
} while(true);
* Procedure to handle form submissions for form elements in
* a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
//int intPersonId = pageContext.getEmployeeId();
//String strPersonId = Integer.toString(intPersonId);
int intPersonId; // = pageContext.getEmployeeId();
String strPersonId = Integer.toString(277671);
OAApplicationModule oaAM = pageContext.getApplicationModule(webBean);
if (pageContext.getParameter("ViewDetails") != null)
pageContext.putSessionValue("strPersonId", strPersonId);
pageContext.setForwardURL("OA.jsp?page=/EmployeeTest/oracle/apps/per/webui/EmployeePanelIB",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
true, // Retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_YES, // Show breadcrumbs
OAWebBeanConstants.IGNORE_MESSAGES);
System.out.println("strPersonId "+strPersonId);
String strEvent= pageContext.getParameter(EVENT_PARAM) ;
if ( strEvent.equals("update"))
OAMessageChoiceBean DepStatus1 = (OAMessageChoiceBean) webBean.findIndexedChildRecursive("Year");
String sDate = DepStatus1.getSelectionValue(pageContext);
//String sDate = DepStatus1.getValue(pageContext).toString();
//Serializable parameters[] = { strPersonId,sDate };
Serializable parameters[] = { strPersonId,sDate };
Serializable param[] = { strPersonId };
System.out.println("The PersonId "+strPersonId);
System.out.println("The Controller Date passed is IBUtil "+sDate);
oaAM.invokeMethod("insertRow", parameters);
oaAM.invokeMethod("initQuery", param);
oaAM.invokeMethod("execQuery");
String flag = "1";
//pageContext.putSessionValue("strPersonId", strPersonId);
pageContext.putSessionValue("PFlag", flag);
pageContext.putSessionValue("SDateSession", sDate);
pageContext.setForwardURL("OA.jsp?page=/EmployeeTest/oracle/apps/per/webui/EmpTestPG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
true, // Retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_YES, // Show breadcrumbs
OAWebBeanConstants.IGNORE_MESSAGES);
Controller 2:
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
//int intPersonId = pageContext.getEmployeeId();
int intPersonId; // = pageContext.getEmployeeId();
String strPersonId = Integer.toString(277671);
//String strPersonId = Integer.toString(intPersonId);
java.util.Date sysdate = pageContext.getCurrentUserDate();
String convSysDate = pageContext.getOANLSServices().dateToString(sysdate);
// get the Application Module
OAApplicationModule oaAM = pageContext.getApplicationModule(webBean);
Serializable parameters[] = { strPersonId,convSysDate };
Serializable param[] = { strPersonId };
System.out.println("The Sysdate PF "+convSysDate);
//pass parameters to Application Module
oaAM.invokeMethod("insertLovRow", param);
if ((String)pageContext.getSessionValue("PFlag") != null)
String PFlag1 =(String)pageContext.getSessionValue("PFlag");
String SDate1 =(String)pageContext.getSessionValue("SDateSession");
Serializable param2[] = { strPersonId, SDate1 };
Serializable param1[] = { SDate1 };
oaAM.invokeMethod("insertLovRow", param);
oaAM.invokeMethod("initEmpLovQuery1",param1);
oaAM.invokeMethod("initEmpTransLovQuery1");
OAMessageChoiceBean orgMesgChoiceBean = (OAMessageChoiceBean)webBean.findChildRecursive("Year");
orgMesgChoiceBean.setPickListViewObjectDefinitionName("EmployeeTest.oracle.apps.per.server.EmpTransDateLov");
orgMesgChoiceBean.setListValueAttribute("StartDate");
orgMesgChoiceBean.setListDisplayAttribute("DateRange" );
orgMesgChoiceBean.setPickListCacheEnabled(false);
else
oaAM.invokeMethod("insertRow", parameters);
oaAM.invokeMethod("initQuery", param);
oaAM.invokeMethod("execQuery");
oaAM.invokeMethod("totexecQuery");
OAMessageChoiceBean orgMesgChoiceBean = (OAMessageChoiceBean)webBean.findChildRecursive("Year");
orgMesgChoiceBean.setPickListViewObjectDefinitionName("EmployeeTest.oracle.apps.per.server.EmployeeDateLovVO");
orgMesgChoiceBean.setListValueAttribute("StartDate");
orgMesgChoiceBean.setListDisplayAttribute("DateRange" );
orgMesgChoiceBean.setPickListCacheEnabled(false);
oaAM.invokeMethod("initEmpLovQuery");
OAViewObject oaviewobject1 =(OAViewObject)oaAM.findViewObject("EmployeeUtilVO1");
oaviewobject1.reset();
if (oaviewobject1 != null)
do
if(!oaviewobject1.hasNext())
break;
oaviewobject1.next();
OARow row = (OARow)oaviewobject1.getCurrentRow();
String fullName = (String)row.getAttribute("EmpDep");
System.out.println("The Name is "+fullName);
} while(true);
* Procedure to handle form submissions for form elements in
* a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
OAApplicationModule oaAM = pageContext.getApplicationModule(webBean);
//int intPersonId = pageContext.getEmployeeId();
//String strPersonId = Integer.toString(intPersonId);
int intPersonId; // = pageContext.getEmployeeId();
String strPersonId = Integer.toString(277671);
if (pageContext.getParameter("ViewDetails") != null)
pageContext.setForwardURL("OA.jsp?page=/EmployeeTest/oracle/apps/per/webui/EmpPanelPG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
true, // Retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_YES, // Show breadcrumbs
OAWebBeanConstants.IGNORE_MESSAGES);
pageContext.putSessionValue("strPersonId", strPersonId);
String strEvent= pageContext.getParameter(EVENT_PARAM) ;
if ( strEvent.equals("update"))
OAMessageChoiceBean DepStatus1 = (OAMessageChoiceBean) webBean.findIndexedChildRecursive("Year");
String sDate = DepStatus1.getSelectionValue(pageContext);
//String sDate = DepStatus1.getValue(pageContext).toString();
Serializable parameters[] = { strPersonId,sDate };
Serializable param[] = { strPersonId };
System.out.println("The Controller Date passed is CBUtil "+sDate);
System.out.println("The PersonId "+strPersonId);
oaAM.invokeMethod("insertRow", parameters);
oaAM.invokeMethod("initQuery", param);
oaAM.invokeMethod("execQuery");
String flag = "2";
//pageContext.putSessionValue("strPersonId", strPersonId);
pageContext.putSessionValue("PFlag1", flag);
pageContext.putSessionValue("SDateSession1", sDate);
pageContext.setForwardURL("OA.jsp?page=/EmployeeTest/oracle/apps/per/webui/EmpIBUtilPG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
true, // Retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_YES, // Show breadcrumbs
OAWebBeanConstants.IGNORE_MESSAGES);
Hi Above two are the controller codes forget the rest of the codes,Concentrate on the PFR code, Just want to know what I am doing is correct or not.
First time when I select the Picklist value,the value gets passed as a parameter to the custom package and the page gets displayed properly and vice versa,But I am not able to do the same cycle again for some reasons.
Please get back to me ASAP.
Regards,
Magesh.M.K.
Edited by: user1393742 on Oct 19, 2010 11:58 PM -
The right side of my ipad 3 is not working properly and I cannot click on anything. I bought my ipad from Canada and am now out of the country and do not know who to contact for support. It has been less than a month since I bought it. I tried contacting the Canadian customer support service but when I try to enter my phone number it does not recognize it since it is a foreign number. Someone please help me with this as it is really frustrating and I have never experienced anything like this with any of my Apple products before.
The right side of my ipad 3 is not working properly and I cannot click on anything. I bought my ipad from Canada and am now out of the country and do not know who to contact for support. It has been less than a month since I bought it. I tried contacting the Canadian customer support service but when I try to enter my phone number it does not recognize it since it is a foreign number. Someone please help me with this as it is really frustrating and I have never experienced anything like this with any of my Apple products before.
-
I hit this problem at a customer site and can re-produce it in a simple lab. Lab environment: servers:
1x Server 2012 R2 DC and DNS server - DC1 - 10.0.0.1
1x Server 2012 R2 DirectAccess (DA) server - DA1 - 10.0.0.100
Servers are running "Update" (KB2919355) and following DA hotfixes:
KB2929930
KB2966087
I configured DA (via advanced wizard) as follows:
DA and remote access
AD group
directaccess-webprobehost DNA (A) record pointing to 10.0.0.100
behind an edge device (with a single network adapter)
SSL certificate from enterprise root CA issued to directaccess.contoso.com
NLS on remote server using https://nls.corp.contoso.com
DNS: corp.contoso.com = 10.0.0.1; nls.corp.contoso.com = ""
DNS suffix search list = corp.contoso.com
The DNS server validates successfully in the configuration UI.
With this configuration, I get a static IPv6 address of fd79:7a37:cbd9:3333::1/128 assigned to the NIC
The operations status is all green apart from DNS which displays the following error:
"DNS: Not Working Properly"
Error:
None of the enterprise DNS servers fd79:7a37:cbd9:7777::a00:1 used by DirectAccess clients for name resolution are responding. This might affect DirectAccess client connectivity to corporate resources.
Causes:
Enterprise DNS servers fd79:7a37:cbd9:7777::a00:1 are not responding.
I can, however ping fd79:7a37:cbd9:7777::a00:1 (which is the DNS64 translation of 10.0.0.1)
I would like to know what checks are failing as there are no failures in Event Viewer.
I have come across forums where people have the same issue and fix it by specifying the local IP (in this case 10.0.0.100) as the DNS server, however Richard Hicks has confirmed with me that the DNS server should be set to the DNS server, not the DA server's
IP.Thanks for the post Matt,
ISATAP has been disabled on my DA server, so the results of a "ROUTE PRINT -6" command yields:
===========================================================================
Interface List
12...00 15 5d 01 03 64 ......Microsoft Hyper-V Network Adapter
1...........................Software Loopback Interface 1
14...00 00 00 00 00 00 00 e0 IPHTTPSInterface
===========================================================================
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
1 306 ::1/128 On-link
12 261 fd79:7a37:cbd9::/48 On-link
14 306 fd79:7a37:cbd9:1000::/64 On-link
14 306 fd79:7a37:cbd9:1000::/128 On-link
14 306 fd79:7a37:cbd9:1000::1/128 On-link
14 306 fd79:7a37:cbd9:1000::2/128 On-link
14 306 fd79:7a37:cbd9:1000:814c:28be:46b5:52c1/128 On-link
12 261 fd79:7a37:cbd9:3333::1/128 On-link
12 261 fd79:7a37:cbd9:7777::/96 On-link
12 261 fe80::/64 On-link
14 306 fe80::/64 On-link
12 261 fe80::20c0:e848:d304:9f01/128 On-link
14 306 fe80::814c:28be:46b5:52c1/128 On-link
1 306 ff00::/8 On-link
12 261 ff00::/8 On-link
14 306 ff00::/8 On-link
===========================================================================
Persistent Routes:
If Metric Network Destination Gateway
0 4294967295 fd79:7a37:cbd9:1000::/64 On-link
0 4294967295 fd79:7a37:cbd9::/48 On-link
0 4294967295 fd79:7a37:cbd9:7777::/96 On-link
=========================================================================== -
Not working properly Computer Browser service in Windows Server 2012
Good afternoon.
Migrated from 2003 to 2012 Active Directory, all is good, but the service Computer Browser in Windows Server 2012 is not working properly.
Online, there are several hundred computers, one network, no segments. PDC is the Master Browser, it is in my list of all the computers, but gives customers or Backup Browser computers only part, and in alphabetical order, giving the first 70 computers and
all.
Looked packet sniffer:
Microsoft Windows Lanman Remote API Protocol
Entry Count: 70
Available Entries: 251
So on Master Browser shows 251 computer, and the client 70.
If disabled on Windows Server 2012 Service Computer Browser, Master Browser is a computer running Windows Server 2003. He gives all computers.
What is the problem, how to get Windows Server 2012 to work correctly as a Master Browser?More info. I have high lighted in bold where the issue is. This is a massive headache for me at the moment
Frame: Number = 377, Captured Frame Length = 182, MediaType = ETHERNET
- Ethernet: Etype = Internet IP (IPv4),DestinationAddress:[00-13-72-52-6E-A1],SourceAddress:[00-1E-0B-2B-68-DD]
- DestinationAddress: Dell Inc. 526EA1 [00-13-72-52-6E-A1]
Rsv: (000000..)
UL: (......0.) Universally Administered Address
IG: (.......0) Individual address (unicast)
- SourceAddress: 001E0B 2B68DD [00-1E-0B-2B-68-DD]
Rsv: (000000..)
UL: (......0.) Universally Administered Address
IG: (.......0) Individual address (unicast)
EthernetType: Internet IP (IPv4), 2048(0x800)
- Ipv4: Src = 10.44.46.101, Dest = 10.44.44.14, Next Protocol = TCP, Packet ID = 14025, Total IP Length = 168
- Versions: IPv4, Internet Protocol; Header Length = 20
Version: (0100....) IPv4, Internet Protocol
HeaderLength: (....0101) 20 bytes (0x5)
- DifferentiatedServicesField: DSCP: 0, ECN: 0
DSCP: (000000..) Differentiated services codepoint 0
ECT: (......0.) ECN-Capable Transport not set
CE: (.......0) ECN-CE not set
TotalLength: 168 (0xA8)
Identification: 14025 (0x36C9)
- FragmentFlags: 16384 (0x4000)
Reserved: (0...............)
DF: (.1..............) Do not fragment
MF: (..0.............) This is the last fragment
Offset: (...0000000000000) 0
TimeToLive: 128 (0x80)
NextProtocol: TCP, 6(0x6)
Checksum: 0 (0x0)
SourceAddress: 10.44.46.101
DestinationAddress: 10.44.44.14
- Tcp: Flags=...AP..., SrcPort=65372, DstPort=NETBIOS Session Service(139), PayloadLen=128, Seq=1910965363 - 1910965491, Ack=580319796, Win=252 (scale factor 0x8) = 64512
SrcPort: 65372
DstPort: NETBIOS Session Service(139)
SequenceNumber: 1910965363 (0x71E70473)
AcknowledgementNumber: 580319796 (0x2296FA34)
- DataOffset: 80 (0x50)
DataOffset: (0101....) 20 bytes
Reserved: (....000.)
NS: (.......0) Nonce Sum not significant
- Flags: ...AP...
CWR: (0.......) CWR not significant
ECE: (.0......) ECN-Echo not significant
Urgent: (..0.....) Not Urgent Data
Ack: (...1....) Acknowledgement field significant
Push: (....1...) Push Function
Reset: (.....0..) No Reset
Syn: (......0.) Not Synchronize sequence numbers
Fin: (.......0) Not End of data
Window: 252 (scale factor 0x8) = 64512
Checksum: 0x6F65, Disregarded
UrgentPointer: 0 (0x0)
TCPPayload: SourcePort = 65372, DestinationPort = 139
- Nbtss: SESSION MESSAGE, Length =124
PacketType: SESSION MESSAGE, 0(0x00)
- Flags: Add 0 to Length
Reserved: (0000000.)
Extension: (.......0)Add 0 to Length
Length: 124(0x7C)
- SMB: C; Transaction, Remote Administration Protocol, FileName = \PIPE\LANMAN
Protocol: SMB
Command: Transaction 37(0x25)
- NTStatus: 0x0, Facility = FACILITY_SYSTEM, Severity = STATUS_SEVERITY_SUCCESS, Code = (0) STATUS_SUCCESS
Code: (................0000000000000000) (0) STATUS_SUCCESS
Facility: (...0000000000000................) FACILITY_SYSTEM
Customer: (..0.............................) NOT Customer Defined
Severity: (00..............................) STATUS_SEVERITY_SUCCESS
- SMBHeader: Command, TID: 0x2001, PID: 0x276C, UID: 0x3801, MID: 0x0140
- Flags: 24 (0x18)
LockAndRead: (.......0) LOCK_AND_READ and WRITE_AND_UNLOCK NOT supported (Obsolete) (SMB_FLAGS_LOCK_AND_READ_OK)
NoAck: (......0.) An ACK response is needed (SMB_FLAGS_SEND_NO_ACK[only applicable when SMB transport is NetBIOS over IPX])
Reserved_bit2: (.....0..) Reserved (Must Be Zero)
CaseInsensitive: (....1...) SMB paths are case-insensitive (SMB_FLAGS_CASE_INSENSITIVE)
Canonicalized: (...1....) Canonicalized File and pathnames (Obsolete) (SMB_FLAGS_CANONICALIZED_PATHS)
Oplock: (..0.....) Oplocks NOT supported for OPEN, CREATE & CREATE_NEW (Obsolete) (SMB_FLAGS_OPLOCK)
OplockNotify: (.0......) Notifications NOT supported for OPEN, CREATE & CREATE_NEW (Obsolete) (SMB_FLAGS_OPLOCK_NOTIFY_ANY)
FromServer: (0.......) Command - SMB is being sent from the client (SMB_FLAGS_SERVER_TO_REDIR)
- Flags2: 51207 (0xC807)
KnowsLongFiles: (...............1) Understands Long File Names (SMB_FLAGS2_KNOWS_LONG_NAMES)
KnowsEas: (..............1.) Understands extended attributes (SMB_FLAGS2_KNOWS_EAS)
SmbSecuritySignature: (.............1..) Security signatures enabled (SMB_FLAGS2_SMB_SECURITY_SIGNATURE)
Compressed: (............0...) Compression Disabled for REQ_NT_WRITE_ANDX and RESP_READ_ANDX (SMB_FLAGS2_COMPRESSED)
SecuritySignatureRequired: (...........0....) Security Signatures are NOT required (SMB_FLAGS2_SMB_SECURITY_SIGNATURE_REQUIRED)
Reserved_bit5: (..........0.....) Reserved (Must Be Zero)
IsLongName: (.........0......) DO NOT use Long File Names (SMB_FLAGS2_IS_LONG_NAME)
Reserved_bits7_9: (......000.......) Reserved (Must Be Zero)
ReparsePath: (.....0..........) NOT a Reparse path (SMB_FLAGS2_REPARSE_PATH)
ExtendedSecurity: (....1...........) Aware of extended security (SMB_FLAGS2_EXTENDED_SECURITY)
Dfs: (...0............) NO DFS namespace (SMB_FLAGS2_DFS)
Paging: (..0.............) Read operation will NOT be permitted unless user has permission (NO Paging IO) (SMB_FLAGS2_PAGING_IO)
NTStatus: (.1..............) Using 32-bit NT status error codes (SMB_FLAGS2_NT_STATUS)
Unicode: (1...............) Using UNICODE strings (SMB_FLAGS2_UNICODE)
PIDHigh: 0 (0x0)
SecuritySignature: 0x0
Unused: 0 (0x0)
TreeID: 8193 (0x2001)
ProcessID: 10092 (0x276C)
UserID: 14337 (0x3801)
MultiplexID: 320 (0x140)
- CTransaction:
WordCount: 14 (0xE)
TotalParameterCount: 32 (0x20)
TotalDataCount: 0 (0x0)
MaxParameterCount: 8 (0x8)
MaxDataCount: 4200 (0x1068)
MaxSetupCount: 0 (0x0)
Reserved: 0 (0x0)
- Flags: Do NOT disconnect TID
Disconnect: (...............0) Do NOT disconnect TID
NoResponse: (..............0.) Server response to the client
Reserved: (00000000000000..) Reserved
Timeout: 5000 milli sec(s)
Reserved2: 0 (0x0)
ParameterCount: 32 (0x20)
ParameterOffset: 92 (0x5C)
DataCount: 0 (0x0)
DataOffset: 0 (0x0)
SetupCount: 0 (0x0)
Reserved3: 0 (0x0)
ByteCount: 61 (0x3D)
- RemoteAPIBuffer:
- FileName: \PIPE\LANMAN
- Align: 1 Bytes
AlignBytes: Binary Large Object (1 Bytes)
Name: \PIPE\LANMAN
Pad1: Binary Large Object (2 Bytes)
- RAPRequest: NetServerEnum2 Request, InfoLevel = 1, SV_TYPE_ALL: All in NSNET
RAPOpcode: NetServerEnum2
- ParameterDescriptor: WrLehDz; 4 send, 1 receive parameter
Param: (W) WORD (send parameter, 16 bit integer)
Param: (r) Receive buffer (format in data descriptor) (receive data, 0 bit integer)
Param: (L) Receive buffer length (send/receive parameter, 16/16 bit integer)
Param: (e) Entries read (receive data, 0 bit integer)
Param: (h) WORD (receive parameter, 16 bit integer)
Param: (D) DWORD (send parameter, 32 bit integer)
Param: (z) ASCIIZ (send parameter, 8 bit integer)
Param: ASCII NUL (string terminator)
- DataDescriptor: B16BBDz; data bytes send: 0, receive: 34
- Datum: (B) BYTE[16] (receive data, 8 bit integer)
Datum: (B) BYTE (receive data, 8 bit integer)
Digit: 1
Digit: 6
Datum: (B) BYTE (receive data, 8 bit integer)
Datum: (B) BYTE (receive data, 8 bit integer)
Datum: (D) DWORD (receive data, 32 bit integer)
Datum: (z) ASCIIZ* (receive data offset, 32 bit integer)
Datum: ASCII NUL (string terminator)
- NetServerEnum2: SV_TYPE_ALL: All in NSNET
InfoLevel: (1) SERVER_INFO_1
ReceiveBufferSize: 4200 (0x1068)
- ServerType: SV_TYPE_ALL: All
Workstation: (...............................1) All workstations
Server: (..............................1.) All computers with the server service running
Sqlserver: (.............................1..) All running Microsoft SQL Server
DomainCtrl: (............................1...) All primary domain controllers
DomainBakctrl: (...........................1....) All backup domain controllers
TimeSource: (..........................1.....) All Time servers
AFP: (.........................1......) All Apple File Protocol servers
Novell: (........................1.......) All Novell servers
DomainMember: (.......................1........) All LAN Manager 2.x domain members
PrintqServer: (......................1.........) All print servers
DialinServer: (.....................1..........) All dial-in servers
ServerUnix: (....................1...........) All Unix/Xenix servers
NT: (...................1............) All Windows NT workstations or servers
WFW: (..................1.............) All Windows for Workgroups servers
ServerMFPN: (.................1..............) All Microsoft File and Print for NetWare servers
ServerNT: (................1...............) All non-domain controller servers
PotentialBrowser: (...............1................) All servers that can run the browser service
BackupBrowser: (..............1.................) All backup browsers
MasterBrowser: (.............1..................) All master browsers
DomainMaster: (............1...................) All domain master browsers
Reserved1: (..........11....................)
Windows: (.........1......................) All Windows 95 or later
DFS: (........1.......................) All DFS root servers
ClusterNT: (.......1........................) All NT Clusters
Terminalserver: (......1.........................) All Terminal Servers
ClusterVSNT: (.....1..........................) All NT Cluster Virtual Server Names
DCE: (....1...........................) AllIBM DSS (Directory & Security Services)
Reserved2: (...1............................)
AlternateXport: (..1.............................) Return list for alternate transport
LocalListOnly: (.1..............................) Return local list only
DomainEnum: (1...............................) Enumerate primary domain
Domain: NSNET
Then the reply;
Frame: Number = 378, Captured Frame Length = 1514, MediaType = ETHERNET
+ Ethernet: Etype = Internet IP (IPv4),DestinationAddress:[00-1E-0B-2B-68-DD],SourceAddress:[00-13-72-52-6E-A1]
+ Ipv4: Src = 10.44.44.14, Dest = 10.44.46.101, Next Protocol = TCP, Packet ID = 27036, Total IP Length = 1500
+ Tcp: Flags=...A...., SrcPort=NETBIOS Session Service(139), DstPort=65372, PayloadLen=1460, Seq=580319796 - 580321256, Ack=1910965491, Win=253 (scale factor 0x8) = 64768
+ Nbtss: SESSION MESSAGE, Length =2013
+ SMB: R; Transaction, Remote Administration Protocol
- RAPResponse: NetServerEnum2 Response, Count = 31
Win32ErrorCode: 0x00000000 - ERROR_SUCCESS - The operation completed successfully.
Converter: 2251 (0x8CB)
- NetServerEnum2: Count = 31
EntriesReturned: 31 (0x1F)
EntriesAvailable: 31 (0x1F)
+ NetServerInfo1: APOLLO
+ NetServerInfo1: ARTEMIS
+ NetServerInfo1: ASKLEPIOS
+ NetServerInfo1: CASTOR
+ NetServerInfo1: DCC4503-131L
+ NetServerInfo1: DCC4503-155L
+ NetServerInfo1: DCC4503-157L
+ NetServerInfo1: DCC4503-161L
+ NetServerInfo1: DCC4503-171L
+ NetServerInfo1: DCC4503-172L
+ NetServerInfo1: DCC4503-175L
+ NetServerInfo1: DCC4503-177L
+ NetServerInfo1: DCC4503-183L
+ NetServerInfo1: DCC4503-184L
+ NetServerInfo1: DCC4503-185L
+ NetServerInfo1: DCC4503-188L
+ NetServerInfo1: DCC4503-196L
+ NetServerInfo1: DCC4503-197L
+ NetServerInfo1: DCC4503-199L
+ NetServerInfo1: DCC4503-202L
+ NetServerInfo1: DCC4503-203L
+ NetServerInfo1: DCC4503-205L
+ NetServerInfo1: DCC4503-210L
+ NetServerInfo1: DCC4503-213L
+ NetServerInfo1: DCC4503-219L
+ NetServerInfo1: DCC4503-220L
+ NetServerInfo1: DCC4503-228L
+ NetServerInfo1: DCC4503-233L
+ NetServerInfo1: DCC4503-234L
+ NetServerInfo1: DCC4503-236L
+ NetServerInfo1: DCC4503-241L
StringData: Binary Large Object (586 Bytes) -
ESS is not working properly after upgrade from 4.7 to ECC6.0
ESS Scenario in 4.7
4.7 Scenario:
The IMG configuration u201CWork and Life Eventsu201D is done to map them with the PZM3 service (Home Page) to get them as different folders/links on the home page as given below:
List of Services used to set up ESS:
Sl.No Functionality Service/EWT/URL Name Standard/ Customized Type
1 Home Page PZM3 Standard Service
2 Inbox BWSP Standard Service
3 Calendar BWCA Standard Service
4 Whou2019s Who PZ01 Standard Service
5 CPF Display http://192.168.0.2:7070/omcpf NA URL
6 Payslip Display ZPAYSLIP_USER Customized Service
7 Section 80C PZ88 Standard EWT
8 Section 80 PZ80 Standard EWT
9 Form 16 HRESSIN_F16 Standard EWT
10 Address PZ02 Standard EWT
11 Bank Information PZ03 Standard Service
12 Open Appraisals Not Available NA Service
13 Emergency Address PZ05 Standard EWT
14 Family/Dependents PZ12 Standard EWT
15 Personal Data PZ13 Standard EWT
16 Previous Employers PZ28 Standard EWT
17 Apply Leave WS20000081 Standard Service
18 Leave Overview WS01000109 Standard Service
19 Leave Balance PZ09 Standard Service
20 Loan Application ZLOAN Customized Service
ECC6.0 Scenario:
In ECC6.0, flow based services are no more supported by ECC6.0 and Dynpro based services are supported.PZM3 (Home Page) is a flow based service.
There is no replacement provided for PZM3 service, so the IMG configuration is not possible for u201CWork and Life Eventsu201D.
OSS ticket raised, but no solution for IMG u201CWork and Lifeu201D events.
List of Services would be used to set up ESS:
Sl.No Functionality Service/EWT/URL Name Standard/ Customized Type
1 Home Page PZM3 Standard service
1)this service is not available
2)SAP does not provide any replacement.
3)PZM3 is not supported in Integrated ITS. No direct solution proposed.
4)Given reference of few notes.
5) A dynpro (module pool screen) based IAC needs to be created and links need to be provided on that screen. Generated HTML page is modified to access the services via URL or by OKCODE.
Screenshot attached below.
2 Whou2019s Who PZ01 Standard Service
1)this service Available
2)Not Working properly.
3) The problem may be because of the dependency with SAP Query. Either Query is missing in the new system or not having the proper authorization. Needs to be debugged and finalized.
7 Section 80C PZ88 Standard EWT Available
8 Section 80 PZ80 Standard EWT Available
9 Form 16 HRESSIN_F16 Standard EWT Available
10 Address PZ02 Standard EWT Available Only EWT Available. Service needs to be created to access the EWT.
11 Bank Information PZ03 Standard Service Available EWT Available. Service needs to be created to access the EWT.
12 Open Appraisals Not Available NA Service EWT Available. Service needs to be created to access the EWT.
13 Emergency Address PZ05 Standard EWT Available EWT Available. Service needs to be created to access the EWT.
14 Family/Dependents PZ12 Standard EWT EWT Available. Service needs to be created to access the EWT.
15 Personal Data PZ13 Standard EWT EWT Available. Service needs to be created to access the EWT.
16 Previous Employers PZ28 Standard EWT Service Available
17 Apply Leave WS20000081 Standard Service Available, but not working No solution is proposed yet.
18 Leave Overview WS01000109 Standard Service Available, but not working No solution is proposed yet.
19 Leave Balance PZ09 Standard Service Available, but not working No solution is proposed yet.Ya ramakrishna,
Even easier is for you to send us the mail ID of your client. We will do the work, then send them an idoc of message type INVOICE and for you a post card of course.
Please do the needfull,
Julius -
RFC adapter in XI 3.0 not working properly with BAPI in R/3 4.6C
Here is the scenario.
An XML file is received from our customer. This file contains purchase order information that is used to create a sales order in our SAP 4.6C system. Once the sales order is created an acknowledgement is generated and this is returned back to our customer in an XML format. This scenario is working perfectly fine in our XI 2.0 system but is not working properly in our XI 3.0 test environment. Our custom function module in R/3 is a wrapper function that uses a standard SAP BAPI to create the sales order. Part of the function module does use the statement
call function 'BAPI_TRANSACTION_COMMIT'
The last thing the BAPI does is call another function module that using an RFC destination that will return and order acknowledgement.
Here is what happens within XI and our SAP system.
The XML file is received and mapped to our imported RFC. The RFC adapter is called and the information is passed onto SAP where our customer function module executed. The sales order is created within SAP without any problems and the second function module is called which references an RFC destination assigned to our XI 3.0 system. The information is sent back to XI and an appropriate file is created for our customer. All seems to be working properly except that when the original RFC is sent from XI to SAP, SAP creates a short dump stating
"call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException:" Then it is put back into the que where 5 minutes later it executes again and trys to recreate the sales order in SAP. (again, this same function module executing from XI 2.0 works fine)
I believe I have everything configured properly because the SAP side is being executed and I am successfully passing information back from SAP to XI. However the original function module in SAP is failing with the above error message. It appears that the original function module cannot communicate back with XI. I have had SAP looking at this issue and they have not been successful yet in solving this problem.
Any ideas.
Thanks,
Jim d'HulstHi,
I think the problem is with the send back of acknowledgement to XI. Does the DeliveryException state something about the sender agreement? I guess you are using a statement like below:
CALL FUNCTION 'ZABCD'
destination <tcp/ip destination>
exporting
input = ack.
In that case, check whether the TCP/IP destination is working fine. Also, to be able to exchange message, the structure of the Function Module ZABCD needs to be identified as the sender in XI Configuration (Integration Directory).
Also, check your config with the blog mentioned below:
<a href="/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit">/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit</a>
Regards,
Amitabha -
Filter and navigation not working properly
Hi Gurus,
I have two reports - report1(source) and report2(target) report.
In report1, it shows two columns - Market_ID, Amount_sold
In report2, it shows two columns - Market_ID, Reasons(where Market_ID is made prompted)
In report1, I have made the Value Interaction as 'Navigate' and the target as 'path of report2' in Column properties ->Column Format
But, when I click on Market_ID(report1), it is NOT showing the details of that particulat Market_ID(report2).
It is showing the details of whole Market_ID in report2. That means, the filter is not working properly.
Is there any method in which the report2 shows the details of particular Market_ID which is selected from report1(market_ID)?
Best Regards,
Jyes you can,
in your source add a master_name column and in that make the navigation.
in the master_id column go to column format and style options and check the Use Custom CSS style option and type,
display: none
now in your source the master_id column will get hidden. in your target make the master_id prompted.
now click on the master_name in your source, your target will get filtered by the corresponding msater_id
thanks,
Karthick
Edited by: kart on Jun 7, 2010 11:52 AM
Maybe you are looking for
-
Trying to update from OS 10.1__hard drive selection in Installer greyed out
Was recently given an iMac with a faulty HD. Was able to install a new HD and OS 10.1, but have been unable to update further, because the Installer has greyed out the HD choice in the final step of installation. I am at a loss here. Also the HD is s
-
Opening mac image in windows 2000
Can anyone please help me? I have a mact pict file saved on a usb key and need to open it in windows. Any ideas?
-
Hi, I have a Blackberry 8310 and I recently upgraded my OS from 4.2 to 4.5 from the BB site and it did everything fine. Then I went and selected one of the themes I was using on the OS 4.2 and apparently there was some problem with it, maybe because
-
LiveCycle ES3 installation-BootstrapException: ALC-TTN-104-002
Hi Guys, On trying turnkey, partial turnkey options of LiveCycle ES3 installation, we get an error while running configuration manager. We were stuck at "Configuring LiveCycle ES3 EAR's", unable to merge EARs.The reason being Jboss not started. Since
-
How to stop and cancel physical standby database (ORACLE 10g)
Dear All, I have physical standby setup and I want stopped for the time being that to use the database as an normal DB (standalone inestance). Kindly advise and show me how do I do that. Regards,