23.2.11

SAP Note 23243 - SAPF100: Unexplained postings

Symptom:

When valuations are run using the lowest value principle, postings are made which are not documented in the list.
Or, if you are performing a valuation only in a parallel local currency, a posting will also be made in the first local currency if valuation differences in the documents were updated in a previous run. The opposite is true if, for example, valuations are made first in local currency 2, then in local currency 1.

Cause and prerequisites

Program error
If an old valuation difference already exists in the items from a previous run, and the new difference is smaller than the old one, the old difference will be posted.

Solution
Install the following correction in SAPF100: FORM EXTRACT.
...
belege-augdt = bseg-augdt.
belege-bwdiff = belege-bdiff. "<<< INSERT LINE
belege-bwdif2 = belege-bdif2. "<<< INSERT LINE
belege-bwdif3 = belege-bdif3. "<<< INSERT LINE
...
FORM BELEGE1.
...
if fwb_flag = '0'.
belege-delta1 = 0.
belege-bwdiff = 0. "<<< DELETE LINE
belege-bwdiff = belege-bdiff. "<<< INSERT LINE
belege-kursr = 0.
modify belege.
belege-bdiff = 0. "<<< DELETE LINE
...

FORM BELEGE2.
...
IF FWB-FLAG = '0'.
BELEGE-BWDIF2 = 0. "<<< DELETE LINE
BELEGE-BWDIF2 = BELEGE-BDIF2. "<<< INSERT LINE
MODIFY BELEGE.
BELEGE-BDIF2 = 0. "<<< DELETE LINE
BELEGE-KURSR = 0.
ENDIF.

...
FORM BELEGE3.
...
IF FWB-FLAG = '0'.
BELEGE-BWDIF3 = 0. "<<< DELETE LINE
BELEGE-BWDIF3 = BELEGE-BDIF3. "<<< INSERT LINE
MODIFY BELEGE.
BELEGE-BDIF3 = 0. "<<< DELETE LINE
BELEGE-KURSR = 0.
ENDIF.

No comments:

Post a Comment