Problem in InfoSet Query data
Hello All,
I have a specification to develop an infoset query in HR.The problem i am facing is i need particular PERNR's listed in output of query which satisfy few condtions like p000-massn = 31 and p0000-massg = Ub or Uc. this is an example of one condition. I tried to wirte my code in record processing and end of selection( before listing) . but there is no data coming at all.
Please suggest how to go about this .
Thanks in advance
Nidhi.
Hi Nidhi,
Please write your code in Record Processing event of code section of Infoset . And instead of IF , use CHECK condition statement.
CHECK P0000-MASSN = '31' AND ( P0000-MASSG = 'UB' or P0000-MASSG = 'UC' )
OR P0000-MASSN = '91' AND P0000-MASSG = 'UE'
OR P0000-MASSN = '10' AND P0000-MASSG = 'U2'.
CHECK SY-SUBRC EQ 0.
Edited by: Dinesh Tiwari on Oct 1, 2009 1:42 PM
Similar Messages
-
Problem with infoset/query: Some data are missing
hi all,
i created an infoset and a query with tables AGR_AGRS (composite/single roles) and AGR_TCODES (tcodes in roles)with SQ01/02.
Problem is that some roles without tcodes dont appear in the report(no data in AGR_TCODES)
I tried to change properties of joints in SQ02 (external) but it doesnt work..
Any idea? Let me know if you need further info,
julienHi Sujay,
My infoset is built like this:
agr_define_____________agr_agrs___________________agr_texts
.............................................. |_______________________agr_tcodes____________________agr_texts
I tried to change agr_define_____________agr_agrs and agr_agrs_____________agr_tcodes using left inner joing but no result.
I appreciate your help,
Julien
Edited by: JULIEN LEGAL on Aug 16, 2010 9:47 AM -
Infoset query data display problem
Hi Experts,
I have created a infoset using SD and AR cubes. On this infoset i have generated a report taking Debit,Credit and Deb/Cred Amount. It is giving me the correct results. But when I have changed the query by adding the NetValue to that query the result is different i.e all the values of Debit,Credit and Deb/Cred Amount are doubling(two times of the original value) but the value of NetValue is correct.
I am not able to solve this problem pls help me.
full points will be assigned.
Regards
SridharHi Sridhar,
Check with currency types.
how many currencies did u include.
Regards,
Vijay.
Edited by: vijay m on Sep 24, 2008 1:28 PM -
Selection field in Infoset Query
Hi All,
I have an Infoset which is based on Logical database PNP & it has few additional fields. Now the requirement is to add one of the additional field to the selection screen of "Infoset Query". But in the Infoset query the 'Selection' checkbox for all the additional fields is graded out, & only the 'Output' Checkbox is enabled for all the Additional fields.
I added a new additional field in Infoset and even that is not available for selection in the Infoset query.
Kindly let me know if you have any info regarding this....
Please note that i have this problem in 'Infoset Query' only.
Thanks in advance.
Regards,
Karthick.Navin,
Try with this link,everything in detail is explained about Infoset queries..
http://shafiq.us/sap/index.php?view=article&id=54%3Aadhoc-query&option=com_content&Itemid=61
hope..this will help you!
Cheers,
KK -
Reg:Infoset query Uploading..
Hi all,
I am facing problem in infoset query uploading.We have some queries in Old system we need them in ECC.I am using program RSAQR3TR to download and upload the queries (not import and export).
I am able to download but while uploading i am getting an error..
'F Error when generating transport dataset'....
Any inputs guys..
Thanks in advance,
KK
Edited by: krishna kishore on Apr 24, 2009 9:56 PM
Edited by: krishna kishore on Apr 27, 2009 4:02 PMHi all,
I am facing problem in infoset query uploading.We have some queries in Old system we need them in ECC.I am using program RSAQR3TR to download and upload the queries (not import and export).
I am able to download but while uploading i am getting an error..
'F Error when generating transport dataset'....
Any inputs guys..
Thanks in advance,
KK
Edited by: krishna kishore on Apr 24, 2009 9:56 PM
Edited by: krishna kishore on Apr 27, 2009 4:02 PM -
Issue while extracting data using Gen DS of Type Infoset Query
Hi All,
We have a Generic Data source created using the Infoset query. I get some data discrepency when i am extracting the data with the same DS. The data for the Field Amount in the R3 and the PSA is different. When i try to check the same using the RSA3 T-Code i am unable to execute the Gen DS in R3 production where as its working fine in R3 Dev, and i am able to execute the other DS in the R3 production using the RSA3 T-code.
My concerns ::--
1. if the DS is working fine in R3 Dev in RSA3 the y i am facing the problem in Production.
2. Y i am getting the different data in R3 and PSA since PSA shuld be the replicate of R3?
3. How can i resolve this problem.??
Thanks in Advance
RegardsThanks venkat,
I am having the authorization to execute the query in R3 production, As i am able to execute the other DS in RSA3 . But not able to execute this DS i had also checked it is active n working fine when loading the Data.
There is only one routine ie to transfer rule from lower to upper of a char value.
As der r routines in Update Rule but i have to get the same data in PSA which is der in R3.
The Routine of Update Rules will be executed when loading the data to the Targets right so the data may b vary in Data targets but y i am getting different data in PSA .
Pls thru some light.
Regards -
Infoset Query Returns Wrong Data
Hi there exports,
I created a infoset query based on 3 DSO's 0PUR_O01 (Purchase Order Items), 0PUR_DS03 (Purchase Order Item Schedule Line) & a Z-DSO (Material Consumption).
I need information by PO Number (Item, Material) and the total consumption for that material from the Z-DSO irrespective what the item & PO Number is.
My link to Z-DSO is material & plant. My problem is that the info from the orther 2 DSO is triple when I run my query.
Any suggestions?
Thank you
DirkHi,
This issue arrises due to the infoset property, ie. Infoset provides intersection of data.
So for a single combination of material and plant in Z-DSO, there might be multiple (here 3)records in other two DSO so you get the triple amount in Query.
Inorder to overcome it you must ideally join the DSO in a infoset based on the same key fields..
Hope it helps..
Regards..
Umesh. -
InfoSet Query no data returned
Hi,
I've created InfoSet Query and Query respectively for the same InfoSet. However, only Query returns data and the InfoSet Query returns no data.
Best regards,
tsHi Venkat,
This is BW forum and never post/include your issue in other threads.
if your facing problem about plant data then please post your issue at SAP MM forum.
MM forum link can find below link.
SCN Site Index
How to create a discussion:
http://scn.sap.com/docs/DOC-46003
Thanks -
Data load failure with datasource Infoset Query
Dear Experts,
I had a data load failure today,where i am getting data from the datasource which was built on Infoset Query.
we had a source system upgrade and when i checked Infoset query in the development of Source sytem im getting the below message :
"Differences in field EKES-XBLNR
Output Length in Dictionary : 035
Output Length in Infoset : 020
Message was saying Adjust the INFOSET,I dont have authorisation to create the transport in the source system.I requested the respective person to Adjust the Infoset and also to regenerate the same and move to production system.
I think this will solve my problem,Please correct me if am wrong.
Regards,
Sunil Kumar.BHi Suman,
i am still facing the problem even after adjusting the Infoset.The problem is we are facing the short dump with length mismatch.
when i checked the Infoset we are taking the field xblnr from table EKES and data element for teh field was XBLNR_LONG(char-35) but when i checked the datasource in RSA2 the dataelement for XBLNR was showing as BBXBL(char20).
i think this was causing the problem and i checked in SQ02 we will take the field directly from the table and how there is chance to change the dataelement.
Please help me to correct the same.
Regards,
Sunil Kumar.B -
Our BASIS transport our BW 3.5 queries to BI 7.0 system. We can open all queries on the BI 7.0 box without problem except Infoset queries. The Infoset is composed of two ODSs and when openning it BI 7.0 query designer, can not see any design element in the panes of Rows, Columns, Free Char. and etc., instead the error msg shows (in between two dashed lines below):
Terminate: query_technical_name_Fxx is not a valid characteristic for InfoProvider [A122(BRAIN)]
Diagnosis
Customer enhancement RSR00002 or the implementation of BAdI RSR_OLAB_BADI delivers query_technical_name_Fxx as the characteristic to be calculated. 1. is, however, not a valid key figure for InfoProvider .
System Response
The information from query_technical_name_Fxx is ignored.
Procedure
Check the exit.
Procedure for System Administration
We've checked the enhancement RSR00002 and it's components and find they are all the same as our BW 3.5 system. query_technical_name_Fxx is Company Code InfoObj. in one ODS and it's one of the key to join these two InfoSets.
Any idea?
Thankshi Kevin,
check if helps following oss note
Note 983449 - Termin A122 1COLUMN no valid characteristic of infoprovider
Symptom
Termination A 122 Brain occurs when you test and generate a query. The system does not recognise the characteristic 1COLUMN.
Other terms
Query, condition, COB_PRO
Reason and Prerequisites
This problem is caused by a program error.
Solution
SAP NetWeaver 2004s BI
Import Support Package 10 for SAP NetWeaver 2004s BI (BI Patch 10 or SAPKW70010) into your BI system. The Support Package is available once Note 914304 "SAPBINews BI 7.0 Support Package 10", which describes this Support Package in more detail, has been released for customers.
In urgent cases, you can implement the correction instructions.
You must first implement Notes 932065, 935140, 948389, 964580 and 969846, which provide information about transaction SNOTE. Otherwise, problems and syntax errors may occur when you deimplement some notes. -
I am facing a problem in a crystal report which is based on Infoset query
Hi All,
I am facing a problem in a crystal report which is based on Infoset query.in the Cost Analysis - Planned vs. Actual Order Costs
There are two querys like Query: CO_OM_CA_20_Q1 and InfoSet: ZBPBI131_INFO_ODVR. I build infoset query based on sap best practice user guide but problem is not able to find CO_OM_CA_20_Q1
Best Regards,
SrinivasHi,
I would first of all suggest you don't open the same question twice. this looks like a duplicate to this entry:
Best Practices v3.31 - SAP InfoSet Query connection
Did you assign the queries and the infosets to an InfoSet user group and you assign the SAP account to it as well ?
Ingo -
I am facing a problem in a crystal report which is based on Infoset query.i
Hi All,
I am facing a problem in a crystal report which is based on Infoset query.in the Cost Analysis - Planned vs. Actual Order Costs
There are two querys like Query: CO_OM_CA_20_Q1 and InfoSet: ZBPBI131_INFO_ODVR. I build infoset query based on sap best practice user guide but problem is not able to find CO_OM_CA_20_Q1Please re-post if this is still an issue to the Business Objects Integration Kits - SAP Forum or purchase a case and have a dedicated support engineer work with you directly
-
Problem with a query with a BLOB data type
Hi i've a problem with this query in 11g. R1
SELECT
LOGTIMESTAMP,
LOGTIMEMILLIS,
MSGID,
XMLTYPE(MESSAGEBODY, nls_charset_id('AL32UTF8')).getClobVal() as LLamada
FROM
vordel.AUDIT_MESSAGE_PAYLOAD,
vordel.AUDIT_LOG_POINTS
WHERE
AUDIT_LOG_POINTS.LOGPOINTSPK = AUDIT_MESSAGE_PAYLOAD.MP_LOGPOINTSPK AND
LOGTIMESTAMP between TO_TIMESTAMP('03-12-2011 00:00','DD-MM-YYYY HH24:MI') and TO_TIMESTAMP('03-12-2011 12:00','DD-MM-YYYY HH24:MI')
and filtertype = 'LogMessagePayloadFilter'
and filtername like 'Log Llamada%'MESSAGEBODY: data type of the Column is BLOB
throw this error after execute the query
Error:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00200: could not convert from encoding UTF-8 to UCS2
Error at line 1
ORA-06512: at "SYS.XMLTYPE", line 283
ORA-06512: at line 1Could you check the BLOB really contains UTF-8 encoded XML?
What's your database character set?The BLOB contains UTF-8 Encoded
and the database where i am connectes have AL32UTF8 character set, but my internal instance have "AMERICAN_AMERICA.WE8ISO8859P1"
that is a problem?
How could I change the character set of the oracle local client to the character set of the remote oracle data base? -
Problem during the setting the query data source name in forms 6i
We are now doing assignments in forms 6i actually there is a problem during setting the query data source name in run time.
The problem is
declare
v_query varchar2(200),
begin
v_query :='(select empno,ename,deptno from emp where hiredate =' || control .value1 ||')';
go_block('emp');
set_block_property('emp',query_data_source_name,v_query);
end;
that bolded area is the problem that ia varchar value the single qoutes embedded with that value.how can i embedded single qoutes in that concatenation.
That is now query will run like select empno,ename,deptno from emp where hiredate =control.value
But we need like select empno,ename,deptno from emp where hiredate ='control.value'
Message was edited by:
PunithavelThanks for your response
We fixed the error
and the answer is
declare
v_query varchar2(200),
begin
v_query :='(select empno,ename,deptno from emp where hiredate = ' ' ' || control .value1 ||' ' ' ) ' ;
go_block('emp');
set_block_property('emp',query_data_source_name,v_query);
end; -
Generic Data source with Infoset Query
Hi All,
Please provide me the links or PPT's or Information or PDF's for the creation of the Generic Data source with Infoset Query or
Please explain in clear steps how to create Generic Data source with Infoset Query.
Thanks & Regards,
RaviOopps...being a BI guy, always think of BW
I have never created, though I will suggest to follow this:
A query can be created to extract information from master records i.e Infotypes. For example, by creating a query , the data relating to an employee contained in various Infotypes can be extracted.
Proceedure :
Decide on the various Infotypes we want to make the query. Decide on the area where we want to query i.e Global area or Standard area. Standard area is client specific and globel area will include all clients.
Menu : HR u2013 PM u2013 Admn - Information System - Adhoc Query
Select area standard and select the user group already created
Creation of new query :
TC SQ03 - Select Environment u2013 Select Standard Area - Enter -- If new user group is to be created, enter name of the user group, click on create and enter necessary information and exit after saving
TC SQ02 - Enter name of the Infoset u2013 Create u2013 enter name of Infoset - Data source -- > Table join by basis table u2013 give name of table e.g pa0000 - Enter - Click on insert table if we want to include more tables u2013 give name of table one by one and after finishing, place cursor on the joining lines and right click to delete unwanted relationships - check - and go back - field groups - include all table fields - click on generate button - go out
TC SQ03 - Select user group - eg. Payroll
Infoset - Enter name of newly created Infoset
Assign users and Infosets - Assign infosets - put tick on payroll - save and go back
TC PAAH - Expand the nodes and put tick on relevant fields depending upon necessity
Save the query by giving the same name as infoset for easyness..
Thanks...
Shambhu
Maybe you are looking for
-
Problem with GenericCatalogDAO JDBC Resultset using parameters not working
Hello I have a problem with Petstore GenericCatalogDAO. java. The problem is the behaviour of the resultset object when retrieving data from the database.Below are two synareos one that works (when) hard coded and one that does not work when paramete
-
What is my skype account?
Hi, I just registered for my business and was forced to do with microsoft ID - now I dont know what is my skype ID and I cannot post on my site nor can I communicate with my clients. PLEASE help !!!!
-
Updating firmware on locked E61
I recently got an E61 as an Xmas gift and spent some time playing with various features. By the time I'd finished I'd setup wireless browsing/email via our home LAN and also sync'd all my contacts and calendar entries courtesy of Zyb.com from my prev
-
Photoshop disk error on latest update for NEF files
Since the last update of Photoshop CC, photoshop refuses to open my NEF files Nikon format) quoting disk error. The same file is opened in another mac with the photoshop version not updated to the latest CC update. The same file is opened on the comp
-
Hi All, I am getting error "REP-1219 <> has no size--length or width is zero". I am running the report with MODE=Character. When I run the same report with MODE=Default then it runs fine. I tried to adjust all frams..fields etc but the error is still