I added two Custom fields to the COR1,2,3 screen, but I can not save them to the table.
Here's what I did:
1. Add two Z fields to CAUFVD and AUFK as Append structure
2. Create a new project in CMOD
3. Add Enhancement PPCO0001 and PPCO0020
4. Double-click SAPLCOKO and add Z field in screen painter
5. Double-click EXIT_SAPLCOKO_005 to add ZXCO1U21 coding
MOVE-CORRESPONDING I_CAUFVD TO CAUFVD.
6. Double-click EXIT_SAPLCOKO_006 to add ZXCO1U17 coding
TABLES: CAUFVD.
MOVE-CORRESPONDING CAUFVD TO E_COCI_AUFK.
7. After saving, activate it
I can see added fields in the screen COR2 but doesn't save data without error message
Checked table but no data.
Debugging confirms that the data is well beyond the parameter E_COCI_AUFK. But I can not save it.
If you know where the problem is, please answer it. Thank you.