Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Deleting a vendor contact with vmd_ei_api=>maintain_bapi

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?

Former Member
Former Member replied

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’:

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question