How to check/count whether child records with specific type exist?

Hi
We need to create a BIP report based on data from Siebel.
In Siebel we have two entities:
Entity <Mandate> = Parent Business Componet
Entity <Attachment> = Child Business Component
(An attachment has a specific type attribute (e.g. “contract”, “appendix” and lot of others…)
Relationship between Mandate and Attachments is 1-m.
We need to create a BIP report which displays all Mandates records which do not have at least two Attachments child records (there must be one attachment child record with type=”contract’ and another with type “appendix”). How can we check in BIP whether these child records with a specific Attachment type exist? And if not, display the Mandate in a list....
Many thanks
Alen

Thanks for your help
Well I'm not sure about the syatax I have to use in order to filter on the field *<GAMDocumentType>*
The structure of the xml we use is as follows:
<ListOfBipJbAmlMandateAttachmentReport>
<JbAmlMandate>
<ListOfJbAmlAttachment>
<JbAmlAttachment>
               <AccntFileName>DocumentPage_713328</AccntFileName>
               <GAMDocumentType>*contract</GAMDocumentType>
               <MandateId>1-4C79B</MandateId>
               <Status>Active</Status>
</JbAmlAttachment>
I tried <?for-each:JbAmlMandate[count(./JbAmlAttachment[GAMDocumentType='contract']) > 1 and count(./Attachment[type='appendix']) > 1]?>
But this returns nothing.
Many thanks for your help
Saggittarius

Similar Messages

  • How do check the whether the vector contain specific value

    I store the value retrive from select statement into vector .How do I check if the value is in the vector list . The value I am checking for is from combobox identified as obj.value. Curently I using the following syntax to check whether value is in vector or not.
    if (tran_typ.Contains(obj.value))
    Please answer me soon.

    should be:
    for (int x=0; x<vector.size(); x++)
          MyObject o = (MyObject) vector.elementAt(x);
          if (value == o.getMyValue())
                 //do something
    }Sorry, it is 2:30 in the morning!!!
    Thanks,
    Harold Clements

  • How to check for a function module with its description and functionality

    Hi all,
    How to check for a function module,with its description and its functionality,in detail how can I know the purpose of a particular function module,how to search for a function module which suits my requirement .

    Hi,
    You can search a FM of your requirement by putting in the Key words and searching for a FM. Like * KEYWORD * and then pressing F4.
    Say for example you need to search something regarding converstion.
    Search for * CONVERT * and press F4.
    If there is something specfic like converting date to something you can give
    DATE * CONVERT *
    OR
    CONVERT * DATE *  and press F4.
    Once you narrow down your search you will have a Function module documentation inside the Function module. Please note that all the FMs willl not have documentation.
    Regards,
    Pramod

  • How to check the number of contacts with segment level 'food and beverage' in the segment builder?

    How to check the number of contacts with segment level 'food and beverage' in the segment builder?
    Do we have any table to check this.

    How to check the number of contacts with segment level 'food and beverage' in the segment builder?
    Do we have any table to check this.

  • Create customer master record with reference to existing division

    how to create customer master record with reference to existing division?

    what type of reports sd consultant configure in implementation project?and in supporting project?

  • Create condition record with reference to existing condition record

    how to create condition record with reference to existing condition record?

    Hi,
    See this link :
    http://help.sap.com/saphelp_47x200/helpdata/en/de/7a8534c960a134e10000009b38f83b/frameset.htm
    You can create with reference with Tcode : VK14 (or VK34)
    Or in VK12, you can copy condition records with copy rules.
    Regards,
    Lionel

  • How to auto create a global variable with specific variable name in a global vi ?

    how to auto create a global variable with specific variable name in a global vi using lv ? Because i need to add a lot of global variable in this global vi. But you know, if  i manually add them , it will be a much time-costing work. So i want to use someway to auto generate ? Can i ?? Thanks a lot !

    Hi
    what aartjan is saying is the way for you. but you can develop an utility which will actually help you create global variables. To get the details on this just have a look at VI Scripting section on LAVA forum.
    But i would like you to suggest few things
    1. If your programs have so many global variables (Thats why u want utility) then you should take out some time to read about LabVIEW design patterns. I think if programmer follows these practicess he dont need a single global variable.
    2. Their are some other ways to achieve similar functionality as of global variables (Uninitialized Shift Registers, Single Element Qs and so on) but they are much faster than global variables.
    I am Attaching Whatever Resources i am having I will also attach the template of the design pattern i generaly use in short duration
    Message Edited by Tushar Jambhekar on 10-06-2005 07:33 PM
    Message Edited by Tushar Jambhekar on 10-06-2005 07:36 PM
    Tushar Jambhekar
    [email protected]
    Jambhekar Automation Solutions
    LabVIEW Consultancy, LabVIEW Training
    Rent a LabVIEW Developer, My Blog
    Attachments:
    LabVIEWDesignPatterns.zip ‏1505 KB
    Large_Code_Implementation.zip ‏522 KB
    Database Tests.zip ‏868 KB

  • HOw to check for the Child Elements USing only SAX Parsr?

    HI Guyz,
    How to check whether there are any Child Elements in an XML file using ONLY SAX parser ??? I have a requirement of checking first whether there is any Child Elements exists for a Element or not and based on that I have to take certain actions. Can anyone suggest me How to do that ???
    Thanx
    KK

    Since SAX is event controlled, you wont know if there's a child element unless you actually bump into it with the Parser. You'll simply get another startElement event after your current one.
    /Tom

  • How to delete parent and child records?

    Hi friends,
    I have a Master table and a child table.
    The Child table got reference key with the master table without on delete cascade.
    Now, I want to delete the Master records and also it's corresponding child records.
    How to do?
    Thanks in adv,
    regards,
    Vijay

    Delete the records from the child, then delete the records from the parent in two separate delete statements. I'd prefer that you create a stored procedure that does both steps.
    Justin

  • How to delete parent and child records together ?

    Hi,
    I'm using Jdeveloper 11.1.2.2
    I want to delete a row from a table but it is showing: Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-02292: integrity constraint (TABLE1_TL_FK1) violated - child record found.So how can I delete a Child row and table row in one method ?
    I cannot access the child's VO because it is not added to the AM.
    Thanks,
    Nigel.

    John, as usually, is right with the pointer to the documentation he pasted. Just to make sure you read it carefully, let me hoghlight an important point here:
    "If the option is selected, then the composed entities do not perform the DELETE statement *on the assumption that the database ON DELETE CASCADE constraint will handle the deletion of the corresponding rows*."
    So make sure the database is setup for cascade delete as otherwise you still will not succeed
    Frank

  • How to get count of all records of all entities in CRM Online

    Hi,
     I want to get count of all records entitywise in dynamics CRM 2013 online. I know we can count the records in CRM on-premise using a SQL query in report. Earlier I wrote a SSRS report to count the records in a CRM entity wise  as displayed in
    the screenshot below..
    Can someone suggest me a good approach to implement the same in CRM Online. 
    Thanks
    Pratibha Singh

    Hello,
    In a CRM Online environment, you need to create reports based on Fetch XML. Take a look at this link to create a Fetch XML query with aggregates: https://msdn.microsoft.com/en-us/library/gg309565.aspx?f=255&MSPPError=-2147217396#count .
    Here is an example to create a report in an online environment: http://edwardsdna.com/2012/12/03/crmonline-report/
    Hope it helps,
    Kind regards

  • How to check Licence and what comes with original cd?

    Hello DBA,
    how to check licence in installed oracle database?
    and if we purchase oracle database from oracle then what comes with the kit(like original cd and other things)?
    Thanks,
    DBA

    Hi Nikunj,
    Licensing information are not stored in the database but you can get list of components installed using the query below:
    select COMP_NAME, VERSION, status from dba_registry;
    I hope this is what you are looking for?
    Cheers,
    Adams

  • How to check the master data records in using SE16 transaction?

    Hi,
    Can you please help me to check the master data records using SE16 transaction?
    Loaded master data for Characteristic and want to check the records in the master data tables.
    Thank you for your help!
    Lakshmi

    Hi!
    Welcome to SDN.
    you have to check the master data tables.
    soo in Se16 you have to select the appropriate master data table and view the data.
    following thread explains about masterdata tables
    MasterData table?
    regards
    mohan
    Message was edited by:
            Mohan Krishna

  • Running Total Issue:  How to calculate counts excluding suppressed records

    Post Author: benny
    CA Forum: Formula
    Hello All:
    I have a current report that gives the total counts of work requests.   However, in my section expert, there are some records in the detail that are suppressed (if there isn't any backlog). The current running totals are counting all the records including the suppressed records. I think I need three formulas:1. Calculate the counts2. Calculate the counts excluding suppressed records3. Reseting the counts by group
    May I ask if someone can give me an example of what I should do?
    Thanks so much!
    Benny

    Post Author: benny
    CA Forum: Formula
    Bettername,
    Actually, I should have been more specific.  This report is actually a PM backlog report.  It displays all the work requests (PM) issued including the backlogged. There are 9 columns (including one called Backlog) for the different counts of the pm's based from the status codes (Issued, Material on Order, Completed, Cancelled, etc) of the work requests. The detail records of worke requests are grouped by shop and PM end date.  The running totals are calculated at the pm date group level (group footer#2). Then based from those at the shop group level (group footer#1) there is a grand total of counts of the running totals. The detail records and pm end date group header (group header #2) are suppressed.
    Now the foremen would like the report to just display all the backlogged PMs. Using the section expert, I suppressed all the PM issued that have no back log ({@ backlog = 0}) and just display the back logged pm's.  This is where I run into the running total issue.
    This is very involved report and I will use the column PM Issued as an example.  I can still use the same logic as you suggested?
    1. declaration formula:
    whileprintingrecords;numbervar pmissued := 0;
    2. Suppression formula that uses the variable:
    whileprintingrecords;
    numbervar pmissued;
    if ({@ backlog = 0}) then pmissued:= pmissed else pmissued:=pmissuedr+1
    3. Display formula:whileprintingrecords;
    numbervar pmissued;
    If this is the right track, then I can use the same example for the other columns. 
    Thanks so much.
    Benny

  • How to check forecasting result of SOP for specific week

    Dear All,
    How to check forecasting result of SOP? As in my case we are doing planning on weekly basis, and i want to check few old  forecasting results, how to check it????
    BR
    Bhushan

    Thanks Rupesh,
    Thanks for your immediate responce
    Already i check up with MP30/ mp32  (Except MD70 and MD73). But in this case input will be material / Product group
    I want to check what is the output on that particular forecasting date (we are using product groups) The input i have is the particular date on which forecasting was done.
    Could you plz help me out in this???

Maybe you are looking for

  • Can't open iPhoto since upgrading to Mavericks

    I have a MacPro now running OS 10.9.2 which has been backed up regularly to an external drive using Time Machine. I've been using iPhoto for years, have thousands of photos in the library (all but the most recent saved to an external drive as a secon

  • Hard Drive Trouble on New MacPro

    Hello I have had my MacPro desktop for about 4 days now and am having some problems. There is a 250 gb harddrive in my system and I when I get info the capacity shows as 232.57. I could have sworn it used to say 250gb. Also on my desktop when I selec

  • About Export and Import of pages in R12

    Hi, I am working on R12 Instance and i need export and import commands of pages for R12. I have commands To Import and Export of pages in 11i but not for R12. Regards Hitesh

  • Loading xml data to a oracle database problem in style sheet

    Hi, I Have one small Problem While loading xml data to a oracle database. In the XML i have the Columns and Data Like this. <Data> <TRAN> <Type_Trs>A</Type_Trs> <T1>2</T1> <T2>3</T2> </TRAN> <TRAN> <Type_Trs>B</Type_Trs> <T1>2</T1> <T2>3</T2> </TRAN>

  • IP/VC 3510 Password Recovery Procedure

    Hi, I am trying to upgrade my 3510 but it does not accept login/password pair. Anybody can help how to recover password on IP/VC 3510? It is not exist in TAC Password Recovery page. It is an urgent case, thanks in advance, Ozgur.