Counter of lines in query
hi,
is there a way to put directly in query a counter of the lines of the report without using a calculated cell in a workbook?
Have a look at the following :
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/009819ab-c96e-2910-bbb2-c85f7bdec04a
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7e58e690-0201-0010-fd85-a2f29a41c7af
Similar Messages
-
Reg: fetch the data by using item_id which is retuned by In line View Query
Hi all,
create table xxc_transactions(type_id number,trx_line_id number ,item_id number,org_id number);
insert into xxc_transactions values(null,null,null,null);
create table xxc_items1(item_id number,org_id number,item_no varchar2(10));
insert into xxc_items1 values(123,12,'book');
create table xxc_headers(header_id number,order_id number);
insert into xxc_headers values(null,null);
create table xxc_lines(header_id number,item_id number,line_id number);
insert into xxc_lines values(null,null,null);
create table xxc_types_tl(transaction_id number,NAME varchar2(10));
insert into xxc_types_tl values(106,'abc');
create table xxc_quantity(item_id number);
insert into xxc_quantity values (123);
create table xxc_quantity_1(item_id number);
insert into xxc_quantity_1 values (123);
SELECT union_id.item_id,
b.org_id,
e.name,
fun1(union_id.item_id) item_no
FROM xxc_transactions a,
xxc_items1 b,
xxc_headers c,
xxc_lines d,
xxc_types_tl e,
(SELECT item_id
FROM xxc_quantity
WHERE item_id = 123
UNION
SELECT item_id
FROM xxc_quantity_1
WHERE item_id = 123
UNION
SELECT item_id
FROM xxc_transactions
WHERE item_id = 123) union_id
WHERE a.type_id = 6
AND a.item_id = b.item_id
AND union_id.item_id = b.item_id
AND a.org_id = b.org_id
AND c.header_id = d.header_id
AND d.line_id = a.trx_line_id
AND d.item_id = b.item_id
AND c.order_id = e.transaction_id
AND b.org_id = 12
GROUP BY union_id.item_id,
b.org_id,
e.name
ORDER BY union_id.item_id;
create or replace function fun1(v_item in number)
return varchar2
is
v_item_no
Begin
select item_no from xxc_items1
where item_id=v_item;
return v_item_no ;
Exception
When Others Then
v_item_no := null;
return v_item_no;
END fun1;
I need fetch the data by using item_id which is retuned by In line View Query(UNION)
item_id org_id name item_no
123 12 abc book
Version: 11.1.0.7.0 and 11.2.0.1.0
Message was edited by: Rajesh123 Added test cases script
Message was edited by: Rajesh123 changed Question as fetch the data by using item_id which is retuned by In line View Query(UNION)Hi Master , sorry for the late reply and can you please help on this?
create table xxc_transactions(type_id number,trx_line_id number ,item_id number,org_id number);
insert into xxc_transactions values(null,null,null,null);
create table xxc_items(item_id number,org_id number,item_no varchar2(10));
insert into xxc_items values(123,12,'book');
create table xxc_headers(header_id number,order_id number);
insert into xxc_headers values(null,null);
create table xxc_lines(header_id number,item_id number,line_id number);
insert into xxc_lines values(null,null,null);
create table xxc_types_tl(transaction_id number,NAME varchar2(10));
insert into xxc_types_tl values(106,'abc');
create table xxc_uinon_table(item_id number);
insert into xxc_types_tl values(123);
SELECT union_id.item_id,
b.org_id ,
e.name ,
fun1(union_id.item_id) item_no --> to get item_no
FORM xxc_transactions a,
xxc_items b,
xxc_headers c,
xxc_lines d,
xxc_types_tl e,
( SELECT item_id
FROM xxc_uinon_table ) union_id
WHERE a.type_id= 6
AND a.item_id = b.item_id
AND union_id.item_id = b.item_id
AND a.org_id = b.org_id
AND c.header_id = d.header_id
AND d.line_id= a.trx_line_id
AND d.item_id= b.item_id
AND c.order_id= e.transaction_id ---106
AND b.org_id = 12
GROUP BY union_id.item_id,
b.org_id ,
e.name
ORDER BY union_id.item_id;
Note: xxc_uinon_table is a combination of UNION's
select 1 from dual
union
select 1 from dual
union
select no rows returned from dual;
I will get 1 from the above Query
Thank you in advanced -
HI There,
I'm not good at ABAP coding and need some help from experts.
Working on Line Items Query and enhanced the 0FI_AP_4 to include fields from BSEG table, the fields are:
GEBER - Funds
FISTAL - Funds Center
KOSTL - Cost Center
GSBER - Business Area.
I used the below code to enhance the datasource 0FI_AP_4, and its taking toooo long to load the data, but its pulling the line item data into BW.
Please find another code after this....its very quick, either in extract checker or loading into BW, however its not loading all fields into BW. Specially line items like Cost Center, Fund center and Fund fields.
Please go through the below codes and suggest me what changes i have to make to work as it should be.
DATA: L_TABIX LIKE SY-TABIX.
DATA: ZADTFIAP_3 LIKE DTFIAP_3.
CASE I_DATASOURCE.
WHEN '0FI_AP_4'.
LOOP AT C_T_DATA INTO ZADTFIAP_3.
L_TABIX = SY-TABIX.
SELECT SINGLE GEBER FROM BSEG INTO ZADTFIAP_3-GEBER
WHERE BUKRS = ZADTFIAP_3-BUKRS AND GJAHR = ZADTFIAP_3-FISCPER+0(4).
SELECT SINGLE FISTL FROM BSEG INTO ZADTFIAP_3-FISTL
WHERE BUKRS = ZADTFIAP_3-BUKRS AND GJAHR = ZADTFIAP_3-FISCPER+0(4).
SELECT SINGLE KOSTL FROM BSEG INTO ZADTFIAP_3-KOSTL
WHERE BUKRS = ZADTFIAP_3-BUKRS AND GJAHR = ZADTFIAP_3-FISCPER+0(4).
MODIFY C_T_DATA FROM ZADTFIAP_3 INDEX L_TABIX.
ENDLOOP.
ENDCASE.
Below code is extracting data very quickly but not bringing data for all fields specially line items like Fund Center, Cost center and Fund fields.
DATA: L_TABIX LIKE SY-TABIX.
DATA: ZADTFIAP_3 LIKE DTFIAP_3,
wa_bseg Like bseg.
CASE I_DATASOURCE.
WHEN '0FI_AP_4'.
LOOP AT C_T_DATA INTO ZADTFIAP_3.
L_TABIX = SY-TABIX.
Select single * from
bseg into wa_bseg
where BUKRS = ZADTFIAP_3-BUKRS
and GJAHR = ZADTFIAP_3-FISCPER+0(4)
and BELNR = ZADTFIAP_3-BELNR
and BUZEI = ZADTFIAP_3-BUZEI.
IF SY-SUBRC = 0.
Move: wa_BSEG-GEBER to ZADTFIAP_3-GEBER,
wa_BSEG-FISTL to ZADTFIAP_3-FISTL,
wa_BSEG-KOSTL to ZADTFIAP_3-KOSTL,
wa_bseg-GSBER to ZADTFIAP_3-GSBER.
ENDIF.
MODIFY C_T_DATA FROM ZADTFIAP_3 INDEX L_TABIX.
ENDLOOP.
ENDCASE
Thanks
VandanaHi,
You can try this.
USEREXIT_MOVE_FIELD_TO_VBEP
Use this user exit to assign values to new fields at the level of
the sales document schedule lines.
The user exit is called up at the end of the FORM routine
VBEP_FUELLEN.
Thanks
Krishna. -
How to count Command-Line Arguments ?
How do you count Command-Line Arguments ?
For example,
java program argument1 arguement2
I would like to be able to count how many arguements the user inputed
It should result as 2 for the bold line above
Thank you for your helppublic static void main(String[] args) {
int numArgs = args.length; // args holds argument1 and argument2
} -
New function to go to error line in query ??
Hello.
Can you tell me the function to find and go to error line automatically
in Old SQL Developer(1.5.X) or New version ?
I am really expecting the function in the SQL Developer
because i have to spend long time to find the error position
in the long line of query..
Please let me know.
Edited by: user8648962 on 2009. 10. 20 오전 4:12Hi <please supply your name>,
Just to clarify the problem.
When using the SQL Worksheet , when you run a large query or script.
If there are errors listed in the Script Runner result window. You would like them made hyper-links, so that when clicked they bring you to the correct line in the Worksheet ?
If this is the case you can add a request here at
http://htmldb.oracle.com/pls/otn/f?p=42626:46:::NO:::
At the moment we report the line number. The Worksheet line number can be viewed by rightclicking the Worksheet left handside gutter "Toggle Line Numbers"
Regards,
Dermot
SQL Developer Team. -
HasMoreTokens detecting and counting empty line
Hi programmers!
how can i count empty line in a text file which has the data?
suppose the text file with data is as follows:
=====================
c 500
c 2100
// <== empty line
p 550
c 5950
c 3000
=====================
I want to display "Invalid record" when that empty line comes
I tried following to execute "IO.print("Invalid record") line
if(str.equals(" ")) / / also/ if (str.nextToken == false) /also / if (string.hasMoreTokens())
IO.print("Invalid record");
}If (line.equals(""))
or
if (line.trim().length() == 0) -
Hi,
How can I obtain the count of lines of code in all the custom objects such as z programs, z functions, z methods, user exits etc?
THank you,
Mikecheck fm RPY_FUNCTIONMODULE_READ
Check how it reads the source code and returns it.
Use a describe statement to the return table
or try this syntax
itab must hold a field of char72.
READ REPORT 'Y123' INTO ITAB.
lines_r = lines( itab ).
also check in se37 for rpy*
Also check the f1 for read report, there are many other options -
This initaial entry was much longer and confusing.
I'm looking to make ar running total based using time periods...see the link in the last post to get to the demo.apex.com area.
Rob
Edited by: bostonmacosx on Feb 14, 2013 1:33 PMbostonmacosx wrote:
Hello there. So I hope I can explain this sufficiently:
OUT OF THE WAY: 11g 4.1.1
I'm going to simplify my data so that it is clear what I'm looking to do.
I want to have a line chart grouped by date. Let's say monthly...this is easy to do if you are dealing with one specific date and some value you can build the series against with case statements. I've done that a million times.
The columns of data I'm dealing with are as follows:
CREATE_DT(create date)
RETIRE_DT(retire date)
MACHINE_TYPE(type of machine)
So lets say I want to see a line chart where each line(data point) is a MACHINE_TYPE and each bin is a month. That month should be any machine with a CREATE_DT below then end of the month and a RETIRE_DT which is either Greater then the end of the month or is NULL(ala hasn't been retired yet).
In the query for a chart which is
SELECT LINK,LABEL,CASE()"",CASE()"",CASE()"" from TABLE GROUP BY ROLLUP(VALUE)I guess I'm not seeing how to be able to put these values together so that it walks month by month and figures out the values and puts them in the correct "bin" of time along the X axis of the chart.
I hope I'm being semi clear as it is hard to explain this scenario. Nope. Clear as mud.
If time is plotted against the X axis, what measure is plotted on the Y?
=============
on another note I built this table from the data:
01-JAN-12 01-FEB-12 01-MAR-12 01-APR-12 01-MAY-12 01-JUN-12 01-JUL-12 01-AUG-12 01-SEP-12 01-OCT-12 01-NOV-12 01-DEC-12 01-JAN-13 ENVOS
59 59 59 59 59 59 59 59 59 59 59 60 60 Alias
12 26 26 26 26 26 26 26 26 26 26 26 26 Blade
9 9 9 9 9 9 9 9 9 9 9 9 9 DataMvrUsing the function:
create or replace FUNCTION ACTIVE_SYSTEMS
RETURN VARCHAR2
is
var1 VARCHAR2(4000):= '';
start_date DATE:= to_Date('05-JAN-2012','DD-MON-YYYY');
end_date DATE:= to_Date('08-JAN-2013','DD-MON-YYYY');
new_start_date DATE;
BEGIN
new_start_date:=trunc(start_date,'MONTH');
var1 := q'!SELECT !';
while(new_start_date<end_date)
LOOP
var1 := var1 || q'! count(case when create_dt<'!'||to_char(new_start_date,'DD-MON-YY')||q'!' and (retire_dt IS NULL or retire_dt>'!'||to_char(new_start_date,'DD-MON-YY')||q'!') then 1 end) "!' ||to_char(new_start_date,'DD-MON-YY')||q'!",!';
new_start_date:= add_months(new_start_date,1);
END LOOP;
var1 := var1 || q'! CMS_NODE_OS.OS_TYPE||' '||node_env as envos from CMS.CMS_NODE LEFT join CMS.CMS_NODE_OS on CMS.CMS_NODE.NODE_NAME=CMS.CMS_NODE_OS.NODE_NAME where retire_dt is NULL group by rollup(CMS_NODE_OS.OS_TYPE||' '||node_env)!';
RETURN var1;
END;
Instead of inadequate attempts to explain this here with fragments of code that we can't do anything with because we don't possess the objects and data they're based on, show us something. Create the objects and some sample data in a workspace on apex.oracle.com and post guest developer credentials. Sketch the required chart or mock it up in a spreadsheet and upload it as an image or PDF so we can see what you're aiming for. -
Output count of SELECT statement is diff from count(*) of the same query
Has this ever happened to you?
I was wondering why some of the items were not appearing in my output. I have this select query:
SELECT
bukrs
gjahr
hkont
belnr
wrbtr
dmbtr
matnr
bschl
kunnr
vbeln
shkzg
FROM bseg
INTO CORRESPONDING FIELDS OF TABLE i_output
FOR ALL ENTRIES IN i_bkpf
WHERE
bukrs EQ i_bkpf-bukrs
AND belnr EQ i_bkpf-belnr
AND gjahr EQ i_bkpf-gjahr
AND hkont IN hkont
AND hkont IN
('0004000000',
'0004000010',
'0004000020',
'0004000030',
'0004000040')
When I tried to put sample filters (bukrs: 1000; belnr 1800000016; gjahr: 2005; hkont: 4000000), I am getting 3 entries from bseg. But when I tried using SE16 or SE16N, I am getting 6 (which is the expected output). When I modify the same SELECT query to return just the output count, I AM getting 6.
SELECT count(*)
FROM bseg
INTO count
FOR ALL ENTRIES IN i_bkpf
WHERE
bukrs EQ i_bkpf-bukrs
AND belnr EQ i_bkpf-belnr
AND gjahr EQ i_bkpf-gjahr
AND hkont IN hkont
AND hkont IN
('0004000000',
'0004000010',
'0004000020',
'0004000030',
'0004000040')
Do you have any idea why this happens? My internal table is a standard table with no header line and no OCCURS statement.
KyleHello Kyle,
Thats because when using FOR ALL ENTRIES, it will delete the duplicates if the records selected dont have all the primary keys specified in the select query. In your first select query, the field BUZEI is missing which makes the records unique. Change your first select query as this and try
SELECT
bukrs
gjahr
hkont
belnr
buzei -------> Add this and check
wrbtr
dmbtr
matnr
bschl
kunnr
vbeln
shkzg
FROM bseg
INTO CORRESPONDING FIELDS OF TABLE i_output
FOR ALL ENTRIES IN i_bkpf
WHERE
bukrs EQ i_bkpf-bukrs
AND belnr EQ i_bkpf-belnr
AND gjahr EQ i_bkpf-gjahr
AND hkont IN hkont
AND hkont IN
('0004000000',
'0004000010',
'0004000020',
'0004000030',
'0004000040')
Vikranth -
JDBC:Count Array. SQL query works but fails in JDBC
Hi,
I'm using the following SQL query
"SELECT red.id, name, count(green.id) FROM red, green WHERE area = 'northeast' AND red.id = zid GROUP BY name"
It executes perfectly from the DB command line giving me the results.
However when I call it from within JDBC i am getting null values.
My JDBC call ia as follows( Where lst is the above query)
rs = st.executeQuery(lst);
while(rs.next()){
nidV.addElement(rs.getString("red.id"));
nnmV.addElement(rs.getString("name"));
nnumV.addElement(rs.getString("count(green.id)"));
I do realize that many folks use Integer for count queries but I pull them with as Strings all the time so that's not it.
The one diffrence between this and my other count queries is that this one returns an array (Vector) of counts.
Any ideas?the problem is probably:
SELECT red.id, name, count(green.id) ...
nnumV.addElement(rs.getString("count(green.id)"));you can either use an alias for the column;
SELECT red.id, name, count(green.id) COUNT_VAR
nnumV.addElement(rs.getObject("COUNT_VAR"));or use getObject(3) as suggested by drclap. -
Counting Record Totals Within Query: Totals Output to New Table
Hi All,
I'm failry new to PL/SQL... my apologies if this is obvious... I'm trying to count the total number of BI_WRKFLW.BI_LMN_SRV_AREA occurences by each BI_WRKFLW.BI_LMN_SRV_AREA (The Code correspondes to a city name like Sundance, Sheridan, Etc.)
So, I have a Query that executes fine:
Query
/* Begin Querey */
SELECT DISTINCT
"BI_SO_DET_VIEW_1"."BI_SO_STAT_CD",
"BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED",
"BI_TYPE_SERVICE"."BI_ACCT",
"BI_SO_DET_VIEW_1"."BI_SO_NBR",
"BI_LMN_SRV_REF"."BI_LMN_SRV_DESC",
"BI_SO_TYPE_REF"."BI_SO_TYPE_DESC",
"BI_SRV_STAT_REF"."BI_SRV_STAT_DESC",
"BI_DIST_OFC_REF"."BI_DIST_NAME",
"BI_CNTY_REF"."BI_COUNTY_DESC",
"BI_SO_DET_VIEW_1"."BI_CLOSE_DT",
"BI_WRKFLW_TASKS"."BI_EVENT_DT_TM",
"BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD",
"BI_LMN_SRV_REF"."BI_LMN_SRV_AREA",
"BI_SO_MASTER"."BI_WO_WORKORD"
FROM
((((((((("XXXXXX"."BI_SO_MASTER" "BI_SO_MASTER"
LEFT OUTER JOIN
"XXXXXX"."BI_SO_DET_VIEW_1" "BI_SO_DET_VIEW_1"
ON
"BI_SO_MASTER"."BI_SO_NBR"="BI_SO_DET_VIEW_1"."BI_SO_NBR")
LEFT OUTER JOIN
"XXXXXX"."BI_TYPE_SERVICE" "BI_TYPE_SERVICE"
ON
"BI_SO_DET_VIEW_1"."ACCT_NBR"="BI_TYPE_SERVICE"."BI_ACCT")
LEFT OUTER JOIN
"XXXXXX"."BI_WRKFLW" "BI_WRKFLW"
ON
"BI_SO_DET_VIEW_1"."BI_WRKFLW_KEY"="BI_WRKFLW"."BI_WRKFLW_KEY")
LEFT OUTER JOIN
"XXXXXX"."BI_SO_TYPE_REF" "BI_SO_TYPE_REF"
ON
"BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"="BI_SO_TYPE_REF"."BI_SO_TYPE_CD")
LEFT OUTER JOIN
"XXXXXX"."BI_WRKFLW_TASKS" "BI_WRKFLW_TASKS"
ON
"BI_WRKFLW"."BI_WRKFLW_KEY"="BI_WRKFLW_TASKS"."BI_WRKFLW_KEY")
AND (
"BI_WRKFLW"."BI_WORK_EVENT_CD"="BI_WRKFLW_TASKS"."BI_WORK_EVENT_CD"))
LEFT OUTER JOIN
"XXXXXX"."BI_DIST_OFC_REF" "BI_DIST_OFC_REF"
ON
"BI_WRKFLW"."BI_DIST_OFC_CD"="BI_DIST_OFC_REF"."BI_DIST_OFC_CD")
LEFT OUTER JOIN
"XXXXXX"."BI_LMN_SRV_REF" "BI_LMN_SRV_REF"
ON
"BI_WRKFLW"."BI_LMN_SRV_AREA"="BI_LMN_SRV_REF"."BI_LMN_SRV_AREA")
LEFT OUTER JOIN
"XXXXXX"."BI_SRV_LOC" "BI_SRV_LOC"
ON
"BI_TYPE_SERVICE"."BI_SRV_LOC_NBR"="BI_SRV_LOC"."BI_SRV_LOC_NBR")
LEFT OUTER JOIN
"XXXXXX"."BI_SRV_STAT_REF" "BI_SRV_STAT_REF"
ON
"BI_TYPE_SERVICE"."BI_SRV_STAT_CD"="BI_SRV_STAT_REF"."BI_SRV_STAT_CD")
LEFT OUTER JOIN
"XXXXXX"."BI_CNTY_REF" "BI_CNTY_REF"
ON
"BI_SRV_LOC"."BI_CNTY_CD"="BI_CNTY_REF"."BI_CNTY_CD"
WHERE
"BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='001'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='001NS'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='010'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='010NS'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='011'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='011NS'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='020'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='020NS'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='030'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='040'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='041'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='050'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='050A'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='051'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='051A'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='080'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='085'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='085NS'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='108'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='140'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='141'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='400'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='401'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='450'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='450A'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='451'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='451A'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='452'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='452A'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='453'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='453A'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='460'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='RHR'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='RHRNS')
AND "BI_SO_DET_VIEW_1"."BI_SO_STAT_CD"='O'
AND (
"BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='ANNEXATION'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='AVIAN'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='CAPVERIF'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='CBMRETIRE'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='CBMSERVCHG'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='CONTSERVD'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='CUSTBLD'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='CUTOFF'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='DVCM'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='ENERGIZE'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='EQUIPCHANG'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='EQUIPVALID'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='HIGHLOAD'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='LOCATE'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='MAINT-EQ'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='MSYSTEMMGT'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='NCBM'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='NEWRES-WF'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='NEW-WF'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='POWER QUAL'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='RECONIDLE'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='RECVERIF'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='RETIRE1'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='RETIRE2'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='SERVCHANGE'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='SPECIALPRJ'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='SUBD'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='SYSTEMMGT'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='TREE'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='TRFX')
ORDER BY
"BI_LMN_SRV_REF"."BI_LMN_SRV_DESC" DESC,
"BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"
/* End Querey */That is wrapped within a counting Block that is giving me trouble:
SELECT
WOCOUNT.Office,
WOCOUNT.WOCOUNT
FROM
SELECT
CASE
WHEN "BI_WRKFLW"."BI_LMN_SRV_AREA" = '1'
THEN '1-SUNDANCE'
WHEN "BI_WRKFLW"."BI_LMN_SRV_AREA" = '2'
THEN '2-GILLETTE'
WHEN "BI_WRKFLW"."BI_LMN_SRV_AREA" = '3'
THEN '3-SHERIDAN'
WHEN "BI_WRKFLW"."BI_LMN_SRV_AREA" = '4'
THEN '4-West/Central'
WHEN "BI_WRKFLW"."BI_LMN_SRV_AREA" = '5'
THEN '5-East/Central'
ELSE '0-OTHER'
END AS Office,
COUNT (T1.BI_LMN_SRV_AREA ) AS WOCOUNT
FROM
/* Begin Querey */
/* End Querey */
) T2
JOIN
BI_SO_DET_VIEW_1
ON
T2.BI_WRKFLW_KEY = BI_SO_DET_VIEW_1.BI_WRKFLW_KEY
GROUP BY
BI_WRKFLW.BI_LMN_SRV_AREA
)WOCOUNTThis is the 2 blocks together:
SELECT
WOCOUNT.Office,
WOCOUNT.WOCOUNT
FROM
SELECT
CASE
WHEN "BI_WRKFLW"."BI_LMN_SRV_AREA" = '1'
THEN '1-SUNDANCE'
WHEN "BI_WRKFLW"."BI_LMN_SRV_AREA" = '2'
THEN '2-GILLETTE'
WHEN "BI_WRKFLW"."BI_LMN_SRV_AREA" = '3'
THEN '3-SHERIDAN'
WHEN "BI_WRKFLW"."BI_LMN_SRV_AREA" = '4'
THEN '4-West/Central'
WHEN "BI_WRKFLW"."BI_LMN_SRV_AREA" = '5'
THEN '5-East/Central'
ELSE '0-OTHER'
END AS Office,
COUNT (T1.BI_LMN_SRV_AREA ) AS WOCOUNT
FROM
/* Begin Querey */
SELECT DISTINCT
"BI_SO_DET_VIEW_1"."BI_SO_STAT_CD",
"BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED",
"BI_TYPE_SERVICE"."BI_ACCT",
"BI_SO_DET_VIEW_1"."BI_SO_NBR",
"BI_LMN_SRV_REF"."BI_LMN_SRV_DESC",
"BI_SO_TYPE_REF"."BI_SO_TYPE_DESC",
"BI_SRV_STAT_REF"."BI_SRV_STAT_DESC",
"BI_DIST_OFC_REF"."BI_DIST_NAME",
"BI_CNTY_REF"."BI_COUNTY_DESC",
"BI_SO_DET_VIEW_1"."BI_CLOSE_DT",
"BI_WRKFLW_TASKS"."BI_EVENT_DT_TM",
"BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD",
"BI_LMN_SRV_REF"."BI_LMN_SRV_AREA",
"BI_SO_MASTER"."BI_WO_WORKORD"
FROM
((((((((("XXXXXX"."BI_SO_MASTER" "BI_SO_MASTER"
LEFT OUTER JOIN
"XXXXXX"."BI_SO_DET_VIEW_1" "BI_SO_DET_VIEW_1"
ON
"BI_SO_MASTER"."BI_SO_NBR"="BI_SO_DET_VIEW_1"."BI_SO_NBR")
LEFT OUTER JOIN
"XXXXXX"."BI_TYPE_SERVICE" "BI_TYPE_SERVICE"
ON
"BI_SO_DET_VIEW_1"."ACCT_NBR"="BI_TYPE_SERVICE"."BI_ACCT")
LEFT OUTER JOIN
"XXXXXX"."BI_WRKFLW" "BI_WRKFLW"
ON
"BI_SO_DET_VIEW_1"."BI_WRKFLW_KEY"="BI_WRKFLW"."BI_WRKFLW_KEY")
LEFT OUTER JOIN
"XXXXXX"."BI_SO_TYPE_REF" "BI_SO_TYPE_REF"
ON
"BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"="BI_SO_TYPE_REF"."BI_SO_TYPE_CD")
LEFT OUTER JOIN
"XXXXXX"."BI_WRKFLW_TASKS" "BI_WRKFLW_TASKS"
ON
"BI_WRKFLW"."BI_WRKFLW_KEY"="BI_WRKFLW_TASKS"."BI_WRKFLW_KEY")
AND (
"BI_WRKFLW"."BI_WORK_EVENT_CD"="BI_WRKFLW_TASKS"."BI_WORK_EVENT_CD"))
LEFT OUTER JOIN
"XXXXXX"."BI_DIST_OFC_REF" "BI_DIST_OFC_REF"
ON
"BI_WRKFLW"."BI_DIST_OFC_CD"="BI_DIST_OFC_REF"."BI_DIST_OFC_CD")
LEFT OUTER JOIN
"XXXXXX"."BI_LMN_SRV_REF" "BI_LMN_SRV_REF"
ON
"BI_WRKFLW"."BI_LMN_SRV_AREA"="BI_LMN_SRV_REF"."BI_LMN_SRV_AREA")
LEFT OUTER JOIN
"XXXXXX"."BI_SRV_LOC" "BI_SRV_LOC"
ON
"BI_TYPE_SERVICE"."BI_SRV_LOC_NBR"="BI_SRV_LOC"."BI_SRV_LOC_NBR")
LEFT OUTER JOIN
"XXXXXX"."BI_SRV_STAT_REF" "BI_SRV_STAT_REF"
ON
"BI_TYPE_SERVICE"."BI_SRV_STAT_CD"="BI_SRV_STAT_REF"."BI_SRV_STAT_CD")
LEFT OUTER JOIN
"XXXXXX"."BI_CNTY_REF" "BI_CNTY_REF"
ON
"BI_SRV_LOC"."BI_CNTY_CD"="BI_CNTY_REF"."BI_CNTY_CD"
WHERE
"BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='001'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='001NS'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='010'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='010NS'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='011'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='011NS'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='020'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='020NS'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='030'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='040'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='041'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='050'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='050A'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='051'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='051A'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='080'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='085'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='085NS'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='108'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='140'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='141'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='400'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='401'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='450'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='450A'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='451'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='451A'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='452'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='452A'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='453'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='453A'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='460'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='RHR'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='RHRNS')
AND "BI_SO_DET_VIEW_1"."BI_SO_STAT_CD"='O'
AND (
"BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='ANNEXATION'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='AVIAN'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='CAPVERIF'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='CBMRETIRE'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='CBMSERVCHG'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='CONTSERVD'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='CUSTBLD'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='CUTOFF'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='DVCM'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='ENERGIZE'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='EQUIPCHANG'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='EQUIPVALID'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='HIGHLOAD'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='LOCATE'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='MAINT-EQ'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='MSYSTEMMGT'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='NCBM'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='NEWRES-WF'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='NEW-WF'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='POWER QUAL'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='RECONIDLE'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='RECVERIF'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='RETIRE1'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='RETIRE2'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='SERVCHANGE'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='SPECIALPRJ'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='SUBD'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='SYSTEMMGT'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='TREE'
OR "BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"='TRFX')
ORDER BY
"BI_LMN_SRV_REF"."BI_LMN_SRV_DESC" DESC,
"BI_SO_DET_VIEW_1"."BI_SO_TYPE_CD"
/* End Querey */
) T2
JOIN
BI_SO_DET_VIEW_1
ON
T2.BI_WRKFLW_KEY = BI_SO_DET_VIEW_1.BI_WRKFLW_KEY
GROUP BY
BI_WRKFLW.BI_LMN_SRV_AREA
)WOCOUNTThe last error I received is: [Error Code: 904, SQL State: S0022] [Oracle][ODBC][Ora]ORA-00904: "T2"."BI_WRKFLW_KEY": invalid identifier
I want the final Output to be something similar to:
OFFICE WOCOUNT
0-OTHER 44.0
1-SUNDANCE 14.0
2-GILLETTE 29.0
3-SHERIDAN 11.0
4-West/Central 37.0
5-East/Central 58.0 Thanks for your help,
:) JohnHi, John,
Johnbr (Oracle11G) wrote:
Hi All,
I'm failry new to PL/SQL... That's okay; there's no PL/SQL involved in this problem, and there's no PL/SQL needed, only SQL.
That is wrapped within a counting Block that is giving me trouble:
SELECT
WOCOUNT.Office,
WOCOUNT.WOCOUNT
FROM
SELECT
CASE
WHEN "BI_WRKFLW"."BI_LMN_SRV_AREA" = '1'
THEN '1-SUNDANCE'
WHEN "BI_WRKFLW"."BI_LMN_SRV_AREA" = '2'
THEN '2-GILLETTE'
WHEN "BI_WRKFLW"."BI_LMN_SRV_AREA" = '3'
THEN '3-SHERIDAN'
WHEN "BI_WRKFLW"."BI_LMN_SRV_AREA" = '4'
THEN '4-West/Central'
WHEN "BI_WRKFLW"."BI_LMN_SRV_AREA" = '5'
THEN '5-East/Central'
ELSE '0-OTHER'
END AS Office,
COUNT (T1.BI_LMN_SRV_AREA ) AS WOCOUNT
FROM
/* Begin Querey */
/* End Querey */
) T2
JOIN
BI_SO_DET_VIEW_1
ON
T2.BI_WRKFLW_KEY = BI_SO_DET_VIEW_1.BI_WRKFLW_KEY
GROUP BY
BI_WRKFLW.BI_LMN_SRV_AREA
)WOCOUNT
The sub-query called wocount only involves 2 "tables", namely
(1) T2
(2) BI_SO_DET_VIEW_1
(I put "tables" in quotes because T2 isn't really a table; it's an in-line view. Judging by the name, I'm guessing BI_SO_DET_VIEW_1 isn't really a table, either, but it doesn't matter. You have 2 things that serve as tables, so I'll just call them tables.)
Since those are the only 2 tables, you can't reference BI_WRKFLW in WOCOUNT. That table is known inside T2, but not outside of T2.
You can include "BI_WRKFLW"."BI_LMN_SRV_AREA" in the SELECT clause of T2, assuming that doesn't make more rows distinct. T2 will then look like this:
... SELECT DISTINCT
BI_SO_DET_VIEW_1.BI_SO_STAT_CD
BI_SO_MASTER.BI_WO_WORKORD,
BI_WRKFLW.BI_LMN_SRV_AREA -- New column added
FROM ...Then, inside WOCOUNT, you can use BI_LMN_SRV_AREA like this:
... CASE
WHEN BI_LMN_SRV_AREA = '1'
THEN '1-SUNDANCE'
WHEN BI_LMN_SRV_AREA = '2'
THEN '2-GILLETTE'
WHEN BI_LMN_SRV_AREA = '3'
THEN '3-SHERIDAN'
WHEN BI_LMN_SRV_AREA = '4'
THEN '4-West/Central'
WHEN BI_LMN_SRV_AREA = '5'
THEN '5-East/Central'
ELSE '0-OTHER'
END AS Office,or, to save a little typing:
... CASE BI_LMN_SRV_AREA
WHEN '1'
THEN '1-SUNDANCE'
WHEN '2'
THEN '2-GILLETTE'
WHEN '3'
THEN '3-SHERIDAN'
WHEN '4'
THEN '4-West/Central'
WHEN '5'
THEN '5-East/Central'
ELSE '0-OTHER'
END AS Office,
Speaking of saving on typing:
Instead of
WHERE
"BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='001'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='001NS'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='010'
OR "BI_TYPE_SERVICE"."BI_PRIM_RATE_SCHED"='RHRNS'
)you can use the IN operator, like this:
WHERE BI_TYPE_SERVICE.BI_PRIM_RATE_SCHED IN ('001', '001NS', '010', ..., 'RHRNS')
I hope this answers your question.
If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
Simplify the problem as much as possible. For example, you would probably have the same problem if there were only 2 o4 3 tables involved in your query. Try to construct a problem that only has 2 or 3 tables, and post only those tables, and the results you want from them.
Explain, using specific examples, how you get those results from that data.
Always say which version of Oracle you're using. -
Hi
The following is the scenario.
For EX:
Plant............Article............Count
P100............A100............1
P100............A200............1
P100............A300............1
P400.............A400...........-1
P500.............A500...........1
Overall Result ...................5
The above data is in the cube.
I created a condion in the report to display the stock in -ve QTY (Keyfigure HIDE mode)
when i exeucte the query the following is the result
Report Data
Plant............Article............Count
P100............A200.............1
P100............A300............1
P400.............A400............1
Overall Result..................3
Now My client dont want to see the articles in the report, they just want to see the number of line items which are in negative so i want the following thig in the report
Plant----
Count
P100................3
P200................10
. So on...Can we achieve this?
REgards
AnnieHi
Hi my final out put should only dispaly SITE(PLANT) and TOTAL COUNT (-ve ones)
If i hide the article, i am getting the result but the problem is i am getting the counter for articles like
P100 ---COUNT1
..........COUNT2
..........COUNT3
..........COUNT4
..........COUNT5
overall res 5.
But i want only
P100.......5.
If i put the Article in the free characteristics...The condion is not running and in count its displaying all the aricles (+ and -ve) count
Regards
Annie -
RSBBS Jump: AR Line Item Query to R3 Customer Line Item Display
I am attempting to create a 'Jump Target' from the 0FIAR_C03 AR Line Item Infocube to the R3 FBL5N Customer Line Item Display transaction.
The query that the jump is to be performed from an Aging query.
The user will be running this query for all transactions posted up to and including the end of the previous calendar month. The posting date is provided by the user when submitting the query (via variable 0P_KEYD2). The aging report works just fine.
Where I'm having the problem is when the user wishes to jump to the R3 transaction FBL5N to display the Customer Line Items. The user wants the 'Line Item Selection' in R3 to inlcude 'Open Items' (this button should be selected -- it is the default setting) where 'Open at Key Date' is to be derived from the query result in the Excel workbook.
I have created the RSBBS Sender/Receiver Assignment so that it goes and retrieves the line items from R3 for the correct customer. However, I have not been able to figure out how to populate the 'Open at Key Date' with the end Posting Date (OPSTNG_DATE) from the query.
I've tried every combination I can imagine in the 'Assignment Details' section in RSBBS, but so far I have not been able to make it work.
Has anyone else out there tried this?
If you have, were you able to populate the 'Open at Key Date' (ALLGSTID) field in the R3 FBL5N transaction? If you were able to do this, how did you do it?
All ideas appreciated . . .I'm still hoping that someone can help with this issue.
Here's a repeat of the original question:
I am attempting to create a 'Jump Target' from the 0FIAR_C03 AR Line Item Infocube to the R3 FBL5N Customer Line Item Display transaction.
The query that the jump is to be performed from an Aging query.
The user will be running this query for all transactions posted up to and including the end of the previous calendar month. The posting date is provided by the user when submitting the query (via variable 0P_KEYD2). The aging report works just fine.
Where I'm having the problem is when the user wishes to jump to the R3 transaction FBL5N to display the Customer Line Items. The user wants the 'Line Item Selection' in R3 to inlcude 'Open Items' (this button should be selected -- it is the default setting) where 'Open at Key Date' is to be derived from the query result in the Excel workbook.
I have created the RSBBS Sender/Receiver Assignment so that it goes and retrieves the line items from R3 for the correct customer. However, I have not been able to figure out how to populate the 'Open at Key Date' with the end Posting Date (OPSTNG_DATE) from the query.
I've tried every combination I can imagine in the 'Assignment Details' section in RSBBS, but so far I have not been able to make it work.
Has anyone else out there tried this?
If you have, were you able to populate the 'Open at Key Date' (ALLGSTID) field in the R3 FBL5N transaction? If you were able to do this, how did you do it?
All ideas appreciated . . . -
How to Count schedule lines in IDoc ORDERS05 using XSLT Mapping
Hi Experts,
In a Scenario where we are sending Purchase order (ORDERS05) to SAP SNC using XSLT Mapping,
where in we need to count the no. of schedule lines against the Purchase Order line.
As in Schedule line segment there is no such provision, so it needs to be handle in XSLT mapping to count the schedule lines.
Can you all please guide me how to go about the same.
Regards,
Nitin PHi Satish,
Thank you very much for the reply,
as there is only Quantity and other information is maintained against schedule lines how we can count the schedule line repeatation against PO line ? Is that very simple as you suggested or some other consideration also needs to be taken.
Please clarify the same and let me also know if there are some standard documents also for the same.
Regards,
Nitin P -
Fix table header line of Query in default web template WAD 7.0
Dear all,
I would appreciate if somebody could help me to set parameters to fix the header line of a Web-Item DataProvider (Query) in the default web template 0ANALYSIS_PATTERN for the BEx Web Analyser. I mean I want to see the header line with the characteristics and key figures description even if I scroll down in the query.
My idea was to create a second frame in the template and to fill it with the same DataProvider just with the header of the Query. The problem is that the performance of the query would be badder if we load two Dataprovider/Query instead of one.
Many thanks in advance for your answer and help!!!
Best regards
AbdelHi Dion,
Thank you very much for your answer! I have tried to find a paramter in the web application designer to do that, but without success. Now I have included a new container with the same Analysis Web Item, but it does not function! May you have a better idea??
Thank you very much in advance for your help. I'll also post my question in a BI-Forum as you suggested.
Best Regards
Abdel
Maybe you are looking for
-
How to remove an iCloud email address from an iPad
Not sure if this should be here or posted in the iCloud area, but will try here first. I used to have an @me.com address (after the .mac one went away) and now I have the same address, but @icloud.com. When I tap on the "From:" field when composing
-
Indesign CS4 and SVG export (or lack of)
I normally do documents in Indesign and then export to pdf (for web and print). I've had a special client request to convert a few of those Indesign document to SVG format. This was an option in CS3 that has been taken off CS4. What's the best way to
-
Accessing *.mdb from java
Hello, I�m working in an aplicattion (developed under Linux), that reads an access file and update an Oracle Database. It works under Windows, but not in Linux. I can�t install a driver, because I need to be root, so I can�t. Can anyone help me? impo
-
ABAP WD: Different display in Test window and enterprise portal
Hi, I am using Table and TreeByNestingtable column in ABAP webdynpro(Basis 710 release). When I run the application using test, table captions are not in bold and there is no difference between TreeByNestingtable column and other columns in backgroun
-
I have used GB to create several podcasts for my course. When I share them to disk and use Podcast Capture to put them on iTunesU, the images are very fuzzy. The original disk version is excellent when viewed with QuickTime. However, when I use Quick