Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Method CMD_EI_API MAINTAIN_BAPI fails on missing KNVK-NAME1

Former Member
0 Likes
1,019

Hi,

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.

Regards,

Johnny

4 REPLIES 4
Read only

Former Member
0 Likes
665

Hello Johnny Muñoz ,

Looks like you are doing the correct. Debug the SAP coed and see where and hy they are throwing that Plausibility check failed" error in the method

Hope this answers your question. I will update my findings.

Thanks,

Greetson

Read only

Former Member
0 Likes
665

Hi Greetson,

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

Read only

0 Likes
665

Thanks for your update.

Thanks,

Greetson

Read only

0 Likes
665

Hi,
     Even I have similar issue can you help me by providing sample code for adding contact person to customer master.

Regards,
Girija R