共计 1052 个字符,预计需要花费 3 分钟才能阅读完成。
老本核心更改的时候坑有点大 不停的钻研终于发现了新大陆
Symptom
You want to use BAPI_COSTCENTER_CHANGEMULTIPLE to change “lock indicator” for cost center, you find that the locked indicator cannot be unlocked.
Environment
Financial Accounting (FI)
SAP R/3
SAP R/3 Enterprise 4.7
SAP ERP Central Component
SAP ERP
SAP enhancement package for SAP ERP
SAP enhancement package for SAP ERP, version for SAP HANA
Reproducing the Issue
In SE37 input BAPI BAPI_COSTCENTER_CHANGEMULTIPLE and input “blank” as value for unlock as below:
blank value.JPG
After run BAPI BAPI_COSTCENTER_CHANGEMULTIPLE, you find the lock indicators aren’t changed.
Cause
This is standard behavior. To initiate a field, only a period (“.”) must be transferred to the field interface. The appropriate field checks are performed.
Resolution
In you want to unlocked the lock indicator, please input value “.” instead of blank value, please refer to below screen:
point value.JPG
Keywords
cost center, cost centers, BAPI, BAPI_COSTCENTER_CHANGEMULTIPLE, SE37, KS01, KS02, KS03, control, control tab, lock indicator, actual primary costs, act. secondary costs, actual revenues, plan primary costs, plan secondary costs, plan revenues, commitment update, master data, indicator, indicators.