28.11.10

SAP Note 10412 - Syntax error with KSB1, KOB1 (program MK21AA00)

Symptom

Program : SAPMK21A

    1. Syntax error was reported.
    Example: The subroutine XXXX_XXX has already been defined.
    2. The system does not correctly generate display variants for line item reports after client transport.
Cause and prerequisites
    1. Include MK21AA00 has not been generated with the latest version.
    2. Include MK21OA00 has not been generated with the latest version.
    3. Include MK21TA00 has not been generated with the latest version.
Solution

Release 2.2 only: Install the correction according to Note 18165. In the solution section of that note, follow step one only.

Proceed as follows:

    1. Delete the coding of program MK21AA00 completely. Don't delete the program!

If the error ocurrs in program SAPMK210, the source code lines of program MK21OA00 must be deleted.

If the error ocurrs in program SAPMK21T, the source code lines of program MK21TA00 must be deleted.

    2. The source is automatically generated again when the program is next called up.
    Note:
    To be able to delete the source, proceed as follows:
    1. Call up Transaction '/NSE38' in the OK code
    2. Enter MK21AA00 in the program field.
    3. Afterward, use the corresponding function key to get into the editor.
    4. Before you get into the editor, you will be asked in a dialog box whether you would like to repair the program.

Enter that you want to perform a new repair.

    5. You now go into the correction system. Here you can document, among other things, what you do. Save your entries using F11.
    6. Get out of the correction system afterwards with F3.
    7. You now get into the editor.
    8. In the first line you can enter commands in the left margin. Here you enter "DD" and press 'Enter'.
    9. Now go to the last line with F24. Here you also enter "DD" and press 'Enter'.
    10. Afterwards the coding should be deleted. You can save your changes using F11.
    Call up the line item transaction again. If the syntax error has been removed, you now only have to confirm the repair.
    11. Call up Transaction '/NSE01' in the OK code.

Afterwards go into the change mode. The correction number will be defaulted.

    12. On the next screen you can release the repair using the menu option 'Edit->Confirm repair'.

Key word: SAPMK21A or SAPMK210 or SAPMK21T

Additional key words

Generation error
Line item report
Incorrect display variant






No comments:

Post a Comment