Hi,
I am writing a field exit, and I need to import from memory the parameter 'CJCAJONR', but when I do it the value is empty.
The transaction that I am using is FBCJ. What I want to do is to validate the fields 'company code' (TCJ_C_JOURNALS-COMP_CODE) and 'cash journal'(TCJ_C_JOURNALS-CAJO_NUMBER) to match with a Z table when changing cash journal.
I got both parameters KUN (company code) and CJCAJONR (cash journal), with:
DATA: mem_bukrs LIKE tcj_c_journals-comp_code. DATA: mem_caj_no LIKE TCJ_C_JOURNALS-CAJO_NUMBER.
GET PARAMETER ID 'BUK' FIELD mem_bukrs.
GET PARAMETER ID 'CJCAJONR' FIELD mem_caj_no.
But when I check the variable´s values mem_bukrs is full but mem_caj_no is empty.
Any idea where can I get the value for the parameter 'CJCAJONR'?
Also I checked the ABAP memory but could not find it.
Thanks!!