SET/GET parameters (user parameters) that you can maintain in transaction SU3 are available for both methods. You can use these parameters to prepopulate input values in the dialog boxes of the monitor methods. The respective dialog boxes then no longer appear.
There are the following SET/GET parameters:
/SCWM/MON_AQ_ACT - For the method "Quantity Adjustment"
/SCWM/MON_AQOD_ACT - For the method "Create Quantity Adjustment and Outbound Delivery"
Both parameters can be filled according to the following logic. The parameter is set up as follows:
<first parameter part><second parameter part>
First parameter part (one-digit):
This specifies the selection in the first dialog box. The first dialog box provides the following three different options. The first character in the parameter specifies which selection is made. The dialog box then no longer appears. It can contain values from 1 to 3. This means the following:
"1": Adjust Quantity
"2" Adjust Quantity (create new delivery in EWM for difference)
"3" Adjust Quantity (use default process code from profile)
Second parameter part (four-digit):
This specifies the process code that you want to choose. The system usually displays a second dialog box after the first dialog box. Here you can choose between different valid process codes. If you want to select a specific process code here, this can be done using the second parameter part. Note that you can enter the second parameter part in the parameter only if the first parameter part has also been entered. The entered process code must match the first parameter part. Otherwise, the system displays an error message and the dialog box appears on the user interface (UI).
The second parameter part is optional.
Example 1:
You want to automate the monitor method "Quantity Adjustment" in such a way that the option "Adjust Quantity" is automatically chosen in the first dialog box and the process code "O001" is then chosen in the second dialog box.
For this, call transaction SU3, go to the "Parameters" tab page, enter the parameter ID "/SCWM/MON_AQ_ACT", and enter the parameter value "1O001".
If you now call the monitor method "Quantity Adjustment", the last confirmation prompt automatically appears and you no longer have to enter values.
Note that the system issues an error message if the chosen delivery items in your process profile do not have O001.
Example 2:
You want to automate the monitor method "Create Quantity Adjustment and Outbound Delivery" in such a way that the option "Adjust Quantity" is automatically chosen in the first dialog box. However, the process code selection should be made manually as before.
For this, call transaction SU3, go to the "Parameters" tab page, enter the parameter ID "/SCWM/MON_AQOD_ACT", and enter the parameter value "1".
If you now call the monitor method "Create Quantity Adjustment and Outbound Delivery", the dialog box automatically appears in which you can select the available process codes.
Comments
Post a Comment