Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

CJ20N - Transaction type

Hi everyone,

I have created few custom fields in CJ20N using SMOD: CNEX0007. My question is how can I find out the transaction type for this transaction - TRTYP = A / V so as to enable or disable the custom fields. I know this should be done in the PBO of screen exit. But, can you help me to identify the transaction type for the same.

Thanks in advance,



Hi - Please follow the steps and check if it helps you.

1. Declare a global variable (V_DISPLAY) in Top include ZXCN1TOP

2. Populate the field (V_DISPLAY) in include ZXCN1U21 (EXIT_SAPLCJWB_004) with the value of  SAP_DISPLAY_ONLY .

  Example :

CLEAR v_display.

   v_display = sap_display_only.

3. In Screen 700, Program SAPLXCN1, in the PBO,


* Here check the value of V_DISPLAY and write your logic based on 'X' or space.

* if X , then its in display mode


Let us know, if it helps.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question