Master Query Replace
Hi BW Gurus,
I would like to know, how do I replace a query result from a master query to a child query (not a drill down) ?
Thank You
Luis,
If you select characteristics value with replacement path then it uses the results from previous query; for example let us assume that you have query Q1 whivh displays the top 10 customers; we have query Q2 which gets the top 10 customers for info object 0CUSTOMER with as a variable with replacement path and displays detailed report on the customers list passed from Q1
tq
kumar
Similar Messages
-
Reference a field from master query in detail query
Hi,
Please tell me how do I reference a field say incident_no in my master query to a detail query.
like
detail.incident_no != master.incident_no
I am joining both the queries using a link. But still I need to reference another field from the first query in my second query. I thought this was possible using formula columns or trigger's. Please help.Hey Vadim,
That worked. How come.. You know I did it several times before and all it said was, that it was going to create a new parameter field called so and so.
Good, so does it work just this time or always ? just kidding. Reports is so unpredictable, at least for me.
Thanks Vadim,
Joe. -
Some of the description of object ID for job master query is displayed in g
some of the description of object ID for job master query is displayed in german language although the language is set as english.This happens in production system.wat may be the issue with this....
ya i checked it is EN only.....but still some problem exists......
-
I'm developing an control application by using the Modbus TCP/IP for communicating with the host computer.
I'm using the Modbus Library for LabVIEW
(http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=F1582737BACF5CA8E0340003BA7CCD71&p_node=DZ52363&p_source=External).
The LabVIEW MB Ethernet Slave seems to fail when the MB Ethernet Master
query information simultaneously for more than 16 Coils or Discrete
Inputs.
The Modbus Application Protocol Specification (http://www.Modbus-IDA.org) state that:
1- The function code 0x01 'Read Coilsis' is designed to read from 1 to 2000 contiguous status of coils in a remote device.
2- The function code 0x02 'Read Discrete Inputs' is designed to read
from 1 to 2000 contiguous status of discrete inputs in a remote device.
To test the behaviour of the LabVIEW MB Ethernet Slave I have modified
the 'MB Ethernet Example Slave.vi' by adding more Coils and Discrete
Inputs. I have added up ONLY to 20 Coils and 20 Discrete Inputs.
By using the 'MB Ethernet Example Master.vi' the answer to the MB query
is correct for the first 16 Coils or Discrete Inputs. Starting from the
17th Coil or Discrete Input the MB Ethernet Slave doesn't give any
answer.
By shifting the start point address the answer remain correct for the first 16 Coils or Discrete Inputs.
I have tested the slave by using also a third part MB Ethernet Master and the behaviour is the same.
1) There is a reason for this behaviour?
2) There is a Modbus Library for LabVIEW that satisfy the 'Modbus
Application Protocol Specification' managing from 1 to 2000 contiguous
status of Coils or Discrete Inputs?
Thanks,
AsperI have the same problem with the MB Ethernet.
I need 40 Outputs.
The first 16 work perfectly. The next 8 coils do not work, The next 8 work, The next 16 do not work,The next 8 work,The next 24 do not work And work for the last 8. Conclusion, to activate the 40 outputs, I needed 88 coils.
Because 48 coil, do nothing Can someone help me and i cant implemet the jim solution -
Customer master Query report doesnt pick all the customer account groups
Hello experts
We have a custom Query report created using customer master tables KNA1,KNVV,KNB1 etc. We have customers maintained under 5 customer account groups. One of the selection fields in the query is account group. But it displays customers only in 4 of the 5 account groups for some reason, even though we have customers maintained in that group(prospective customers).
Any reason why this could occur? How do i ensure that customers from all account groups are visible?
Thanks in advanceHai Ravi
In SAP query if you join
KNA1 - KNB1- KNVV
General - Sasles data - company data
May be your 5th Account type is created without company code data.
The query will display only if the data is linked in all tables.
In case if you don't have company code data but you want the details of the account group customer
In the query join screen.
Right click on the joining line between KNB1 and KNVV and select Left outer join.
Now run the report , it will show all the account group data.
Regards,
Mani -
Hi
I need to make a sap query for all the fields available in both the tables LFA1 & LFB1. So anyone can suggest the steps of config. for sap query of vendor master records.
thanks & Regards,
babjeeHi
Generally there are no configuration steps for SAP query. It is a reporting tool. Using these tool, you can create reports.
If you are using SAP Query, refer to the following websites
help.sap.com/printdocu/core/Print46c/EN/data/pdf/BCSRVQUE/BCSRVQUE.pdf
understanding sap query
http://www.sap-basis-abap.com/sapqu005.htm
http://www.sap-basis-abap.com/sapqu001.htm
Additionally you can also create ABAP Report or use BW for vendor master records
Please let me know if you need more information.
Regards
Sridhar M -
Finding duplicate items in item master query
Hi..
I need to find the all duplicate items with same foreign name in Item master data ....Query is needed .
Regards,
K.RamasamyHi Ramasamy.
Try:
select ItemCode, ItemName, FrgnName
from OITM
where FrgnName in (SELECT FrgnName FROM OITM
group by FrgnName
Having Count(FrgnName)>1)
Thanks,
Gordon -
Query - Replacement Path for a Customer Exit Variable
Hi
New to the field and the board. Any and All help is greatly appreciated.
I have created a query which runs based on a date selection. The query have few customer exit variables whose values are set in ABAP. All Key Figures in the query are brought depending on the date ranges that each of the CE returns. Ex - one column is sales for first 10 days, 2nd for second 10 days, 3rd for first quarter, 4th for 2nd quarter and such. There are about 20 - 25 columns with KF in the query and all are Customer Exit date driven.
The challenge:- Each column heading should have the name of the month. I tried using Replacement Path. But it works when the selection is based on a constant value but not on value based on variable which is a customer exit. Ex - If I say restrict Cal/Month for July 2013, the replacement path for the Col Heading works fine. But if I say restrict Cal/Month for "ZVAR_SecondQtr_First_Month" the replacement path doesn't work.
Help Please
Thanks
VidyaIn the text variable that you are using , i guess you have a replacement path. In this instead of using your characteristic for specifying how the value has to replace, use the variable option and give the variable name there
http://help.sap.com/saphelp_nw70/helpdata/EN/43/565cd22fc95f6ce10000000a1553f6/content.htm
Hope it helps
Regards,
Rathy -
Query replacement path generates error
Hi experts, I need to filter the contents of a query based on another query so I created a replacement path variable. My source query has a number of restrictions but only has my characteristic in rows and a keyfigure in collumns. I created the replacement path value on that characteristic and use it to filter my final query.
When I try to run the final query in BEx analyzer or RSRT I get the following error:
"System error in program SAPLRRK0 and form RRK_LIST_NOTIFY-01- (see long text)"
Any thoughts on what is wrong or should I just post a message to SAP support? By the way, I'm on BI 7.0 SP 17.
Thank you.In the text variable that you are using , i guess you have a replacement path. In this instead of using your characteristic for specifying how the value has to replace, use the variable option and give the variable name there
http://help.sap.com/saphelp_nw70/helpdata/EN/43/565cd22fc95f6ce10000000a1553f6/content.htm
Hope it helps
Regards,
Rathy -
Hello All !!!!
please help me out for solve this problem with Query...
The auto generation of these two code is required groupwise (Alfanumaric) not a numaric serial number like:
Medicines (Group) Med0001(Autogenerated)
Med0002(Autogenerated)
Med0003(Autogenerated)
Cloth (Group) CL0001(Autogenerated)
CL0002(Autogenerated)
CL0003 (Autogenerated)
Bin Car Number Format is BC-002-0001
BC-003-0002
BC-004-0003
BC is static.
0002 is group number like 0002 for Medicine 0003 for cloths
0001 is a serial number.
I need the Query for this if someone tried to resolve with Query please help me .. i m a new in SAP...
ThanksHy there!!!!
I have 2 combination
one is MD for Medicine and 2nd one is CL for Clothes.
here is my Query ..
Select 'BC' '-'(Select (Case T0.ItmsGrpCod when '104'
Then '0002' When '102' then '0003' End ) from OITB T0
Where T0.ItmsGrpCod = 104)
(Select Cast(Max(cast(Replace(T1.ItemCode,'CL','')as int)+1)as Nvarchar(20))
From OITM T1
Where T1.ItmsGrpCod = 104)
in the last Subquery i need '0002' with increment and original value was 'CL0001'
So i have to Replace CL with empty String and in the last increment it but it does not work properly . it gives me 'BC-0002-382'
instead of 'BC-0002-00382'
Could anybody help me out ...
Thanks -
Hi Team,
I have gone through some docs related to Domain naming master. I could see that Domain naming master controlls the additional / removal of domain in the forest.
My query is that 1) if i want to remove an additional domain controller
whether domain master holder to be live ?
2 ) if i need to remove a child domain controller which is the last domain controller in the child domain whether domain naming master to be live ? Please suggest me.
Thanks in Advance
Regards
Sajin P S
Regards Sajin P S1) if i want to remove an additional domain controller whether domain master
holder to be live ?
2 ) if i need to remove a child domain controller which is the last domain controller in the child domain whether domain naming master to be live ? Please suggest me.
Domain naming master role is a forest-wide FSMO role which is not invoked frequently but for domain creation/deletion and application partition creation/deletion.
No it does not need. Because you are not creating / removing a domain. Your local RID needs to be accessible in this case.
Yes it is. By demoting the last domain controller in a domain, you are removing the domain also. So because removing a domain from a forest needs to contact the domain naming master tole, it needs to be accessible.
Mahdi Tehrani |
|
www.mahditehrani.ir
Please click on Propose As Answer or
to mark this post as
and helpful for other people.
This posting is provided AS-IS with no warranties, and confers no rights.
How to query members of 'Local Administrators' group in all computers? -
K7D Master possible replacement.
Our K7D Master seems to have broke down. We need to replace it quickly.
What motherboard would most probebly work with current Windows Configuration (without any re-install!) of the todays motherboards?
1 CPU motherboards is ok also, we need something to replace the K7D Master while its at MSI RMA...
Does ADM still make Chipset for Mobos?
Thanks!there are no current amd chipset boards at least by msi
but does the amd load an ide driver?
as its thats the problem usually in getting windows to load on another motherboard -
Broadcasting - Variable with Query Replacement Rule - java.lang.OutOfMemory
Hi there,
We recently upgraded to BW7/SPS 23 and since then one of my queries which is broadcasted is getting an error:
- Error: java.lang.OutOfMemoryError
The unique thing about this query is that it uses a variable which a replacement path from a query.
Does anyone know how to fix this?
Thanks, AudreyPlease check the following note regarding the sizing of your Netweaver installation
https://service.sap.com/sap/support/notes/927530
Regards,
Stratos -
** How to show the master query group for once in Report??
Hi
I've developed a master-detail groups at a report
The master one has it's repeating frame and the detail one has another repeating frame and put at another page at the layout.
The porblem is that the master one is shown (the same record) in pages for times equal to the number of the detail records which is own for that master record!
Example:
if the master record has got three details then the master data will be show for three times (three pages) at run time and then the page number 4 will show the three detail records.
How to make the master data to be shown only for once (page number 1 only) and then show the detail three records at the next page (page number 2) at run time???Hi,
the question back is, what you've done for this. At default the master record is only shown once. Could it be, that the master-fields are inside the repeating frame for the details?
Regards
Rainer -
Documentation to master Query Designer Features
Hello colleges. I would like to know if anyone has found a comprehensive documentation in the use of the Query Designer, specially in those features who seems to help you calculate an use cumulative, counters, contributions, totals, ranking use, etc. I'm trying to build a SKU Velocity analysis and it seems it can only be solved with those functions mentioned above.
kindly regards,
Gerry.I haven't been able to find a solution to this. It was easy enough in 3.5x to add a document to a query.
Can anyone from SAP comment on this at all?
Maybe you are looking for
-
How to center selected text in document window?
I'm using Word.select( SelectionOptions.REPLACE_WITH) to iterate through a list of words in a document. It would be handy if any off-screen selections could be automatically scrolled into the document window, as with Find/Change. Is there any way to
-
Display column titles only once per page
Hello, I am a newbie to BIP (R12.1.3). Below is how the output data shows up in my custom template: Vendor type lookup : Expense Vendor no: A12345 Vendor Name: Test Vendor1 Vendor Category: Expense - Construction VENDOR SITE INVOICE# INVOICE DATE DUE
-
Attempting to verify a digital signature in JSSE
Situation: In a nutshell I cannot get signature verification to work, and I'm not sure what I'm doing wrong. Background: I'm trying to recreate functionality in Java that currently exists in C/C++, using the OpenSSL vxcrypto library. I've written cod
-
Free Trial- Can I download both Illustrator and InDesign simultaneously?
Free Trial- Can I download both Illustrator and InDesign simultaneously? Id was successful, but is showing up as "finishing" and Illustrator won't download- Please help! Don't want to waste the free trial and really need a resolution ASAP :/
-
No GR qty in PDO but with mvt 101 in Material mvt
Hi All, I am new in PP, I have a question from existing PDO. Some PDOs already TECO as it already done GR, and we can see movement type 101 in log. But when we goes into Cost Analysis, Actual Qty and Actual Cost is 0 ? Anyone can give some hints ? Th