Solution : https://service.sap.com/sap/support/notes/973936 (SAP Service marketplace login required)
Summary :
When using BAPI_NETWORK_COMP_ADD or BAPI_NETWORK_COMP_CHANGE in SAP to create or modify a component, an error message coded 00 058 might occur, indicating non-existence of the entry in the required context. This arises due to a programmatic oversight where the entered valuation type isn't found in table MCHA, which manages batch records. Resolution involves applying specific source code adjustments to ensure proper validation and handling of valuation types in relation to batch information. Keywords include BAPI functions, RESBD-CHARG, CHARG, and split valuation management.
Key words :
system returns error message 00 058, prerequisites program error, source code corrections, bapis -> bapi_network_comp_add / bapi_network_comp_change, create / change, resbd-charg, valuation type, split valuation, table mcha, solution implement
Related Notes :
979942 | BAPI_NETWORK_COMP_ADD -> Batch field not populated |
708266 | BAPI_ALM_ORDER_MAINTAIN: Error message 00 058 |