Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem in XML Schema

Hi,

When I am saving a BP reading from the following XML file I'm getting an error "Bank Code is missing".

<?xml version="1.0" encoding="UTF-16"?>
<BOM>
	<BO>
		<AdmInfo>
			<Object>2</Object>
			<Version>2</Version>
		</AdmInfo>
		<BusinessPartners>
			<row>
				<CardCode>NewBP1</CardCode>
				<CardName>New BP 1</CardName>
				<CardType>cCustomer</CardType>
				<GroupCode>107</GroupCode>
				<CompanyPrivate>cCompany</CompanyPrivate>
				<PayTermsGrpCode>1</PayTermsGrpCode>
				<CreditLimit>0.000000</CreditLimit>
				<MaxCommitment>0.000000</MaxCommitment>
				<DiscountPercent>0.000000</DiscountPercent>
				<VatLiable>vLiable</VatLiable>
				<DeductibleAtSource>tNO</DeductibleAtSource>
				<DeductionPercent>0.000000</DeductionPercent>
				<PriceListNum>1</PriceListNum>
				<IntrestRatePercent>0.000000</IntrestRatePercent>
				<CommissionPercent>0.000000</CommissionPercent>
				<CommissionGroupCode>0</CommissionGroupCode>
				<SalesPersonCode>-1</SalesPersonCode>
				<Currency>USD</Currency>
				<RateDiffAccount/>
				<Country>US</Country>
				<FatherType>cPayments_sum</FatherType>
				<Properties1>tNO</Properties1>
				<Properties2>tNO</Properties2>
				<Properties3>tNO</Properties3>
				<Properties4>tNO</Properties4>
				<Properties5>tNO</Properties5>
				<Properties6>tNO</Properties6>
				<Properties7>tNO</Properties7>
				<Properties8>tNO</Properties8>
				<Properties9>tNO</Properties9>
				<Properties10>tNO</Properties10>
				<Properties11>tNO</Properties11>
				<Properties12>tNO</Properties12>
				<Properties13>tNO</Properties13>
				<Properties14>tNO</Properties14>
				<Properties15>tNO</Properties15>
				<Properties16>tNO</Properties16>
				<Properties17>tNO</Properties17>
				<Properties18>tNO</Properties18>
				<Properties19>tNO</Properties19>
				<Properties20>tNO</Properties20>
				<Properties21>tNO</Properties21>
				<Properties22>tNO</Properties22>
				<Properties23>tNO</Properties23>
				<Properties24>tNO</Properties24>
				<Properties25>tNO</Properties25>
				<Properties26>tNO</Properties26>
				<Properties27>tNO</Properties27>
				<Properties28>tNO</Properties28>
				<Properties29>tNO</Properties29>
				<Properties30>tNO</Properties30>
				<Properties31>tNO</Properties31>
				<Properties32>tNO</Properties32>
				<Properties33>tNO</Properties33>
				<Properties34>tNO</Properties34>
				<Properties35>tNO</Properties35>
				<Properties36>tNO</Properties36>
				<Properties37>tNO</Properties37>
				<Properties38>tNO</Properties38>
				<Properties39>tNO</Properties39>
				<Properties40>tNO</Properties40>
				<Properties41>tNO</Properties41>
				<Properties42>tNO</Properties42>
				<Properties43>tNO</Properties43>
				<Properties44>tNO</Properties44>
				<Properties45>tNO</Properties45>
				<Properties46>tNO</Properties46>
				<Properties47>tNO</Properties47>
				<Properties48>tNO</Properties48>
				<Properties49>tNO</Properties49>
				<Properties50>tNO</Properties50>
				<Properties51>tNO</Properties51>
				<Properties52>tNO</Properties52>
				<Properties53>tNO</Properties53>
				<Properties54>tNO</Properties54>
				<Properties55>tNO</Properties55>
				<Properties56>tNO</Properties56>
				<Properties57>tNO</Properties57>
				<Properties58>tNO</Properties58>
				<Properties59>tNO</Properties59>
				<Properties60>tNO</Properties60>
				<Properties61>tNO</Properties61>
				<Properties62>tNO</Properties62>
				<Properties63>tNO</Properties63>
				<Properties64>tNO</Properties64>
				<MinIntrest>0.000000</MinIntrest>
				<Priority>-1</Priority>
				<CreditCardCode>-1</CreditCardCode>
				<Valid>tNO</Valid>
				<Frozen>tNO</Frozen>
				<WithholdingTaxDeductionGroup>-1</WithholdingTaxDeductionGroup>
				<DebitorAccount>_SYS00000000010</DebitorAccount>
				<PeymentMethodCode>Incoming</PeymentMethodCode>
				<BackOrder>tYES</BackOrder>
				<PartialDelivery>tYES</PartialDelivery>
				<BlockDunning>tNO</BlockDunning>
				<CollectionAuthorization>tNO</CollectionAuthorization>
				<SinglePayment>tNO</SinglePayment>
				<PaymentBlock>tNO</PaymentBlock>
				<PaymentBlockDescription>-1</PaymentBlockDescription>
				<DeferredTax>tNO</DeferredTax>
				<MaxAmountOfExemption>0.000000</MaxAmountOfExemption>
				<AccrualCriteria>tNO</AccrualCriteria>
				<Equalization>tNO</Equalization>
				<LanguageCode>3</LanguageCode>
				<HousBnkCry>IN</HousBnkCry>
				<HouseBank>SBI</HouseBank>
				<HousBnkAct>552667</HousBnkAct>
				<HousBnkBrn>546</HousBnkBrn>
			</row>
		</BusinessPartners>
		<BPAddresses/>
		<ContactEmployees/>
		<BPAccountReceivablePayble/>
		<BPPaymentMethods>
			<row>
				<PaymentMethodCode>Incoming</PaymentMethodCode>				
			</row>
		</BPPaymentMethods>		
		<BPWithholdingTax/>
		<BPPaymentDates/>		
	</BO>
</BOM>

Where can I put the Bank code attributes? Are these mandatory fields?

Can anyone give me the standard format of xml files for - BP,Item,Order?

Not what you were looking for? View more on this topic or Ask a question