Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Parameter not known error in BAdI implementation

Former Member
0 Likes
416

Hi all,

I'm creating a BAdI example.

In interface I determined an attribute:

Attribute = L_CARRID

Level = Instance

Typing = Type

Associated type = SPFLI-CARRID

In the code I have

method ZIF_EX_BADI_SPFLI~MYMETHOD.

data : wa_flights type sflight,

it_flights type table of sflight.

format color col_heading.

write:/ 'Flight info of:', L_CARRID, l_connid.

...

The check gives an error:

The field L_CARRID is unknown.

Why this attribute is not seen in the method?

Thank you in advance.

Eugene

2 REPLIES 2
Read only

Former Member
0 Likes
352

Hi

write: ZIF_EX_BADI_SPFLI~L_CARRID.

Max

Read only

0 Likes
352

Where to write it, in the method header???