Defining a Customer-Specific Additional Check (SD-SLS)Choose and then .
Start report SDCLVOFM.
Enter the class of the check in the report selection screen. The following table shows the assignments for class and archiving object.
Class |
Archiving object |
REAK |
Sales document (SD_VBAK) |
RERK |
Billing document (SD_VBRK) |
REKA |
Sales activities (SD_VBKA) |
To create a customer enhancement for the order, you must enter class REAK. The
Change mode
checkbox must also be selected.
Choose
Execute
.
You reach the maintenance screen. The first line contains the reference routine which you can copy and modify.
Example
FORM routine |
Description |
Active |
1 |
SD_VBAK_SAP_1 |
√ |
Place the cursor in the
formroutine
field, enter a new number, i.e. 999, and press the entry button.
The copied routine appears as follows:
************************************************************
*** Attention: Copied routine ! ***
*** Please note : ***
*** 001 replaced everywhere by 999 ! ***
************************************************************
form sd_vbak_999
using sv_archbar.
endform.
You can enter the customer-specific check in the this routine.
Example
If you do not want the documents created by processor JDOE to be archived, then you need to add the following coding.
if vbak-ernam = 'JDOE'
sv_archbar = no.
Endif.
The whole check appears as follows:
form sd_vbak_999
using sv_archbar.
if vbak-ernam = 'JDOE'
sv_archbar = no.
endif.
endform.
Save the check.
After completing the programming, the check must be activated. Procedure:
To do this, place the cursor on the line containing the name of your check routine.
Choose
The√symbol appears in the
Active
column. You routine has now been activated.
See also:
Define Preconditions for Customer-Specific Additional Checks (SD-SLS)