Error while posting Customer with Multiple sales areas using DEBMAS05.

Dear experts,
We are generating IDOCS vis SAP DS for posting Customer master. The message type used is DEBMAS and basic type is DEBMAS05.  we have a requirement to create 1 customer with multiple sales areas. However, we are ending up with a strange error:  "Fill all required fields SAPMF02D 0111 ADDR1_DATA-NAME1". Despite the IDOC going into status 51, the customer gets created and the 1st sales area too. the 2nd sales area however is not created!  The IDOC data definitely contains Name1, otherwise the customer would not have been created in the first place.
As the error message is related to the Address data, I also explored upon exploring this erorr further on the lines of Central Address management where in the ADRMAS and DEBMAS have to be passed together(IDOC Serialiization).  OSS Note (384462)  provides further details about this. One Important point from the note is: 
"As you have to specify the logical name of the sending system among other things, SAP is not able to make any default settings in the standard systems. When you use the serialization groups delivered as a standard by SAP, the address objects are imported before the master objects.Thus the sequence address data before master objects must only be adhered to if one of the following points applies to your application:
Such fields are set as required entry fields that are only provided by the BAS in the Customizing of the customer or vendor master.
For your customers, contact persons exist to which a private address or a different business address is assigned.".
This is not the case in our situation, as we do not have required entry fields in customizing that are only provided by the BAS, so the error is all the more confusing and I am not too sure what the cause is.
If someone have experienced the same issue before and have found a solution to it, kindly help out.

I have found the cause and solution to this problem.
This error ”Fill all required fields SAPMF02D 0111 ADDR1_DATA-NAME1” and other similar errors like “Fill all required fields SAPMF02D 0111 ADDR1_DATA-SORT1“ which occurrs during the IDOC posting when there are more than one sales area or company code occurs when the customer number range is set up for Internal numbering. This means, that the number gets generated only at the time of save and upon debugging the IDOC, we found out that after creating the customer and the first sales area/company code record, the segment E1KNA1M is cleared completely! This is the reason, it throws an error which points to a mandatory KNA1 field as missing. (Like NAME1, SORT1 etc.)
This was resolved by splitting the IDOC into 2.
The solution is to First post only the KNA1 segment and create the customer.
In the second step, pass the IDOC with all other segments along with E1KNA1M, but pass only KUNNR in E1KNA1M and the rest of the fields in E1KNA1M as “/”:  you would have got the KUNNR after the first step.
Important note: This requirement to split the IDOCs does not occur when the customer number is known upfront. (Meaning cases where the customer number is externally generated) I also tested this and created a customer with external numbering and I was able to post more than 1 sales area with the same IDOC. 
I noticed multiple threads with the same issue, but none of it had a concrete answer. I hope this information will be useful for anyone facing similar problems.
Cheers
Venkat

