on 2023 Mar 30 1:34 PM
Hello Experts,
We are using standard transaction /SCWM/PACKSPEC to activate, however the activation process is very very slow when we try to activate a bunch of them (we have over 70k packspecs)
Is there a faster, background process to mass activate the Packaging specs ?
We are in SCM 9.5
Many thanks in advance.
- Anuj
Request clarification before answering.
Go to transaction SE38 and create a new ABAP report.
Enter a name and description for the report and click on the "Create" button.
In the ABAP editor, enter the following code:
REPORT <report_name>. TABLES: /SCWM/PSPEC.
PARAMETERS: p_activate TYPE c AS CHECKBOX DEFAULT 'X'.
DATA: lt_pspec TYPE STANDARD TABLE OF /SCWM/PSPEC, ls_pspec TYPE /SCWM/PSPEC.
SELECT * FROM /SCWM/PSPEC INTO TABLE lt_pspec.
LOOP AT lt_pspec INTO ls_pspec. IF p_activate = 'X'. ls_pspec-active = 'X'. ELSE. ls_pspec-active = ' '. ENDIF. MODIFY /SCWM/PSPEC FROM ls_pspec. ENDLOOP.
Replace <report_name> with a name for your report and save the code.
Execute the report by clicking on the "Execute" button.
In the "Parameter Entry" screen, select the "Activate Packaging Specs" checkbox and click on the "Execute" button.
The system will now activate all the packaging specifications in the background, and you can monitor the progress in the job log.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Anuj,
please kindly refer to SAP 2979103.
Unfortunately this note is only available for Versions >1809.
BR,
Fabian
---
All the above is no official SAP statement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
4 | |
4 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.