Extra column in data?
I've got an extra column in my data that's putting commas in front of everything. The header says it's an unknown X value...any ideas on how to get rid of this phantom column of commas?
Attachments:
CSS Complete - Final29.vi 441 KB
The problem started when I added my cycle count to the data file. I'm getting a cycle count but it seems like it's in the form of x,y. The data looks like this. ,1,1.2,1.2,1.2,1.2
,1,1.2,1.2,1.2,1.2
This represents the first cycle. The numbers looks good, other than that leading "comma", like there's a phantom value there.
Attachments:
snip1.png 30 KB
Similar Messages
-
R12 Payment Process Request Status Report adding extra columns to XML data.
In 11i, we had modified the Preliminary Payment Report to include extra columns ( invoice distributions). In r12 , that report is obsolete and Oracle introduced a new report "Payment Process Request Status Report". This request uses BI Publisher to generate the final report output. I am unable to modify the template since the XML output of the report does not
contain the invoice distribution account data. We need to know how can we modify the XML data to include the extra columns.
For Funds Disbursement Process ( Payment Instruction File) , Oracle provides IBY_FD_EXTRACT_EXT_PUB extensibility package to construct custom XML element structure that can be added to the payment XML extract generated by Oracle Payments. Do we have something similar for this report ? Are there any other options available ?
ThanksHi
The same package "IBY_FD_EXTRACT_EXT_PUB" works for payment process request status report also. Please add the logic to get the distribution data in this package and you will see the new XML tags in this report also.
Hope this helps.
Vinit -
How to Load data for extra columns exist in the dest schema....
Hi Experts,
Please help me.
I need to replicate data from SchemaA to SchemaB.
SchemaB has 3 extra columns. Two are varchar2 type and other is Integer type.
I need to replicate the data from SchemaA to SchemaB in the same database.
When ever i inserted the data in SchemaA, The extra columns should be populated with some default data.
And if we did any update on SchemaA then the extra columns on SchemaB should be populated with other Data.
I wrote some DML_HANDLER but it always populating same data.
I dont know ow to handle this type of situation.
my Handler is:
CREATE OR REPLACE PROCEDURE dml_handler(in_any in sys.anydata)
IS
lcr SYS.LCR$_ROW_RECORD;
rc PLS_INTEGER;
object_owner VARCHAR2(30);
BEGIN
rc := in_any.GETOBJECT(lcr);
object_owner := lcr.GET_OBJECT_OWNER();
IF lcr.get_object_owner() = 'SchemaB' THEN
lcr.add_column('new','SHIP_DATE',sys.anydata.convertvarcahr2('N'));
lcr.add_column('new','SHIP_ZONE',sys.anydata.convertvarchar2('N'));
lcr.add_column('new','SHIP_REACH_BY_DATE',sys.anydata.convertnumber(1));
lcr.EXECUTE(TRUE);
END IF;
END;
BEGIN
DBMS_APPLY_ADM.SET_DML_HANDLER
(object_name => 'SchemaB.TAB_TEST',
object_type => 'TABLE',
operation_name => 'INSERT',
error_handler => FALSE,
user_procedure => 'STRMADMIN.DML_HANDLER');
END;
On extra columns in SChemaB
if its a first insert then the default values are (N,N,1).
If we did any update the values should be (Y,Y,2)
Post any script or give me some idea.
Thanks,
Ray
Edited by: user7423698 on Mar 3, 2009 6:12 PMCREATE OR REPLACE PROCEDURE dml_handler (
in_any IN SYS.ANYDATA
IS
lcr sys.lcr$_row_record;
rc PLS_INTEGER;
cmd_type VARCHAR2 (30);
BEGIN
rc := in_any.getobject (lcr);
cmd_type := lcr.get_command_type;
IF cmd_type = 'INSERT'
THEN
lcr.set_values ('new', lcr.get_values ('new', 'N'));
lcr.add_column ('new', 'type', sys.anydata.convertchar ('I'));
lcr.set_values ('old', NULL);
lcr.add_column ('new', 'time', sys.anydata.converttimestamp (systimestamp));
lcr.execute (TRUE);
END IF;
END;
Set the DML handler for INSERT and write a similar one for UPDATE. -
Extra column in Crosstab report
Hi Experts,
We are designing a cross tab report (using CR 2008) and got stuck at one point. If we want to add an extra column in cross tab, what is the way to insert the same?
Currently our cross tab is designed using 3 elements: Country, Month and Sales. We would like to add an extra column u201Clast year salesu201D before Month data. This element is present in database.
Any help / suggestions would be appreciated.
Regards,
ChinmayRight click Cross tab - -> Cross tab expert
Drag field into columns and the position with up/down arrows
Ian -
KSB1 user exit & extra column.
Hi
How do I add my own extra column on the report "Display actual cost line items for cost centers' - SAP transaction KSB1.
Thanks
RendaniHi,
Pls find the user exits available for the tcode :KSB1 below:
COCCA001 Customer enhancement to cost center authorization checks
COCCA002 Customer Functions for Organizational Authorization Checks
COOMEP01 CO-OM: Information system -> line item reports
COOMKA01 Customer Fields for Cost Element Master Data
COOMKS01 Customer Fields for Cost Center Master Data
COOMKS02 Cost Center: Checks When Saving
COOMKS03 Cost Center: BAPI Enhancements
COOMLA01 Customer Fields for Activity Type Master Data.
Pls reward if helpfull.
Regards,
Sharath -
Auto created FK columns in data modeler
Newbie to sql data modeler and have this question.
When created a relational model, it automatically generated many extra columns for Foreign Keys with notion of (1,2,..) Is there a setting to disable it. I like to have the generated DDL not to include these extra columns . Thanks.Hi,
you can create foreign keys in two ways:
1) using table dialog - no new FK columns are generated
2) using "New FK Relation" tool - new FK columns are created automatically; However you can tune the process to your preferences:
- "General Options>General" page - select "Show properties dialog on new object" - as result FK dialog will appear when new FK is created;
- "General Options>Model>Relational" - select "Delete generated FK columns" - auto generated FK columns are here to help - you always have to define FK columns as part of FK definition (no functional FKs in current release) - you can replace these columns with existing columns and auto generated FK columns will be removed automatically (this cause only auto generated columns).
At the end you can find that auto generated columns are not that bad.
Philip -
Using SAP Tokens & showing extra columns to choose
I have a Crystal Report where I have a SAP token parameter to select a budget scenario to run the report based on.
My token is selecting the 3 columns I need to display inorder to select the correct scenario - AbsID, Name & FinancYear.
Budget@Select AbsID, Name,FinancYear from OBGS order by 3
When I preview in SAP my drop down box only gives me AbsID and name - which is of course a list diplaying "Main Budget" repeated for the number of financial year I have in the database.
As these Main Budgets can (and have) been created in any order, it is impossible toexpect the users to select the correct budget from the displayed data.
As there is no direct join from OBGS to OFPR on financial year, I can't work out how to either display the additional column in the choose from list, or filter my selection statement so it will only give scenarios that relate to the financial year for the period I have selected
Any sensible suggestions welomed!Hi Julie,
Remember that combo box controls in SAP can only display two values, a code and description, or in the case of report tokens the first two columns you specify in the token query. Seeing as you need the third column to distinguish between the first two sets of values a combo box is no use to you on it's own.
The following is off the top of my head and untested but what about either replacing the combo box with a CFL that shows as many columns as you need (and by nice coincidence the first column in that table is the value you want selected, AbsID), OR, created two report parameters the first displays the Financial Year and the second displays the AbsID and Name values for the selected FinYr?
Remember I'm writing this free hand so you'll need to test to make sure it's ok.
Replace Cbo with CFL
Budget@Select * From OBGS order by 3
This should display a CFL where you can add any extra columns needed from the form settings.
Two Cbo Parameters
FinYr@ SELECT F_RefDate FROM OFPR
Budget@Select AbsID, Name from OBGS WHERE FinancYear = ('FinYr@') order by 3
So you can reference one parameter name inside another to limit the results displayed by the second parameter.
One of the above or some variation should get you what you need.
Regards,
Andrew. -
Hi!
I would like to show a new column from material master in the list generated in transaction CS12.
I have checked these links but I cannot solve my problem:
user exit for CS11, CS12, CS13 (BOM ALV browser)
Add Extra Columns into Multi-Level Explode BOM (List Report) - CS12
Regards,
Imanol DehesaThe problem started when I added my cycle count to the data file. I'm getting a cycle count but it seems like it's in the form of x,y. The data looks like this. ,1,1.2,1.2,1.2,1.2
,1,1.2,1.2,1.2,1.2
This represents the first cycle. The numbers looks good, other than that leading "comma", like there's a phantom value there.
Attachments:
snip1.png 30 KB -
Extra columns in report by pl/sql
Hi,
In my application (about wheater data) I need a report with an undefined number of columns. E.g. a user wants data about temperature and wind. Another user may want to see temperature, wind, humidity en may-be more.
I've build a collection with the result of the chosen parameters. After a submit I try to fill in a report according to the following PL/SQL-block:
declare
q varchar2(4000);
cursor c1 is
select c001 from htmldb_collections
where collection_name = 'ROEL'
order by c001
begin
q := ' select datum, tijd_code';
q := q||', sum(decode(kanaal,15,gemiddelde,0)) as gem_15';
q := q||', sum(decode(kanaal,33,gemiddelde,0)) as gem_33';
for cc1 in c1
loop
q := q||', sum(decode(kanaal,'|| cc1.c001||', gemiddelde,0)) as gem_'||cc1.c001;
end loop;
q := q||' from meteo_data where 1=1 ';
q := q||' and datum between nvl(:p1_startdatum,''01-jan-03'') and nvl(:p1_einddatum,''31-dec-99'')';
q := q||' and tijd_code = 3';
q := q||' group by datum, tijd_code';
htp.p(q);
return (q);
end;
When I make no selections (collection empty) then everything works correct.
But when I do make some choices, then a "report error: ORA-01403: no data found" is displayed.
I think this has to do with the extra columns that are defined in the FOR-Loop.
What am I doing wrong??
And can someone help me to solve this problem??
Thanks in advance,
RoelSomething wrong ??
I posted this message 4 september 2004
Roel -
Extra columns when numbers doc is saved in excel format?
When i save the document i create in numbers as a compatible excel file, it adds extra columns to my sheet. If saved as a numbers file it does not add the columns only when saved to excel. I've tried everything and they always come back.
Help...thanksHi N,
You're looking at one of the differences in the models used by Numbers (multiple small tables) and Excel (one large table containing islands of date).
A Numbers table has as many columns and rows as it needs.
An Excel table has more rows and columns than are needed to accommodate its data.
Regards,
Barry -
In Numbers, how can i change only the year in a date formatted column of data?
I'm using Numbers 3.5.2 on an iMac running Yosemite 10.10.2.
This column is a listing of dates tied to info that needs to happen on a particular date each year. Rather than re-key all the dates so the year advances to 2015, it would be great if I could change just the year for the entire column, leaving the day and month intact.
Thanks in advance for your help.If you already have a column of dates, and just want change the year in the entire column, rather than reenter the dates, then you could use a formula something like this:
The formula in B2, copied down the column:
=DATE(YEAR(A2)+1,MONTH(A2),DAY(A2))
Then select the new column, command-c to copy, and Edit > Paste Formula Results. The original column can then be deleted.
SG -
How can we get Dynamic columns and data with RTF Templates in BI Publisher
How can we get Dynamic columns and data with RTf Templates.
My requirement is :
create table xxinv_item_pei_taginfo(item_id number,
Organization_id number,
item varchar2(4000),
record_type varchar2(4000),
record_value CLOB,
State varchar2(4000));
insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'USES','fever','TX');
insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'HOW TO USE','one tablet daily','TX');
insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'SIDE EFFECTS','XYZ','TX');
insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'DRUG INTERACTION','ABC','TX');
insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'OVERDOSE','Go and see doctor','TX');
insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'NOTES','Take after meal','TX');
select * from xxinv_item_pei_taginfo;
Item id Org Id Item Record_type Record_value State
493991 224 1265-D30 USES fever TX
493991 224 1265-D30 HOW TO USE one tablet daily TX
493991 224 1265-D30 SIDE EFFECTS XYZ TX
493991 224 1265-D30 DRUG INTERACTION ABC TX
493991 224 1265-D30 OVERDOSE Go and see doctor TX
493991 224 1265-D30 NOTES Take after meal TX
Above is my data
I have to fetch the record_type from a lookup where I can have any of the record type, sometime USES, HOW TO USE, SIDE EFFECTS and sometimes some other set of record types
In my report I have to get these record typpes as field name dynamically whichever is available in that lookup and record values against them.
its a BI Publisher report.
please suggestif you have data in db then you can create xml with needed structure
and so you can create bip report
do you have errors or .... ? -
Hi there,
I added a column to an existing alv report which uses method 'set_table_for_first_display' to display the output.
The method is called via:
grid1 TYPE REF TO cl_gui_alv_grid,
CALL METHOD grid1->set_table_for_first_display
EXPORTING
i_structure_name = 'MAT_DATA'
is_layout = lt_layout
is_variant = lt_variant
i_default = lt_default
i_save = 'A'
it_toolbar_excluding = lt_exclude[]
CHANGING it_outtab = mat_data[]
it_fieldcatalog = w_fieldcat[]
EXCEPTIONS
program_error = 1.
The extra columns are in the field catalog and mat_data.
The lt_variant-report field has the report name in it.
When I run the report the new column does NOT appear.
I cleared out the lt_variant-report value and now the new column DOES appear.
Any idea why this is happening?
Is there some way I can leave the report name in there and see the new columns?
Thanks.thanks.
no_out is initial.
But, in this case, I am not passing any variant.
It works if I don't pass the report name in the
is_variant-report
field.The columns will not display if I pass the report name. -
Is there is way to hide a column in data grid column?
Is it possiblo to reorder the column like in excel . I know its not possible bcoz it <table> tag ...Select the column within the table and in the property window uncheck the visible. You can also include visible="false" in the jsp page within the column tag.
-
Hiding the columns in data table in jsf
Hi Guys,
I have stuck one situation in my project . i.e i want to hide the columns in Data table in jsf.
Please response this mail.
Thanks
NarneSee this...
[http://forum.java.sun.com/thread.jspa?threadID=5119514&messageID=9938606]
Maybe you are looking for
-
Scheduling agreement_track the quantity
Hi Experts, The requirement of the customer is entered in a Scheduling agreement. Sometimes the schedules are changed in the quantity only. The customer needs a report that should show the quantity entered earlier and changed later. The scheduling ag
-
I have identified couple of Business Content cubes , which I am going to compare against the business requirements . I have to do a prototype , to present to the users. My question is , R/3 system has some data in Dev and it is not live yet , so how
-
What happens when the iPhone needs an activation and it doesn't respond? Then it asks me to restore it but due to an unknown error (-1) the iPhone can't be restored.
-
How to resolve service command-key conflicts?
Every time I type command-M to check mail in Eudora 6.2.4, I hear a system beep. This is not coming from Eudora, as I have alerts turned off. I thought it might be a service conflict and have tried Service Scrubber, but to no avail (spell catcher 10.
-
Can anyone help me on this. Probably I am asking the correct forum I have installed Jasper Reports Server 4.0 on Red Hat Linux 2. I have created a report in ireport. But still not getting how to compile the file in Linux box. Any idea. Thanks Debraj