Application Development 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: 

Deleting a vendor contact with vmd_ei_api=>maintain_bapi

Former Member
0 Kudos

Hello,

I am trying to delete an existing contact of an existing vendor. I am using vmd_ei_api=>maintain_bapi. I successfully create and update the contact, however, during deletion of the contact only the ADRP record gets deleted and the KNVK record is NOT deleted.

Basically, I populate the following: in the structure of type VMDS_EI_CONTACTS I am populating the 'task' with 'D', plus I am populating correctly the 'data_key' and 'data' structures. I have also tried to populate 'ADDRESS_TYPE_3' with task 'D' and respective data but it still does not delete the KNVK record.

Does anyone know the reason why the KNVK is not deleted?

1 ACCEPTED SOLUTION

Former Member

I found the reason which is that the part of the code that deletes the KNVK records is in an enhancement implementation which is assigned to a switch that in our system is in position off.

Here it is in more detail:

The code for deleting the record is in here (please, follow the navigation at the bottom):

The code is not being run because it is part of an enhancement implementation FBK_SFWS_SC1_LF02KU02, which is turned OFF by the switch VENDOR_SFWS_SC1:

The switch VENDOR_SFWS_SC1 is part of the business function LOG_ESOA_OPS_2 which can be seen in Tx ‘SFW_BROWSER’:

1 REPLY 1

Former Member

I found the reason which is that the part of the code that deletes the KNVK records is in an enhancement implementation which is assigned to a switch that in our system is in position off.

Here it is in more detail:

The code for deleting the record is in here (please, follow the navigation at the bottom):

The code is not being run because it is part of an enhancement implementation FBK_SFWS_SC1_LF02KU02, which is turned OFF by the switch VENDOR_SFWS_SC1:

The switch VENDOR_SFWS_SC1 is part of the business function LOG_ESOA_OPS_2 which can be seen in Tx ‘SFW_BROWSER’: