Skip to Content

KNB1-ZTERM update

Hi,

based on customer number and company code, i want to update the KNB1-ZTERM (payment terms). The change log must be updated, so i need a bapi.

Which bapi will do the job ?

gr

Hans

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 08, 2014 at 08:20 AM

    Hi,

    You can use class CMD_EI_API. You can find in SDN how use it and put partameters.

    To change KNB1-ZTERM You should use in method MAINTAIN_BAPI parameters:

    MASTER_DATA->CUSTOMER->COMPANY_DATA->COMPANY (add line in table) and fields:

    TASK = 'U' (Update)

    DATA_KEY-BUKRS = (company code)

    DATA-ZTERM = (payment terms)

    DATAX-ZTERM = 'X'

    Jarek

    Add comment
    10|10000 characters needed characters exceeded