Wednesday
Dear Team,
We are validating BOM components using user exit PCSD0005.
In CS02, when we add a new component in Alternative BOM 1, the system throws an error Duplicate component not allowed.
However, Alternative BOM 1 does NOT have this component.
The duplicate component exists only in Alternative BOM 2.
We need to validate the component based on the correct Alternative BOM (STLAL) only.
I_RC29P contains the field STLAL, but it is always initial (empty) inside the user exit.
How can we correctly get the STLAL value in PCSD0005 for proper validation?
Request clarification before answering.
I_RC29P-STLAL is always initial in PCSD0005 because SAP doesn’t fill it at that stage. Use RC29K-STLAL (global BOM header structure) or read from MAST/STKO to get the correct alternative BOM. This way, your validation will only compare components within the same alternative BOM, avoiding false duplicate errors across different alternatives.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 22 | |
| 15 | |
| 14 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.