cancel
Showing results for 
Search instead for 
Did you mean: 

how to define a writeable Global variable in transaction?

Former Member
0 Kudos

hi all,

  Now i have a case as that when i get data from a source ,such as PCo/Oracle ,

  i just want it is kept  and i could get it regular intervals when i execute this transaction or another one.

  As the data also should be writeable , so i could not use Global variate.

  is there any solution ?

  and what's the life cycle of transaction, is it died automatic after execute?

  Thank you in advance!

Accepted Solutions (1)

Accepted Solutions (1)

former_member185280
Active Contributor
0 Kudos

Yong,


Depending on your requirement you may be able to use Shared Properties:

Shared Properties - SAP Manufacturing Integration and Intelligence - SAP Library

Regards,
Christian

Answers (1)

Answers (1)

swaroop_anasane
Active Contributor
0 Kudos

Hi Yong,

Transaction variable would reside in the transaction and can be referenced from parent transaction if it's nested.

For your case, you can write value in persistent MDO and utilize the same while executing another trx. This way even the implementation would be simpler.

Thanks,

Swaroop

Former Member
0 Kudos

hi Swaroop,

     thanks for your helpful suggestion.

    

      I read help document but it's not for the detail.  I've attempted to use MDO to Insert and successful.

but I still confused , when I change my project how could I input and use the data which I insert with persistent MDO in current project?

Is that ok to establish communication between MDO and Oracle?   how to config?  

    

Best Regard!!

swaroop_anasane
Active Contributor
0 Kudos

Hi Yong,

What version of MII are you using?

Regards,

Swaroop