Quantcast
Channel: SCN: Message List - SAP Manufacturing Integration and Intelligence (SAP MII)
Viewing all articles
Browse latest Browse all 4841

Re: Designing a generic transaction for different set of master data values

$
0
0

Hi Praveen,

As per my understanding from your question, I am giving you an idea hopefully it will help you.

 

1) for the "Dynamic XPATH", few conditions are there,

  • XML structure for each interface should be constant, then only you can use some fixed xpath for each interface.

So if I consider the above condition is satisfied for you then, you can keep all the xpath in shared memory as a map variable where you can use the interface identifier (considering that you should have some indicator to identify the interface) as a key and xpath as a value.

So when ever you are calling the xpath in the repeater then you have to use this,

Persistent.XPath{#Transaction.Identifier#}

So it will return the XPath and will repeat on it.

 

2) for generic solution while fetching the data from SCADA, few condition are there,

If the SCADA destination is same for all the interfaces then you have to set one destination only, but if there have separate SCADA destination then you have to maintain a map variable also for that in the shared memory (like above)

 

As per my understanding, creation of generic transaction is possible.

 

Regards,

Suman


Viewing all articles
Browse latest Browse all 4841

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>