Skip to Content
avatar image
Former Member

Method CMD_EI_API MAINTAIN_BAPI fails on missing KNVK-NAME1

Hi experts. I'm trying to create a new contact for a customer using CMD_EI_API method MAINTAIN_BAPI and I'm getting a message saying "KNVK-NAME1: Plausibility check failed". I've set up the structure and tables reference with type cmds_ei_extern. The mapping within the method finds my values and maps correctly to the internal address structure (using ADDRESS_TYPE_1). I've also tried using ADDRESS_TYPE_2 and ADDRESS_TYPE_3 with the same results. The error occurs when checking the new KNVK record in method STRUC_KNVK_PLAUSIBILITY_CHECK and I suspect that I'm missing some required data that is preventing the record from be created correctly. Any ideas.

...thanks in advance

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jun 28, 2011 at 03:46 PM

    Hi,

    The problem with this field arises because the structure of

    CONTACT is not filled ADDRESS_TYPE_1 structure. Are filled

    ADDRESS_TYPE_2 and ADDRESS_TYPE_3 structures. In the first place the

    address data and the second placed personal data and the

    sex contact, the above as required data.

    Regards,

    Johnny

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 22, 2011 at 10:43 AM

    Hi

    At first, for the contact you should maintain ADDRESS_TYPE_3 structure.

    Lastname is mandatory.

    This should solves your trouble

    As a general help for filling that complex structure, you could run method GET_DATA of class CMD_EI_API_EXTRACT for an existing customer.

    Regards

    Alain

    Add comment
    10|10000 characters needed characters exceeded