Skip to Content
0
Former Member
Jun 02, 2008 at 09:22 AM

the obligatory parameter had no value assigned to it

4033 Views

Hi,

Abap OO question:

method is defined in the protected section, like this:

METHODS: path_build IMPORTING value(i_bukrs) TYPE bkpf-bukrs

value(i_datatype) type char25

value(i_dirtype) type char25

returning value(r_pathfile) type ZPATHFILE.

...

I get syntax error

"the obligatory parameter i_bukrs had no value assigned to it"

when I try to call the method inside of a public method, like this:

tp_pathfile = me->path_build( ) exporting i_bukrs = '4010'

i_datatype = 'I205A'

i_dirtype = 'OUT'.

Any hints how to resolve syntax error are welcome.

thank you,

Rolf