cancel
Showing results for 
Search instead for 
Did you mean: 

Set the value in Global Container Like array. ?

Former Member
0 Kudos

How to declare n number of values into global container.

is it possible to store the global container many values?

glCont.setParameter("SALES_ORG_LIST",ret);

glCont.setParameter("SALES_ORG_LIST",ret1);

glCont.setParameter("SALES_ORG_LIST",ret2);

..

..

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

When the setParameter() method is called, what is being put in the global container memory is a instance of the Object class. Since this is the root class you can set any object into the global container.

For instance if you want to store more than one value, you can add all the values to a Vector object and put this object into the container.

When you get this back, you have to type cast it back to a Vector variable to operate on it.

Thanks & Regards,

Renjith

Former Member
0 Kudos

Hi Renjith,

Thanks for your apply.

i think i need to create one vector table which consist all the Exporting parameter variables .After that i have to retrieve back from vector table.

Please confirm.

Thanks,

Suresh

Former Member
0 Kudos

Hi Suresh,

Yes, it would work.

The use of a vector object was just an example that i suggested. If you know the no. of parametrs to be saved, you might as well create a string array(with the required values) and save it to the container.

Thanks & Regards,

Renjith

Former Member
0 Kudos

Thanks Renjith,

it is working.

Cheers,

Suresh

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Suresh,

Check this weblog...

/people/michal.krawczyk2/blog/2005/03/04/globalcontainer--in-graphical-mapping-xi

Regards

Anand