Infoset Query probelm for Custom Subtypes

Hi Experts.....
         I am new to Infoset Queries...
  The problem is an Infoset query is generated for PA infotypes. It is generating output for all the infotypes except for Communication infotype which contains custom Subtypes. Could you plz help me how to get the data from these custom subtypes.(For these subtypes a select query is written).
  Thanking you in advance.
Regards,
Sree

hi
        Thanks for the reply.......
   We had already created custom fields in the query..... The problem is for some fields it is getting the data. but the select query for all the fields is same(i.e., the where condition is based on pernr & usrty fileds in IT 0105).
   I can't understand why it is taking for some fields & why not for some....
  Could you plz help me.
Regards,
Sree.

Similar Messages

  • Infoset query with KNB1 customer's ADRC information

    Hello,
    An explanation into the problem:
    I'm trying to create an infoset query with KNA1, KNB1 and ADRC which would do the following:
    In KNA1-SORTL we hold customer numbers which can be found from KNB1. This query should:
    Display KNA1-KUNNR and relevant address data for this customer via connection KNA1-ADRNR and ADRC-ADDRNUMBER. Then it should check KNA1-SORTL- field and if it corresponds to KNB1-KUNNR, it should go back to KNA1 with this KUNNR and display all this customer's relevant address data via this customer's KNA1-ADRNR to ADRC-ADDRNUMBER.
    I'm relatively new to infoset coding and ABAP in general, plus I'm self- taught so please bear that in mind.
    I'll give an example as to what I've managed to do so far. In SQ02 I joined tables KNA1(left outer join)KNB1 and KNA1(join)ADRC and created an extra field ZADRNR to see if I could display the ADRNR for the customer number found in KNB1.
    Something along the lines of:
    IF KNB1-KUNNR = KNA1-SORTL.
    SELECT SINGLE ADDRNUMBER FROM ADRC INTO ZADRNR
    WHERE ADDRNUMBER = KNA1-ADRNR.
    ENDIF.
    Obviously this doesn't work. Pseudocode would look like this:
    Check field KNA1-SORTL
    IF KNA1-SORTL = KNB1-KUNNR THEN
    GO BACK TO KNA1 with this KUNNR and display it's ADRC.
    KNB1 sadly doesn't maintain an ADRNR of it's own, or this would be much simpler.
    Any help or advice is much appreciated, so far I've only been coding a few lines in infosets with ABAP so I'm not all that familiar with it. I've managed to create several queries through trial and error, mostly, and this forum and it's articles have helped a great deal.
    Please let me know if I should provide any additional information, and my apologies if I posted this in the wrong forum area.

    Hi Lalit, and thank you very much for your reply.
    Unfortunately excluding space entries in selection screen wouldn't solve the issue, since we have KNA1-ADRNR for each entry, it's just that it would be different for customers found in KNB1.
    I could probably solve this by making two separate queries and working on them in excel and that way we would have the necessary information.
    But in order to do this in SAP seems to mean that I have to write a custom report. For that, it seems I'll be spending New Year's eve learning how to ABAP
    Thank you for your help, at least we don't have to struggle with finding out a way to do this via queries so we'll just find alternative means for this.
    Thanks again and have a happy new year!

  • Will Infoset Query work for Function Module

    HI Can someone let me know will a Infoset wuery works for Function module or not. I have 3 tables which i need to extract on, i am building a Infoset Query on 2 tables and using this in my Function Module to join on 3rd table. I have some conditions on 3rd tbale which i need to pull only those records.
    When ever i check the syntax it always gives me a message
    The type "ZUSERLOGINQRY" is unknown. ( This is my Infoset query name).
    Can any one help me on this.
    Thanks,
    Kris.

    HI Pat thanks for responding i havent done this earlier so i am not sure how to declare une code under Infoset Query ---> Extras. I am getting some duplicates in Infoset Query, can you let me know how to clear all those duplicates...
    Appreciate you help.
    Kris.

  • Missing variables in Infoset Query.

    Hi All,
    0P_KEYD2 is a variable for characterstic "Posting Date" in the  query which fires on ODS 0FIAR_O03.I have created an Infoset on ODS 0FIAR_O03 and 0CUST_SALES(Master Data)and created a query on this infoset. But I am unable to see variable 0P_KEYD2 for Posting Date in the Infoset Query.
    (There are some other variables too which are not visible in Infoset Query, these include - custom "Z..." variables & BC variables, with SAP exit and with User entry, etc)
    Could anyone suggest how to access this same variable for query on infoset as in ODS query?
    I tried having an new Infoset with just the ODS 0FIAR_O03, but here again these variables are missing for this characterstic (and possibly other variables for other characterstic), while if I try to build the query on the above ODS directly I get the variables!
    Version: We are on BW 3.5
    Thanks,
    Melwyn Joseph
    Message was edited by: Melwyn Joseph
    Message was edited by: Melwyn Joseph

    Hi,
    I'd put this query in SDN quite some time back..but didn't get any response then.
    As Raymond said above, that is what I'd done in my case. The original variables are SAP exit (u can view their code in the standard SAP FM's). Here the code refers to other variables/objects with their specific tech names (or something similar..don't remember it now). In infoset, as we dont get the original tech. names of the objects in the query ...these SAP exit codes will not work for these variables.
    The solution is to create your own custom variables & populate it in Customer Exit. U can get the logic from the SAP exit code...its not that difficult to understand.
    cheers,
    -Me

  • Conditions in infoset query (SQ02)

    Hi, I´m working with BW 3.5 And I´m using infoset query(SQ02) for link two tables.
    The second table is linked with left other join, and I need more one condition in this table, I just want the data with max(date) in table two.
    For Example:
    Table 1:
    FIELD1  | FIELD2 | NET_PRICE
    800001  | 0010   | 100.00
    800002  | 0010   | 1520.30
    800003  | 0010   | 48.54
    Table 2:
    FIELD3 | FIELD1 |  FIELD4  |BILL_QTY
    900000 | 800001 | 20080101 |10
    900001 | 800001 | 20080210 |15
    900002 | 800003 | 20080101 |10
    Result of InfoSet query (Table1-FIELD1 link Table2-FIELD1 with left other join) :
    FIELD1  | FIELD2 | NET_PRICE | FIELD3 | FIELD1 |  FIELD4  |BILL_QTY
    800001  | 0010   | 100.00    | 900000 | 800001 | 20080101 |10
    800001  | 0010   | 100.00    | 900001 | 800001 | 20080210 |15
    800002  | 0010   | 152.30    | 000000 | 000000 | 00000000 |0 
    800003  | 0010   | 148.54    | 900002 | 800003 | 20080101 |10
    But the result should be:
    FIELD1  | FIELD2 | NET_PRICE | FIELD3 | FIELD1 |  FIELD4  |BILL_QTY
    800001  | 0010   | 100.00    | 900001 | 800001 | 20080210 |15
    800002  | 0010   | 152.30    | 000000 | 000000 | 00000000 |0 
    800003  | 0010   | 148.54    | 900002 | 800003 | 20080101 |10
    Is possible appear only the max(field4) for de left table 2 using infoset query (SQ02)?
    Thank´s!!

    Please check out this link and let me know if it is helpful..
    http://help.sap.com/erp2005_ehp_02/helpdata/en/d2/cb449c455611d189710000e8322d00/frameset.htm
    When outputting using the SAP List Viewer, the code at TOP-OF-PAGE has no significance

  • Change layout of Adhoc query output list for Custom infotype

    Hi All,
    The fields in the Infoset query output on a custom infotype are aligned with the fields u2018payment typeu2019 and u2018amountu2019 appearing repeatedly(in columns) as declared in the Infotype and the output will be a long horizontal list.
    Instead, the requirement is that the output list should show vertically so that If I choose u2018Payment Typeu2019 and u2018Amountu2019 as output fields, it will show a long vertical list as in the case of a standard infotype (IT0008).
    Also, this way enables user to use Payment Type as a selection criteria so as to just pulling the needed payment type. When we use IT0008 in the infoset it works fine but in custom IT it does not work.
    Any pointers/suggestions on how we can achieve this would be helpful.

    Hi yu liang,
                     You can find vendor list having Vendor No. & without showing total liability for every vendor.
    after executing the report,
    1.You need to select "change layout (ctrl+F8)",
    a small window comes, it has two part -> column content & hidden fields.
    then u select "Vendor" from hidden field & move it to column content.
    2. at column content there is a column named "Total". u need to remove check for your column name "amount".
    now select "copy" button or enter. u will find the req. report.
    u can save it also by ur name.
    hope its helpful to u.......
    plz, reward points as a way of thanks if helpful...

  • Custom Field in Infoset Query missing in Infoset

    Hi Everyone,
    I'm in a puzzle and I hope someone can help me. Basically I need to maintain an existing infoset Query - While looking through the query and it's related Infoset I noticed there is a custom field appearing in the query (SQ01) but this field is nowhere to be seen in the Infoset (SQ02) - I'm just wondering how can this be ?
    The same custom field exists in another Infoset - is it therefore possible to build a query using an infoset while pulling in fields from another ?
    I would appreciate any thoughts on this matter as I'm in a very confused way over this.
    Thanks in advance
    Kind Regards
    Damien
    Edited by: Damien Kesle on Jul 22, 2009 3:48 PM

    Hi Damien Kesle ,
    There are ways by which you can create fields ( they are called Local fields ) in the Query too.
    Please see , whether the custom field you are asking is present in the Query.
    Even then , just to confirm that your said field does not exist in the infoset, follow the steps.
    Go to SQ02, put the name of your Infoset and click on tab "Description ".
    Then do a Ctrl + F (Find/Search) for the field. If its not there, then you can confirm that the field comes from Query and not Infoset.
    Approach for any further queries.
    Regards,
    Subin John

  • Mandatory fields for Infoset query

    Hi all,
       I am creating a datasource using Infoset queries.to test it, how to make a field as mandatory in selection screen.
    thanks in advance.
    Reagrds,
    Murali

    hi murali,
    Mandatory selection screen:
    When you display infoset go into the infoset>Goto >selections or click on the app tool bar button for selections,
    it will open up a table will all the screen fields. Adjacent to these, there are 3 check boxes for Standard selection, required entry and default. Check the required entry field.
    You would have to place the code in the PBO. In case of selection screens, you will have to do it in the AT SELECTION-SCREEN OUTPUT EVENT.
    Doesn't really make much sense to try and do it in the PAI ( = AT SELECTION-SCREEN).
       You can do it using customer exit. You have the options to verify a variable input and display a message back to the users, check the attached documents. The check can be done in the customer exit step I_STEP = 3.
    https://websmp102.sap-ag.de/~sapdownload/011000358700002765042003E/HowToVerifyVariableInput.pdf
    A tool that provides reporting on one or multiple ODS Objects. InfoSet Query provides Web reporting capabilities (known as ABAP Query or SAP Query).
    Check this link.May be it can help you.
    http://help.sap.com/saphelp_nw04/helpdata/en/ed/084e3ce0f9fe3fe10000000a114084/content.htm
    Hope IT solves ur problem
    Thanks
    Varun CN

  • Infoset Query is not available for generic Extractor

    Hi,
    I've created an infoset in SAP ECC with sq02. Then I've created an Infoset Query on top of this Infoset, because I wanted to exclude records with specific values. Now I want to use this Infoset Query (with the filter restrictions) in my generic DataSource. I can only chosse the Infoset, but not the InfoSet Query. Normally I use the filter in the InfoPackage, but neither IP nor DTP can exclude values with a pattern (f.e. exclude all record that contains a $ symbol in the string)
    Any suggestions?
    Thanks and regards,
    Sebastian

    I agree with Jen, that BW side routines would work just fine.
    If it is extractor performance you are worried about and that is why you want to build the $ exclusion in the select, then I would suggest just creating an extractor from scratch using a custom written function module.  It's actually very strait forward and provides many advantages over table/view/InfoSet based generic extractors.
    I am not a fan of using InfoSets for generic extractors.. but you can create InfoSets based on a data read program in which case you code all the selects and whatnot.  But if you go that far with the InfoSet, why not just write the FM...
    Thanks

  • Creation of subtype for custom infotye

    hi,
    I have a requirement to create a subtype for custom infotype for particular fields and same fields can be able to see in T-code pa30 for corresponding infotype and subtype .
    Kindly tell me the steps or proceedure to create subtype.
    Thanks in advance
    Shweta

    hi,
    you can achieve this using PM01 transaction and some functional configuration.
    for more details search in ERP HCM Forums.

  • Custom Subtypes for IT0021 not appearing in ESS

    We are in ECC 6.0 and using custom subtypes like FM01 - FM06 for IT0021 (Family Member/Dependents). Now we are doing ESS implementation and we are not able to display Family details through ESS.
    I have maintained the subtypes in table V_T7XSSPERSUBTY.
    Our country grouping is 99 and for IT0021 we are using Russian Country screen and completed  relevant configurations changes for the same.
    Dear Friends, Can anyone guide me what extra changes I need to make for the Custom Subtypes (for IT0021) to appear in ESS.
    Thanks in advance for your help.
    Preethi

    Hi again
    One thought:  There are 2 IMG nodes for Defining possible family members - in addition to V_T7XSSPERSUBTYP.
    This is already maintained in our installation, as we are now doing an upgrade. 
    And all I did for upgrade, was entering data into V_T7XSSPERSUBTYP.
    Check out if you need the entries in both the IMG nodes as well.  It should not be necessary to code anything to get the subtypes in ESS.
    Personnel Management>Personnel Administration>Personal Data>Family>Personal Data>Family Types>Define Possible Family Members. 
    Br
    Kirsten

  • INFOSET QUERY: Set condition for output display

    Dear Experts,
    I have created a infoset query for display of Material inspection Characteristics using tables QPMK, QPMZ & QPMT.
    now the user wants to display data only of those transaction no.'s starting with 'MC' or 'EQP' or 'WE' so on & so forth.
    I do not know how to incorporate the same in the Infoset. I have tried putting the codes in DATA / START-OF-SELECTION / RECORD PROCESSING etc... but no use.
    There is another option of filtering the transaction no,'s in Layout, but user does not want the same.
    so kindly guide me.
    Thanks.
    Regards,
    Jitesh

    Hi Jitesh,
    Please follow the below stepas . (here pseudo code)
    In Data Section
    DATA: str1 TYPE string,
               str2 TYPE string,
               str3 TYPE string.
    str1 = 'MC*'.
    str2 = 'EQP*'.
    str3 = 'WE*'.
    If you have more strings to compare ..declare those like that.
    In 'Record processing Event' you need to use CHECK statement with CP operatoar of String
    CHECK table_name-transaction_field CP str1 OR  table_name-transaction_field CP str2 OR table_name-transaction_field CP str3.
    CHECK SY-SUBRC EQ 0.
    Genrtae the Infoset "Important step
    Go to SQ01(in a new session) , and see if your getting required result.
    Regards,
    Dinesh
    Edited by: Dinesh Tiwari on Oct 1, 2009 7:17 AM
    Edited by: Dinesh Tiwari on Oct 1, 2009 7:18 AM
    Edited by: Dinesh Tiwari on Oct 1, 2009 8:07 AM

  • When to go for generic extraction using view and infoset query?

    Hi,
                        Can anyone clarify me when we should go for generic extraction using view and when we should go for generic extraction using infoset query....
    Also what is the difference between view and infoset?
    I tried but could not find out....
    Regards,
    Kalyani.

    Hi Kalyani,
    We normally go for View or infoset when the data to be fetched in BW is distributed in different tables in SAP R/3.
    Had the data been available in one table we can easily build our datasource on that table but if there are more tables then its not possible to do it without Views or Infosets. You can use Function Modules to build your datasource in case it involves complex logic to figure out the data from various tables.
    Depending upon the table relationships we create view and include various fields from these tables in that view. Same is with the Infosets, you can have more flexible options like Outer Join, left outer Join etc.
    Regards,
    Pratap Sone

  • Generic Extractors for HR Reports using views and Infoset Query

    Hi Friends... I am working to come out with the HR reports in BW for the HR reports which are already there in R/3. The HR reports in R/3 are created based on Infoset Query.I could not find any standard business content cubes which can give me these reports.
    1)So please can anyone give me step by step approach so to create a generic extractors based on Infoset Query.
    2)And also how to populate the data into the fields of the generic extractor which is created by Infoset Query( Please provide any sample ABAP code if available)
    3)can anyone give me step by step approach so to create a generic extractors based on View/Table.
    4)And also how to populate the data into the fields of the generic extractor which is created by View/Table( Please provide any sample ABAP code if available)
    Thanks

    Hi Kalyani,
    We normally go for View or infoset when the data to be fetched in BW is distributed in different tables in SAP R/3.
    Had the data been available in one table we can easily build our datasource on that table but if there are more tables then its not possible to do it without Views or Infosets. You can use Function Modules to build your datasource in case it involves complex logic to figure out the data from various tables.
    Depending upon the table relationships we create view and include various fields from these tables in that view. Same is with the Infosets, you can have more flexible options like Outer Join, left outer Join etc.
    Regards,
    Pratap Sone

  • How to identify whether a TCode is for SAP query or for a customized TCode

    Hi,
    We have a list of TCodes starting with Y_*
    Some of these TCodes could be related to SAP Queries and some could be real custom transactions. How do I find out which one of those are related to SAP queries and which ones are related to custom SAP transactions?
    I have already checked table TSTC for the program names of these Transactions, but the program name field (PGMNA) is blank. Also in TCode SE93 the transaction mentioned is START_REPORT. Also for some, when I go to the transaction (Y_*) and then environment->status to check the program name the values found are something like AQ11FI==========F10A==========.
    Please help on how to identify whether a TCode is actually for an SAP query or for a customized transaction.
    Thanks in advance.
    Mick

    Thanks Anil.
    In TSTC, the filed for program name is blank. Therefore I would have to go to each and every transaction (I  have around 250 Y_* TCodes with me) and then to environment->status to get the program name and then check whether it is A......
    Is there any easier way to know whether a TCode refers to an SAP query or a custom developed transactions/program.
    Mick

Maybe you are looking for

  • How to undo my kid's iPad now using my iPhone# & email

    my kids' devices are connected with my itunes account. I have an iphone and macbook pro. My daughter has an ipod and ipad, my son has a mini. My son activated imessage with his mini and now his device is texting with my phone number, and my gmail is

  • Free of charge po line items for all account assignments

    Dear All, Is there any setting by which for all account assignments/item category combinations, I should get option to create free of charge PO line items, irrespective of the preceeding documents through which I prepare PO (from PR). I have checked

  • Word and PDF Attachments Won't Open in Mail

    I bought my iPad2 in September 2011. have upgraded it to iOS5. I cannot open any PDF, .doc or .docx document. I have tried opening the PDFs in Adobe Reader and the Word documents in Pages or Dropbox but they won't open. All my apps are up to date. Wh

  • Message tracking

    current scenario exchange 2013 on premise. our requirement is track the messages send from external domains (from internet) We are using get-messagetrackinglog command and pipe it to test file. below is command i am using get-messagetrackinglog -send

  • Display popup message on SRM portal

    Hi, I need to display a popup message on the SRM portal while doing a PO confirmation. Can you please guide me how to do it? Do I need to modify the templates or can it be done using a BADI? Thanks in advance.