on 10-08-2013 5:11 AM
Hi,
Is it possible to have 2 different classes and all of them will use just 1 client proxy (Outbound interface) in ABAP system side? The scenario is that, the sender ABAP system will send 2 different kinds of files but they are based on the same message type. So, instead of creating 2 separate interfaces/proxies, can we just build 1 and multiple classes will use that interface?
Hi Mark,
As previous SCN members said, there isnt any problem. Altough, you should think about to where you send the messages. If the two kinds of messages can be processed easly with PI or the endpoint, in the case that you are sending directly. This concerns the message treatment in the midleware system, can be done in one scenario or it's necessary two?, could the endpoint deals with the two kinds of message with only one interface?, using for example the self XML semantic.
Depending of the answers to my questions and if you are using a middleware like PI, the best option could be to use two proxies or one proxy with two communication ports.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yes you can create a single generic class and use it to achieve your requirement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark
Yes you can call a proxy strcuture from any number of classes.However try to write one generic class for both file structure based on your logic.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.