Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Question from samnovice on Oct 12 at 3:08 AM Hi experts, In ABAP code of my ZReport (cash receipt of FBCJ transaction), I have simple ABAP code looking like this SELECT SINGLE PERSON1 FROM TCJ_C_JOURNALS INTO usrname but problem with this code is that it is missing WHERE part, which should look like this SELECT SINGLE PERSON1 FROM TCJ_C_JOURNALS INTO usrname WHERE CAJO_NUMBER = *currently selected cash journal on FBCJ Tcode* (item no. 1 on screenshot) Please see screenshot below. https://s16.postimg.org/zark5oao5/2016_10_12_8_55_ 38.jpg If I would need for example in WHERE clausule SAP username, I would easily use SY-UNAME which would read currently login username, BUT how about currently selected cash journal in FBCJ Tcode, is it possible to find such value so I could use it for my ABAP query? Thank you. Sam | Reply to this email to post your response. __.____._ | _.____.__ |