cancel
Showing results for 
Search instead for 
Did you mean: 

Passing model instance between DC's

Former Member
0 Kudos

Hi everybody,

does anybody know how to use the same SAP R3 user rollarea for different models in different DCs?

I have a multitude of models callinc FMs in sap but i loose the roll area.

Help please

tom

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I solved the problem.

thanxs anyway to everybody

Former Member
0 Kudos

hi Thomas,

For passing any information from one DC to another,you have to expose

it as a public part and add the same as a used DC in another one.

Provide some more details regarding the user Roll Area ?So that the problem could be disscussed more specifically.

Regards

Amit

Former Member
0 Kudos

hi amit,

my problem is not the simple passing of context within the public part. problem is that if i use a model within my dc that calls a fm in sap my roll area is initialized. that way a singleton class within the function group is cleared. i need teh data - otherwise i would have to pass everything through the frontend. and that would be a performance knightmare.

useing the same model instance would - as far as i know - enable me to use only one connection to the background (by setConnectionProvider) and that way the rollarea in R3 woul by intact.

any suggestion is appreciated

Tom

Former Member
0 Kudos

hi Thomas,

I got your point.You need to share the model refrence in this case.

I dont know exactly how to share the same instance.But i think JNDI should help in this.I'll try to figure out.

Regards

Amit