Application Development 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: 

Is it possible to use Global class variable in a BAdi

Former Member
0 Kudos

Hello Experts,

I have a requirement wherein ,

I need the Reference of the Class Object to be used in a BAdi. The class object is defined as a global variable.

By any means can I use the reference variable inside the BAdi.

thanks

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Hari,

U can access any objects or variables in BADI only if they are used as parameters in it.

So please check whether that global object is declared as parameters in the corresponding BADI.

If so, you can surely use it.

Reward points if this is useful.

Regards,

kamalapriya

1 REPLY 1

Former Member
0 Kudos

Hi Hari,

U can access any objects or variables in BADI only if they are used as parameters in it.

So please check whether that global object is declared as parameters in the corresponding BADI.

If so, you can surely use it.

Reward points if this is useful.

Regards,

kamalapriya