Skip to Content
0
Jul 19, 2016 at 06:41 AM

Update PRPS custom fields via CJ20N

1534 Views

Hi all,

I need to update custom fields to PRPS table via CJ20N. I've searched through this forum but unable to find a solution.

I have:

1) Extended CI_PRPS with custom fields

2) Created a screen 0700 in SAPLXCN1

3) A new tab with my custom screen is displayed at CJ20N

Implemented:

EXIT_SAPLCJWB_004 (to retrieve values from database)

EXIT_SAPLCJWB_005 (to save values into database)

Now the final step is just to populate the value from my screen to structure CNCI_PRPS_EXP, then those values will be saved into PRPS table. However, the issue is I'm unable to get the values from my screen. In debugging mode, I can see the values when I type in the structure CI_PRPS.

I've tried to code and compile in EXIT_SAPLCJWB_005/ZXCN1U22:

CNCI_PRPS_EXP-FIELDA = CI_PRPS-FIELDA.


But system throws an error saying CI_PRPS is unknown. CI_PRPS looks like a global structure, but not accessible within the user exit. Any other way to retrieve the screen values inside EXIT_SAPLCJWB_005/ZXCN1U22?


Regards,

Liang