Skip to Content
author's profile photo Former Member
Former Member

Field Exit CJCAJONR help!!


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.



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.


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 07, 2005 at 07:12 PM

    It may be empty as it might not be set by the program.

    You should mention the tcode etc.

    If in the field exit you are trying to get the values from screen then use function DYNP_VALUES_READ instaed of SAP memory . SAP memory is cross transaction and may not be robust .


    ( Dont forget to reward if answers were helpful )

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.