Similar Messages

  • DSD route settlement with multiple sales are

    Hi folks,
    I have looked in this forum for an answer for my problem but haven't found any, so i am creating this new thread.
    Well i am trying to settle a shipment in /DSD/DE_ENTRY transaction with multiple sales area in it, example:
    Visit 1 - Sales Org(D002) Distribution channel(GN) Division(GA)
    Visit 2 - Sales Org(D002) Distribution channel(GN) Division(GB)
    Visit 3 - Sales Org(D017) Distribution channel(17) Division(D1)
    The problem i get is that when i settle the shipment he mixes up the sales area in the visits, so far, allways in visit 3 where he puts up D002, 17, D1, giving the error of non existent sales area when trying to create the order(he doesn't mix up for all orders, only for some ones in the visit).
    Another strange fact is that i made 3 shipments with same data, and in all 3, he mixed up for different documents, in 1 he created 2 documents fine, in other one only 1, making me believe that he "randomly" atributes the sales area.
    What i need is to "manipulate" or have a solution for standard doesn't mix up the sales area, and atribute the correct sales area to the orders to create based on the sales are in the visit.
    Best Regards.

    Thanks for the link, it's more or less the functionality that I'm looking for but the issue with BW is that I need to do the Settlement at the moment that routes are arriving "on line" and with BW I need wait the load to BW system. A lot of routes are arriving frequently.
    ¿Do you know a R3 functionality for this? or ¿do you know a "Shipments settlement" who has all Shipments of the route? in order to use same transaction that is by transport.
    Thank's a lot

  • Lockbox error while posting customer payments

    Hello,
    I am testing the lockbox file upload and the system was able to locate the Customer number but while clearing customer, I am getting an error saying
    No payment advices were found
    Message no. F5664
    I am trying to edit payment advice and I am getting the error as below
    Payment advice 01 10000000 does not exist for account 110006 C850
    Message no. FA006
    Please let me know why this error is coming.
    Thank You.
    Edited by: Raghavaa on Dec 26, 2011 8:17 PM

    I have found the cause and solution to this problem.
    This error ”Fill all required fields SAPMF02D 0111 ADDR1_DATA-NAME1” and other similar errors like “Fill all required fields SAPMF02D 0111 ADDR1_DATA-SORT1“ which occurrs during the IDOC posting when there are more than one sales area or company code occurs when the customer number range is set up for Internal numbering. This means, that the number gets generated only at the time of save and upon debugging the IDOC, we found out that after creating the customer and the first sales area/company code record, the segment E1KNA1M is cleared completely! This is the reason, it throws an error which points to a mandatory KNA1 field as missing. (Like NAME1, SORT1 etc.)
    This was resolved by splitting the IDOC into 2.
    The solution is to First post only the KNA1 segment and create the customer.
    In the second step, pass the IDOC with all other segments along with E1KNA1M, but pass only KUNNR in E1KNA1M and the rest of the fields in E1KNA1M as “/”:  you would have got the KUNNR after the first step.
    Important note: This requirement to split the IDOCs does not occur when the customer number is known upfront. (Meaning cases where the customer number is externally generated) I also tested this and created a customer with external numbering and I was able to post more than 1 sales area with the same IDOC. 
    I noticed multiple threads with the same issue, but none of it had a concrete answer. I hope this information will be useful for anyone facing similar problems.
    Cheers
    Venkat

  • Error while posting GR with MvT 835 for Brazil Plant using transaction MBSU

    Hi,
    While posting GR with MvT 835 through transaction MBSU with reference to GI document, we are receiving below error :-
    Balance not zero: **** - debit: ****
    credit: ****
    Message No.: M7050.
    We are using TAXBRA procedure for Brazil.
    We request you to please let us know what all configuration do we need to check.
    Regards,
    Kiran

    Answered.

  • Wrong VL-367 error while creating delivery from multiple sales orders

    Hi,
    We have a Z program* that runs BAPI_OUTB_DELIVERY_CREATE_SLS with multiple sales order items to create one delivery.
    The program runs as a job. The problem is sometimes Bupi turns "VL367 - an item with no delivery quantity..." error for some of the items. But actually we have no availability problem, after a minute in the next job the delivery is being created for those items.
    We couldnt find the the state that causes this wrong error. Have any ideas, is there any problem with the bapi ?

    Hi,
    You should check if you got other Sales Order that might be have items with quantities confirmed. Quantities confirmed in a sales order will be appear as unrestricted stock, although is reserved, and therefore for example:
    Sales Order A: item 10, quantity 10
    Unrestricted stock: 10
    Sales Order B: item 10 (Same material as Sales Order A), quantity 2
    Creating outbound delivery for Sales Order B will generate the message, because that stock is being taken for the Sales Order A already.
    Hope it helps.

  • ERROR WHILE POSTING MIRO FOR MULTIPLE ACCOUNT ASSIGNMENT (ASSET)

    Hi Guys,
    We created  a PO for asset with multiple account assignment. And we immediately do IR instead of GR.
    While doing IR it is giving error
    1) Quantity delivered is zero - Warning message
    2) Account 245350 requires a Transaction Type or is Invalid - Error message
    what may be the problem. how can we eliminate and post it
    Regards
    palani

    Hi,
    I would assume the G/L account you used was not properly set up.  Did you get the same problem if you try to change to another G/L account?  Perhaps, get your FI specialist to look into this G/L account-related error and verify it.
    Cheers,
    HT

  • Error while assign doc type to sale area

    hi,
         while assigning a sale area to a doc type i am getting the following error, " define the sale area(XXXX/YY/zz) as a general sale area?  i have alreadly done "set up sale area" what is general sale area and how to do it? need help.
    regards
    leo

    hi
    The Assignment of Sales Areas to Sales Documents
    There may be a need to assign sales documents to specific sales areas. For example, a different
    sales document is used for all sales orders from a specific sales organization.
    Transaction Code OVAZ
    You may assign reference sales organizations as well as reference distribution channels and divisions. Do not confuse this referencing with the assignment of common distribution channels and common divisions. The referencing done here is only used by the system to determine which sales documents are permitted for which sales areas.
    If all sales document types can be used by all sales areas, leave the assignment fields blank.
    check your sales area in
    Set up sales area - Enterprise Structure  ® Assignment ® Sales and Distribution ® Set up sales area
    T-code: OVXG     
    Also check the following setting
    OVAM - To Combine distribution channels Sales Document Types     -- Sales and Distribution ® Sales ® Sales Documents ® Sales Document Header ®  Assign Sales Area To Sales Document Types -
    choose Combine distribution channels.
    OVAN - To Combine division to Sales Document Types      - Sales and Distribution ® Sales ® Sales Documents ® Sales Document Header ®  Assign Sales Area To Sales Document Types -
    choose Combine divisions
    OVR1 - Define Common Distribution Channels - Sales and Distribution ® Master Data ® Define Common Distribution Channels
    OVR2 - Define Common Divisions - Sales and Distribution ® Master Data ® Define Common Divisions
    Regards
    Vishal
    Edited by: WISH on May 6, 2008 7:57 AM

  • Error while connecting Customer with vendor in XK02.

    Hi Gurus,
    While entering customer in  control view of vendor master record in Tcode XK02,
    System prompts an error msg. as "Please enter an address number".
    Please guide me to solve this.

    hi,
    If you maintained your VMR (Vendor master data ) properly...then pls check the custormer related fied selection in the OB20....here in the general settings....pls check whether the address is mandatory or not...if yes, then make it optional and then try...
    Do it for customer centrally...
    Also check the trasaction code OMSX, for vendor, check for the define screen layouts for trasactional data....here in the general data...check whether the fiscal address is mandatory or not....
    Hope it helps...
    Regards
    Priyanka.P

  • Open Customer for Multiple Sales Areas

    We need that when we save a customer from a specific sales area this customer will be opened automaticly in several sales areas and company codes (because of buisness reasons we do not use consumers).
    I was not able to find a function/BADI that gives this functionality.
    Please asssit,
    Uri Dembo

    Hello Uri
    Please correct my understanding
    What you are saying is , when you create a customer in a specific sales area, it should get extended to rest of the sales areas, is that what you are saying?
    If yes, then you might want to take help from your technical folks (Abapers) for auto extension of customer in other areas.
    Before you do that, it is essential to understand that you have the right configuration in place.
    Regards
    Kalpesh

  • Tax Error while posting Customer Invoice

    Hello Everyone,
    When I try to post a customer invoice using one of the default tax code (eg. 1O - output tax 10%), during simulation the system gives following error message with the item list as below: "Error message still exist - see error log". The error log shows following description -  Msg Type E : Item 003 must be corrected. 
    Itm PK Account    Account short text            Assignment         Tx           Amount
      1 01 100253     DDS SERVICES                                              1O          8.000,00
      2 50 800000     Sales revenues - dom                                    1O         7.272,73-
      3 50 175000     Output tax                                                      1O          727,27-
    Can anyone plz help me out as to why am I getting this error and what is the solution to it?
    Thanks,
    AMD

    Dear AMD008
    were you maintain properly in OB40 MWS (out put tax) relevant GL Account
    Note: are you using NEW GL please conform me
    Regards
    shankar

  • Error While Posting Data Of Multiple File to R/3

    Hello,
    I am currently testing with a scenario <b>where a number of XML files are read by XI and their data is passed to R/3 via an RFC call. Each XML File contains one line item data.</b> I am using BPM to achieve this. The problem is: <b>If I test with a single line item data (single file), the scenario works fine and data is updated at the R/3 end. But if I try to put multiple files simultaneously, only one file's data is going into R/3</b>. What can be the problem? Is it something to do with serialization? I have tried using EOIO; but still the same problem persists. I see in SXMB_MONI that all the messages have chequered flag. I have tried debugging the RFC, but it does not work out for multiple calls. Anybody has any idea how this can be solved?
    Regards,
    Amitabha

    Hello Bhavesh,
    Thanks for your reply. My BPM scenario is as follows:
    <b>Receive->Synchronous Send->Asynchronous Send</b>
    In sender channel for XML files, I have used <b>Filename*</b> as the source file name as my files are coming with <b><filename ><timestamp></b> naming convention. Poll interval is <b>5 seconds</b>, Processing mode is <b>by name</b>.
    AT the RFC receiver  channel end, the credentials are all ok and the <b>number of maximum connections is set to 25</b>. I have always tested with no. of messages<5.
    Hope you find this info useful. Awaiting reply.
    Thanks and Warm Regards,
    Amitabha

  • Error  while posting customer and vendor documents

    Hi
         Iam trying to post the entries in f-22 and f-43,its displaying that *No values for this selection* at account filed,
    I reconcile the customer and vendor accounts in fs00
    I assigns the account no's to customer and vendor master records
    Thank you.

    Hi Shilpa,
    Create Reconciliation account for customer using
    T-code: FS00
    in control data select as Reconciliation as customers
    and Field status group as G067
    and assign the same reconciliation in customer mater data
    Best Regards
    Ashish Jain

  • Error while posting data with BAPI_ACC_ACTIVITY_ALLOC_POST

    Hi All
    I am using BAPI_ACC_ACTIVITY_ALLOC_POST to post documents but getting error as 'The document has too many line items (maximum number = 997). Even though my input file has only 900 records.
    I tried reducing it to 600 . Even then I am getting same error.
    Has anybody come across this , message class BK (829).
    I have traced that this message comes from function module  K40C_DOCUMENT_CREATE which is being called internally in the BAPI.
    Please help me on this , its urgent.
    Thanks & Regards
    Babita Sharma

    Change your code to create 400 line items for each document number. I mean, 1 header for 400 line items.
    That way you will have one structure HEADER and 400 lines in table ITEMS.
    RMS.

  • Need to Create Customer Master Data under Multiple Sales Areas

    Hi Gurus,
             My requirement is to create a customer under multiple sales areas by processing the Inbound Idoc function module "IDOC_INPUT_DEBITOR"( After generating Outbound Idoc and outbound is processed successfully).
             But, when I am trying to send the multiple sales areas information in segment "E1KNVVM". It is creating the customer under first sales area filled in first E1KNVVM segment and it is giving error that "Fill all required fields SAPMF02D 0111 ADDR1_DATA-NAME1" and it is not creating the customer under other sales areas.
            Following are the details of the Outbound Idoc which I have processed.
            Idoc Basic type : DEBMAS06
            Message          : DEBMAS
            I have filled required fields in E1KNA1M and E1KNVVM segments. But filled E1KNVVM segments  twice with different sales area data.
          Please help in solving this problem?

    is it really just one IDOC?
    I have never seen that SAP just does a part of one IDOC.
    the structure of DEBMAS ist like this:
    E1KNA1M
    --E1KNVVM
    E1KNVPM
    E1KNVDM
    E1KNVIM
    --E1KNB1M
    which means for your example it should be like this
    E1KNA1M
    --E1KNVVM
    E1KNVPM
    E1KNVDM
    E1KNVIM
    --E1KNVVM
    E1KNVPM
    E1KNVDM
    E1KNVIM
    --E1KNB1M
    and in this case I am very certain that it would never just process and create the part for one sales area.
    Maybe your customer already exists from ealier tests with just one sales area.
    Display your IDOC in WE02 or WE05 and make sure you have a value in name1 field

  • Error while posting 561 Document

    Dear All
                Error while posting document with movement 561. "Account Determination for entry 999 BSA 6000 not possible."
    Even OBYC setting for that valuation class already assigned.
    please advice.
    Regards
    Kumar.

    Hello Anandhakumar ,
    please check whether you have assigned the Company code which you are using to controlling area with same chart of accounts and check the OMWD settings..
    and check the FS02 tCode in that the see the control data for currency and chart of accounts settings.
    it could solve your query.
    regards,
    Ninad Kshirsagar

Maybe you are looking for

  • Where do you insert a CD in the Macbook Air?

    i need to put some music in a CD from a macbook air, where do i insert the empty CD?

  • Problem with camera connection kit and IOS 5

    Since I upgraded my IPAD 2 to IOS 5 camera connection kit is no longer working properly: - when importing from a given CF card for the first time camera connection kit it is working with my camera (Canon EOS 7D) - however, as soon as i take additiona

  • Publishing Feature for Site Collection

    Hi.. I am having 5 different Site Collections in SharePoint Site and from 1st Site Collection we are redirecting to other using Top Link bar, but when we enable Publishing Feature for Different Site Collections the Top Link bar changed..i want to hav

  • Complete newbie Q

    Hi I was thinking it would be good to have a little app that allowed me to write a list of items and be able to slide the items into different orders (or even into adjacent lists). What would be a good language to use? Something without a steep learn

  • How to Start Archivelog for XE

    Hi Friends, I want to use RMAN backup for my 10gXE database so I need to start archivelog. I do the following: SQL> shutdown immediate; Database closed. Database dismounted. ORACLE instance shut down. SQL> startup mount ORACLE instance started. Total