After you enter a breakdown form (for example, receivables by affiliated companies), the total values entered previously (for example, balance sheet) are not deleted but still exist in the database. As a result, the total value of the FS item is twice as high as intended.
Cause and prerequisitesAn automatic transaction type XXX was entered in Customizing of the total form by mistake. In the database list (RGCLST00) you can recognize this by the value XXX, that is identical for (almost) all lines, in the Transaction type column.
Solution1. Correction of the total form: set automatic transaction type to SPACE
2. Copy program RGCSCD00 into a new program ZGCSCD00
3. Modification of program ZGCSCD00
...
ELSE.
* alles kopieren
MOVE N-LDNR TO I_GLT2-RLDNR.
MOVE N-VERS TO I_GLT2-RVERS.
MOVE N-JAHR TO I_GLT2-RYEAR.
IF I_GLT2-RMVCT = 'XXX'. <--- NEW
I_GLT2-RMVCT = SPACE. <--- NEW
ENDIF. <--- NEW
MODIFY I_GLT2.
ENDIF.
ENDLOOP.
...
4. Create a new version in the version table
5. Copy the entered closing data from the old into the new version using the STANDARD program RGCSCD00
6. Delete the entered closing data in the old version using the STANDARD program RGCSCD00. Check beforehand whether step 5 was successful !
7. Copy the entered closing data from the new into the old version using the MODIFIED program ZGCSCD00
8. Reset the 'Lock superior form' indicator in the Customizing of the breakdown forms
9. When you call up the breakdown forms and then make a save, the total values are deleted in the database; the required breakdown values remain.
10. Cancel the changes made in step 8.
11. Providing the steps 7-9 are successful, delete the data in the new version using the STANDARD program RGCSCD00.
12. Delete the new version in the version table.
No comments:
Post a Comment