Skip to Content

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

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

Tags:
replied

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

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