Hi there. I've got such a strange problem ...
I've got a Z-program from which I have to CALL 'FBCJ' transaction and then pull out parameters from FBCJ into my z-program ...
DATA: _CJCAJONR TYPE cjnr . DATA: _BUKRS TYPE bukrs . CALL TRANSACTION 'FBCJ' . GET PARAMETER ID 'BUK' FIELD _BUKRS . " ok (sy-subrc = 0) GET PARAMETER ID 'CJCAJONR' FIELD _CJCAJONR . " sy-surbrc = 4
The problem is that _BUKRS is taken correctly, ... but CJCAJONR not 😔
What could be the reason?
Both parameters are taken from the same FBCJ screen (Screen: 0050 Cash Journal Entry Screen for New Users), in technical information there is:
-> parameter: BUK, datatype: BUKRS
-> parameter: CJCAJONR, datatype: CJNR