Symptom
Changing the production version via BO ID: I_PRODUCTIONORDERTP prompts message The field "PRODUCTIONVERSION" of entity "I_PRODUCTIONORDERTP" cannot be modified.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Attempt to change the production version via BO ID: I_PRODUCTIONORDERTP.
- Observe the system prompt indicating that the production version cannot be changed.
Cause
Incorrect function has been used which is restricting from changing the production version.
Resolution
Access the ReexplodeMasterData function via the following API interface : I_PRODUCTIONORDERTP and reread the master data with the new production version using the ReexplodeMasterData function.
Sample request:
MODIFY ENTITY i_productionordertp
EXECUTE reexplodemasterdata
FROM VALUE #(
(
%key-productionorder = '000001123387'
%param-productionversion = '0005'
)
)
REQUEST VALUE #( )
RESULT DATA(result)
FAILED DATA(failed)
REPORTED DATA(reported).
IF failed IS INITIAL.
COMMIT ENTITIES
RESPONSES
FAILED DATA(failed_c)
REPORTED DATA(reported_c).
ELSE.
ROLLBACK ENTITIES.
ENDIF.
See Also
- Refer to: ReexplodeMasterData API Documentation
Keywords
BO ID, I_PRODUCTIONORDERTP, production version, SAP S/4HANA Cloud Public Edition, ReexplodeMasterData, master data, production orders, external API, change restriction, SAP API. , KBA , PP-SFC-2CL , Production Orders (Public Cloud) , PP-SFC , Production Orders , Problem