Whether any Standard Bex query for MIS report of PP in BW
Dear All,
Please let me know , Whether any Standard Bex query is available for MIS report of PP in BW.
Thanks
Regards,
Sai.
Dear All,
Please let me know , Whether any Standard Bex query is available for MIS report of PP in BW.
Thanks
Regards,
Sai.
Similar Messages
-
Bex Query for Waterfall Report
Hello,
I've a Icube so defined:
Dimensions:
Data Pckg
Time
Unit
Plant
Vendor
Material
PVM_ID (Each Plant,Vendor,Material is linked to an ID)
Navigation Attributes:
Material Group
Key Figures
Min Qty
I need to have a Variables screen with two time (From, To) selection criteria
For instance If a select from Variable screens:
X From (year week- yyyyww): 200901 To: 200908
Y From (year week- yyyyww): 200901 To: 200904
Plant: 0001
Vendor: V000A
Material: WF001
Plant | Vendor| Materia | KFigure | | wk01 | wk02 | wk03 | wk04| wk05|wk06| wk07|wk08 |
001 V00A WF001 | MIN Qty | Yweek01 | 130 | 150 | 150 | 150 | 140 | 140 | 140 | 130 |
001 V00A WF001 | MIN Qty | Yweek02 | | 150 | 150 | 150 | 150 | 140 | 140 | 140 |
001 V00A WF001 | MIN Qty | Yweek03 | | | 150 | 150 | 150 | 150 | 150 | 150 |
001 V00A WF001 | MIN Qty | Yweek03 | | | | 200 | 200 | 200 | 200 | 200 |
001 V00A WF001 | MIN Qty | Yweek03 | | | | | 100 | 100 | 100 | 100 |
001 V00A WF001 | MIN Qty | Yweek03 | | | | | | 50 | 50 | 50 |
001 V00A WF001 | MIN Qty | Yweek03 | | | | | | | 50 | 50 |
001 V00A WF001 | MIN Qty | Yweek03 | | | | | | | | 50 |
Please, someone can help me?
With My Regards,
GiuseppeHI,
Case 1 :-
You can achive this if Your X From is a subset of Y From.
e.g.
X From :- 20090101 to 20101231
Y from :- 20090201 to 20100401
Or it can be vice-versa.
Create two varable with select option.
In Charactericas Restriction use the higest value i.e Z from in above case.
In Default Values use the subset variable of Charactericas Restriction i.e. Y From, in above case.
case 2 :-
If X From is not a subset of Y From, Then it cannot be achived, Then you need cahnge your backend design and add one more date.
Regards,
Ankit. -
Bex query for BW abap report/ transaction
Hi Experts, Here is a scenario: I developed ABAP program in BW using multiple DSOs for complex logic. Since I cannot use abap program directly in BO reports, I need to develop a query in BW for my abap program. Is it possible to develop a bex query for BW abap report / transaction in BW? I have limited knowledge on BW and BO. Please help me. Thanks in advance Raghu
First of all thanks for your suggestion Matthew..!
As you said, I created virtual info cube based on function module.
In the info cube, I defined (4)dimensions and (1)key figure.
In the fucntion module, appropriate below parameters defined and code written for the data table (e_t_data)
CALL ZFM_XXXXXXX
EXPORTING
i_infoprov = " Name of InfoProvider
i_th_sfc = " rsdri_th_sfc: List of Characteristics
i_th_sfk = " rsdri_th_sfk: List of Key Figures
* i_t_range = " rsdri_t_range: Range List
* i_tx_rangetab = " rsdri_tx_rangetab: Table from Range List
* i_first_call = " rs_bool First Call
* i_packagesize = 100000 " i Package Size
IMPORTING
e_t_data = " standard table: Data Table
e_end_of_data = " rs_bool :End of Data Reached
e_t_msg = " rs_t_msg : BW: Table with Messages
Test:
Right click the info cube and choose "displayed data", immediately it triggered above function module.
when I see the import parameters data,
no characteristcs data in i_th_sfc. But, key figures has data (1 record) in i_th_sfk.
Not sure, Did I missed anything? Please help me.
Thanks in advance -
RWI 00200 Error while scheduling the Bex Query based Webi report
Dear All,
I am facing the below error while scheduling the Bex Query based Webi report.
Error:RWI 00200
We are using BO XI 4.0 Sp05.
Please adviseHi,
I am on BO 4.0 SP05 Patch 6. Webi reports are just showing processing but not giving results. When I try to create new report it is throwing java security error.
Tried applet patch upgrade(From link : https://websmp207.sap-ag.de/~sapidb/011000358700000902752013E) for webi certificate but didn't help.
Please suggest what could be done.
Thanks and Regards,
Ankit Sharma -
Getting Java error while connect BEx query to WebI report (SAP BI4.0 )
Not able to connect BEx query to WebI report (SAP BI4.0 ) . Below is the error I get while creating a new BEx connection to BOBJ WebI report .
Please find the below error and help me ,
"Select a BW Bex query window box " displayed "Nothing to display " and server error as mentioned below
Java.uti.concurrent.executionException: Com.sap.sl.sdk.repository.service.repositor******
at Java.uti.concurrent.futuretask (Unknown source )
at java.swing.swing.timer.fireactionperformed(Unknown source )
at java.awt.event.invocationEvent.dispatch(Unknown Source)
Thanks ,
Pradeep GorpaduHi,
I am on BO 4.0 SP05 Patch 6. Webi reports are just showing processing but not giving results. When I try to create new report it is throwing java security error.
Tried applet patch upgrade(From link : https://websmp207.sap-ag.de/~sapidb/011000358700000902752013E) for webi certificate but didn't help.
Please suggest what could be done.
Thanks and Regards,
Ankit Sharma -
I've created the below crosstab query for a report.
Select Grouping_Condition,Warehouse,Max(Value) Over (Partition By Grouping_Condition,Warehouse) As Total,
Sum(Value) Over (Partition By Warehouse) As Total_Containers_Per_Warehouse,
Sum(Vat1Ue) Over () As Total_Containers,
(Max(Vat1Ue) Over (Partition By Grouping_Condition,Warehouse))
/(Sum(Vat1Ue) Over (Partition By Warehouse))*100 As Total_Pct
From
Seleect Grouping_Condition,Warehouse,Count(*) As Value
From
Set1Ect
T1.Warehouse,Shipped_Weight As Shipped_Tons,T1.Max_Weight As Maxtonnes,
Case When (Shipped_Weight)< (T1.Max_Weight*0.001)*0.95 Then 'containers_under_95'
When (Shipped_Weight*0.001) Between (T1.Max_Weight*0.001)*0.95 And (T1.Max_Weight*0.001) Then 'containers_95_100'
Et1Se 'containers_above_weight'
End Grouping_Condition
From
Tabt1E1 T1
,Tabt1E2 T2
,Tabt1E3 C
Where
T1.Co11 = T2.Col1
And T1.Col2=C.Col2
And More Conditions
Where Warehouse In ('W1','W2','W3','W4','W5')
Group By (Grouping_Condition,Warehouse)
The Above Query Gives Me Output Something Like Below:
Grouping_Condition Warehouse Total Total_Containers_Per_Warehouse Total_Containers Total_Pct
Containers_95_100 W1 5 10 60 50
Containers_Under_95 W1 5 10 60 50
Containers_95_100 W2 10 20 60 50
I've Got Report In The Below Format
W1 W2 W3 W4 W5 Total
Total_Containers 10 20 60
Containers_95_100 5 10 15
Containes_95_100_% 50 50 ????
I Need To Calculate The Total Percentage In The Above Table With ????
Any Help Is Much Appreciated..It appears as though you already have your groupings and counts per grouping, but require a ratio of each groupings count against all other counts. Is that correct ?
If so, try the new 11g analytic function, something like this:
select Grouping_Condition
,Warehouse
,ratio_to_report(Value) over () as Count_Ratio_over_Report
.. -
Can i call a BEx query in ABAP report and display in ALV grid. if so please give me the syntax.
Thanks
Akila.RLook at the FM "RSDRI_INFOPROV_READ".
With this you can read data into a internal table of your program.
With this FM, you can do a selective read and select only the key figures and characteristics that you wish to read in your ABAP.
I am not ure, if you can call a BEx report in your ABAP. But with what I mentioned here, you can acheive what you want.
Ravi Thothadri -
Relevant table for the mentioned feilds for mis report ?
Hi experts , Am extracting the data for MIS reports, As far as my requirement i need to find the relevant datasources based on this, i treid to extract this datasources like 0co_om_cca9 but am not geting all the relevant feilds.
->Document type
-> porfitcenter
-> G/Laccount
-> version
-> Actuals
->copmpany code
->fiscal year
->costcenter
->forecast, i tried difftrent tables like cosp,faglext,faglexa,covp,vbkp/bkpf as far these tables i used to find some feilds only i mean if one feild is there in one table other table i cant find the other feilds,
So please help me atleast most feilds tables so that i can extract the data based on view.
Thanks in advance
vasHello Vasu,
Some of the mentioned fields are into GLPCA table:
- Document Type (REFDOCCT field)
- Profit Center (RPRCTR field)
- G/L Account (RACCT field)
- Version (RVERS field)
- Actuals (TSL, HSL and KSL fields)
- Company Code (RBUKRS field)
- Fiscal Year (RYEAR field)
Now, if you need to get only values related to planning or forecast, you should go to COEP table (WRTTP field will tell you which type of amount is, for example, 01 and 10 are planning amounts, 04 and 11 are actuals). Note that some of the fields you will not be able to find in COEP.
Hope it helps you.
Regards,
Daniel. -
Improving a query for a report in b1
Dear All,
We have a query for a report. this report display all invoices with it´s Dscription in the system just have 3 descriptions so i need the the report display the this description in column not in row and then have the sum by description. i dont know how can i put a picture for showing the example.
Some one knows how can i do? down the code.
Regards
NANCY
SELECT distinct T1.visorder as 'No. Linea',
T0.DocNum as 'No. Factura',
T0.DocDate as 'Fecha',
T0.CardName as 'Cliente',
T1.U_CANTIDAD as 'Tonelaje',
T0.U_OPERACION as 'No. Operación',
T0.DocCur as 'Moneda',
T0.GrosProfit as 'Ingreso total de factura',
T1.ItemCode as 'Código',
T1.Dscription,
T1.Quantity*T1.Price as 'Importe por Servicio',
T1.LineVat as 'IVA por servicio',
T0.VatSum as 'IVA por factura',
T2.PlngGroup as 'Cuenta SUN'
FROM OINV T0 LEFT JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry
inner join OCRD T2 ON T0.CardCode = T2.CardCode
WHERE T0.Series = 49 and
T0.DocDate BETWEEN [%0] AND [%1]Hi Nancy,
I'm not sure that I understand your requirement 100% but assuming you only have 3 descriptions then the following would give you totals for your different descriptions...
Simply replace the text ' etc in the code below with the descriptions values.
SELECT distinct
T1.visorder as 'No. Linea',
T0.DocNum as 'No. Factura',
T0.DocDate as 'Fecha',
T0.CardName as 'Cliente',
T1.U_CANTIDAD as 'Tonelaje',
T0.U_OPERACION as 'No. Operación',
T0.DocCur as 'Moneda',
T0.GrosProfit as 'Ingreso total de factura',
T1.ItemCode as 'Código',
CASE
WHEN T1.Dscription = '<description1>'
THEN T1.Quantity*T1.Price
ELSE 0
END as '<description1>',
CASE
WHEN T1.Dscription = '<description2>'
THEN T1.Quantity*T1.Price
ELSE 0
END as '<description2>',
CASE
WHEN T1.Dscription = '<description3>'
THEN T1.Quantity*T1.Price
ELSE 0
END as '<description3>',
T1.LineVat as 'IVA por servicio',
T0.VatSum as 'IVA por factura',
T2.PlngGroup as 'Cuenta SUN'
FROM OINV T0 LEFT JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry
inner join OCRD T2 ON T0.CardCode = T2.CardCode
WHERE T0.Series = 49 and
T0.DocDate BETWEEN [%0] AND [%1]
Hope this helps.
Regards,
Sean -
Need a query for monthly Report
Hello All,
I need a query for monthly report,
comp_code
emp_id
dept_id
work_day
100
A100
MECH
01/01/2013
100
A100
MECH
02/01/2013
100
A100
MECH
03/01/2013
100
A100
MECH
04/01/2013
100
A100
MECH
05/02/2013
100
A100
MECH
08/02/2013
100
A100
MECH
09/02/2013
100
A100
MECH
10/02/2013
100
A100
MECH
12/05/2013
100
A100
MECH
13/05/2013
100
A101
CIV
01/04/2013
100
A101
CIV
02/04/2013
100
A101
CIV
03/04/2013
100
A101
CIV
04/04/2013
100
A101
CIV
06/04/2013
100
A101
CIV
06/06/2013
100
A101
CIV
07/06/2013
100
A101
CIV
08/06/2013
100
A101
CIV
09/06/2013
100
A101
CIV
10/06/2013
100
A101
CIV
11/12/2013
100
A101
CIV
12/12/2013
100
A101
CIV
13/12/2013
100
A101
CIV
14/12/2013
Dear friends this the sample table of my report.In which table has contain list of employees with their working days(actual table has contain almost 5laks of records).
suppose user choose the date between 01/01/2013 and 31/12/2013 then the result should be like this.
comp_code
emp_id
dept_id
month
Total_work
100
A100
MECH
JANUARY
4
100
A100
MECH
FEBRUARY
2
100
A100
MECH
MARCH
0
100
A100
MECH
APRIL
0
100
A100
MECH
MAY
2
100
A100
MECH
JUNE
0
100
A100
MECH
JULY
0
100
A100
MECH
AUGUST
0
100
A100
MECH
SEPTEMBER
0
100
A100
MECH
OCTOBER
0
100
A100
MECH
NOVEMBER
0
100
A100
MECH
DECEMBER
0
100
A101
CIV
JANUARY
0
100
A101
CIV
FEBRUARY
0
100
A101
CIV
MARCH
0
100
A101
CIV
APRIL
5
100
A101
CIV
MAY
0
100
A101
CIV
JUNE
5
100
A101
CIV
JULY
0
100
A101
CIV
AUGUST
0
100
A101
CIV
SEPTEMBER
0
100
A101
CIV
OCTOBER
0
100
A101
CIV
NOVEMBER
0
100
A101
CIV
DECEMBER
4Hi,
If you want the output to include months where no work was done (with 0 in the total_work column) then you need to outer-join a "table" that has one row per month, and make it a partitioned outer join:
WITH got_end_points AS
SELECT TRUNC (MIN (work_day), 'MONTH') AS first_month
, TRUNC (MAX (work_day), 'MONTH') AS last_month
FROM table_x
, all_months AS
SELECT ADD_MONTHS (first_month, LEVEL - 1) AS a_month
, ADD_MONTHS (first_month, LEVEL) AS next_month
FROM got_end_points
CONNECT BY LEVEL <= 1 + MONTHS_BETWEEN (last_month, first_month)
SELECT t.comp_code
, t.emp_id
, t.dept_id
, m.a_month
, COUNT (t.work_day) AS total_work
FROM all_months m
LEFT OUTER JOIN table_x t PARTITION BY (t.comp_code, t.emp_id, t.ept_id)
ON t.work_day >= a.a_month
AND t.work_day < a.next_month
GROUP BY t.comp_code
, t.emp_id
, t.dept_id
, m.a_month
ORDER BY t.comp_code
, t.emp_id
, t.dept_id
, m.a_month
As posted, this include every month that is actually in the table. You can change the first sub-query if you want to enter first and last months.
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.
Point out where the query above is giving the wrong results, and explain, using specific examples, how you get the correct results from the given data in those places. If you changed the query at all, post your code.
Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
See the forum FAQ: https://forums.oracle.com/message/9362002 -
Hi! Anybody who has a sample sql query for aging report? basically this is the table structure and sample data
bill_no B1-01 B1-02 B1-03
bill_date 01-JAN 01-FEB 01-MAR
previous_balance 100 600 800
current_charges 500 200 400
total_due 600 800 1200
As of march 1, total due is 1200. how can i get the breakdown of 1200 as to the number of days it has been due. ex. 500 (60 days old 01-JAN to 01-MAR), 200 (30 days old), 400 (current)
please help. thanks!
nullSELECT CEIL((SELECT MAX(Bill_Date) FROM Bill)- Bill_Date) Days , Previous_Balance, Current_Charges FROM Bill ORDER BY Days ASC
Then create a matrix reprot. -
Any standard SMARTFORMS available for purchase order, sales order, invoice
Hi,
Any standard SMARTFORMS available for purchase order, sales order, invoice ?
RR.Hi Rama,
Goto NACE tcode-> choose the application u want( like billing for invoice, PO)->output type->output type->processing routineon left side
Here u will find the standard program name and smartform .
Hope it helps.
Regards,
Sonika -
How to migrate SAP Bex Query to BO report
Hi All,
I want to migrate some of the reports from Bex Query to SAP BO.
Will you suggest me what are the best ways to do this,Whether there are any tools to do this??
Regards,
Shiva Kumar G.CHi,
When you say migrate do you mean to use BOBJ for reporting?
If your answer is yes then other questions come into picture.
What type of reports you have in SAP- Adhoc, WAD, Formatted etc?
BusinessObjects is combination of some tools.
WebI is a web base tool and mostly used for Adhoc. You will have to create a Universe on the top of your Bex Query and then WebI Document (WebI Report)
Crystal Reports is used for formatted reporting. You will create connection on the base of your requirement. You can create a Universe or make a direct connection with your InfoProvider and then create your reports. Use MDX functionality to create Reports.
Crystal Xcelsius is used for dash board reporting.
And if your answer is no to above question and you want to migrate your reports to BOBJ like and upgrade without recreating the reports then it is not possible.
Regards,
Bashir Awan -
BEx Query for SAP BO WebI issue
Hello Experts,
I am facing a problem in BEx query which is feeding SAP BO WebI 4.0 (SP5) via BICS.
BEx query designed on top of a Multiprovider consists of two standard InfoCubes namely ZBW1 and ZBW2.
We need "ZPRCTR" from InfoCube ZBW1 and the Key Figures (Calculated Key Figures based Restricted Key Figures) are from InfoCube ZBW2.
Now, the problem is we are not getting the data for this combination. Any suggestion will be appreciated.
Thanks in advance
IndraIs ZPRCTR available in ZBW2 also? If not, then it will not give the desired result.
Check the below url:
https://help.sap.com/saphelp_nw73/helpdata/en/4c/2226c805e65792e10000000a15822b/content.htm?frameset=/en/4a/40bf3597ea1d0fe10000000a42189c/frameset.htm¤t_toc=/en/a3/fe1140d72dc442e10000000a1550b0/plain.htm&node_id=251
Regards,
Suchitra -
Hi,
I have to generate a report which contains a query with database link. This database link is not hard coded and would be picked up from another report which contans a link to this report. So this database link value for the query could be any. Can anyone guide me hot to write a dynamic select statement so that i could append database link value at run time.
Thanks
SalmanHi,
You can not directly use a PL/SQL query to create an Interactive Report - that is not yet available.
What you could do is create a collection from your query and then use that for the report. Have a look at: [http://download-uk.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32471/advnc.htm#BABGHJFD].
In there, you will see APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY - this allows you to create a collection from a string. You could add a PL/SQL process to your page that runs "On Load: Before Header" that actually creates the collection. Something like:
BEGIN
IF APEX_COLLECTION.COLLECTION_EXISTS('MYCOLLECTIONNAME') THEN
APEX_COLLECTION.DELETE_COLLECTION('MYCOLLECTIONNAME');
END IF;
APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY('MYCOLLECTIONNAME','MY SQL QUERY STRING');
END;Your Interactive Report can then be based on:
SELECT SEQ_ID, C001, C002, C003, ...
FROM APEX_COLLECTIONS
WHERE COLLECTION_NAME = 'MYCOLLECTIONNAME'The tricky part is the headings as these would tend to be the SEQ_ID, C001, C002, C003, etc column names from the collection itself.
To get around this, make sure that the report's sql statement includes as many Cnnn columns as you will need for the widest of the reports. Before doing anything else, run the report once to make sure that all these columns are included in the output.
Then, through Shared Components, Application Items, create items that will hold heading names - for example, G_HEADING1, G_HEADING2 etc - one for each possibile column.
Now, update the process to:
BEGIN
IF APEX_COLLECTION.COLLECTION_EXISTS('MYCOLLECTIONNAME') THEN
APEX_COLLECTION.DELETE_COLLECTION('MYCOLLECTIONNAME');
END IF;
IF ..test1.. THEN
APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY('MYCOLLECTIONNAME','MY SQL QUERY STRING 1');
:G_HEADING1 := 'ColumnHeading1Value';
:G_HEADING2 := 'ColumnHeading2Value';
:G_HEADING3 := NULL; -- column not used for this query, so set it to null
ELSIF ..test2 .. THEN
APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY('MYCOLLECTIONNAME','MY SQL QUERY STRING 2');
:G_HEADING1 := 'ColumnHeading1Value';
:G_HEADING2 := 'ColumnHeading2Value';
:G_HEADING3 := 'ColumnHeading3Value';
ELSIF ...etc...
.. etc ...
END IF;
END;Finally, on the report itself, set the column headings to *&G_HEADING1.*, *&G_HEADING2.* etc. Then, on each column, set a Condition of "Value of Item in Expression 1 is NOT NULL" and in Expression 1, enter in the application item for that column - eg, G_HEADING1
I have done all that here: [http://apex.oracle.com/pls/otn/f?p=16338:5] - select either Departments or Employees from the list and the report will change.
Andy
Maybe you are looking for
-
Hi,I want to update the city_code with city_new_code but want to update the data before the first hyphen of city_code. create table #city (city_code char(10), city_code char(2), city_new_code char(10)) insert into #city values ('1989_DEL_J1_200','2',
-
Automated install Arch x86_64 root-file system the "Raspberry" way..
Dear Archers, I am currently deeply interested in installing Arch as dual boot on my current x86_64 system. And yes, there is plenty information regarding this subject in Arch wiki's. However... I would like to automate the installation the "Raspberr
-
Event handling to the drop down list in the WEB DYNPRO ALV.
Hi Experts, I posted same thing in the UI programing in the morning For better Visiblity(as i didnt get any replies) of my issue i am posting the same thing in the ABAP General as well. In my dynpro ALV i have 5 fields. in that 2ed field has the drop
-
Application icon appears and then disappears after opening
Occasionally when I open an app [for example, Zuma or Ofoto Express, etc.] the icon will appear on the dock like it's opening, but then immediately disappear. When I try opening it again, it does the same thing. The only solution is to reboot and the
-
Hi All, I have requirement to get the business partner associated with the Storage location address. when i call the bbp_pd_get detail FM i am getting the storage location of particulat line item, now i want to get the address associated for that par