Problem getting data in Report
Hi,
I have the following code in my report.
data: it_adrc type table of adrc.
data: wa_adrc type adrc.
perform get_address tables it_adrc
using add_partner.
loop at it_adrc into wa_adrc.
wa_output-country = wa_adrc-country.
wa_output-state = wa_adrc-region.
wa_output-name_co = wa_adrc-name_co.
wa_output-str_suppl1 = wa_adrc-str_suppl1.
wa_output-su_adr1 = wa_adrc-street.
wa_output-su_adr2 = wa_adrc-str_suppl3.
wa_output-su_street5 = wa_adrc-location.
wa_output-su_city = wa_adrc-city1.
wa_output-su_zip = wa_adrc-post_code1.
wa_output-su_ph = wa_adrc-tel_number.
wa_output-su_fax = wa_adrc-fax_number.
endloop.
form get_address tables it_adrc
using add_partner.
data: addrnum type but020-addrnumber.
select * into corresponding fields of table it_adrc
from ( adrc
inner join but020
on but020addrnumber = adrcaddrnumber )
where but020~partner = add_partner.
endform. " GET_ADDRESS
The problem is i am getting all the data for all the fields except for tel_number and fax_number.
When I debug i see that the values are not coming to wa_adrc though the tel_number and fax_number have values and it doesnt give any error. I dont understand why? Can someone please help me.
Regards,
D
Hi Dev
One suggestions, certain SAP transactions will store multiple addresses. For example IW31/32/33 PM work order has more than 2 address.
<b>I see the persons addr valid_from and valid_to dates are 02/17/2006 and 12/31/9999</b>
<b>where as when i go to ADRC table i see that date_from is 01/01/0001 and date_to is 12/21/9999</b>
From the above info address which has the tel_number and fax_number might be different. Try to search for the address using the tel_number and fax_number values you expect in ADRC. That might give you some clarity.
Regards
Kathirvel
Similar Messages
-
APEX CSS - How do I get data in report columns to wrap?
I found information here http://www.orafaq.com/wiki/APEX_FAQ
About How do I get data in report columns to wrap?
This works and another way to do it is by adding the CSS directly into the
Home>Application Builder>Application 137>Page 1>Report Attributes>Column Attributes page
in the Column Formatting area. I added 'white-space:normal' and this works in FF but in
IE it has a different behavior.
In FireFox
testasdgadhad
gadfadgadgadg
adgafhsrgjsgnsfg
nsdfbadfafhafha
dfhadfh
In Internet Explorer
testasdgadhad gadfadgadgadg adgafhsrgjsgnsfg nsdfbadfafhafha dfhadfh
Is there a way to force it so it display in IE the same way that it displays in FF?
The correct display format is FF.
Thanks,
Nestor :)I have try this because I found it during a search and it makes no difference in IE.
This is what I am using now 'display: block; width: 100px;max-width:100px;white-space:normal'
I also tried 'display:block; width:500px'
If I use the values 'normal' or 'pre' for white-space' it works in FireFox but not in IE, The display block
does not seem to make a difference. It seems that all I need is 'white-space:normal' but again
it does not works on IE.
Thanks,
Nestor :-) -
How to make smartform get data from report painter???
hi all!
please tell me how to get data from report painter?
i has a report painter zabc ( create through t-code ke31).
I want get data from Zabc after run and show data by smartform.
plz help me!
thanksHi ,
Please check this link [SMARTFORM|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf]
Regards,
Smart -
Problem getting data from a stored procedure
On the Oracle DB there's a stored proc defined like:
PROCEDURE pGetHashes ( iFrom IN NUMBER, iTo IN NUMBER, sHash1 OUT CHAR, sHash2 OUT CHAR );
When I call this procedure from within my app, I only get a value for the sHash2 parameter. The value of the sHash1 parameter is always null. (Running the same stored proc from sqldeveloper gives a result for both hash values.)
Underneath I have added the code which I use to call the stored proc. Does anybody see anything I might have done wrong?
int iFrom = 0;
int iTo = 1000;
using (IDbCommand command = dbConnection.CreateCommand())
OracleCommand orclCommand = command as OracleCommand;
orclCommand.CommandText = "pGetHashes";
orclCommand.CommandType = CommandType.StoredProcedure;
orclCommand.Parameters.Clear();
orclCommand.Parameters.Add("iFrom", OracleDbType.Int32, iFrom, ParameterDirection.Input);
orclCommand.Parameters.Add("iTo", OracleDbType.Int32, iTo, ParameterDirection.Input);
OracleParameter orclParam = new OracleParameter("sHash1", OracleDbType.Char, 100);
orclParam.Direction = ParameterDirection.Output;
orclCommand.Parameters.Add(orclParam);
orclParam = new OracleParameter("sHash2", OracleDbType.Char, 100);
orclParam.Direction = ParameterDirection.Output;
orclCommand.Parameters.Add(orclParam);
orclCommand.BindByName = true;
orclCommand.ExecuteNonQuery();
// after this the orclCommand.Parameters["sHash1"].Value is always null.
// the orclCommand.Parameters["sHash2"].Value has the correct value.
For extra documentation. Running the following PLSQL from within sqldeveloper results in both a value for Hash1 and Hash2:
SET SERVEROUTPUT ON;
DECLARE
sHash1 CHAR(67);
sHash2 CHAR(67);
nFrom NUMBER := 0;
nTo NUMBER := 1000;
BEGIN
pGetHashes( nFrom, nTo, sHash1, sHash2 );
dbms_output.put_line('Hash1: '|| sHash1);
dbms_output.put_line('Hash2: '|| sHash2);
END;
Thanks for any light you can shed on this problem.I can only assume that something is "going wrong" inside your procedure that is resulting in NULL actually being returned, although I don't see any reason the code should be causing it.
Try the folllowing "pGetHashes2" procedure, and let me know if you see the same results with your code. It works fine for me anyway..
Greg
create or replace procedure pGetHashes2 (iFrom number, iTo number, sHash1 out char, sHash2 out char)
as
begin
shash1 := 'foo';
shash2 :='bar';
end;
using System;
using System.Data;
using Oracle.DataAccess.Client;
namespace otnpost
class Program
static void Main(string[] args)
OracleConnection dbConnection = new OracleConnection("data source=orcl;user id=scott;password=tiger");
dbConnection.Open();
int iFrom = 0;
int iTo = 1000;
using (IDbCommand command = dbConnection.CreateCommand())
OracleCommand orclCommand = command as OracleCommand;
orclCommand.CommandText = "pGetHashes2";
orclCommand.CommandType = CommandType.StoredProcedure;
orclCommand.Parameters.Clear();
orclCommand.Parameters.Add("iFrom", OracleDbType.Int32, iFrom, ParameterDirection.Input);
orclCommand.Parameters.Add("iTo", OracleDbType.Int32, iTo, ParameterDirection.Input);
OracleParameter orclParam = new OracleParameter("sHash1", OracleDbType.Char, 100);
orclParam.Direction = ParameterDirection.Output;
orclCommand.Parameters.Add(orclParam);
orclParam = new OracleParameter("sHash2", OracleDbType.Char, 100);
orclParam.Direction = ParameterDirection.Output;
orclCommand.Parameters.Add(orclParam);
orclCommand.BindByName = true;
orclCommand.ExecuteNonQuery();
// after this the orclCommand.Parameters["sHash1"].Value is always null.
// the orclCommand.Parameters["sHash2"].Value has the correct value.
Console.WriteLine(orclCommand.Parameters["sHash1"].Value);
Console.WriteLine(orclCommand.Parameters["sHash2"].Value);
}OUTPUT
==========
foo
bar
Press any key to continue . . . -
Problems getting data from JMenuBar to JInternalFrame
I have modified an example to show my problem. I am trying to take text input from the menu bar and print it into a JTextArea. I don't know how to reference the data in my ActionListener.
The ActionListener is incomplete, but this is basically what I am trying to do:
import javax.swing.JInternalFrame;
import javax.swing.JDesktopPane;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
import javax.swing.JMenuBar;
import javax.swing.JFrame;
import javax.swing.KeyStroke;
import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
* InternalFrameDemo.java is a 1.4 application that requires:
* MyInternalFrame.java
public class InternalFrameDemo extends JFrame
implements ActionListener {
JDesktopPane desktop;
JTextField memAddrBox;
JTextArea menuText;
JTextArea frame;
String textFieldString = " Input Text: ";
ActionListener al;
public InternalFrameDemo() {
super("InternalFrameDemo");
//Make the big window be indented 50 pixels from each edge
//of the screen.
int inset = 50;
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
setBounds(inset, inset,
screenSize.width - inset*2,
screenSize.height - inset*2);
//Set up the GUI.
desktop = new JDesktopPane(); //a specialized layered pane
frame = createFrame(); //create first "window"
setContentPane(desktop);
setJMenuBar(createMenuBar());
//Make dragging a little faster but perhaps uglier.
desktop.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);
protected JMenuBar createMenuBar() {
JMenuBar menuBar = new JMenuBar();
JLabel memAddrLabel = new JLabel(textFieldString);
memAddrLabel.setLabelFor(memAddrBox);
menuBar.add(memAddrLabel);
JTextField memAddrBox = new JTextField();
memAddrBox.addActionListener(this);
memAddrBox.setActionCommand("chMemAddr");
menuBar.add(memAddrBox);
return menuBar;
//React to menu selections.
public void actionPerformed(ActionEvent e) {
if ("chMemAddr".equals(e.getActionCommand()))
JMenuBar bar = getJMenuBar();
// JTextField memAddrBox = bar.getParent();
String memStartString = memAddrBox.getText();
update(memStartString);
public void update(String temp)
frame.setText(temp);
//Create a new internal frame.
protected JTextArea createFrame() {
JInternalFrame frame = new JInternalFrame("Memory",true,true,true,true);
frame.setSize(650, 500);
frame.setVisible(true);
frame.setLocation(200, 0);
desktop.add(frame);
JTextArea textArea = new JTextArea();
frame.getContentPane().add("Center", textArea);
textArea.setFont(new Font("SansSerif", Font.PLAIN, 12));
textArea.setVisible(true);
textArea.setText("Initial Text");
return textArea;
//Quit the application.
protected void quit() {
System.exit(0);
public static void main(String[] args) {
//Make sure we have nice window decorations.
JFrame.setDefaultLookAndFeelDecorated(true);
//Create and set up the window.
InternalFrameDemo frame = new InternalFrameDemo();
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
//Display the window.
frame.setVisible(true);
class MyInternalFrame extends JInternalFrame {
static int openFrameCount = 0;
static final int xOffset = 30, yOffset = 30;
public MyInternalFrame() {
super("Document #" + (++openFrameCount),
true, //resizable
true, //closable
true, //maximizable
true);//iconifiable
//...Create the GUI and put it in the window...
//...Then set the window size or call pack...
setSize(300,300);
//Set the window's location.
setLocation(xOffset*openFrameCount, yOffset*openFrameCount);
}I want to take the input from the "memAddrBox" and put it into the "frame" using the update() method. Probably a simple solution, but I have not found a similar problem in the Forums.I knew it had to be something simple, here is the fix I found:
import javax.swing.JInternalFrame;
import javax.swing.JDesktopPane;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
import javax.swing.JMenuBar;
import javax.swing.JFrame;
import javax.swing.KeyStroke;
import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
* InternalFrameDemo.java is a 1.4 application that requires:
* MyInternalFrame.java
public class InternalFrameDemo extends JFrame
implements ActionListener {
JDesktopPane desktop;
JTextField memAddrBox;
JTextArea menuText;
JTextArea frame;
String textFieldString = " Input Text: ";
ActionListener al;
public InternalFrameDemo() {
super("InternalFrameDemo");
//Make the big window be indented 50 pixels from each edge
//of the screen.
int inset = 50;
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
setBounds(inset, inset,
screenSize.width - inset*2,
screenSize.height - inset*2);
//Set up the GUI.
desktop = new JDesktopPane(); //a specialized layered pane
frame = createFrame(); //create first "window"
setContentPane(desktop);
setJMenuBar(createMenuBar());
//Make dragging a little faster but perhaps uglier.
desktop.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);
protected JMenuBar createMenuBar() {
JMenuBar menuBar = new JMenuBar();
JLabel memAddrLabel = new JLabel(textFieldString);
memAddrLabel.setLabelFor(memAddrBox);
menuBar.add(memAddrLabel);
JTextField memAddrBox = new JTextField();
memAddrBox.addActionListener(this);
memAddrBox.setActionCommand("chMemAddr");
menuBar.add(memAddrBox);
return menuBar;
//React to menu selections.
public void actionPerformed(ActionEvent e) {
if ("chMemAddr".equals(e.getActionCommand()))
JTextField textField =
(JTextField)e.getSource();
String memStartString = textField.getText();
update(memStartString);
public void update(String temp)
frame.setText(temp);
//Create a new internal frame.
protected JTextArea createFrame() {
JInternalFrame frame = new JInternalFrame("Memory",true,true,true,true);
frame.setSize(650, 500);
frame.setVisible(true);
frame.setLocation(200, 0);
desktop.add(frame);
JTextArea textArea = new JTextArea();
frame.getContentPane().add("Center", textArea);
textArea.setFont(new Font("SansSerif", Font.PLAIN, 12));
textArea.setVisible(true);
textArea.setText("Initial Text");
return textArea;
//Quit the application.
protected void quit() {
System.exit(0);
public static void main(String[] args) {
//Make sure we have nice window decorations.
JFrame.setDefaultLookAndFeelDecorated(true);
//Create and set up the window.
InternalFrameDemo frame = new InternalFrameDemo();
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
//Display the window.
frame.setVisible(true);
class MyInternalFrame extends JInternalFrame {
static int openFrameCount = 0;
static final int xOffset = 30, yOffset = 30;
public MyInternalFrame() {
super("Document #" + (++openFrameCount),
true, //resizable
true, //closable
true, //maximizable
true);//iconifiable
//...Create the GUI and put it in the window...
//...Then set the window size or call pack...
setSize(300,300);
//Set the window's location.
setLocation(xOffset*openFrameCount, yOffset*openFrameCount);
}Note the e.getSource() change in the ActionListener. -
Problems getting data out of Mocha and into After Effects
Hi. I'm using After Effect CS4. I brought a video clip into Mocha and tracked it. I've tried copying the data to clipboard and also went back and saved as a text file since I could't paste into After Effects.
Haven't figured out how to make either method work.
At first, I'd created a Null Object in AFX and added the COrner Pin Effect, but the paste option is greyed out - doesn't matter if I select the layer or the Corner Pin effect.
Next I created a solid since I'd seen that mentioned on some threads, but Paste is still greyed out.
Tried exporting the tracking data as a file from mocha next and have the corner pin data sitting on my desktop as a txt file - but still not sure how to get that into After Effects CS4 - tried this with a null and a solid, but not working.
Thanks for any suggestions.Also - It pastes unmoving data as well into the Postion, Scale, and Rotation of the solid as well as the Corner Pin Effect.
Yes, AE's corner pin does the same. It's how it is supposed to work. You need to choose the RG Warp compliant variant to only get corner pin data. The rest is too vague. Wee need exact info on what you are doing. Tracks appearing to be static is simply an issue where coordinates are introduced twice and somehow self-compensate, which for all intents and purposes could relate to the previously described issue....
Mylenium -
Problems getting data into a SET Column
I am having a problem with the SET Column storing multiple days of the week. When I submit the form, a link that says function.implode shows up at the top of the page and enters NULL in my Column. Any ideas why? I also had a lot of server side validation that was in this code. I removed all of it thinking that might be the problem, but the same thing is happening either way.
Here is the code:
mysql_select_db($database_connRegister, $connRegister);
$query_getusers = "SELECT * FROM users";
$getusers = mysql_query($query_getusers, $connRegister) or die(mysql_error());
$row_getusers = mysql_fetch_assoc($getusers);
$totalRows_getusers = mysql_num_rows($getusers);
$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
$editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "sign_form")) {
if (isset($_POST['days_to_play'])) {
$_POST['days_to_play'] = implode(',', $_POST['days_to_play']);
} else {
$_POST['days_to_play'] = 'Monday';
$insertSQL = sprintf("INSERT INTO users (user_name, password, first_name, last_name, address, city, `state`, zip, phone_number, member_since, email, days_to_play, handicap, home_course, play_in_tournaments, casual_compet, hear_about_us, confirm_pass, site_city, text) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
GetSQLValueString($_POST['user_name'], "text"),
GetSQLValueString($_POST['password2'], "text"),
GetSQLValueString($_POST['first_name'], "text"),
GetSQLValueString($_POST['last_name'], "text"),
GetSQLValueString($_POST['address'], "text"),
GetSQLValueString($_POST['city'], "text"),
GetSQLValueString($_POST['state'], "text"),
GetSQLValueString($_POST['zip'], "int"),
GetSQLValueString($_POST['phone_number'], "text"),
GetSQLValueString($_POST['member_since'], "defined", 'NOW()'),
GetSQLValueString($_POST['email'], "text"),
GetSQLValueString($_POST['days_to_play'], "text"),
GetSQLValueString($_POST['handicap'], "int"),
GetSQLValueString($_POST['home_course'], "text"),
GetSQLValueString($_POST['play_in_tournaments'], "text"),
GetSQLValueString($_POST['casual_compet'], "text"),
GetSQLValueString($_POST['hear_about_us'], "text"),
GetSQLValueString($_POST['confirm_pass'], "text"),
GetSQLValueString($_POST['site_city'], "text"),
GetSQLValueString($_POST['text'], "text"));
mysql_select_db($database_connRegister, $connRegister);
$Result1 = mysql_query($insertSQL, $connRegister) or die(mysql_error());
$insertGoTo = "golferstats.php";
if (isset($_SERVER['QUERY_STRING'])) {
$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
$insertGoTo .= $_SERVER['QUERY_STRING'];
header(sprintf("Location: %s", $insertGoTo));Yes, I had actually already caught my mistake before you sent this. It is
working now. I have 2 more unrelated questions that can't seem to find in
your book.
#1 - I have an updated page separate from the user input page and I want it
to populate the days_to_play record when they open update so they can edit
these days if they want. I can't get it to show what is already selected.
#2 - I have quotes that appear on the page and it works fine and selects
them randomly when the page is accessed, but I want to add a picture(s).
How can I add pictures to a database table and get them to display randomly
with the text I already have?
Thanks for your help. I am enjoying the book! -
Report is not getting data from Remote cube thru Multi Provider
Hi SAPians
I ve strucked up with a Problem in The Reconciliation Report in BW3.5
The Report was built on a Multi Provider, which was created on Basic and Remote Cubes .
Both cubes have same Data Source and all the Objects were in Active version and found good.
When I m executing the Report ,I m only getting the data from the Basic cube and no data is coming from Remote Cube.
I ve checked the char " 0Infoprov " in Multi Provider and It was assigned with the both the cubes.
What might be the problem
Please help me in this regard
Thanks in advance
Regards
ArjunHi
In the Reconciliation multiprovider, include 0INFOPROVIDER = Remote cube.
If data still not coming, you can be sure connectivity with Source system of the Remote cube is the issue
Check with basis to solve the connectivity issue.
Ensure Remote cube is consistent
Bye -
Get data in a subreport based on a shared variable from the main report.
Goodd morning,
My question/problem is how to manage this scenario.
I am transfering 2 shared variables (pereiod from /period To, ) from the main report to a subreport and now i would like to get data in this subreport based on these 2 variables...
The problem is that i can not find the shared one in select expert icon...
Could anyone point me to solve this issue?
Thks for any help.
Jose Marin
Crystal Report XI SR3Hello Jos,
I recommend to post this query to the [Crystal Reports Design|SAP Crystal Reports; forum.
This forum is dedicated to topics related to the creation and design of Crystal Report documents. This includes topics such as database connectivity, parameters and parameter prompting, report formulas, record selection formulas, charting, sorting, grouping, totaling, printing, and exporting but also installation and registering.
It is monitored by qualified technicians and you will get a faster response there.
Also, all Crystal Reports Design queries remain in one place and thus can be easily searched in one place.
Best regards,
Falk -
Problem with cgicmd.dat in reports 10g
Dear Sir/Mam,
I've configured report serve on solaris 10. When executing reports using web url with key map given in cgicmd.dat file, I'm getting a very strange problem. Whatever parameters m passing to the reports through web url an additional "=" character is appended automatically. I'm giving details of the files below. Please help me out. Thanks in advance.
Content of rwservlet.properties:-
SERVER_IN_PROCESS=YES
RELOAD_KEYMAP=YES
DIAGNOSTIC=YES
TRACEOPTS=TRACE_ALL
TRACEFILE=rwservlet.trc
TRACEMODE=TRACE_REPLACE
SERVER=test
#IMAGEURL=http://<web_server_name>:<port_num>/reports/rwservlet
KEYMAPFILE=cgicmd.dat
#DBAUTH=RWDBAUTH.HTM
#SYSAUTH=RWSYSAUTH.HTM
#ERRORTEMPLATE=RWERROR.HTM
#COOKIEEXPIRE=30
ENCRYPTIONKEY=reports9i
#DIAGBODYTAGS=<reports_servlet_help_file_title>
#DIAGHEADTAGS=<reports_servlet_help_file_body_tag>
#HELPURL=<url_of_customized_help_file_for_reports_servlet>
#SINGLESIGNON=YES
OID_ENTITY=%REPORTS_OID_ENTITY%
#ALLOWHTMLTAGS=NO
#REPORTS_NETWORK_CONFIG=rwnetwork.conf
#OIDCON_INIT=10
#OIDCON_INCREMENT=10
#OIDCON_TIMEOUT=0
DEFAULTCHARSET=JA16EUC
#DEFAULTCHARSET=EUC-JP
Content of cgicmd.dat:-
osk47zgenp: report=%1 userid=utimainapp/utimainapp@testdb rundebug=NO desformat=delimited destype=cache mode=bitmap mast_ext=roymask.xls p_start_dt=%2 p_end_dt=%3 p_srvc_id=%4 p_sch_id=%5 p_agnt_cd=%6 p_user_id=%7 p_sesn_id=%8
Report URL is:-
http://10.10.100.110:8890/reports/rwservlet?osk47zgenp+rp_os424_mat_recon.rdf+30-JUN-2009+01-JAN-2010++31++shashi+1492544
Error coming on browser:-
REP-110: File 'rp_os424_mat_recon.rdf=' not found.
REP-0110: Unable to open file 'rp_os424_mat_recon.rdf='.
Content of rwservlet.trc:-
[2011/1/19 7:37:1:624] (RWClient:doGet) enter...
[2011/1/19 7:37:1:625] Debug 50103 (RWClient:doGet): QueryString: osk47zgenp+rp_os424_mat_recon.rdf+30-JUN-2009+01-JAN-2010++31+
shashi1492544
[2011/1/19 7:37:1:625] Info 50103 (RWClient:processRequest): reload key map file: s_reloadKeyMap: YES
[2011/1/19 7:37:1:626] Debug 50103 (KeyEntry:replaceParams): report=rp_os424_mat_recon.rdf= userid=utimainapp@testdb rundebug=N
O desformat=delimited destype=cache mode=bitmap mast_ext=roymask.xls p_start_dt=30-JUN-2009= p_end_dt=01-JAN-2010= p_srvc_id=31=
p_sch_id=shashi= p_agnt_cd=1492544= p_user_id= p_sesn_id=
[2011/1/19 7:37:1:626] Debug 50103 (RWClientUtility:isFromPortal): portal: null
[2011/1/19 7:37:1:626] Debug 50103 (RWClientUtility:isFromPortal): webdbversion: null
[2011/1/19 7:37:1:627] Info 50103 (RWClientUtility:findServer): Failed to bind to server: test
[2011/1/19 7:37:1:627] Warning 50103 (RWClient:startInProcessServer): start inprocess server test
[2011/1/19 7:37:1:657] Debug 50103 (NetworkUtility:getIOR): Found a server and returning the IOR
[2011/1/19 7:37:1:658] Debug 50103 (ServerManager:getServer): Found server class object
[2011/1/19 7:37:1:659] Debug 50103 (ServerManager:getServer): ping server successfully
[2011/1/19 7:37:1:660] Debug 50103 (RWClientUtility:getReportsServer): server: test
[2011/1/19 7:37:1:660] Debug 50103 (ServerManager:getServer): Found server class object
[2011/1/19 7:37:1:660] Debug 50103 (ServerManager:getServer): ping server successfully
[2011/1/19 7:37:1:661] Debug 50103 (AuthManager:getAuthId): server secure: false
[2011/1/19 7:37:1:663] Debug 50103 (RWClientUtility:getReportsServer): server: test
[2011/1/19 7:37:1:664] Debug 50103 (RWClientUtility:getReportsServer): server: test
[2011/1/19 7:37:1:664] Debug 50103 (ServerManager:getServer): Found server class object
[2011/1/19 7:37:1:665] Debug 50103 (ServerManager:getServer): ping server successfully
[2011/1/19 7:37:1:666] Debug 50103 (RWClientUtility:isFromPortal): portal: null
[2011/1/19 7:37:1:666] Debug 50103 (RWClientUtility:isFromPortal): webdbversion: null
[2011/1/19 7:37:1:667] Debug 50103 (RWClient:runReport): cmdline: p_end_dt=01-JAN-2010= baseUrl=http://10.10.100.110:8890/report
s/rwservlet/getfile/ userid=utimainapp@testdb USER_AGENT="Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0)" p_srv
c_id=31= SERVER_NAME=10.10.100.110 jobname="rp_os424_mat_recon.rdf=" p_sesn_id= mast_ext=roymask.xls getFilestr=/no> imagekey=re
ports9i p_user_id= REMOTE_ADDR=10.10.105.54 SERVER_PROTOCOL=HTTP/1.1 authid=RWUser p_start_dt=30-JUN-2009= mode=bitmap REMOTE_HO
ST=10.10.105.54 destype=cache SERVER_PORT=8890 p_sch_id=shashi= report="rp_os424_mat_recon.rdf=" expiredays=0 ACCEPT_LANGUAGE=en
-us desformat=delimited p_agnt_cd=1492544= SCRIPT_NAME=/rwservlet rundebug=NO
[2011/1/19 7:37:1:668] Debug 50103 (ServerManager:getServer): Found server class object
[2011/1/19 7:37:1:669] Debug 50103 (ServerManager:getServer): ping server successfully
[2011/1/19 7:37:1:669] Debug 50103 (ReportRunner:connectToServer): New Connection request for userid: RWUser to server: test
[2011/1/19 7:37:1:673] Debug 50103 (ReportRunner:connectToServer): Connection succeeded for user: RWUser to server: test
[2011/1/19 7:37:1:709] Info 51022 (ReportRunner:Release): Connection object has been released
[2011/1/19 7:37:1:711] Exception 110 (): File 'rp_os424_mat_recon.rdf=' not found.
REP-0110: Unable to open file 'rp_os424_mat_recon.rdf='.
oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
at oracle.reports.RWExceptionHelper.read(RWExceptionHelper.java:67)
at oracle.reports.server._ConnectionStub.runJob(_ConnectionStub.java:504)
at oracle.reports.client.ReportRunner.dispatchReport(ReportRunner.java:288)
at oracle.reports.rwclient.RWReportRunner.dispatchReport(RWReportRunner.java:86)
at oracle.reports.rwclient.RWClient.runReport(RWClient.java:1671)
at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1525)
at oracle.reports.rwclient.RWClient.doGet(RWClient.java:366)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
[2011/1/19 7:37:1:711] Debug 50103 (RWClientUtility:isFromPortal): portal: null
[2011/1/19 7:37:1:711] Debug 50103 (RWClientUtility:isFromPortal): webdbversion: null
[2011/1/19 7:37:1:716] Debug 50103 (RWClientUtility:isStatusFormat): statusformat: null
[2011/1/19 7:37:1:717] Debug 50103 (RWClientUtility:isStatusFormat): statusformat: null
[2011/1/19 7:37:1:717] (RWClient:doGet) ...exitHI,
From where can I get access of the Doc id 341188.1. Could u tell me the solution? I'm stuck with it for more than 2 weeks.
Thanks in advance.
Regards,
Shashi Ranjan -
Generate Report Get Data to Modify.vi produces an error code 97
The "Generate Report Get Data to Modify.vi" produces error 97. I found some help regarding "font style.vi". The recommendation was to recompile the VI, but it didn´t work. Also to change the property node to a different property and back to the original didn´t work, too.
You hit the big solutions. Have you been able to isolate where in the VI the problem occurs? You will probably have to dig in the subVIs. Also do you see this problem if you install on another computer? Consider also reinstalling LabVIEW and Office if you are using the toolkit.
-
Hi, all!
i want to get data from groupname field of OCRG table by xl reporter
Now, i am using xl reporter version 6.80.01.29, SAP B1 2005B
How can do i! Can you help me! Thank you very much!"Get other data" is in the function tab, inside the option Other.
The last field in it, after you specify the fields and tables you want, is comparable to the WHERE sentence from a query, so you can do somethings.
Another possible solution is to select the hole table and then use Excel's function VLOOKUP.
Let me know if this solves your problem. -
After Generate Report Get Data to Modify.vi, the unbundle doesn't work right.
I'm fairly new to the program, interning at a local company. I activated LabVIEW 8.5 on two additional computers right as rain, but for some reason, on one of them, certain VIs, such as excel.llb\append report data (str).vi, do not execute. The broken arrow points to the unbundle by names, which take place after a Generate Report Get Data to Modify.vi . I took a look at the online evaluation version of LabVIEW 8.5 on the NI website, but the only differences between the working block diagrams online and the ones on my computer are that the ones on my computer don't have blue names. I clicked on the names online and several options appeared. I clicked on the names in the VI block diagram on my computer, and it didn't even have the option that it had by default. It's like the Get Data to Modify isn't passing any, or the right information.
Additional info: I had this problem on the other computer, but I just re-copied the files and it worked fine. That didn't happen with this one. Also, the same version of Office is installed on both of them. The biggest difference between that desktop and my work laptop is just that the desktop had the instruments I'm working with attached to it already. Could that be it?Hello,
Are you sure that you have the Report Generation Toolkit completely installed on the computer where you are seeing the issue? This may be available in the evaluation version, but not in your copy if you have not purchased it.
Also, I cannot find any VI titled excel.llb\Excel excel.llb\append report data (str).vi, could you double check this name so that others can help you out? If you do not have full functionality, I would assume that not all of the components are installed completely.
Kameralina
Ask NI (ni.com/ask)
Search The KnowledgeBase
NI Developer Zone
Measure It. Fix It. ni.com/greenengineering/
NI Vision ni.com/vision/ -
Not getting data in OBIEE report while pulling columns from different DB
Hi All,
I am creating a report in OBIEE 11g which uses Table A and table B which are joined in both physical layer and BMM layer. But somehow I am not getting any data in the report where as data is actually present for the matching joining columns. However when I made one of the tables (Table A ) as a driving table, I am getting data but only with a filter applied in the report which restricts the data to few records. If the filter is removed, I get an error which is " A Drive Table join exceeded the limit of XXX backend database queries".
Could anyone tell me what can be the issue? Other than using driving table, is there any alternate method to resolve the issue?
Thanks In Advance,
AnjuThe error is due to the setting MAX_QUERIES_PER_DRIVE_JOIN in the database features table that controls and tunes driving table performance. Also, try to follow these blogposts to do cross-database joins/federated queries: http://oraclebizint.wordpress.com/2008/03/19/oracle-bi-ee-101332-cross-database-joins/ and http://www.rittmanmead.com/2007/10/reporting-against-multiple-datasources-in-obiee/
Please assign points if helpful/correct. -
Problem getting correct data from MS Access after doing an Update
Hi all,
I have a problem getting correct data after doing an update. This is the scenario
I am selecting some(Eg: All records where Column X = �7� ) records and update a column with a particular value (SET Column X = �c� ) in all these records by going through a while loop. In the while loop I add these records to a vector too, and pass it as the return value.
After getting this return value I go through a for loop and get each record one by one from the DB and check if my previous update has actually happened. Since No errors were caught while updating DB, I assume all records are updated properly but my record set shows one after another as if it has not been updated. But if I open the DB it is actually updated.
This does not happen to all records, always it shows like this
1st record Mode = �c�
2nd record Mode = �7�
3st record Mode = �c�
4nd record Mode = �7�
9th record Mode = �c�
10th record Mode = �7�
I am relatively new to java and this is someone elses code that I have to modify,So I am not sure if there some thing wrong in the code too
//Here is the method that gets records and call to update and add to vector
public static Vector getCanceledWorkOrders() throws CSDDBException{
//Variable declaration
try {
objDBConn = DBHandler.getCSDBCon();
strSQL = "SELECT bal bla WHERE [Detailed Mode])=?)";
objStmt = objDBConn.prepareStatement(strSQL);
objStmt.setString(1, '7');
objWOPRs = objStmt.executeQuery();
while (objWOPRs.next()) {
//Add elements to a vector by getting from result set
//updating each record as PROCESSING_CANCELLED_WO(c)
iRetVal = WorkOrderDetailingPolicy.updateRecordStatus(objPWODP.iWorkOrderNumber, objPWODP.strPersonInformed, EMSConstants.PROCESSING_CANCELLED_WO);
if (iRetVal == -1) {
throw new NewException("Updating failed");
catch (Exception e) {
vecWONumbers = null;
throw new CSDDBException(e.getMessage());
}finally{
try {
objWOPRs.close();
objStmt.close();
DBHandler.releaseCSDBCon(objDBConn);
catch (Exception ex) {}
//return vector
//here is the code that actually updates the records
public static int updateRecordStatus(int iWONumber, String strPerInformed , String strStatus) throws CSDDBException{
PreparedStatement objStmt = null;
Connection objDBConn = null;
String strSQL = null;
int iRetVal = -1;
try{
objDBConn = DBHandler.getCSDBCon();
objDBConn.setAutoCommit(false);
strSQL = "UPDATE Table SET [Detailed Mode] = ? WHERE bla bla";
objStmt = objDBConn.prepareStatement(strSQL);
objStmt.setString(1, strStatus);
objStmt.execute();
objDBConn.commit();
iRetVal = 1;
}catch(Exception e){
iRetVal = -1;
}finally{
try{
objStmt.close();
DBHandler.releaseCSDBCon(objDBConn);
}catch(Exception ex){}
return iRetVal;
//Here is the code that call the records again
public static WorkOrderDetailingPolicy getWorkOrders(int iWorkOrderNo) throws CSDDBException{
Connection objDBConn = null;
PreparedStatement objStmt = null;
ResultSet objWOPRs = null;
WorkOrderDetailingPolicy objPWODP = null;
String strSQL = null;
try {
objDBConn = DBHandler.getCSDBCon();
strSQL = "SELECT * FROM [Work Order Detailing] WHERE [Work Order No] = ?";
objStmt = objDBConn.prepareStatement(strSQL);
objStmt.setInt(1, iWorkOrderNo);
objWOPRs = objStmt.executeQuery();
if (objWOPRs.next()) {
objPWODP = new WorkOrderDetailingPolicy();
objPWODP.iWorkOrderNumber = objWOPRs.getInt("Work Order No");
//......Get Record values
catch (Exception e) {
objPWODP = null;
throw new CSDDBException(e.getMessage());
}finally{
try {
objWOPRs.close();
objStmt.close();
DBHandler.releaseCSDBCon(objDBConn);
catch (Exception ex) {}
return objPWODP;
}Hello,
Can you put an example of your problem online?
Are you sure you're not having problems with case sensitive data?
Thanks,
Dimitri
Maybe you are looking for
-
Setting up iPhone for email - keeps downloading messages
Hi folks, hope you can help and please point me to a thread if this has been raised before. I have a Sky email account and use Outlook 2007 on my home pc as an email client. I was checking my Sky webmail account and noticed I had not set the Sky acco
-
I am getting lots of error on my Webtools sync process. Here is one of them The DELETE statement conflicted with the REFERENCE constraint "FK_ShipmentDetail_OrderDetail". The conflict occurred in database "B1WebTools_Pella", table "dbo.ShipmentDetail
-
I have a 3GS iPhone. It's IOS version wass 4.1. Then I updated the version to 6.0.1. When I finished my update i can't use my phone now. It can't activate. What should I do to solve this problem ?
-
How to install cisco prime 2.1 on a empty HP server
Hi all, i want to install cisco prime 2.1 using the physical appliance ISO File on a new empty HP Server, because we have no vmware environment. After booting from the ISO File I receive the error "connot find kickstart file on cdrom". Because of thi
-
What to be careful about when placing a picture on a two page spread for a yearbook
Hi, I am designing pages for a yearbook and I plan o using a double page spread with a single image. People's faces will be on the picture and I was cruious if the faces would be cropped or not visible due to multiple page of the yearbook so when it