3.2.11

SAP Note 21703 - CONVERT_NO_NUMBER termination when selecting via matchcode

Symptom:

Termination with CONVERT_NO_NUMBER (Program SAPLCJPN) occurs during matchcode selection of WBS element.
Termination point: Function CJPN_PROJEKTNUMMER_UNEDIT (Include LCJPNU02)

Cause and prerequisites

Matchcode problem

Solution

This is described below using matchcode MEKK, matchcode ID P as an example:

Note (release 2.2x):
--------------------

  • You can only make this change when the matchcode object does not have a matchcode ID with activation type P (program-controlled matchcode creation).
  • If program controlled matchcode-IDs already exist in a match code object, then a transparent Matchcode-ID can only be created if no new secondary table must be declared (starting with 3.0x this restriction no longer applies).


1. Maintain the technical settings for table EKKN in the Data Dictionary and activate them.
Then enter the foreign key for PS_PSP_PNR as a semantical foreign
key with degree of dependency OPT and cardinality CN.
2. Activate table EKKN
3. Add table PRPS as a secondary table of matchcode object MEKK.
To do this, place the cursor on table EKKN in matchcode object
maintenance and click on the button for secondary table selection.
4. Add the fields PRPS-PSPNR and PRPS-POSID to MC object MEKK.
5. Activate MC object MEKK.
6. Now maintain MC ID P and change the update type to "I".
7. Add table PRPS as a secondary table here as well. Save your changes.
8. Select the list of fields for MC ID 'P' and insert one line before
field EKKN-PS_PSP_PNR. Enter field POSID there.
In the line of field EKKN-PS_PSP_PNR, activate the flags "Mod"
and "Ns". In the "C1" column, overwrite the value "26" with a "1".
Save your changes and go back to the header data of MC ID "P".
9. Start program SAPMACO with object MEKK, function DEL, and
client "*". Select the ID "P" and run the program. Use a parallel
session to do this.
10. Activate MC ID MEKK-P; ignore the warning messages.
11. Use the menu item Utilities -> Database utility -> View for
generation and generate the view for the MC ID online.
12. Define a database index for field PS_PSP_PNR in table EKKN.
SE11 - EKKN change - Indices - ID '1' Field MANDT Field PS_PSP_PNR Save and activate. Create online via Utilities -> Database utility -> View.
13. Test the changed matchcode.

No comments:

Post a Comment