Skip to Content
0
May 31, 2022 at 11:37 AM

BAPI_ALM_ORDER_MAINTAIN Zfields

416 Views

Dear SCN,

Using BAPI BAPI_ALM_ORDER_MAINTAIN with implementation of IBAPI_ALM_ORD_MODIFY is working so far so good with only 1 Zfiled.

I've followed https://answers.sap.com/questions/9081862/reg-extension-of-bapi-bapialmordermaintain.html

steps, and also https://blogs.sap.com/2012/08/09/extending-bapi-function-module-bapialmordermaintain/.

1 - Add zfields to CI_AUFK

2 - Append zfields to IBAPI_CAUFVD_UPDATE

3 - Include new field in BADI IBAPI_ALM_ORD_MODIFY


**

Scenario: 2 Zfields: ZfieldA and ZfieldB

If I want to update only 1 of the zfields - ZfieldB what shlould be done?

  • Populate ZfieldA and ZfieldB in extension_in before call BAPI_ALM:ORDER_MAINTAIN
  • Use import/export memory parameter with structure IBAPI_CAUFVD_UPDATE, for example, to know which fields, to update
  • Other…

Thanks.

Regards,

Maria João Rocha