Você está na página 1de 3

SAP Note Number 339928

Number 339928
Version 0010
Processor -
Processing Status new
Impl. State Cannot be implemented
Language E
Short Text New cancellation procedure cannot be deactivated
Component SD-BIL-GF Basic Functions

Long Text

Symptom
Since Release 4.6, there is a new cancellation procedure for cancelling billing documents in
accounting. When using this procedure, the cancellation does not occur because the system
transfers a "reversed" billing document to accounting. Instead, the cancellation occurs because
the system transfers the reference to the original billing document and, therefore, reverses the
original postings.
This ensures that the system actually cancels what was posted with the original document.
If the system cannot use the new cancellation procedure, it uses the old cancellation procedure.
However, this is not the case if the new cancellation procedure terminates with an error message.
In this case, the system cannot transfer the cancellation document until the error is corrected.
This may lead to the following problems:

1. The new cancellation contains the clearing of the billing document and the cancellation
in financial accounting. If the new cancellation does not occur, the system uses the old
procedure in which the documents are not cleared and are not linked to each other via the
content of the fields BKPF-STBLG and BKPF-STJAH. As a result, a clearing and a
linking of FI documents via the content of the fields BKPF-STBLG and BKPF-STJAH
occurs only in some cases, but SD does not provide any reasons for this.
2. If an error message occurs for the new cancellation, the transfer is not possible if the
original document was partially cleared (for example).

Other Terms
AC_DOCUMENT_REVERSE, VF11, VF 208, F5 802

Reason and Prerequisites


Previously, you did not have the option of influencing the cancellation procedure.

Solution
For an advance correction, proceed as follows:
First, implement the related notes.
Then make the specified program changes.

Explanation:
You can use the new parameter RULE_NEW_CANCEL to control if and when the system
executes the new cancellation.
The parameter RULE_NEW_CANCEL has the following specifications:
- INITIAL (default value):
The system always tries to execute the new cancellation.
If this is not possible, the system uses the old procedure unless the new procedure ended with an
error message or with a termination message.
In the first case, the system writes an error log or issues the error directly (in the dialog).
In the second case, the system terminates processing.

A:
The system always executes the old procedure.

B:
The system tries to use the new procedure. If this fails, the system always executes the old
procedure. (Restriction: If a termination message occurs for the new procedure, the system
always terminates processing.)

Additional information about changing the cancellation procedure:


By default, the system uses the setting INITIAL. If you require a different response, use the
specifications 'A' or 'B' (as described above) for the parameter RULE_NEW_CANCEL in the
include RV60BFZA, routine USEREXIT_FILL_XKOMK1.
For more information about this, you must also refer to Note 381348.
Enhancement: ZENH_VF11_CANCEL_BILLING - HAINAM

Code:

Você também pode gostar