Skip to Content

Error 51 LSMW (Debmas) Editing was terminated

I am getting error 51, Using DEBMAS01 to process data, the error I get is Editing was Terminated.

Data in the .txt file is below


1894 c001

1895 c002

In the source fields I have taken only two fields Kunnr and Iban.

I have also put '/' in the address, name 1, country fields in the Define Field Mapping and Conversion Rules.

I have allready referred to the link below

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Aug 30, 2017 at 12:01 PM

    The IDoc type may be right, but the data you provide seems to be insufficient.

    I am already confused by an IBAN number which is just c001, this does not sound real at all.

    Also if you just go into XD02 for your customer 1894 and only enter this iban number c001 in the next empty line in your payment tab what happens then? Does the system ask for other information? Do you get an error message?

    Based on this limited information I can just tell you that SAP would delete all existing bank information in your customer and would just enter the IBAN number into an empty line. I can't tell from here whether this IBAN number would be correct nor if that would be sufficient in your system setup.

    In general you can execute the Idoc posting in foreground and have the system stop at the error. So you can exactly see what is missing.

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 29, 2017 at 09:34 AM

    What did you make out of this text file in your field mapping and conversion? Did you add other content using a bit ABAP coding or do you finally just have these 2 fields with the same value as in the text file and all other fields are just '/' ?

    Had you ever tried to maintain a customer master with this given data manually?

    I know that Idoc is not really the same than maintaining a customer manually, but I actually doubt that you can get far with such a IBAN number.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Jurgen

      I have only added the Kunnr and the IBAN in the IBAN_BANKL in the field mapping and conversion. The other fields like name1, address , I had to add a '/' because I was getting a error 51 saying you need to fill in those fields as well.

      No other content was added using ABAP coding.

      I have tried to change the IBAN number with something else but I don't think it matters because the IBAN data element is 34 char field long.

      If you could suggest some other IDOC that I could use the load the data.

      Currently I am using IDOC , Message type - /SAPSLL/DEBMAS_SLL

      Basic type - DEBMAS01