Skip to Content
0
Former Member
May 15, 2009 at 10:29 AM

GET PARAMETER from FBCJ ...

83 Views

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?

PS.

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