Skip to Content

customer - deletion flag to be set via BAPI

hi all,

I asked this question some time back but recently I came across the same requirements. I do not want to use the same solution (custom BAPI) I did back then.

So here the question: I need to set a "Central Deletion Flag for Customer Master Record". This is basically update of field LOEVM in KNA1 table. I need to do this via interface form 3rd party application. Is there any BAPI I can use for setting up the flag?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Apr 17 at 07:54 PM

    What is the problem with using the old solution? To my knowledge, SAP is not delivering any new BAPIs for ECC lately, so whatever we had in 2014 is pretty much still the same in 2018. (Julin can correct me if I'm wrong.)

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 15 at 04:30 AM

    Hi Martin,

    Are you in ERP or S/4HANA?

    Thanks.

    Best regards,

    Julin Xin

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 14 at 10:37 AM

    Hi Martin,

    To set a "Central Deletion Flag for Customer Master Record" there is a BAPI

    FM to set deletion flag for customer: "BAPI_CUSTOMER_DELETE"

    CALL FUNCTION 'BAPI_CUSTOMER_DELETE' "Delete Customer Master Online
      EXPORTING
        customerno =                " customer_id  Number of the Customer to be Deleted
      IMPORTING
        return =                    " bapiret1 .     Return Parameter
    
    Thanks & Regards
    Srujana
    Add comment
    10|10000 characters needed characters exceeded