Skip to Content

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

File to multiple IDOCs error

Dear All,

I am trying to create customer master using FILE-To-Multiple IDocs.Idoc generated with 2 errors.

1.First one is status 51...Specify the Account Group.

2.Second one is it's generating only single idoc(not multiple).

I have mapped Account Group source field to KTOKD(Idoc).is this mapping problem?I have given IDOC occurence unbounded but not generating multiple idocs.below is my message mapping structure.

mt_customer Debmas01

customer (1...1)

customer_master(1..unbounded)----


>IDOC (1..unbounded)

below is my input xml file with data.

<?xml version="1.0" encoding="UTF-8"?>

<ns0:mt_customer xmlns:ns0="urn://fenestacustmast">

<Customer>

<Customer_master>

<AccountGroup>0004</AccountGroup>

<CustomerNumber/>

<CompanyCode>1000</CompanyCode>

<SalesOrg>DBPM</SalesOrg>

<DistributionChannel>PS</DistributionChannel>

<Division>WD</Division>

<Title>Mr</Title>

<Name>Preethi</Name>

<SearchTerm>Mat</SearchTerm>

<SearchTerm2>V6CUSTNO</SearchTerm2>

<StreetNumber>Street 6</StreetNumber>

<City>Bangalore</City>

<Country>IN</Country>

<Region>KAR</Region>

<TransporationZone>ASCHTS01</TransporationZone>

<Fax>251662546</Fax>

<Telephone>9658965236</Telephone>

<VATRegNo>ABCG1254</VATRegNo>

<LegalStatus>01</LegalStatus>

<ReconAccount>36023901</ReconAccount>

<SortKey>001</SortKey>

<TermsOfPayment>S028</TermsOfPayment>

<ToleranceGroup>1000</ToleranceGroup>

<PaymentHistRecord>TRUE</PaymentHistRecord>

<SalesDistrict>A1KAKA</SalesDistrict>

<SalesOffice>BPBL</SalesOffice>

<SalesGroup>SEN</SalesGroup>

<Currency>INR</Currency>

<CustPricingProc>1</CustPricingProc>

<CustStatsGroup>1</CustStatsGroup>

<DeliveringPriority>01</DeliveringPriority>

<ShippingConditions>01</ShippingConditions>

<Plant>DBBG</Plant>

<AccountAssGroup>01</AccountAssGroup>

<TaxClassification>1</TaxClassification>

<InvoicingDate>IN</InvoicingDate>

<InvoicingListDate>IN</InvoicingListDate>

<IncoTerms>FCA</IncoTerms>

<IncotermsPart2>Bangalore</IncotermsPart2>

<CreditControlArea>FENE</CreditControlArea>

</Customer_master>

</Customer>

</ns0:mt_customer>

I did very simple mapping one to one without any functions.All are string types.I couldn't find what is the error?any help would be appreciated.

Thanks in advance.

Vinay

Former Member

Helpful Answer

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