Show in Columns values (import) depend of the combination of characteristic
Hi All
I have a requirement about Query
Let me try to explain the details:
The user want to give me in excel file (or text file ) the combination of some characteristics that the report need to filter in reports, he say, for example If I specify combination of ZSOURCE-ZCOMPCODE-ZZONA, please give me the result in one column (zresult_1), and in column zresult_2 don't show result, write $0.00.
Is it possible specify in a query condition that contain characteristics (3, 4 characteristics, etc)?, or something that the query take for show values depend of conditions?
I know about condition, excepcion, but as I understood this can be only for key figures, I can't say to system if characteristic is equal a, etc.
The idea is that all the combination that the user tell me only be displayed in one column, and the rest in other, etc.
I made an example on link, please try to show it,
link[http://docs.google.com/Doc?docid=0Ad28qFkDq1jiZGd6NGdwdHBfMWdrbjdrNm5w&hl=en]
I will appreciate your help
Thanks in advanced
Al
Hi leanhe
Thanks for your answer
Unfortunately, the combination that the user will give me can change during the time, this mean that He can add more records for combination or may be modify.
When you menction structure, this mean that I can create a Structure and specify por examplo: ZCOMPCODE = "0120", "0130", ETC? and other characteristic with specific values??
The other option as I understand you its that I can evaluate in ABAP Rotine this characteristic and save a result in new KF or characteristic, is it correct the idea?, the problem that I see here it's that if the user add new records in Z Table, this will not be evaluated.
If you can give me another idea, I will appreciate your help.
Thanks in advanced.
Al
Similar Messages
-
Hi,
Am trying to develop a report the parameter has an issue, it gives me an error.
There are 2 parameter (1st is Date range like start and end date and 2nd is Loan number)
When ever I select date range the Loan number parameter should go blank. If I input a loan number then date range should go blank.
What should I do. Please help
ERROR --report parameter startdate has a defaultvalue or a valid value that depends on the report parameter startdate forward dependencies are not validHi Kay_MD,
If there are only two parameters, we can use first parameter charge the second one, but the second one cannot charge the first one in turn. Because parameter forward dependencies are not valid. To achieve your requirement, we can create another parameter
to control Date_range and Loan_number parameters. For more details, please see:
Add a parameter named ReportParameter1 with two available values: Date_range and Loan_number.
Use the following expression as the default value in Date_range parameter:
=iif(Parameters!ReportParameter.Value="Date_range",1,"") (1 means a useless value)
Use the following expression as the default value in Loan_number parameter:
=iif(Parameters!ReportParameter.Value="Loan_number",1,"") (1 means a useless value)
Please note that the Date_range and Loan_number parameters should enable Allow blank value (“”), and the blank values should also be contained in available values.
If there are any other questions, please feel free to let me know.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Hide or show ratios in a query depend of the entry variable
HI gurus,
I wish hide or show rates depending if the user choose a entry variable. For example for 2008 dates take three ratios and for 2009 others.
ThanksOK. WAD problem !
Basically you need to use some HTML expertise to resolve this issue.
Creat a new template with Radio button or a dropdown button which will contain the available values what user can select.
something like as follows:
o 2008
o 2009
Now this can be done using java script.
You will have two different templates. One for 2008 query and second for 2009 query. Run them and get the URL of the reports.
Then in the HTML on the "onSelect" event, put the URL.
So if user selects the 2008, on the next page, you will see 2008 query and if they select 2009, then you will see 2009 query.
- Danny
Edited by: Danny Matt on Jul 10, 2009 3:08 PM -
Hi
This question is related to table component implementation.
I want to display the column values inside the small round image with different colors and value should appear in the middle.Hi,
>>1. how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
2. how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
3.how to make my column headers in bold?<<
I’m sorry for the issue that you are hitting now.
This itextsharp is third party control, for this issue, I recommended to consult the control provider directly, I think they can give more precise troubleshooting.
http://sourceforge.net/projects/itextsharp/
Thanks for your understanding.
Regards,
Marvin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Text flow into one or two column text boxes depending on the number of text lines
Question InDesignCS3
Is it possible to let text flow into one or two column textboxes depending on the number of text lines?
Example 1)
--Default text box--|
| Text line 1 |
| Text line 2 |
| Text line 3 |
| Text line 4 |
------------------- |
If there are more than 4 text lines in the in the text box, this box has to become a two column box. like example 2
example 2)
|Text line 1 | Text line 4 |
|Text line 2 | Text line 5 |
|Text line 3 | Text line 6 |if (myTextFrame.lines > 4) {
myTextFrame.textFramePreferences.textColumnCount = 2;
} else {
myTextFrame.textFramePreferences.textColumnCount = 1; -
Show clob column in TextArea and save the format
Hi, everybody!
I have a problem and if someone is able to help me it will be great!
I have column SQL_PLAN_TEXT (CLOB) which has the sql plan of certain statement.
I would like to show the sql plan of statement A and next to it the sql plan of statement B.
I decided to use to TextArea items situated next to each other . Everything works except that the format of the text in tetxtareas is not the same as when I opened the clob column in the database.
Any ideas ?I've never worked with Clobs in Excel output, but from the sounds of it, all of your data is present in the Excel output, it's just that the column is not wide enough or the cell is not tall enough to display all of the data.
As "rick_me" wrote in this post Re: Number and cell formatting in RTF
Excel takes it's cue from the RTF template for how to size the columns.
You can also give Excel general guidlines as to the row height.
Put your data into a Table in the RTF template and experiment by altering the height and width of the table cells. -
How to resize the column of alv depending upon the textbox settings in i.e
Hi,
I am using ALV component in one of my WD applications. ALV has a column date. If i resize the textbox from the internet explorer setting ( page->textsize in i.e.7) to anything greater than medium, the content of the columns is hidden.
For example, if the date is displayed as 25/07/2010, after resizing it appears as 25/07...
i have tried using column property of the alv : set_width and set_resizable, but it doesnt give the desired output.
Please give ur suggestions.
Regards,
VarunaHi,
Would increasing the width of ALV itself help?
using IF_SALV_WD_TABLE_SETTINGS~SET_WIDTH().
Regards,
Aditya. -
Column value coloring Based on the condition in ssrs 2008
Hi,
I need to change color formating based on below conditions
Red if <=28 days or > 65 days
Green if >28 and <=60 days
Yellow if > 60 days and <=65 days
<=0 No color
I tried with below IIF condition it's not working.
=iif(Fields!HDSI13.Value<=0,
"No color",iif((Fields!HDSI13.Value<=28
or Fields!HDSI13.Value>64),"Red",iif((Fields!HDSI13.Value>29
and Fields!HDSI13.Value<=60),"Green",iif((Fields!HDSI13.Value>60
and Fields!HDSI13.Value<=65),"yellow",Nothing))))
Can any one help me on this.
Thanks,
Manasa.
Thank You, Manasa.Vhi all,
When i wrote like this in table report ...woking fine.
=iif(((Fields!HDSI13.Value<=28
and Fields!HDSI13.Value>0)
or Fields!HDSI13.Value>64),"Red",iif((Fields!HDSI13.Value>=29
and Fields!HDSI13.Value<=60),"Green",iif((Fields!HDSI13.Value>=61
and Fields!HDSI13.Value<=65),"yellow",iif(Fields!HDSI13.Value<=0,"Nocolor",""))))
Thank You, Manasa.V -
Assigning variable to a column value
Hi,
I am creating a report wherein I use a formula in one of the columns to forecast data. The values obtained in this column (as a result of application of the formula) is to be used to calculate the values for the second column.And the third column value is dependent on the second and so on....
If I use the column formula directly,then many lines of coding are involved...Is it possible to store the value of a column in a variable and hence forth use it for manipulation in subsequent columns?Helios,
I'm already having the same setup mentioned in the thread. And I'm doing exactly whats given there. But the issue seems to be something different. I'm assigning the value to the Global Variable in the Package through Apex. Here's the Package Code:
CREATE OR REPLACE PACKAGE Schema1.SPMS_SECURITY_PKG
AS
X_app_user_id NUMBER DEFAULT -1;
FUNCTION USER_ID RETURN NUMBER;
END SPMS_SECURITY_PKG;
CREATE OR REPLACE PACKAGE BODY Schema1.spms_security_pkg
AS
FUNCTION user_id
RETURN NUMBER
IS
BEGIN
-- RAISE_APPLICATION_ERROR(-20001,'USER ID'||'*'||X_app_user_id);
RETURN NVL (x_app_user_id, -1);
-- RETURN NVL (sys_context('USERENV', 'CURRENT_USER'), -1);
EXCEPTION
WHEN OTHERS
THEN
RETURN -1;
END;
And Here is the Trigger Code:
CREATE OR REPLACE TRIGGER Schema1."USER_DETAILS_TRIGGER"
BEFORE INSERT OR UPDATE
ON PMS_SICAL.SPMS_USER_DETAILS REFERENCING NEW AS NEW OLD AS OLD
FOR EACH ROW
BEGIN
IF INSERTING
THEN
:NEW.created_by := spms_security_pkg.user_id;
:NEW.created_date := SYSDATE;
:NEW.START_DATE := SYSDATE;
ELSIF UPDATING
THEN
:NEW.updated_by := SPMS_SECURITY_PKG.X_app_user_id;--spms_security_pkg.user_id;
:NEW.updated_date := SYSDATE;
END IF;
END;
But I always get -1 in the both in the table after the DMLs. -
How to create some columns dynamically in the report designer depending upon the input selection
Post Author: ekta
CA Forum: Crystal Reports
how to create some columns dynamically in the report designer depending upon the input selection
how export this dynamic report in (pdf , xls,doc and rtf format)
report format is as below:
Element Codes
1
16
14
11
19
10
2
3
Employee nos.
Employee Name
Normal
RDO
WC
Breveavement
LWOP
Sick
Carers leave
AL
O/T 1.5
O/T 2.0
Total Hours
000004
PHAN , Hanh Huynh
68.40
7.60
76.00
000010
I , Jungue
68.40
7.60
2.00
5.00
76.00
000022
GARFINKEL , Hersch
66.30
7.60
2.10
76.00
In the above report first column and the last columns are fixed and the other columns are dynamic depending upon the input selection:
if input selection is Normal and RDO then only 2 columns w'd be created and the other 2 fixed columns.
Can anybody help me how do I design such report....
ThanksHi Developer life,
According to your description that you want to dynamically increase and decrease the numbers of the columns in the table, right?
As Jason A Long mentioned that we can use the matrix to do this and put the year field in the column group, amount fields(Numric values) in the details, add an filter to filter the data base on this column group, but if
the data in the DB not suitable to add to the matrix directly, you can use the unpivot function to turn the column name of year to a single row and then you can add it in the column group.
If there are too many columns in the column group, it will fit the page size automatically and display the extra columns in the next page.
Similar threads with details steps for your reference:
https://social.technet.microsoft.com/Forums/en-US/339965a1-8cca-41d8-83ef-c2548050799a/ssrs-dataset-column-metadata-dynamic-update?forum=sqlreportings
If your still have any problem, please try to provide us more details information, such as the data structure in the DB and the table structure you are currently designing.
Any question, please feel free to let me know.
Best Regards
Vicky Liu -
Using Column Value in CSS Style for Column in Report
I am trying to apply a CSS style (background color) to a column in a report based on another column.
So for the Column attributes for a specific column, I would like to be able to add this to the 'CSS Style' Field under the group, "Column Formatting":
background-color:#BKG_COLOR#;
It doesn't seem to be taking my column value, which is #daf2ea
In the CSS Style Field, if I change it to: background-color:#daf2ea - then it works.
So it doesn't seem to take my column value of #BKG_COLOR" in the CSS Style field.
Any ideas? Do I need to use the 'HTML Expression' field instead, and how would I do that?
Thanks,
JohnHi,
that's correct, custom report templates will do.
I find them sometimes quite limited, though. And I always ask myself "how would I do it without APEX", because there's often a lean jQuery solution that affords less coding.
If you employ a so called "marker class" that depends on your colour value, you could begin like in the previous answer and enter the follwing into HTML Expression:
<span class="#BKG_CLASS#">#THE_COLUMN_I_WANT_TO_SHOW#</span>
That means you would not query a plain color, but some name that can act as a CSS marker, like
select THE_COLUMN_I_WANT_TO_SHOW
, case when THE_COLUMN_I_WANT_TO_SHOW > 100 then 'hotColor' else 'coldColor' end as BKG_CLASS
from my_tableIn the page's Function and Global Variable Declaration, you'd enter
function colorMyReport () {
apex.jQuery('.hotColor').closest('td').css('background-color','#FAA');
}And under Execute when Page Loads, you enter:
colorMyReport();There's only one challenge, of course, when the report is paged via AJAX, because the script would only run once (on the first page shown).
But if this is a solution for you, I'd be pleased to show you how to overcome this. Just let me know.
Hope there is no typo in my typing, because I have to catch my train now :-)
Bye! -
Show dynamic columns in ALV table
I have a question that i need to create report in ALV
like this ...
i need to select doc date e.g. from 03.11.2007 to 05.02.2008
and the report is expected to show like this
SO# | cust | sales gp | 2007-11 order amt | 2007-12 order amt | 2008-01 order amt | 2008-02 order amt
____ |_____|________|________________|________________|________________|_________________
| | | | | |
something like that ....
the no. of period column which is depend on the range of selected doc date....
so how to do that ?!?!?hi sky ,
use dynamic table as:-
Declaration for Dynamic Table:-
FIELD-SYMBOLS: <dyn_table> TYPE STANDARD TABLE,
<dyn_table1> TYPE STANDARD TABLE,
<dyn_wa1>,
<dyn_wa>.
FIELD-SYMBOLS: <l_fs_dyn> TYPE ANY,
<l_fs_bom> TYPE ANY.
*---Dynamic Internal Table
DATA: dy_table TYPE REF TO data,
dy_table1 TYPE REF TO data,
dy_line TYPE REF TO data.
Creation of Dynamic Internal Table:-
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = fcat (for which internal table needs to be built)
IMPORTING
ep_table = dy_table
EXCEPTIONS
generate_subpool_dir_full = 1
OTHERS = 2
IF sy-subrc <> 0.
ENDIF.
Population of Dynamic Internal Table:-
CLEAR: l_tabix,
w_tabix.
ASSIGN dy_table->* TO <dyn_table>.
CREATE DATA dy_line LIKE LINE OF <dyn_table>.
ASSIGN dy_line->* TO <dyn_wa>.
ASSIGN dy_table->* TO <dyn_table1>.
CREATE DATA dy_line LIKE LINE OF <dyn_table1>.
ASSIGN dy_line->* TO <dyn_wa1>.
LOOP AT it_parent.
l_tabix = sy-tabix.
LOOP AT fcat INTO ls_fcat TO 23."WHERE col_pos <= '19'.
ASSIGN COMPONENT ls_fcat-fieldname
OF STRUCTURE <dyn_wa> TO <l_fs_dyn>.
ASSIGN COMPONENT ls_fcat-fieldname
OF STRUCTURE it_parent TO <l_fs_bom>.
<l_fs_dyn> = <l_fs_bom>.
ENDIF.
ENDLOOP
Thanks & Regards,
Ruchi Tiwari -
FSG report not printing column values on same line but sequentially
FSG report problem:
We have defined 2 FSG reports 'Balance Sheet - Total' and 'Balance Sheet - Detail'. Both reports have 3 column values, namely the value in Euro (our Functional Currency), the value in MUR - Mauritian rupees (our reporting currency) and the rate of exchange.
The report 'Balance Sheet - Total' displays these values for assets e.g.:-
EURO MUR Rate of exchange
Non-current assets
1. Intangible assets ? ? ?
2. Other investments ? ? ?
(note: ? represents a certain value)
The report 'Balance Sheet - Detail' displays values as follows :-
Account EURO MUR Rate of exchange
1. Property & Equipment
A10101 Building Cost ? 0.00 0.0000
A20105 Motor Veh Accum Dep ? 0.00 0.0000
TOTAL ? 0.00 0.0000
A10101 Building Cost 0.00 ? n/m
A20105 Motor Veh Accum Dep 0.00 ? n/m
(note: ? represents a certain value)
What we don't understand s why the 'Balance Sheet - Detail' report repeats the display of column values in MUR FOLLOWING the display in EURO, instead of displaying column values for EURO and MUR on the same line, just like in the case for 'Balance Sheet - Total'.
Is there anything in the definition of column set, row set or report set should I change?
Can anybody help. Thanks.
nullThe problem is related to defining the column set properly. It is OK with the first report and needs modification for the second. Formatting is also important so that they appear in the same line(row). The columns need to be linked to the fileds and assignment to set of books is also important as mentioned by Rajsekhar
-
Add sort, filter, export to excel and summation of tab column values in VC
Hi,
Can anyone help me out in providing the following functionalities in the Visual Composer tableUI element :
1. Sort
2. Filter
3. Export to Excel
4. Summation of Table Column Values
5. Update entry in table
6. Create entry in table
Thanks in advance.
Wish you great time.
Best Regards
SidHello Sid,
1. Sort
--> This is a standard functionally of tables in VC
2. Filter
--> Use the filter element of VC
3. Export to Excel
Go to: Sdn>Wiki>VC>Modeling>Export data to Excel/PDF
4. Summation of Table Column Values
--> This depends on your data source. If you use BI queries you have this normally automatically. If not you can use the sum element of VC.
5. Update entry in table
6. Create entry in table
> see Sdn>Wiki>VC>Modeling-->Moving data between tables
Kind regards
Thomas -
F4 help based on another column value in SM30
Hi All,
I have two fields in the view to maintain in SM30. The second field possible values are dependent on the first field value.
View has two fields - Feild1, Field2.
Field2 value table is varied based on what is filled in Field1.
I have created POV for the field F2 in the screen directly.
PROCESS ON VALUE-REQUEST.
FIELD ZVIEW-Field2 MODULE f4_field2.
When I click on new entries, i do not have access to the value ZVIEW-FIELD1.
I can manage for the existing records as the data exists in standard internal table TABLE. But for the new ones, can any one please let me know their ideas?
Thanks
PavanNo, it works very well, I guess you didn't code it correctly. By the way you must also get the cursor position to determine the line of the current table control:
* code in the POV
data lt_dynpfield type table of DYNPREAD.
data ls_dynpfield type DYNPREAD.
REFRESH lt_dynpfield.
clear ls_dynpfield.
ls_dynpfield-fieldname = '<your other field name>'.
GET CURSOR LINE ls_dynpfield-STEPL.
APPEND ls_dynpfield to lt_dynpfield.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = sy-repid
dynumb = sy-dynnr
tables
dynpfields = lt_dynpfield
EXCEPTIONS
OTHERS = 11.
* here lt_dynpfield[1]-fieldvalue contains the value entered in the other field
Maybe you are looking for
-
Adobe photoshop elements 12 & adobe premier elements 12 redemption code invalid
redemption code on adobe photo shop elements 12 is invalid
-
Workflow for Relese Purchase Order ....??
Hi experts, I did Relese procedure for Purchase order . its working through ME29N for relese PO. there was a 2 leves to relese PO 100 euro - 1000 2nd leves for relese 1000 Euro - 10000 Euros after relesing first level system has to send mail or popup
-
Exclude DBMS_SCHEDULER jobs in DATA PUMP import
Hello, I need to exclude all DBMS_SCHEDULER jobs during DATA PUMP import. I tried to do this with: EXCLUDE=JOB but this only works on DBMS_JOB. Is there a way to exclude all DBMS_SCHEDULER jobs during import? Kind Regards
-
Send variable from vision builder to NXT Brick
Hello, I have a color sorting machine controlled by an NXT Mindstorms brick. I believe that Labview has a module to communicate with the Lego brick, but I was wondering if the Vision Builder (which we are currently using for another application) coul
-
Publish Failed: Captivate 6.1, Mac OSX 10.8.5
I am experiencing the dreaded and unhelpful "Publish Failed" error message as well. I receive the message only when I am publishing a project with a quiz; projects without quizzes publish without any issue. I am publishing only to SWF output. I am ru