How to add a column to an existing report
Hi,
I have a report which I need to modify (add a date column). I included the date in the query but it doesnt show up when I run the report.
Where else do I have to make changes and how?
I need some help.
Thank you all so very much.
A/A
Hi,
mhh, how should we know what you've done? Could it be that you tried to arrange the fields to bring the new field at the right position and you not only arranged them to the top, but additionally to the left ????
Regards
Rainer
Similar Messages
-
How to Add new column in cross tab reports
I am using crystal reports 10
I created cross tab report for monthly sales. I need to add one more column in that report
ex:
Month Customer Part1 Part2 Part3
Jan A 10 12 15
Jan B 20 0 10
Jan C 0 3 5
Feb A 5 10 8
Feb D 55 23 33
In above data Parts are no limit, thatswhy i am taking cross tab report.
I am taking Month and Customer name as Rows,
Part Codes as Colums,
Quantiry as Total fields in cross tab Report.
Here month field is storing as Transaction date in database, I am calculating by month
I am getting upto this.
User needs add one more field is Invoice no
Month Customer Part1 Part2 Part3 Invoice no
Jan A 10 12 15 B1,B2,B3,B4
Jan B 20 0 10 B12,B30
Jan C 0 3 5 B6
Feb A 5 10 8 B35,B40
Feb D 55 23 33 B25,B56
How to add invoice nos by group wise(By customer and By month)
Thank you.
Raja shekar Reddy K.
Edited by: Raja shekhar Reddy on Apr 16, 2009 5:10 PMDear Amogh,
Thanks for u'r Replay.
If i use new crosstab for Invoice no each invoice number can display like seperate columns.
But I need Invoice no in single column with seperate with "," or "/".
Thanks & regards,
Raja Shekar Reddy K. -
How to add a column in alv grid report to show the serial no.
i need to add column to show the row no. of the report say as :
1
2
3
this has to be the first column
how to maintain a variable for this and how to use it??
please helpone simple way is in your final itab declare a slno type i field
data : begin of itab occurs 0,
slno type i,
<other fields>
end of itab.
after filling the data in itab.
loop at itab.
itab-slno = sy-tabix.
modify itab.
endloop.
in fieldcatalog also you have to define that slno field as the first column.
but it will change its order if you are sorting the output or filtering the output.
regards
shiba dutta -
How to add additional field to the existing report
hi,
report name is RHXPE_EXPIRED_QUALI
if u execute report alv list is genereted with like this.
object type, id of related object, object name, object type, id of related object,last name, first name like this
where can i get these field descriptios in the prigram becoz many perform ststements r there. i want to add additional field text.
program is:
CORRECTIONS
DATE CORRECTION NOTE AUTHOR DESCRIPTION
09.03.2001 0388404 XSC Wrong list output for multiple Os
05.06.2001 AL0K023393 0410219 Lud Wrong keydate for search with
Pchbegda and pchendda.
30.01.2002 S6BK000033 0491055 TS Report: RHXPE_EXPIRED_QUALI
doesn't provide a spool list.
REPORT rhpk_find_pers_with_expired_qu MESSAGE-ID pq.
TABLES : pchdy.
INCLUDES
INCLUDE rhxmacro.
INCLUDE rhpeini0.
TABLES
DATA: objects LIKE hrsobid OCCURS 1 WITH HEADER LINE.
VARIABLES
DATA: subrc LIKE sy-subrc.
DATA: orgeh_text LIKE t777o-otext.
SELECTION SCREEN
objid
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
PARAMETERS:
pchplvar LIKE p1000-plvar NO-DISPLAY, "plan version
pchotype LIKE pchdy-otype NO-DISPLAY. "objecttype
Objid
rhx-f4-objid-data.
SELECT-OPTIONS: pchobjid FOR pchdy-objid_str NO INTERVALS.
Search
PARAMETERS:
pchseark LIKE pchdy-seark. "matchcode object plom.
SELECTION-SCREEN END OF BLOCK b1.
Objecttime
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.
PARAMETERS: se_begd LIKE p1000-begda DEFAULT sy-datum, "'19000101',
se_endd LIKE p1000-endda DEFAULT high_date.
SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-005.
PARAMETERS:
h_events LIKE dynp_rhpp-gen_train, "with training sugg
h_qual LIKE dynp_rhpp-expired_qual. "with Qual
SELECTION-SCREEN END OF BLOCK b3.
AT SELECTION-SCREEN ON pchobjid.
PERFORM check_objid_sign(rhxchk00) USING pchobjid-sign.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR pchobjid-low.
rhx-f4-objid-low pchplvar pchotype pchobjid '' ''.
AT SELECTION-SCREEN.
PERFORM check_plvar(rhxchk00) USING pchplvar.
PERFORM check_seark(rhxchk00) TABLES pchobjid
USING pchseark pchplvar pchotype.
INITIALIZATION
INITIALIZATION.
PERFORM read_t77s0_parameters_for_pe.
get user parameters/Planvariante und Beginndatum setzen:
pchotype = $orgeh.
CALL FUNCTION 'RHP0_USER_PARAMETERS_GET'
EXPORTING
fill_if_initial = 'X'
IMPORTING
plvar = pchplvar
begda = se_begd
endda = se_endd
with_key =
SUBSTITUTE =
ESSENTIAL = only_essential
org_unit = pchobjid-low
EXCEPTIONS
OTHERS = 0.
SE_BEGD = LOW_DATE. "Correction AL0K023393 0410219
IF NOT pchobjid-low IS INITIAL.
pchobjid-sign = 'I'.
pchobjid-option = 'EQ'.
APPEND pchobjid.
ENDIF.
START-OF-SELECTION
START-OF-SELECTION.
correction 0491055
correction was done for getting a spool list in background-processing.
CASE sy-batch.
WHEN space.
SUBMIT rhpe_expired_quali
WITH pchplvar = pchplvar
WITH pchotype = pchotype
WITH pchobjid IN pchobjid
WITH pchbegda = se_begd
WITH pchendda = se_endd
WITH h_qual = h_qual
WITH h_events = h_events
AND RETURN.
WHEN 'X'.
SUBMIT rhpe_expired_quali
WITH pchplvar = pchplvar
WITH pchotype = pchotype
WITH pchobjid IN pchobjid
WITH pchbegda = se_begd
WITH pchendda = se_endd
WITH h_qual = h_qual
WITH h_events = h_events
TO SAP-SPOOL.
ENDCASE.
END-OF-SELECTION
END-OF-SELECTION.Hi,
I think you need to show more programs.
you said, the report program is 'RHXPE_EXPIRED_QUALI', but you upload 'rhpk_find_pers_with_expired_qu' program.
usually, ALV field is modifyed in 'PERFORM fieldcatalog_modify', if you use Functional ALV.
Try to search 'fieldcatalog function', you will find easy.
Regard,
SY Kim -
How to add one column in existing search help.
Hi Folks,
My quesion is
How to add one column in existing search help and also Now search help on that field is not an explicit search help. It should be implement using check table.
ShivamHi,
If you want to add a field in Elementary search help, get the search help name for the and go to change mode and add the field in it.
If you want to add a field in collective search help, go to included search helps tab and a new search help name and add the fields to it.
I think this should help you to certain extent.
Regards,
Kranthi
Edited by: Kranthi on Jan 14, 2010 11:15 AM -
FBL5N : how to add a column of the Account's name?
Hi,
the list displayed by Tcode : FBL5N contain only the number of account, please how to add a column of Account's name ?
Please advise
Regards.When you are in the FBL5N display results screen, use the menu option Settings --> Special Fields.
There are also the following notes which would explain you how to add special or new fields to the line items :
- 310886 Line items: Dynamic selections ignored
- 215798 FBL*N: Special fields are not displayed
- 373268 Line item: new display field
The special field has to exist in table T021S. -
HOW TO: Add /manipulate columns for a GridControl
HOW TO: Add /manipulate columns for a GridControl when the columns (attributes) are from different entity objects.
This HOWTO describes the basic steps of using attributes from different entity objects for a GridControl.
One way you can create a GridControl which contain attributes from different entity objects is to create a view object and base it on the entity objects which contain
the desired attributes.
Here are the basic steps:
1.Create a new view object (or use an existing view object) by selecting File>New from the menu, clicking the Business Components tab and double-clicking
on the View Object icon.
2.In the View Object wizard change the name to something meaningful.
3.Select the entity objects you will base your view object on.
4.Nivigate to the attribute screen and select the attributes you would like to include in your view object from each entity object. At this point you can also create
a new attribute by clicking the "New" button. The new attribute can be a concatenation of other attributes, derived from a calculation etc.
5.In the query panel of the View Object wizard, click "Expert mode" and enter a query statement. You write complex queries such as decoding a set of attribute
values.
6.Add your newly to your newly created view object to the application module by double-clicking on the application module in the navigation pane and selecting
your view object from the list.
7.Create a new row set.
8.Bind row set to a query by editing their queryinfo property and selecting your view object and its attributes from the queryInfo pane.
9.Create a GridControl and bind it to the row set by editing the dataItemName property of the GridControl. Since the GridControl is bound at the row set level
all of the related attributes are automatically added.
nullMichael,
Are you intending this as a commercial solution or a work around?
To take an existing equivalent, one would build a view in the database tailored for each grid in an Oracle Forms application. Or a separate query layered over tables for each form/grid in a Delphi or Access application? Even if it is ninety nine percent the same over half a dozen forms/grids?
And now you've added a whole slew of "slightly different" rowSetInfos to maintain.
So if you wanted to add a column that needs to appear everywhere... you've just increased the workload multi-fold?
That would be a management nightmare, wouldn't it? Not to mention yet more performance cost and a slower system?
Hmmmm..... I'm not sure I like where this is headed... someone needs to do some convincing...
null -
Query to add a column in between existing cols of a table?
HI All,
I have two questions.
1. Query to add a column in between existing cols of a table? (not at the end. This is view of an order of output fields in a report)
2. How do I swap the contents of two columns in a table. Suppose in a table tab there are 2 cols , col1,col2 populated with some data.
I need a query(probably) to swap the col1 and col2 values . NOT AS A RESULT SET, BUT IT NEEDS TO GET CHANGED IN THE TABLE.
Please help !> 1. Query to add a column in between existing cols of
a table? (not at the end. This is view of an order of
output fields in a report)
Not really sensible ito DBMS - it does not care how you want to view the data. The sequence and formats of columns are what you/the application need to specify in the SQL's projection clause.
Also keep in mind to achieve this, the DBMS will need to rewrite the entire table to fit this new column in-between existing columns. This is not the best of ideas.
The projection of rows is dealt with SQL statements - not with the physical storage implementation.
> 2. How do I swap the contents of two columns in a
table. Suppose in a table tab there are 2 cols ,
col1,col2 populated with some data.
I need a query(probably) to swap the col1 and col2
values . NOT AS A RESULT SET, BUT IT NEEDS TO GET
CHANGED IN THE TABLE.
This seems to work:
SQL> create table foo_tab( c1 varchar2(10), c2 varchar2(10) );
Table created.
SQL> insert into foo_tab select TO_CHAR(rownum), TO_CHAR(object_id) from user_objects where rownum < 11;
10 rows created.
SQL> commit;
Commit complete.
SQL> select * from foo_tab;
C1 C2
1 55816
2 55817
3 55818
4 55721
5 105357
6 105358
7 105359
8 105360
9 105361
10 60222
10 rows selected.
SQL> update foo_tab set c1=c2, c2=c1;
10 rows updated.
SQL> select * from foo_tab;
C1 C2
55816 1
55817 2
55818 3
55721 4
105357 5
105358 6
105359 7
105360 8
105361 9
60222 10
10 rows selected.
SQL> -
How to add new columns in predefined matrix in system form
Hi all,
I am new to SAP B1. I am going to add New column to Good Receipt PO matrix. I faced the one error " Matrix Line Exists " While adding new column to good receipt PO matrix".
=========================================================
Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
oMat = oForm.Items.Item("38").Specific
oCols = oMat.Columns
oCol = oCols.Item("U_MyCol")
If pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD And pVal.BeforeAction = True And pVal.FormType = "143" Then
Try
oForm = SBO_Application.Forms.Item(pVal.FormUID)
oMat = oForm.Items.Item("38").Specific
oCols = oMat.Columns
'oCol = oCols.Item("U_MyCol1")
oCol = oCols.Add("U_MyCol1", SAPbouiCOM.BoFormItemTypes.it_EDIT)
oCol.TitleObject.Caption = "Qty Accepted"
oCol.Width = 40
oCol.Editable = True
oCol = oCols.Item("U_MyCol1")
Catch ex As Exception
SBO_Application.MessageBox(ex.Message)
End Try
End If
oDBDataSource = oForm.DataSources.DBDataSources.Add("PDN1")
''oEdit.DataBind.SetBound(True, "PDN1", "U_QtyAccepted")
============================================================
And i also added for Datasource to Databind. what there is no result ??i wanted Clear information regarding this to add new columns in matrix in middle of Matrix items. I wanted Clear coding& information for this to add new Columns in Matrix ?help me regarding this asap??
Regards
ANANDAnand,
If you use the "search" feature of this forum and type "add column", you will find many posts that may help you such as this one ...
How to add a column on sales order matrix?
HTH,
Eddy -
How to add a column in table control
Hi ,
Can any one tell me how to add a column in table control? My requirement is to add two columns ( custom fields ) into table control ( It is a standard program). I have added the column in the table and also in the table control. But when I am running the standard program, The newly added column is not there. But I have added in the perticular screen. Change is not reflected.
Can anyone help me on this please.
Thanks in advance.
Regards,
Lakshmi.Hi,
Ensure the following :
1. After adjusting the database, you`ll have to use the database utility and activate the table.
2. If you have changed the standard screen, in tcode se80 -- right click on the program and click activate all. This activates all objects related to that program.
Now execute the program.
Reward if helpful.
Regards -
How to add different columns in a single dashboard prompt?
Hi
I am new to this forum. I got a new requirement, my client is asking me to show multiple columns with multiple tables in a single dashboard prompt
for Ex: Column name Table name
1. Customer 1. Customer Details
2. Market 2. Region
3. Order 3. Order Status
4. Product 4. Product Type
He wants to show all these column names in a single prompt when user click on the particular column name it should appear on report. Is it Possible? if possible tell me how?See this thread...
Re: How to add new columns by using Multiselect -
How to add two columns in OBIEE report?
Hi to All,
Can anyone tell me how to add two columns in OBIEE report and get that result in a new column?
Thanks in Advance,
ThenmozhiAssume you already have two columns SalesAmt1 and SalesAmt2, and you want to derive 3rd column say SalesAmt3 which would be the sum of SalesAmt1 and SalesAmt2.
For this, as I mentioned above pull SalesAmt1 and SalesAmt2 columns in Report. Now pull another column (say SalesAmt1) and open the fx. Clear the contents of fx. Now locate the columns button in the bottom of the fx. From Here, first select SalesAmt1 and + sign and the select SalesAmt2.
Now in this new column, the fx should look like SalesAmt1 + SalesAmt2.
Let me know if you are looking for something else.
Thanks -
How to add new row and update existing rows at a time form the upload file
hi
How to add new row and update existing rows at a time form the upload file
example:ztable(existing table)
bcent smh nsmh valid date
0001112465 7.4 26.06.2007
0001112466 7.5 26.06.2007
000111801 7.6 26.06.2007
1982 7.8 26.06.2007
Flat file structure
bcent nsmh valid date
0001112465 7.8 26.06.2007 ( update into above table in nsmh)
0001112466 7.9 26.06.2007 ( update into above table in nsmh)
000111801 7.6 26.06.2007 ( update into above table in nsmh
1985 11 26.06.2007 new row it should insert in table
thanks,
Sivagopal RHi,
First upload the file into an internal table. If you are using a file that is on application server. Use open dataset and close dataset.
Then :
Loop at it.
*insert or modify as per your requirement.
Endloop.
Regards,
Srilatha. -
How to add new column in Report ME2L
Dear Sir,
We are using ME2L for various purposes . In the ME2L report we need to add 2 new columns i.e Item Delivery Date and WBS Element .
Although in the standard ME2L report , after the basic list generation , there have been provided 2 icons for getting the report displayed with either WBS Element or with Delivery Date . It means we can not get both the column Delivery Date and WBS Element available simultaneously in the standard ME2L report .
We request you to kindly guide us as how can we add these column in the ME2L report pl . We are on ECC-6.0 and not having enhancement package 4.0 .
Kindly help us pl .
Regards
Sonia AgarwalHI Pradeep,
Goto the transaction code (Change Report) GR32.
Give you library name and report name
And click on the column (application tool bar or F7) button then place the curser on the screen where you want column (please note you have to keep curser on the header section u2013Red column text) right click and insert element. Then you select formula as selection element and enter. You will get the enter formula box. Then you can type your formula and continue. This will add new column to the report.
How to enter formula: you can see the formula components in that id and description.
Id is columns that are present and description indicates explanation of that column.
Enter formula according your requirement.
Examples:
Enter formula screen:
ID : des
X001 amount
X002 pt000
X003 test
1. Enter formula as: ( X001 u2013 X002)
The above formula is for fist column u2013 second column.
2. ( ( X001 u2013 X002) / X003) * 100
First column u2013 second column and devide by third column after that multiple with 100.
Hope this will help you
Regards
Manohar -
[Ai-CS4] How to add an art board to existing document ?
hi all,
can anybody suggest me how to add a new artboard to existing document? I didn't find any ArtBoard Palette in CS4. But in CS5 it is given.
thanks,
D.AThe Artboard panel is new to AiCS5. In CS4, a new artboard can be added by doing either of the two:
1. Pick the Artboard Tool and click-drag it in the canvas area of the Illustrator document.
2. Pick the Artboard Tool, click on the 'New Artboard' button in the Control Panel. Then select the desired size from the list of Artboard Presets in the Control Panel and then click in the desired area of the canvas to add a new Artboard.
Hope this helps.
Neeraj
Maybe you are looking for
-
How to recover a missing program
Hi guys Im facing an issue on our SLM system where one of the Z programs is missing. I've checked on SE38 and the program is not listed. I have tried to check on Version Management but there are no previous versions. The only activity was a EHP 1 Upg
-
Seperating time and date from time stamp
Hai, Can somebody tell me how time and date are seperated from a time stamp with format like 12/01/2006 1:21:36 I want 12/01/2006 in one object and 1:21:36 in another object. Also as BW takes only format YYYYMMDD, does having 12/01/2006 make a
-
Hello, I have a Mac computer that I do most of my photo work on. I recently downloaded a free version of Adobe Elements 12 and although I think I need a few classes I'd like to eventually purchase the product. However, I have 2 other PCs that I would
-
IMPORT GR problem of accounnting Doc
hi all, i am facing a problem while creating Import Material GR line Items are more than 999.but for the accounting document range is limited up to 999. if i do GR for 50 - 50 i.e. split into two there is a problem of GR reference document as we are
-
source schema like <ns0:empdetails xmlns:ns0="http://BizTalk_Server_Project3.Schema1"> <employee> <FirstNmae>Kapil</FirstNmae> <lastname_x0020_></lastname_x0020_> </employee> <employee> <Firstname>Kiran</Firstname> <Lastname>Ku