cancel
Showing results for 
Search instead for 
Did you mean: 

Mass activation of EWM packaging specifications

anuj_bhagawati
Participant
0 Kudos
1,221

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Raje1
Active Participant
0 Kudos
  1. Go to transaction SE38 and create a new ABAP report.

  2. Enter a name and description for the report and click on the "Create" button.

  3. 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.

  4. Replace <report_name> with a name for your report and save the code.

  5. Execute the report by clicking on the "Execute" button.

  6. In the "Parameter Entry" screen, select the "Activate Packaging Specs" checkbox and click on the "Execute" button.

  7. The system will now activate all the packaging specifications in the background, and you can monitor the progress in the job log.

anuj_bhagawati
Participant
0 Kudos

Thanks Rajesh.

f_stein
Advisor
Advisor
0 Kudos

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.

anuj_bhagawati
Participant
0 Kudos

Yes Fabian, I've already checked this now.