Get highest value from 1 of the tables in a join between 2 tables
Hi,
i want to join 2 table:
- SALES
- MATERIAL
These table are joined by:
- Material ID
- Sales date -> start date
The problem is that it could be that 1 sales can have 2 records in material, but what i need to have is the latest record from material (highest date sequence number in material table)
I tried to aggregate and then put a max on sequence number, but that's not going to work. Does anyone have an idea how to get the highest number within a join?
regards,
Osman
Euh may be to speed.
Join it back first to your material and then to your sales table,
And also if you are in a SCD2, you can also simply made a simple select on the boolean column or on the end date.
Cheers
Nico
Similar Messages
-
Find the key for join between table "crhd" and "equi" for use field "answt"
I make program for read data from table "crhd" for print about machine report
but I can not find the key for link join to table "equi" for print field "answt" (acquistion value)
please help me find the key field for join between table "crhd" and "equi" for use field "answt"
thank you very much...This is how the Work Center is linked to a particular Equipment -
Functional - In IE03 ( view Equipments) You see the Work Center of a particular Equipment.
Technical - Go to view V_EQUI ( view of EQUI and EQUZ). Pass the Equipment number alongwith V_EQUI-PM_OBJTY = 'A' ( i,.e searching for the Object Type Work Center). In this way u ll get the V_EQUI-GEWRK - this is the Work Center ID.
You can pass this Work Center ID to CRHD. And you will get the Work Center text.
CRHD-OBJTY = 'A'
CRHD-OBJID = V_EQUI-GEWRK.
and u ll get the CRHD-ARBPL - this is the Work Center.
So u need to come backwards, alongwith ur CRHD-OBJTY and CRHD-OBJID , you pass the same to V_EQUI and u get the list of equipment numbers alongwith ur ANSWT(Acquisition value).
I guess it solves ur problem. -
How to get multiple values from the list
I've a list of an item which I queried it from the database. I also created a button that will takes a selected items from the list when it was clicked. I used javabean to get the data from database.
<% // clicked on Select District Button
Vector vselectedDistrict = new Vector();
Vector vdistrictID = new Vector();
String tmpSelectDistrict = "";
tmpSelectDistrict = request.getParameter("bSelectDistrict");
if(tmpSelectDistrict != null)
// get multiple values from the list
String[] selectedDistrict = request.getParameterValues("usrTDistrict");
vselectedDistrict.clear();
vdistrictID.clear();
if((selectedDistrict != null) && (selectedDistrict.length != 0))
for(int i=0;i<selectedDistrict.length;i++)
vselectedDistrict.addElement(selectedDistrict);
vdistrictID = dbaseInfo.getcurrentDistrictID(nstate,vselectedDistrict);
for(int i=0;i<vdistrictID.size();i++)
out.println("district = " + selectedDistrict[i]); out.println("district ID= " + vdistrictID.get(i).toString());
%>
// get vdistrict from the database here......
<select name="usrTDistrict" size="5" multiple>
<% for(int i = 0; i< vdistrict.size(); i++)
%>
<option value="<%=vdistrict.get(i).toString()%>"><%=vdistrict.get(i).toString()%></option>
<%
%>
</select>
<input type="submit" name="bSelectDistrict" value="Select District">
Lets say the item that i selected from the list is 'Xplace' and I clicked on the Select District button,
what I got is this error message:
org.apache.jasper.JasperException: Unable to convert string 'Xplace' to class java.util.Vector for attribute usrTDistrict: java.lang.IllegalArgumentException: Property Editor not registered with the PropertyEditorManager
So where is going wrong and what the message means?. Any help very much appreciated. ThanksThese are just guesses that might hopefully steer you in directions you haven't looked in yet.
I presume you used triangle brackets (< >) to avoid having the Jive Forum think it was the "italics" tag?
Are you certain this: dbaseInfo.getcurrentDistrictID(nstate,vselectedDistrict);
expects a Vector as its second parameter? And returns a Vector?
I don't believe you've shown how you use the javabean, or its code? Perhaps it should be rewritten to accept an array of strings instead of a Vector? -
How to get a value from the previous element (XSLT/XPATH gurus ahoy!)
Hi All,
I am building an RTF template for a "letter of reference"-report. Sometimes there are several rows in the data, that need to be printed as one. This is due to consecutive temporary contracts, which will be printed out as one period of service.
Here's a simplified data example to illustrate the problem.
<ROW>
<START_DATE>01-01-1980</START_DATE>
<END_DATE>01-01-1988</END_DATE>
</ROW>
<ROW>
<START_DATE>01-01-1988</START_DATE>
<END_DATE>01-01-1990</END_DATE>
</ROW>
<ROW>
<START_DATE>01-01-2000</START_DATE>
<END_DATE>01-01-2005</END_DATE>
</ROW>
With the data above, I should print two lines:
01-01-1980 - 01-01-1990
01-01-2000 - 01-01-2005
I need to compare START_DATE of an element (except for the first one) with the END_DATE of the previous element, to find out whether to print the END_DATE for that element or not. How can I get that value from the previous element?
Thanks & Regards, Matildause this to get the following End_date
<?following-sibling::../END_DATE?>
Try this
<?for-each:/ROOT/ROW?>
==================
Current StartDate <?START_DATE?>
Current End Date <?END_DATE?>
Next Start Date <?following-sibling::ROW/END_DATE?>
Previous End Date <?preceding-sibling::ROW[1]/END_DATE?>
================
<?end for-each?>
o/p
==================
Current StartDate 01-01-1980
Current End Date 01-01-1988
Next Start Date 01-01-1990
Previous End Date
================
==================
Current StartDate 01-01-1988
Current End Date 01-01-1990
Next Start Date 01-01-2005
Previous End Date 01-01-1988
================
==================
Current StartDate 01-01-2000
Current End Date 01-01-2005
Next Start Date
Previous End Date 01 -
How to get maximal value from the data/class for show in Map legend
I make WAD report that using Map Web Item.
I devide to four (4) classes for legend (Generate_Breaks).
I want to change default value for the class by javascript and for this,
I need to get maximal value from the class.
How to get maximal value from the data/class.
please give me solution for my problem.
Many Thx
Eddy Utomouse this to get the following End_date
<?following-sibling::../END_DATE?>
Try this
<?for-each:/ROOT/ROW?>
==================
Current StartDate <?START_DATE?>
Current End Date <?END_DATE?>
Next Start Date <?following-sibling::ROW/END_DATE?>
Previous End Date <?preceding-sibling::ROW[1]/END_DATE?>
================
<?end for-each?>
o/p
==================
Current StartDate 01-01-1980
Current End Date 01-01-1988
Next Start Date 01-01-1990
Previous End Date
================
==================
Current StartDate 01-01-1988
Current End Date 01-01-1990
Next Start Date 01-01-2005
Previous End Date 01-01-1988
================
==================
Current StartDate 01-01-2000
Current End Date 01-01-2005
Next Start Date
Previous End Date 01 -
Getting rpm values from the fans on the MSI NEO2-FIR motherboard doesn't work
I currently have 6 Noctua NF-S12-1200 120mm fans spinning in my computer but i am unable to get rpm values from them except the cpu-fan. It doesn't work to get a readout from the others with either, BIOS, Dual Core Center or Speedfan. Regarding Speedfan is it true it don't support the SuperIO Chip on the Neo2, the FINTEK F71882F? It's not currently listed in their supported temperature sensors list.
So whats the problem? Shouldn't atleast DualCore Center atleast show the rpm's from the other chassis fans?
Or the fans don't support sensor readings?
Thanks!Quote from: Jack on 13-October-10, 00:15:36
Well, there is nothing that can be done about. SysFAN 1 & 4 support sensor readings, #2,#3 and #5 don't. You can also see that in BIOS Setup. #1 are the only ones that show up there (H/W Monitor section). This is not a malfunction or a bug. You have to live with no fan sensor readings or be creative about the wiring.
The problem is that i use the UNLA cables from Noctua which half the speed of the NF-S12 fans i run with. And it blocks the rpm readouts in Speedfan and BIOS.
http://www.noctua.at/main.php?show=productview&products_id=5&lng=en
Strange thing is that the CPU fan reads fine with the ULNA cable attached but the SYSFANS will not read the rpm with the ULNA cables.
What is wrong? -
How can i get all values from jtable with out selecting?
i have one input table and two output tables (name it as output1, output2). Selected rows from input table are displayed in output1 table. The data in output1 table is temporary(means the dat wont store in database just for display purpose).
Actually what i want is how can i get all values from output1 table to output2 table with out selecting the data in output1 table?
thanks in advance.
rajaYou could set the table's data model to be the same:
output2.setModel( output1.getModel() ); -
Need help getting a value from an XML column
Hi,
I need to get a value from an XML column in a table (the column is called TEST_XML). I have tried using the Select TEST_XML.value function but it always returns nulls. Could you please take a look at the following xml sample stored in the TEST_XML column
and help me with the query syntax to get the value of the Bank_Account_Number?.
=================
<?mso-infoPathSolution PIVersion="1.0.0.0" href="http://aaa.bbb.ccc.org/OF/PublicDownload.aspx/6bba49274b494ddcb005512670a5e214.xsn" name="urn:schemas-microsoft-com:office:infopath:BPIP-xsn:OF-Messages-Schemas-OF-Forms" language="en-us"
productVersion="14.0.0" solutionVersion="3.0.29.90" ?>
<?mso-application progid="InfoPath.Document"?>
<tns:OF_Forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="OF_Messages.Schemas.OF_Forms" xmlns:xdServerInfo="http://schemas.microsoft.com/office/infopath/2009/xslt/ServerInfo" xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2013-07-22T10:58:18"
xmlns:xd="http://schemas.microsoft.com/office/infopath/2003">
<Name />
<Description />
<Settings Name="FormName" Description="Request for new master data.xml" SCE_RouteID="54" ROU_Name="IBP-Group" SCE_FunctionalAreaID="1" FUA_FunctionalAreaName="Data Maintenance" SCE_SchemaCategory="BP"
SCE_SchemaGUID="3c9b391c-26a1-46ec-a202-434453a6e582" SCE_FormGUID="6bba4927-4b49-4ddc-b005-512670a5e214" SCE_InstanceGUID="39595" SCE_SPInstancePath="" FIN_StaffID="" FirstName="" LastName=""
MAIL_SendBy="[email protected]" MAIL_Date="Thu, 12 Jun 2014 14:49:26 +0200" DateRequired="" MissingFields="" NewLine="
" SCE_RequestorAuthorizationMode="1" SCE_AllowSubmissionFromAll="1"
/>
<Init_Information>
<Date_Required xsi:nil="true" />
</Init_Information>
<General_Data>
<Action>U</Action>
<Business_Partner_Number xsi:nil="true" />
<Business_Partner_Grouping>G16</Business_Partner_Grouping>
<Business_Partner_Type>G003</Business_Partner_Type>
<Title>002</Title>
<House_Number xsi:nil="true" />
<Street xsi:nil="true" />
<Street_2 xsi:nil="true" />
<Street_3 xsi:nil="true" />
<City>ABIDJAN</City>
<Country>CI</Country>
<City_Postal_Code xsi:nil="true" />
<Region xsi:nil="true" />
<PO_Box xsi:nil="true" />
<PO_Box_Postal_Code xsi:nil="true" />
<Language>FR</Language>
<Purpose>Z003 UNVs</Purpose>
<Telephone_Number />
<Mobile_Phone_Number>90075777</Mobile_Phone_Number>
<Fax_Number xsi:nil="true" />
<Email_Address>[email protected]</Email_Address>
<First_Name>Mickey</First_Name>
<Middle_Name xsi:nil="true" />
<Last_Name>Mouse</Last_Name>
<Gender>2</Gender>
<Index_Number>999999</Index_Number>
<Date_of_Birth>1969-11-29</Date_of_Birth>
<Nationality>CI</Nationality>
<DOB_Day>29</DOB_Day>
<DOB_Month>11</DOB_Month>
<DOB_Year>1969</DOB_Year>
<RelationBPGroupingBPType xsi:nil="true" />
<BPType_Z016>Z003</BPType_Z016>
<BPType_Z020 xsi:nil="true" />
<BPType_Z021 xsi:nil="true" />
<Sub_Area2>General and Banking</Sub_Area2>
<SR_Description>Business Partner Number:
Business Partner Type: UNVs
First Name: FirstName
Last Name: LastName</SR_Description>
<Sub_Area_Aux>79</Sub_Area_Aux>
<thereis_general>TRUE</thereis_general>
<thereis_banking>TRUE</thereis_banking>
<auxGeneric>GDB</auxGeneric>
<Business_Area_BP>P022</Business_Area_BP>
<Search_Term_1>FirstName</Search_Term_1>
<Search_Term_2>LastName</Search_Term_2>
<Responsible_Institution xsi:nil="true" />
<Add_Additional_Address xsi:nil="true" />
<Add_Additional_Communication xsi:nil="true" />
<BP_Role_Main xsi:nil="true" />
<BP_Role_Additional xsi:nil="true" />
<AddresType xsi:nil="true" />
<Specify xsi:nil="true" />
<BP_Category xsi:nil="true" />
<AddRemoveAddress xsi:nil="true" />
<AddRemoveCommunication xsi:nil="true" />
<BusinessAreaOfBP_Aux>MALI</BusinessAreaOfBP_Aux>
</General_Data>
<Primary_Bank_Account>
<Bank_Location_ID>0001</Bank_Location_ID>
<Bank_Country>ML</Bank_Country>
<Bank_Account_Number>XXXX999888777666555444-00</Bank_Account_Number>
<Bank_Account_Type>1</Bank_Account_Type>
<IBAN xsi:nil="true" />
<CurrencyPrimaryIBAN xsi:nil="true" />
<Account_Holder_Name xsi:nil="true" />
<CurrencyOPrimaryNationalBankAccount>XOF</CurrencyOPrimaryNationalBankAccount>
<Routing_Number_x002F__National_ID>BDMAMLBA</Routing_Number_x002F__National_ID>
<NonIbanAccountHolderName>BANKNAME</NonIbanAccountHolderName>
<NonIbanBankAccountNumber>TESTNIBAN</NonIbanBankAccountNumber>
<CurrencyOPrimaryBankAccountNonIBAN>XOF</CurrencyOPrimaryBankAccountNonIBAN>
<NonIbanPrimaryBankAccountType>1</NonIbanPrimaryBankAccountType>
<NonIbanPrimaryAccountNameOfBank>BANK OF AFRICA</NonIbanPrimaryAccountNameOfBank>
<NonIbanPrimaryAccountBankAddressHouseNumber>CDCI</NonIbanPrimaryAccountBankAddressHouseNumber>
<NonIbanPrimaryAccountBankAddressStreet>DALOA, COMMERCE</NonIbanPrimaryAccountBankAddressStreet>
<NonIbanPrimaryAccountBankAddressCity>DALOA</NonIbanPrimaryAccountBankAddressCity>
<NonIbanPrimaryAccountBankAddressRegion>DALOA</NonIbanPrimaryAccountBankAddressRegion>
<NonIbanPrimaryAccountBankAddressPostalCode>+225</NonIbanPrimaryAccountBankAddressPostalCode>
<Primary_Type_of_Account xsi:nil="true" />
<invisible1>National ID</invisible1>
<bDontHasBankAccount>false</bDontHasBankAccount>
<bBankAccountNotAvailable>false</bBankAccountNotAvailable>
<CashOrCheck xsi:nil="true" />
<CashAccountingClerk xsi:nil="true" />
<BankID_BIC_SWIFT>BIBS</BankID_BIC_SWIFT>
<CheckOptions xsi:nil="true" />
<SameOrDifferent_IBAN_Primary xsi:nil="true" />
<SameOrDifferent_National_Primary xsi:nil="true" />
<SameOrDifferent_NotIBAN_Primary>Yes</SameOrDifferent_NotIBAN_Primary>
<AccountTitle_IBAN_Primary xsi:nil="true" />
<AccountTitle_National_Primary xsi:nil="true" />
<AccountTitle_NotIBAN_Primary xsi:nil="true" />
<ExplainWhy_IBAN_Primary xsi:nil="true" />
<ExplainWhy_National_Primary xsi:nil="true" />
<ExplainWhy_NotIBAN_Primary xsi:nil="true" />
<Bank_Key xsi:nil="true" />
<Bank_Control_Key xsi:nil="true" />
<Special_Instructions_IBAN_Primary xsi:nil="true" />
<Special_Instructions_National_Primary xsi:nil="true" />
<Special_Instructions_NotIBAN_Primary xsi:nil="true" />
<RecordTypePrimary xsi:nil="true" />
<Payment_Method_UnderCashCheck xsi:nil="true" />
<ValidUntilPrimaryBank xsi:nil="true" />
</Primary_Bank_Account>
<Primary_Intermediary_Bank_Account>
<Intermediary_Bank_Location_ID xsi:nil="true" />
<Intermediary_Bank_Country xsi:nil="true" />
<Intermediary_Bank_Account_Number xsi:nil="true" />
<Intermediary_Bank_Account_Type xsi:nil="true" />
<Intermediary_IBAN xsi:nil="true" />
<CurrencyIntermediaryIBAN xsi:nil="true" />
<Intermediary_Account_Holder_Name xsi:nil="true" />
<CurrencyOIntermediaryNationalBankAccount xsi:nil="true" />
<Intermediary_Routing_Number_National_ID xsi:nil="true" />
<IntermediaryNonIbanAccountHolderName xsi:nil="true" />
<IntermediaryNonIbanBankAccountNumber xsi:nil="true" />
<CurrencyOIntermediaryBankAccountNonIBAN xsi:nil="true" />
<NonIbanIntermediaryBankAccountType xsi:nil="true" />
<NonIbanIntermediaryAccountNameOfBank xsi:nil="true" />
<NonIbanIntermediaryAccountBankAddressHouseNumber xsi:nil="true" />
<NonIbanIntermediaryAccountBankAddressStreet xsi:nil="true" />
<NonIbanIntermediaryAccountBankAddressCity xsi:nil="true" />
<NonIbanIntermediaryAccountBankAddressRegion xsi:nil="true" />
<NonIbanIntermediaryAccountBankAddressPostalCode xsi:nil="true" />
<IntermediaryBankAccountVisible xsi:nil="true" />
<Intermediary_Type_of_Account xsi:nil="true" />
<invisible2 xsi:nil="true" />
<Intermediary_BankID_BIC_SWIFT_code xsi:nil="true" />
<SameOrDifferent_IBAN_Intermediary xsi:nil="true" />
<SameOrDifferent_National_Intermediary xsi:nil="true" />
<SameOrDifferent_NotIBAN_Intermediary xsi:nil="true" />
<AccountTitle_IBAN_Intermediary xsi:nil="true" />
<AccountTitle_National_Intermediary xsi:nil="true" />
<AccountTitle_NotIBAN_Intermediary xsi:nil="true" />
<ExplainWhy_IBAN_Intermediary xsi:nil="true" />
<ExplainWhy_National_Intermediary xsi:nil="true" />
<ExplainWhy_NotIBAN_Intermediary xsi:nil="true" />
</Primary_Intermediary_Bank_Account>
<Additional_Bank_Account>
<Additional_Bank_Location_ID xsi:nil="true" />
<Additional_Bank_Country xsi:nil="true" />
<Additional_Bank_Account_Number xsi:nil="true" />
<Additional_Bank_Account_Type xsi:nil="true" />
<Additional_IBAN xsi:nil="true" />
<CurrencyAdditionalIBAN xsi:nil="true" />
<Additional_Account_Holder_Name xsi:nil="true" />
<CurrencyOAdditionalNationalBankAccount xsi:nil="true" />
<Additional_Routing_Number_x002F__National_ID xsi:nil="true" />
<AdditionalNonIbanAccountHolderName xsi:nil="true" />
<AdditionalNonIbanBankAccountNumber xsi:nil="true" />
<CurrencyOAdditionalBankAccountNonIBAN xsi:nil="true" />
<NonIbanAdditionalBankAccountType xsi:nil="true" />
<NonIbanAdditionalAccountNameOfBank xsi:nil="true" />
<NonIbanAdditionalAccountBankAddressHouseNumber xsi:nil="true" />
<NonIbanAdditionalAccountBankAddressStreet xsi:nil="true" />
<NonIbanAdditionalAccountBankAddressCity xsi:nil="true" />
<NonIbanAdditionalAccountBankAddressRegion xsi:nil="true" />
<NonIbanAdditionalAccountBankAddressPostalCode xsi:nil="true" />
<AdditionalBankAccountVisible xsi:nil="true" />
<Additional_Type_of_Account xsi:nil="true" />
<invisible3 xsi:nil="true" />
<Additional_BankID_BIC_SWIFT_code xsi:nil="true" />
<SameOrDifferent_IBAN_Additional xsi:nil="true" />
<SameOrDifferent_National_Additional xsi:nil="true" />
<SameOrDifferent_NotIBAN_Additional xsi:nil="true" />
<AccountTitle_IBAN_Additional xsi:nil="true" />
<AccountTitle_National_Additional xsi:nil="true" />
<AccountTitle_NotIBAN_Additional xsi:nil="true" />
<ExplainWhy_IBAN_Additional xsi:nil="true" />
<ExplainWhy_National_Additional xsi:nil="true" />
<ExplainWhy_NotIBAN_Additional xsi:nil="true" />
<Additional_Bank_Key xsi:nil="true" />
<Additional_Bank_Control_Key xsi:nil="true" />
<Special_Instructions_IBAN_Additional xsi:nil="true" />
<Special_Instructions_National_Additional xsi:nil="true" />
<Special_Instructions_NotIBAN_Additional xsi:nil="true" />
<RecordTypeAdditional xsi:nil="true" />
<ValidUntilAdditionalBank xsi:nil="true" />
</Additional_Bank_Account>
<Payment_Information>
<Block_for_payment>1</Block_for_payment>
<Payment_Method xsi:nil="true" />
<Accounting_Clerk xsi:nil="true" />
<PaymentMethodAdditional xsi:nil="true" />
<AccountingClerkAdditional xsi:nil="true" />
</Payment_Information>
<Additional_Field_for_Purchasing_view>
<Purchase_order_currency>XOF</Purchase_order_currency>
<BP_Role_for_Screen_Usage__x0028_Real_State_x0029_ xsi:nil="true" />
<Central_Block_for_Business_Partner>false</Central_Block_for_Business_Partner>
<Posting_block_for_company_code xsi:nil="true" />
<Deletion_Flag_for_Master_Record__x0028_Company_Code_Leve xsi:nil="true" />
<Purchasing_block_at_purchasing_organization_level xsi:nil="true" />
<Deletion_flag_for_vendor_at_purchasing_level xsi:nil="true" />
<BPRoleDateBegin xsi:nil="true" />
<BPRoleDateEnd xsi:nil="true" />
</Additional_Field_for_Purchasing_view>
<Requestor_Information>
<Requested_By>REQUESTOR</Requested_By>
<Org_Unit>MVCON</Org_Unit>
<Date>2014-05-19</Date>
<Reason xsi:nil="true" />
<On_Form xsi:nil="true" />
<Attached xsi:nil="true" />
<Located_In_x002F_At>TIMBUKTOU</Located_In_x002F_At>
<RequestorBusinessArea>P022</RequestorBusinessArea>
<RequestorBusinessAreaValue>MALI</RequestorBusinessAreaValue>
<Display_Review_Approval_Section xsi:nil="true" />
</Requestor_Information>
<Review_Information>
<Review_By xsi:nil="true" />
<Org_Unit xsi:nil="true" />
<Date xsi:nil="true" />
</Review_Information>
<Approval_Information>
<Approved_By xsi:nil="true" />
<Org_Unit xsi:nil="true" />
<Date xsi:nil="true" />
</Approval_Information>
<Reception_Information>
<Received_By xsi:nil="true" />
<Org_Unit xsi:nil="true" />
<Date xsi:nil="true" />
</Reception_Information>
<Entry_Information>
<Entered_By xsi:nil="true" />
<Org_Unit xsi:nil="true" />
<Date xsi:nil="true" />
</Entry_Information>
<Verification_Information>
<Verified_By xsi:nil="true" />
<Org_Unit xsi:nil="true" />
<Date xsi:nil="true" />
</Verification_Information>
<Order_Currency>
<Order_Currency_New xsi:nil="true" />
</Order_Currency>
<Change_BP_Group>
<BP_Group_Existing xsi:nil="true" />
<BP_Type_Existing xsi:nil="true" />
<BP_Role_Existing xsi:nil="true" />
<BP_Group_New xsi:nil="true" />
<BP_Type_New xsi:nil="true" />
<BP_Role_New xsi:nil="true" />
<BPTypeAuxVisible1 xsi:nil="true" />
<BPTypeAuxVisible2 xsi:nil="true" />
</Change_BP_Group>
<Expire_or_Add_Validity_Period_to_BP_Role>
<Additional_BP_Role_Entry xsi:nil="true" />
</Expire_or_Add_Validity_Period_to_BP_Role>
<Add_Alternative_Payees>
<Additional_Payee xsi:nil="true" />
</Add_Alternative_Payees>
<Establish_BP_Relationship>
<Additional_Relationship_EntryB xsi:nil="true" />
</Establish_BP_Relationship>
<Block_BP>
<PaymentBlock xsi:nil="true" />
<Reason_Payment_Block xsi:nil="true" />
<PostingBlock xsi:nil="true" />
<Reason_Posting_Block xsi:nil="true" />
<PurchasingBlock xsi:nil="true" />
<Reason_Purchasing_Block xsi:nil="true" />
<CentralBlock xsi:nil="true" />
<Reason_Central_Block xsi:nil="true" />
<FlagforArchiving xsi:nil="true" />
<Reason_Flag_Block xsi:nil="true" />
<TerminateBP xsi:nil="true" />
<Reason_Terminate_Block xsi:nil="true" />
</Block_BP>
<Options>
<Option1>true</Option1>
<Option2>false</Option2>
<Option3>true</Option3>
<Option4>false</Option4>
<Option5>false</Option5>
<Option6>false</Option6>
<Option7>false</Option7>
<Option8>false</Option8>
<Opt_Update_BP_legal_Name>false</Opt_Update_BP_legal_Name>
</Options>
<Sec_Update_BP_Legal_Name>
<NewLegalFirstName xsi:nil="true" />
<NewLegalMiddleName xsi:nil="true" />
<NewLegalLastName xsi:nil="true" />
</Sec_Update_BP_Legal_Name>
<line>
<IDType>
<IDType xsi:nil="true" />
<LegacyIDNumber xsi:nil="true" />
<Responsible_Institution_Legacy xsi:nil="true" />
<AddRemoveID_R xsi:nil="true" />
</IDType>
</line>
<Address>
<Section_Address>
<AddressTypeR xsi:nil="true" />
<StreetR xsi:nil="true" />
<StreetR_2 xsi:nil="true" />
<StreetR_3 xsi:nil="true" />
<House_NumberR xsi:nil="true" />
<City_Postal_CodeR xsi:nil="true" />
<CityR xsi:nil="true" />
<CountryR xsi:nil="true" />
<StateRegionProvinceR xsi:nil="true" />
<PO_BoxR xsi:nil="true" />
<PO_Box_PostalCodeR xsi:nil="true" />
<SpecifyR xsi:nil="true" />
<AddRemoveAddressR xsi:nil="true" />
</Section_Address>
<PO_BoxR2>
<SecPoBoxR2>
<PO_BoxR2 xsi:nil="true" />
<PO_Box_Postal_CodeR2 xsi:nil="true" />
</SecPoBoxR2>
</PO_BoxR2>
</Address>
<Communication>
<Communication_Section>
<Telephone_NumberR xsi:nil="true" />
<Mobile_Phone_NumberR xsi:nil="true" />
<Fax_NumberR xsi:nil="true" />
<Email_AddressR xsi:nil="true" />
<AddRemoveCommunicationR xsi:nil="true" />
</Communication_Section>
</Communication>
<Expire_or_Add_Validaty_to_BP_RoleR>
<Expire_or_Add_Validaty>
<BP_RoleR xsi:nil="true" />
<Expire_or_Add_Validity_PeriodR xsi:nil="true" />
<Valid_FromR xsi:nil="true" />
<Valid_ToR xsi:nil="true" />
</Expire_or_Add_Validaty>
</Expire_or_Add_Validaty_to_BP_RoleR>
<Add_Alternative_PayeesR>
<Alternative_Payees>
<Add_Update_Remove xsi:nil="true" />
<Permited_Payee_BP_NumberR xsi:nil="true" />
<Name_Alt_PayeeR xsi:nil="true" />
<Index_NumberR xsi:nil="true" />
<TitleR xsi:nil="true" />
<First_NameR xsi:nil="true" />
<Middle_NameR xsi:nil="true" />
<Last_NameR xsi:nil="true" />
</Alternative_Payees>
</Add_Alternative_PayeesR>
<Establish_BP_RelationshipR>
<Relationship>
<BP_Number_Main xsi:nil="true" />
<Relationship_CategoryR xsi:nil="true" />
<ValidFromR xsi:nil="true" />
<ValidToRelationshipR xsi:nil="true" />
<BPNumber_SecondaryR xsi:nil="true" />
<Index_Number_Secondary_Relationship xsi:nil="true" />
<Business_Area_Secondary xsi:nil="true" />
<Title_Secondary_BP xsi:nil="true" />
<First_Name_Secondary_BPR xsi:nil="true" />
<MiddleNameSecondaryBPR xsi:nil="true" />
<LastNameSecondaryBP xsi:nil="true" />
<Add_Update_DeleteR xsi:nil="true" />
</Relationship>
</Establish_BP_RelationshipR>
<PO_BoxR>
<SecPoBoxR>
<PO_BoxR xsi:nil="true" />
<PO_Box_Postal_CodeR xsi:nil="true" />
</SecPoBoxR>
</PO_BoxR>
</tns:OF_Forms>See this illustration
declare @x xml='<?mso-infoPathSolution PIVersion="1.0.0.0" href="http://aaa.bbb.ccc.org/OF/PublicDownload.aspx/6bba49274b494ddcb005512670a5e214.xsn" name="urn:schemas-microsoft-com:office:infopath:BPIP-xsn:OF-Messages-Schemas-OF-Forms" language="en-us" productVersion="14.0.0" solutionVersion="3.0.29.90" ?>
<?mso-application progid="InfoPath.Document"?>
<tns:OF_Forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="OF_Messages.Schemas.OF_Forms" xmlns:xdServerInfo="http://schemas.microsoft.com/office/infopath/2009/xslt/ServerInfo" xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2013-07-22T10:58:18" xmlns:xd="http://schemas.microsoft.com/office/infopath/2003">
<Name />
<Description />
<Settings Name="FormName" Description="Request for new master data.xml" SCE_RouteID="54" ROU_Name="IBP-Group" SCE_FunctionalAreaID="1" FUA_FunctionalAreaName="Data Maintenance" SCE_SchemaCategory="BP" SCE_SchemaGUID="3c9b391c-26a1-46ec-a202-434453a6e582" SCE_FormGUID="6bba4927-4b49-4ddc-b005-512670a5e214" SCE_InstanceGUID="39595" SCE_SPInstancePath="" FIN_StaffID="" FirstName="" LastName="" MAIL_SendBy="[email protected]" MAIL_Date="Thu, 12 Jun 2014 14:49:26 +0200" DateRequired="" MissingFields="" NewLine="
" SCE_RequestorAuthorizationMode="1" SCE_AllowSubmissionFromAll="1" />
<Init_Information>
<Date_Required xsi:nil="true" />
</Init_Information>
<General_Data>
<Action>U</Action>
<Business_Partner_Number xsi:nil="true" />
<Business_Partner_Grouping>G16</Business_Partner_Grouping>
<Business_Partner_Type>G003</Business_Partner_Type>
<Title>002</Title>
<House_Number xsi:nil="true" />
<Street xsi:nil="true" />
<Street_2 xsi:nil="true" />
<Street_3 xsi:nil="true" />
<City>ABIDJAN</City>
<Country>CI</Country>
<City_Postal_Code xsi:nil="true" />
<Region xsi:nil="true" />
<PO_Box xsi:nil="true" />
<PO_Box_Postal_Code xsi:nil="true" />
<Language>FR</Language>
<Purpose>Z003 UNVs</Purpose>
<Telephone_Number />
<Mobile_Phone_Number>90075777</Mobile_Phone_Number>
<Fax_Number xsi:nil="true" />
<Email_Address>[email protected]</Email_Address>
<First_Name>Mickey</First_Name>
<Middle_Name xsi:nil="true" />
<Last_Name>Mouse</Last_Name>
<Gender>2</Gender>
<Index_Number>999999</Index_Number>
<Date_of_Birth>1969-11-29</Date_of_Birth>
<Nationality>CI</Nationality>
<DOB_Day>29</DOB_Day>
<DOB_Month>11</DOB_Month>
<DOB_Year>1969</DOB_Year>
<RelationBPGroupingBPType xsi:nil="true" />
<BPType_Z016>Z003</BPType_Z016>
<BPType_Z020 xsi:nil="true" />
<BPType_Z021 xsi:nil="true" />
<Sub_Area2>General and Banking</Sub_Area2>
<SR_Description>Business Partner Number:
Business Partner Type: UNVs
First Name: FirstName
Last Name: LastName</SR_Description>
<Sub_Area_Aux>79</Sub_Area_Aux>
<thereis_general>TRUE</thereis_general>
<thereis_banking>TRUE</thereis_banking>
<auxGeneric>GDB</auxGeneric>
<Business_Area_BP>P022</Business_Area_BP>
<Search_Term_1>FirstName</Search_Term_1>
<Search_Term_2>LastName</Search_Term_2>
<Responsible_Institution xsi:nil="true" />
<Add_Additional_Address xsi:nil="true" />
<Add_Additional_Communication xsi:nil="true" />
<BP_Role_Main xsi:nil="true" />
<BP_Role_Additional xsi:nil="true" />
<AddresType xsi:nil="true" />
<Specify xsi:nil="true" />
<BP_Category xsi:nil="true" />
<AddRemoveAddress xsi:nil="true" />
<AddRemoveCommunication xsi:nil="true" />
<BusinessAreaOfBP_Aux>MALI</BusinessAreaOfBP_Aux>
</General_Data>
<Primary_Bank_Account>
<Bank_Location_ID>0001</Bank_Location_ID>
<Bank_Country>ML</Bank_Country>
<Bank_Account_Number>XXXX999888777666555444-00</Bank_Account_Number>
<Bank_Account_Type>1</Bank_Account_Type>
<IBAN xsi:nil="true" />
<CurrencyPrimaryIBAN xsi:nil="true" />
<Account_Holder_Name xsi:nil="true" />
<CurrencyOPrimaryNationalBankAccount>XOF</CurrencyOPrimaryNationalBankAccount>
<Routing_Number_x002F__National_ID>BDMAMLBA</Routing_Number_x002F__National_ID>
<NonIbanAccountHolderName>BANKNAME</NonIbanAccountHolderName>
<NonIbanBankAccountNumber>TESTNIBAN</NonIbanBankAccountNumber>
<CurrencyOPrimaryBankAccountNonIBAN>XOF</CurrencyOPrimaryBankAccountNonIBAN>
<NonIbanPrimaryBankAccountType>1</NonIbanPrimaryBankAccountType>
<NonIbanPrimaryAccountNameOfBank>BANK OF AFRICA</NonIbanPrimaryAccountNameOfBank>
<NonIbanPrimaryAccountBankAddressHouseNumber>CDCI</NonIbanPrimaryAccountBankAddressHouseNumber>
<NonIbanPrimaryAccountBankAddressStreet>DALOA, COMMERCE</NonIbanPrimaryAccountBankAddressStreet>
<NonIbanPrimaryAccountBankAddressCity>DALOA</NonIbanPrimaryAccountBankAddressCity>
<NonIbanPrimaryAccountBankAddressRegion>DALOA</NonIbanPrimaryAccountBankAddressRegion>
<NonIbanPrimaryAccountBankAddressPostalCode>+225</NonIbanPrimaryAccountBankAddressPostalCode>
<Primary_Type_of_Account xsi:nil="true" />
<invisible1>National ID</invisible1>
<bDontHasBankAccount>false</bDontHasBankAccount>
<bBankAccountNotAvailable>false</bBankAccountNotAvailable>
<CashOrCheck xsi:nil="true" />
<CashAccountingClerk xsi:nil="true" />
<BankID_BIC_SWIFT>BIBS</BankID_BIC_SWIFT>
<CheckOptions xsi:nil="true" />
<SameOrDifferent_IBAN_Primary xsi:nil="true" />
<SameOrDifferent_National_Primary xsi:nil="true" />
<SameOrDifferent_NotIBAN_Primary>Yes</SameOrDifferent_NotIBAN_Primary>
<AccountTitle_IBAN_Primary xsi:nil="true" />
<AccountTitle_National_Primary xsi:nil="true" />
<AccountTitle_NotIBAN_Primary xsi:nil="true" />
<ExplainWhy_IBAN_Primary xsi:nil="true" />
<ExplainWhy_National_Primary xsi:nil="true" />
<ExplainWhy_NotIBAN_Primary xsi:nil="true" />
<Bank_Key xsi:nil="true" />
<Bank_Control_Key xsi:nil="true" />
<Special_Instructions_IBAN_Primary xsi:nil="true" />
<Special_Instructions_National_Primary xsi:nil="true" />
<Special_Instructions_NotIBAN_Primary xsi:nil="true" />
<RecordTypePrimary xsi:nil="true" />
<Payment_Method_UnderCashCheck xsi:nil="true" />
<ValidUntilPrimaryBank xsi:nil="true" />
</Primary_Bank_Account>
<Primary_Intermediary_Bank_Account>
<Intermediary_Bank_Location_ID xsi:nil="true" />
<Intermediary_Bank_Country xsi:nil="true" />
<Intermediary_Bank_Account_Number xsi:nil="true" />
<Intermediary_Bank_Account_Type xsi:nil="true" />
<Intermediary_IBAN xsi:nil="true" />
<CurrencyIntermediaryIBAN xsi:nil="true" />
<Intermediary_Account_Holder_Name xsi:nil="true" />
<CurrencyOIntermediaryNationalBankAccount xsi:nil="true" />
<Intermediary_Routing_Number_National_ID xsi:nil="true" />
<IntermediaryNonIbanAccountHolderName xsi:nil="true" />
<IntermediaryNonIbanBankAccountNumber xsi:nil="true" />
<CurrencyOIntermediaryBankAccountNonIBAN xsi:nil="true" />
<NonIbanIntermediaryBankAccountType xsi:nil="true" />
<NonIbanIntermediaryAccountNameOfBank xsi:nil="true" />
<NonIbanIntermediaryAccountBankAddressHouseNumber xsi:nil="true" />
<NonIbanIntermediaryAccountBankAddressStreet xsi:nil="true" />
<NonIbanIntermediaryAccountBankAddressCity xsi:nil="true" />
<NonIbanIntermediaryAccountBankAddressRegion xsi:nil="true" />
<NonIbanIntermediaryAccountBankAddressPostalCode xsi:nil="true" />
<IntermediaryBankAccountVisible xsi:nil="true" />
<Intermediary_Type_of_Account xsi:nil="true" />
<invisible2 xsi:nil="true" />
<Intermediary_BankID_BIC_SWIFT_code xsi:nil="true" />
<SameOrDifferent_IBAN_Intermediary xsi:nil="true" />
<SameOrDifferent_National_Intermediary xsi:nil="true" />
<SameOrDifferent_NotIBAN_Intermediary xsi:nil="true" />
<AccountTitle_IBAN_Intermediary xsi:nil="true" />
<AccountTitle_National_Intermediary xsi:nil="true" />
<AccountTitle_NotIBAN_Intermediary xsi:nil="true" />
<ExplainWhy_IBAN_Intermediary xsi:nil="true" />
<ExplainWhy_National_Intermediary xsi:nil="true" />
<ExplainWhy_NotIBAN_Intermediary xsi:nil="true" />
</Primary_Intermediary_Bank_Account>
<Additional_Bank_Account>
<Additional_Bank_Location_ID xsi:nil="true" />
<Additional_Bank_Country xsi:nil="true" />
<Additional_Bank_Account_Number xsi:nil="true" />
<Additional_Bank_Account_Type xsi:nil="true" />
<Additional_IBAN xsi:nil="true" />
<CurrencyAdditionalIBAN xsi:nil="true" />
<Additional_Account_Holder_Name xsi:nil="true" />
<CurrencyOAdditionalNationalBankAccount xsi:nil="true" />
<Additional_Routing_Number_x002F__National_ID xsi:nil="true" />
<AdditionalNonIbanAccountHolderName xsi:nil="true" />
<AdditionalNonIbanBankAccountNumber xsi:nil="true" />
<CurrencyOAdditionalBankAccountNonIBAN xsi:nil="true" />
<NonIbanAdditionalBankAccountType xsi:nil="true" />
<NonIbanAdditionalAccountNameOfBank xsi:nil="true" />
<NonIbanAdditionalAccountBankAddressHouseNumber xsi:nil="true" />
<NonIbanAdditionalAccountBankAddressStreet xsi:nil="true" />
<NonIbanAdditionalAccountBankAddressCity xsi:nil="true" />
<NonIbanAdditionalAccountBankAddressRegion xsi:nil="true" />
<NonIbanAdditionalAccountBankAddressPostalCode xsi:nil="true" />
<AdditionalBankAccountVisible xsi:nil="true" />
<Additional_Type_of_Account xsi:nil="true" />
<invisible3 xsi:nil="true" />
<Additional_BankID_BIC_SWIFT_code xsi:nil="true" />
<SameOrDifferent_IBAN_Additional xsi:nil="true" />
<SameOrDifferent_National_Additional xsi:nil="true" />
<SameOrDifferent_NotIBAN_Additional xsi:nil="true" />
<AccountTitle_IBAN_Additional xsi:nil="true" />
<AccountTitle_National_Additional xsi:nil="true" />
<AccountTitle_NotIBAN_Additional xsi:nil="true" />
<ExplainWhy_IBAN_Additional xsi:nil="true" />
<ExplainWhy_National_Additional xsi:nil="true" />
<ExplainWhy_NotIBAN_Additional xsi:nil="true" />
<Additional_Bank_Key xsi:nil="true" />
<Additional_Bank_Control_Key xsi:nil="true" />
<Special_Instructions_IBAN_Additional xsi:nil="true" />
<Special_Instructions_National_Additional xsi:nil="true" />
<Special_Instructions_NotIBAN_Additional xsi:nil="true" />
<RecordTypeAdditional xsi:nil="true" />
<ValidUntilAdditionalBank xsi:nil="true" />
</Additional_Bank_Account>
<Payment_Information>
<Block_for_payment>1</Block_for_payment>
<Payment_Method xsi:nil="true" />
<Accounting_Clerk xsi:nil="true" />
<PaymentMethodAdditional xsi:nil="true" />
<AccountingClerkAdditional xsi:nil="true" />
</Payment_Information>
<Additional_Field_for_Purchasing_view>
<Purchase_order_currency>XOF</Purchase_order_currency>
<BP_Role_for_Screen_Usage__x0028_Real_State_x0029_ xsi:nil="true" />
<Central_Block_for_Business_Partner>false</Central_Block_for_Business_Partner>
<Posting_block_for_company_code xsi:nil="true" />
<Deletion_Flag_for_Master_Record__x0028_Company_Code_Leve xsi:nil="true" />
<Purchasing_block_at_purchasing_organization_level xsi:nil="true" />
<Deletion_flag_for_vendor_at_purchasing_level xsi:nil="true" />
<BPRoleDateBegin xsi:nil="true" />
<BPRoleDateEnd xsi:nil="true" />
</Additional_Field_for_Purchasing_view>
<Requestor_Information>
<Requested_By>REQUESTOR</Requested_By>
<Org_Unit>MVCON</Org_Unit>
<Date>2014-05-19</Date>
<Reason xsi:nil="true" />
<On_Form xsi:nil="true" />
<Attached xsi:nil="true" />
<Located_In_x002F_At>TIMBUKTOU</Located_In_x002F_At>
<RequestorBusinessArea>P022</RequestorBusinessArea>
<RequestorBusinessAreaValue>MALI</RequestorBusinessAreaValue>
<Display_Review_Approval_Section xsi:nil="true" />
</Requestor_Information>
<Review_Information>
<Review_By xsi:nil="true" />
<Org_Unit xsi:nil="true" />
<Date xsi:nil="true" />
</Review_Information>
<Approval_Information>
<Approved_By xsi:nil="true" />
<Org_Unit xsi:nil="true" />
<Date xsi:nil="true" />
</Approval_Information>
<Reception_Information>
<Received_By xsi:nil="true" />
<Org_Unit xsi:nil="true" />
<Date xsi:nil="true" />
</Reception_Information>
<Entry_Information>
<Entered_By xsi:nil="true" />
<Org_Unit xsi:nil="true" />
<Date xsi:nil="true" />
</Entry_Information>
<Verification_Information>
<Verified_By xsi:nil="true" />
<Org_Unit xsi:nil="true" />
<Date xsi:nil="true" />
</Verification_Information>
<Order_Currency>
<Order_Currency_New xsi:nil="true" />
</Order_Currency>
<Change_BP_Group>
<BP_Group_Existing xsi:nil="true" />
<BP_Type_Existing xsi:nil="true" />
<BP_Role_Existing xsi:nil="true" />
<BP_Group_New xsi:nil="true" />
<BP_Type_New xsi:nil="true" />
<BP_Role_New xsi:nil="true" />
<BPTypeAuxVisible1 xsi:nil="true" />
<BPTypeAuxVisible2 xsi:nil="true" />
</Change_BP_Group>
<Expire_or_Add_Validity_Period_to_BP_Role>
<Additional_BP_Role_Entry xsi:nil="true" />
</Expire_or_Add_Validity_Period_to_BP_Role>
<Add_Alternative_Payees>
<Additional_Payee xsi:nil="true" />
</Add_Alternative_Payees>
<Establish_BP_Relationship>
<Additional_Relationship_EntryB xsi:nil="true" />
</Establish_BP_Relationship>
<Block_BP>
<PaymentBlock xsi:nil="true" />
<Reason_Payment_Block xsi:nil="true" />
<PostingBlock xsi:nil="true" />
<Reason_Posting_Block xsi:nil="true" />
<PurchasingBlock xsi:nil="true" />
<Reason_Purchasing_Block xsi:nil="true" />
<CentralBlock xsi:nil="true" />
<Reason_Central_Block xsi:nil="true" />
<FlagforArchiving xsi:nil="true" />
<Reason_Flag_Block xsi:nil="true" />
<TerminateBP xsi:nil="true" />
<Reason_Terminate_Block xsi:nil="true" />
</Block_BP>
<Options>
<Option1>true</Option1>
<Option2>false</Option2>
<Option3>true</Option3>
<Option4>false</Option4>
<Option5>false</Option5>
<Option6>false</Option6>
<Option7>false</Option7>
<Option8>false</Option8>
<Opt_Update_BP_legal_Name>false</Opt_Update_BP_legal_Name>
</Options>
<Sec_Update_BP_Legal_Name>
<NewLegalFirstName xsi:nil="true" />
<NewLegalMiddleName xsi:nil="true" />
<NewLegalLastName xsi:nil="true" />
</Sec_Update_BP_Legal_Name>
<line>
<IDType>
<IDType xsi:nil="true" />
<LegacyIDNumber xsi:nil="true" />
<Responsible_Institution_Legacy xsi:nil="true" />
<AddRemoveID_R xsi:nil="true" />
</IDType>
</line>
<Address>
<Section_Address>
<AddressTypeR xsi:nil="true" />
<StreetR xsi:nil="true" />
<StreetR_2 xsi:nil="true" />
<StreetR_3 xsi:nil="true" />
<House_NumberR xsi:nil="true" />
<City_Postal_CodeR xsi:nil="true" />
<CityR xsi:nil="true" />
<CountryR xsi:nil="true" />
<StateRegionProvinceR xsi:nil="true" />
<PO_BoxR xsi:nil="true" />
<PO_Box_PostalCodeR xsi:nil="true" />
<SpecifyR xsi:nil="true" />
<AddRemoveAddressR xsi:nil="true" />
</Section_Address>
<PO_BoxR2>
<SecPoBoxR2>
<PO_BoxR2 xsi:nil="true" />
<PO_Box_Postal_CodeR2 xsi:nil="true" />
</SecPoBoxR2>
</PO_BoxR2>
</Address>
<Communication>
<Communication_Section>
<Telephone_NumberR xsi:nil="true" />
<Mobile_Phone_NumberR xsi:nil="true" />
<Fax_NumberR xsi:nil="true" />
<Email_AddressR xsi:nil="true" />
<AddRemoveCommunicationR xsi:nil="true" />
</Communication_Section>
</Communication>
<Expire_or_Add_Validaty_to_BP_RoleR>
<Expire_or_Add_Validaty>
<BP_RoleR xsi:nil="true" />
<Expire_or_Add_Validity_PeriodR xsi:nil="true" />
<Valid_FromR xsi:nil="true" />
<Valid_ToR xsi:nil="true" />
</Expire_or_Add_Validaty>
</Expire_or_Add_Validaty_to_BP_RoleR>
<Add_Alternative_PayeesR>
<Alternative_Payees>
<Add_Update_Remove xsi:nil="true" />
<Permited_Payee_BP_NumberR xsi:nil="true" />
<Name_Alt_PayeeR xsi:nil="true" />
<Index_NumberR xsi:nil="true" />
<TitleR xsi:nil="true" />
<First_NameR xsi:nil="true" />
<Middle_NameR xsi:nil="true" />
<Last_NameR xsi:nil="true" />
</Alternative_Payees>
</Add_Alternative_PayeesR>
<Establish_BP_RelationshipR>
<Relationship>
<BP_Number_Main xsi:nil="true" />
<Relationship_CategoryR xsi:nil="true" />
<ValidFromR xsi:nil="true" />
<ValidToRelationshipR xsi:nil="true" />
<BPNumber_SecondaryR xsi:nil="true" />
<Index_Number_Secondary_Relationship xsi:nil="true" />
<Business_Area_Secondary xsi:nil="true" />
<Title_Secondary_BP xsi:nil="true" />
<First_Name_Secondary_BPR xsi:nil="true" />
<MiddleNameSecondaryBPR xsi:nil="true" />
<LastNameSecondaryBP xsi:nil="true" />
<Add_Update_DeleteR xsi:nil="true" />
</Relationship>
</Establish_BP_RelationshipR>
<PO_BoxR>
<SecPoBoxR>
<PO_BoxR xsi:nil="true" />
<PO_Box_Postal_CodeR xsi:nil="true" />
</SecPoBoxR>
</PO_BoxR>
</tns:OF_Forms>'
;WITH XMLNAMESPACES ('OF_Messages.Schemas.OF_Forms' AS tns)
SELECT m.n.value('(Bank_Account_Number)[1]','varchar(100)')
FROM @x.nodes('/tns:OF_Forms/Primary_Bank_Account')m(n)
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
How to check if all values from a dataset has come to an internal table
How to check if all values from a dataset has come to an internal table ?
Hi,
After OPEN DATASET statement check if sy-subrc = 0 if its success then proceed with split statement and save the dataset values into a internal table and while debugging the internal table you will find that whether all values get into internal table.
Checking sy-subrc after OPEN DATASET statement is must to fill up the values in the internal table.
For e.g.
OPEN DATASET p_inpfile FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc NE 0.
WRITE :/ 'No such input file' .
EXIT.
ELSE.
READ DATASET p_inpfile INTO loc_string.
IF sy-subrc NE 0.
EXIT.
ELSE.
CLEAR loc2.
*Spliting fields in the file-
REPLACE ALL OCCURRENCES OF '#' IN wa_string WITH ' '.
SPLIT wa_string AT const INTO loc2-pernr
loc2-werks
loc2-persk
loc2-vdsk1.
Hope you get some idea.
Thanks,
Sakthi C -
Get millisecond values from timestamp column in v$logmnr_contents
Hello
How do we get millisecond values from timestamp column in v$logmnr_contents.
I tried with following query.
select scn,To_Char(timestamp,'DD-MON-YYYY HH24:MI:SS:FF') from v$logmnr_contents WHERE OPERATION NOT IN('START') and username ='SCOTT' and sql_redo is not null and (seg_owner is null or seg_owner not in('SYS'));
it says ORA-01821: date format not recognized. I want to find the relation of scn with timestamp. In forums i found, scn is derived from timestamp value. I dont know its correct or not.
if i query with out FF in time format i get like
scn timestamp
808743 27-NOV-2007 00:12:53
808743 27-NOV-2007 00:12:53
808743 27-NOV-2007 00:12:53
808744 27-NOV-2007 00:12:53
808744 27-NOV-2007 00:12:53
808744 27-NOV-2007 00:12:53
if scn is derived from timestamp with milliseconds, each scn should be different right?More help pleaseMay be there's an easy way solving your problem, I did it like that:
CREATE TABLE quota_test (test VARCHAR2(50))
INSERT INTO quota_test
VALUES ('update "SCOTT"."NEWTAB1" set a="34" and b="45"')
SELECT test normal, REPLACE(SUBSTR(test,INSTR(test,'"',1),INSTR(test,'.',1)+2),'"','') changed
FROM quota_test
Result is :
NORMAL
update "SCOTT"."NEWTAB1" set a="34" and b="45"
CHANGED
SCOTT.NEWTAB1
If you didn't understand, I can explain what I wrote -
How to get selected value from SelectOneChoice
Hi,
I'm facing a problem to get selected value from SelectOneChoice. I have valueChangeListener event on a (SelectOneChoice)item. After user makes a choice I want to store selected value in a bean property to pass it to a method.
For example List item shows dname from dept table after user makes a choice I want to get deptno and populate into bean which I use to pass into my method.
If I use valueChangeEvent.getNewValue() I always get negative value instead I want deptno selected. Sample code pasted below.
public void setDeptno(ValueChangeEvent valueChangeEvent) {
BindingContainer b = getBindings();
OperationBinding oB = b.getOperationBinding("setDeptno");
//Checking instance of because same method is called from another text inputText item.
if (valueChangeEvent.getSource() instanceof CoreSelectOneChoice){
CoreSelectOneChoice cN = (CoreSelectOneChoice)valueChangeEvent.getSource();
if (columnName.getId().toString().equals("deptDname")){
JSFUtils.setManagedBeanValue("dept.deptDeptno",valueChangeEvent.getNewValue());
}if your selectOneChoice has value equal to #{bindings.deptno} bound to the iterator Dept1Iterator,
then the backing code will look more like
public void setDeptno(ValueChangeEvent valueChangeEvent) {
BindingContainer b = getBindings();
OperationBinding oB = b.getOperationBinding("setDeptno");
//Checking instance of because same method is called from another text inputText item.
if (valueChangeEvent.getSource() instanceof CoreSelectOneChoice){
CoreSelectOneChoice cN = (CoreSelectOneChoice)valueChangeEvent.getSource();
if (columnName.getId().toString().equals("deptDname")){
FacesContext ctx = FacesContext.getCurrentInstance();
Application app = ctx.getApplication();
ValueBinding bind = app.createValueBinding("#{bindings.Dept1Iterator.currentRow}");
Row row = (Row)bind.getValue(ctx);
JSFUtils.setManagedBeanValue("dept.deptDeptno", row.getAttribute("deptno"));
} I haven't tested it, so it could perfectly not work at all -
Dvt:pivotFilterBar - how to get selected values from filter
Hi all,
I have a question: how to programmatically get selected values from pivot table's filter bar?
I have tried to use
pivotTable.getDataModel().getDataAccess().getValueQDR(startRow, startCol, DataAccess.QDR_WITH_PAGE);but for page edge dimensions it returns BAD DATA, it seems that it returns some cached values.
Environment: JDev 11.1.1.3.0 without any patches.
thanks,
MiroslawHi,
You can retrieve the selected value in the PivotFilterBar through the model of PivotFilterBar, instead of dataaccess:
// get the model from the pivot filter bar instance
QueryDescriptior queryDescriptor = (QueryDescriptor)pivotFilterBar.getValue();
// retrieve a list of criterion, each one is used to populate each lov within the pivot filter bar
ConjunctionCriterion conjunctionCriterion = queryDescriptor.getConjunctionCriterion();
List<Criterion> criterionList = conjunctionCriterion.getCriterionList();
for (int i=0; i<_criterionList.size(); i++) {
AttributeCriterion criterion = (AttributeCriterion)criterionList.get(i);
// _selected is the currently selected value
Object selected = criterion.getValues().get(0);
System.out.println(_selected);
Hope that helps,
Chadwick -
Problem in getting parameter value from selection screen in web dynpro abap
Hi,
I am facing problem in getting parameter value from selection screen.
Please find my code below:
DATA LT_PAR_ITEM TYPE IF_WD_SELECT_OPTIONS=>TT_SELECTION_SCREEN_ITEM.
FIELD-SYMBOLS:<FS_PAR_ITEM> LIKE LINE OF LT_PAR_ITEM,
<FS_OBJ_USAGE> TYPE REF TO data.
WD_THIS->M_HANDLER->GET_PARAMETER_FIELDS( IMPORTING ET_FIELDS = LT_PAR_ITEM ).
LOOP AT LT_PAR_ITEM ASSIGNING <FS_PAR_ITEM>.
CASE <FS_PAR_ITEM>-M_ID.
WHEN `OBJ_USAGE`.
ASSIGN <FS_PAR_ITEM>-M_VALUE->* TO <FS_OBJ_USAGE>.
[ Here, sy-subrc is 4, <FS_OBJ_USAGE> is not assigning.]
ENDCASE.
ENDLOOP.
So, can any one solve this problem.
Thanks in advance,
RadhikaHi Radhika,
Try using GET_RANGE_TABLE_OF_SEL_FIELD...
Please Refer below code..
DATA: NODE_FLIGHTS TYPE REF TO IF_WD_CONTEXT_NODE.
DATA: RT_CARRID TYPE REF TO DATA.
DATA: ISFLIGHT TYPE TABLE OF SFLIGHT.
DATA: WSFLIGHT TYPE SFLIGHT.
FIELD-SYMBOLS: <FS_CARRID> TYPE TABLE.
Retrieve the data from the select option
RT_CARRID = WD_THIS->M_HANDLER->GET_RANGE_TABLE_OF_SEL_FIELD( I_ID = 'S_CARR_ID' ).
Assign it to a field symbol
ASSIGN RT_CARRID->* TO <FS_CARRID>.
CLEAR ISFLIGHT. REFRESH ISFLIGHT.
SELECT * INTO CORRESPONDING FIELDS OF TABLE ISFLIGHT FROM SFLIGHT
WHERE CARRID IN <FS_CARRID>.
NODE_FLIGHTS = WD_CONTEXT->GET_CHILD_NODE( NAME = `FLIGHTS` ).
NODE_FLIGHTS->BIND_ELEMENTS( ISFLIGHT ).
Thanks,
Regards,
Kiran -
Get column values from list of values programmatically
hi all
how i get column values from list of values programmatically in the
returnPopupDataListener methodIf this answers your question , please close this thread by marking it as answered.
Thanks -
How to get each value from a parameter passed like this '(25,23,35,1)'
Hi
One of the parameter passed to the function is
FUNCTION f_main_facility(pi_flag_codes VARCHAR2) return gc_result_set AS
pi_flag_codes will be passed a value in this way '(25,23,35,1)'
How to get each value from the string
like 25 first time
23 second time
35 third time
1 fourth time
I need to build a select query with each value as shown below:-
(SELECT t2.org_id, t4.description
from org_name t2, ref_org_name t3, code_table t4
where t2.att_data = t4.code
and t3.ref_code = t2.att_type
and t2.att_type = 25 and t3.code_type = t4.code_type
and to_date('01-JAN-10', 'DD-MON-YY') between t2.att_start_date AND t2.att_end_date) q1,
(SELECT t2.org_id, t4.description
from org_name t2, ref_org_name t3,code_table t4
where t2.att_data = t4.code
and t3.ref_code = t2.att_type
and t2.att_type = 23 and t3.code_type = t4.code_type
and to_date('01-JAN-10', 'DD-MON-YY') between t2.att_start_date AND t2.att_end_date) q2,
(SELECT t2.org_id, RTRIM(xmlagg(xmlelement(e, t4.description || ';')
ORDER BY t4.description).EXTRACT('//text()'), ';') AS DESCRIPTION
from org_name t2, ref_org_name t3,code_table t4
where t2.att_data = t4.code
and t3.ref_code = t2.att_type
and t2.att_type = 35 and t3.code_type = t4.code_type
and to_date('01-JAN-10', 'DD-MON-YY') between t2.att_start_date AND t2.att_end_date
group by t2.org_id) q3,
(SELECT t2.org_id, t4.description
from org_name t2, ref_org_name t3, code_table t4
where t2.att_data = t4.code
and t3.ref_code = t2.att_type
and t2.att_type = 1 and t3.code_type = t4.code_type
and to_date('01-JAN-10', 'DD-MON-YY') between t2.att_start_date AND t2.att_end_date) q4
Please help me with extracting each alue from the parm '(25,23,35,1)' for the above purpose. Thank You.chris227 wrote:
I would propose the usage of regexp for readibiliy purposes and only in the case if this doesnt perform well, look at solutions using substr etc.
select
regexp_substr( '(25,23,35,1)', '\d+', 1, 1) s1
,regexp_substr( '(25,23,35,1)', '\d+', 1, 2) s2
,regexp_substr( '(25,23,35,1)', '\d+', 1, 3) s3
,regexp_substr( '(25,23,35,1)', '\d+', 1, 4) s4
from dual
S1 S2 S3 S4
"25" "23" "35" "1"In pl/sql you do something like l_val:= regexp_substr( '(25,23,35,1)', '\d+', 1, 1);
If t2.att_type is type of number you will do:
t2.att_type= to_number(regexp_substr( '(25,23,35,1)', '\d+', 1, 1))Edited by: chris227 on 01.03.2013 08:00Sir,
I am using oracle 10g.
In the process of getting each number from the parm '(25,23,35,1)' , I also need the position of the number
say 25 is at 1 position.
23 is at 2
35 is at 3
1 is at 4.
the reason I need that is when I build seperate select for each value, I need to add the query number at the end of the select query.
Please see the code I wrote for it, But the select query is having error:-
BEGIN
IF(pi_flag_codes IS NOT NULL) THEN
SELECT length(V_CNT) - length(replace(V_CNT,',','')) FROM+ ----> the compiler gives an error for this select query : PLS-00428:
*(SELECT '(25,23,35,1)' V_CNT FROM dual);*
DBMS_OUTPUT.PUT_LINE(V_CNT);
-- V_CNT := 3;
FOR L_CNT IN 0..V_CNT LOOP
if L_CNT=0 then
V_S_POS:=1;
V_E_POS:=instr(pi_flag_codes, ',', 1, 1)-1;
else
V_S_POS:=instr(pi_flag_codes,',',1,L_CNT)+1;
V_E_POS:=instr(pi_flag_codes, ',', 1, L_CNT+1)-V_S_POS;
end if;
if L_CNT=V_CNT then
V_ID:=TO_NUMBER(substr(pi_flag_codes,V_S_POS));
else
V_ID:=TO_NUMBER(substr(pi_flag_codes,V_S_POS,V_E_POS));
end if;
VN_ATYPE := ' t2.att_type = ' || V_ID;
rec_count := rec_count +1;
query_no := 'Q' || rec_count;
Pls help me with fetching each value to build the where cond of the select query along with the query number.
Thank You.
Maybe you are looking for
-
How to get selected value from OADefaultListBean.
Hi All, How to get selected value from OADefaultListBean ? Thanks,
-
How to change the bar chart rendering image format in SSRS
Hello all, I am working with SQL Server 2008 R2 and I have a SSRS bar chart report, when the report got rendered over online or if the take Export (PDF and PPT), the image is in png format always, which is taking too much of time to execute the repor
-
Motion crashes at launch anyone know why please?
hello does anyone know why motion crashes on launch?
-
How to include HTML in XML for OMNIPORTLET
I have an OMNIPORTLET where I need to display a list of names along with a link to a story if they have a story. The goal is to list that NAME and if they have a story then show a (STORY) with a link under the STORY, and then for those names that do
-
6 minute Keynote with video clips keeps crashing when Export to Quicktime?
I have a very important presentation I need, it has some video clips in I created in LiveType, and I export to Quicktime, using the default settings, it keeps crashing. The last time I tried it was this morning, it processed for 2 hours, at the last