4.2.11

SAP Note 21805 - IS-OIL 1.*, 2.0A, 2.0B: derivat. from master data

Symptom:

Key word: Allocation

Description:
If no cost type (Recovery indicator) is stored in the cost element, the derivation of the recovery indicator from the master data does not work correctly. The recovery indicator of the receiver is copied from the master record of the sender, which is a mistake.


Transactions: KSV5, KSU5, KSW5, KSWB, KSUB, KSVB
IS-OIL: 1.*, 2.0A, 2.0B

Cause and prerequisites

Program error

Solution
The error can be eliminated by implementing the following correction:


************************************************************************
* Program: MKGALF40
* FORM Routine: ACCOUNT_ASSIGNMENT
************************************************************************
FORM ACCOUNT_ASSIGNMENT
*--------------------------------------------
CHANGING VALID.
*--------------------------------------------
* Single Account Assignment for Receivers
*--------------------------------------------
VALID = TRUE.
*.only if RECID from master data or ALWAYS ??
IF SEQS-RRULE = FROMDATABASE AND
( SEQS-RREPL-CHAIN <> NIL OR RREPL_ACTIVE = TRUE ).

*...JV-Spezial <<<< PERFORM ASSIGN_FIELD_ALLFC USING 'RECID'. <<<< CLEAR . <<<<*...JV-Spezial <<<<
PERFORM PROBE_RECORD USING ' ' ' ' RSET ' ' TRUE
CHANGING VALID.
CHECK VALID = TRUE.
ENDIF.
:
:
:






No comments:

Post a Comment