Symptom
You have created a custom code solution which returns an error when initializing the business object PRC_SALES_PRICE_LIST with group code PLPRICE1.
Environment
SAP Business ByDesign
Reproducing the Issue
- Access the SDK (Software Development Kit).
- Navigate to expected Add-on logic.
- Access the UI (User Interface).
- Navigate to Account Management work center.
- Select the Accounts view.
- Under the General tab, change any value.
The script is triggered in the debugger and the following errors thrown (PRC_SALES_PRICE_LIST, PriceSpecification.ROOT) A technical error (Changing condition maintenance group not possible) occurred: PRC_ESF_CND_MAINT 505. Report an incident.
Cause
When an account data is loading up, by default the business object is being initialized with PLALL3 group code.
Hence, when the script is reinitializing group code in same session, the QueryByGroupCode cannot be called in the same session with different Group Codes.
Resolution
This is the system expected behavior.
Keywords
PRC_ESF_CND_MAINT 505, QueryByGroupCode, Business Object, PLPRICE1, PLALL3, SDK, Error, Changing condition maintenance group not possible, A technical error,Sales Price List Query, Query, Price List , KBA , AP-PMD-SPS , Sales Price Specification. , How To