What is an Abstract in message interface ?
hai pals,
can anybody clarify ,what is an Abtract in message interface of integration builder of xi.
Is this,neccessary to specify and create the interface with type abstract.
if yes , can u pls tell me why?
right answers will be appricited
have a nice day.
raj
you can also take a look at this definition:
"Interface for which no direction is defined initially.
An abstract message interface has no implementation in an
application system. You <b>cannot generate a proxy</b> for this
interface type. You use abstract interfaces in business
processes, for example, to receive or send messages from
application systems. You can use the same abstract
interface to receive or to send."
from:
http://help.sap.com/saphelp_nw04/helpdata/en/e3/3355d5617d0a4cb0fe8e042c752caa/content.htm
Regards,
michal
Similar Messages
-
Outbound and Abstract Sync message Interface difference
Hi Experts,
Is there any difference between the input and output messagetype for Outbound/Inbound Synch Message Interface and Abstract Sync Message Interface.
Do we need to mention the same input and output messagetype for both outbound and Abstract or it should be otherway around?
Regards
Sara---Is there any difference between the input and output messagetype for Outbound/Inbound Synch Message Interface and Abstract Sync Message Interface.
No there is not. U can select any message type irrespective of the type of message interface.
---Do we need to mention the same input and output messagetype for both outbound and Abstract or it should be otherway around?
Yes. As per ur requirement u can specify the same.
Regards,
Prateek -
Abstract asynchronous message interface for fault (exception) messages
Hi,
Has anyone yet discovered how to create an abstract asynchronous message interface for a fault message so that said message can be referenced in an Integration Process? I am currently at a loss as to how to reference the exception message returned by a synchronous RFC call, and how to return the fault message of a synchronous MI from a BPM.
Thanks for any help you can provide on this issue - please do not refer me to existing blogs or forum messages if they do not specifically answer this question in a positive manner. I have just been through the SAP Notes and the SDN forum and Google and while I have seen many questions about this topic I have not seen any answers.
Stephenhi stephen,
never worked on this but out ofcuriosity after seeing ur question i tried to create one:
but i found these:
fault message types will only be used in case of synchronous messages.....if it is asynchronous the fault message type radio button it self will not seen while creating message interface..just check.
you need to create a Fault message type to use it in an interface...u can add your own fields also if u want.
in your present case you mentioned you are using synchronous RFC...try creating a synchronous abstract interface there you can give fault message type also...just check by creating one...
correct me if i am wrong...
regards. -
Unable to view Abstract Message Interface(Sync) in Container Step of BPM
Dear Friends,
This is IDOC---SOAP Sync Communication Interface
I have created the External Def by exporting & importing the Standard Idoc
and Imported the WSDL File which has the Request & response Structure
I have created the Outbound Sync message Interface for Idoc side
and Abstract Sync message Interface for the same to use in BPM
and also created Inbound Sync Message Interface for Webservice side
and Abstract Sync Message Interface for the same to use in BPM
Problem is::::
While creating the Container varible inside the Integration Process, i have to select the Abstract Message Interface which i created for Idoc.
But it is not at all visible in the list.
What might be the problem
REgards
SeshagiriHi,
I have created
For Idoc side
1) Create O/b Sync by having request of Idoc and response structure of Idoc
2) Create ABS Sync by having the request of Idoc and response structure of Idoc
3) Create ABS Async by having the Request of Idoc Only
For Webservice side
1) Create I/b Sync by having the request of webservice and response of that
2) Create ABS Sync by having the request of webservice and response of that
3) Create ABS Async by having the Response of Webservice only
I created the Steps inside the Integration Process as showed in the screens.
1)Integration Process graph
http://img145.imageshack.us/img145/4848/ipviewwv1.jpg
2)Receive Step
http://img293.imageshack.us/img293/1756/receivepropng8.jpg
3)Send step1
http://img179.imageshack.us/img179/2200/send1bd0.jpg
4)Send Step2
http://img182.imageshack.us/img182/8468/send2wl1.jpg
When i check the F7, it is throwing the error like
http://img247.imageshack.us/img247/4356/errortx3.jpg
Regards
Seshagiri -
Usage of Abstract Message Interface for non-BPM
Hi,
I have a message that I am using as both as an inbound and an outbound for 2 different mapping. I am not using BPM. Is it better to create 2 message interfacesone for outbound and one for inboundor should I just create 1 abstract message interface that can be used in both mappings? What are the advantages and disadvantages of using 2 message interfaces (1 inbound and 1 outbound) against 1 abstract message interface? Would using abstract cause a lot of problems or performance problems in the future?
Thanks in advance.
Regards,
Elberthi,
abstract messages are only used for BPMs
so I suggest creating 2 instead if you don's use a BPM
http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/3355d5617d0a4cb0fe8e042c752caa/content.htm
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
Requirement of a abstract message interface
Hello,
I wonder when to use abstract message interfaces?
The documentations says:
An abstract message interface has no implementation in an application system. You cannot generate a proxy for this interface type. You use abstract interfaces in business processes, for example, to receive or send messages from application systems. You can use the same abstract interface to receive or to send.
What does IMPLEMENTATION mean in this context? Can anybody discribe a concrete need for abstract message interfaces?
Thank YouHi Mario,
you only use those interfaces inside a BPM:
send step, receive step, transformations etc
(no other use)
- you cannot create proxies from it
- you must have an normal (not abstract) interface
to send data to XI or to receive data
(so once you create everything inside your integration process - with the use of abstract interfaces)
inside ID you still have to use standard interfaces
(outbound or inbound)
Regards,
michal
Message was edited by: Michal Krawczyk -
Message Interface : Outbound, Inbound, Abstract ?
Hi all,
does anyone have tips to use an Outbound, an Inbound or an Abstract Message Interface ? When data is sent from XI, should we use an outbound one ?
Thx to all.Hi Elliot,
Always think in perspective of the sender and receiver systems.
For sender system, it is output to sender so, Outbound
For receiver system, it is input to receiver so, Inbound
Abstract is used for BPM it can act as both inbound and outbound.
Regards,
Sreenivas
Message was edited by:
Sreenivas Nettem -
SOAP XI scenario, ambiguity in Abstract Message Interface
Hi Forum,
I have a SOAP client(synchronous)--->XI scenario,
let me describe the scenario,
Step1. SOAP client sends a SOAP request to the BPM in XI, using a synchronous receive step (Abstract synchronous MI),
Step 2. in BPM, it does some transformation
Step 3. the response of the step 2, is then sent as the response for the SOAP client request, using a Synchronous send (sync async bridge maintained),
Step 4. i use the abstract Synchronous MI (for the SOAP client to send request), to create a WSDL, and use it in ALTOVA to create SOAP request automatically,
now the problem is, In integration builder, Design,.........
when i make the abstract Synchronous MI (for the SOAP client to send request), i use 2 message types RequestMessage (output message) and ResponseMessage (input message), ******sounds bit oppsosite ..but it is like that only......but the source of ambiguity
but when i create the WSDL using the web service creation tool, in integration builder, Configuration, ....... the WSDL is bit unexpected, it shows input as ResponeMessage and output as RequestMessage....hmm.....as such i cant use that WSDL in any tool like altova to create the SOAP request automatically....
****the source of all ambiguity is....in the screen for creating the Message interface (as Synchronous abstract/outboud), we give OUTPUT MESSAGE as the input message type and vice versa...
do u agree.......
am i wrong?
in that case how can i make a correct WSDLLet us discuss point by point.
You are doing a scenario SOAP to XI with no end point on the other side. Means you are using XI as the end point for simulating. This is my assumption.
Step1. SOAP client sends a SOAP request to the BPM in XI, using a synchronous receive step (Abstract synchronous MI),
Ok.
Step 2. in BPM, it does some transformation
Ok
Step 3. the response of the step 2, is then sent as the response for the SOAP client request, using a Synchronous send (sync async bridge maintained),
You should not use a synchronous send step here. You should be using an Async send here. The sync asyn bridge must start in the first receive step and end here.
Step 4. i use the abstract Synchronous MI (for the SOAP client to send request), to create a WSDL, and use it in ALTOVA to create SOAP request automatically,
You shuld create the WSDL for the Outbound Synchronous message interface which should have been created to supply the message to Abstract Synchronous interface. Then only you will be able to test the message.
So.. you need totally
1. OB Syn MI
2. Abstrac Syn MI (Receive in BPM)
3. Abstract Async MI (to send response to SOAP caller)
VJ -
What is a "Abstract Interface" ?
According to JavaDoc, <code>HttpSession</code> is described as
public abstract interface HttpSession.
What is an "abstract interface" ?All interface's are implicitly abstract so declaring an interface abstract is a bit pointless.
-
What is the difference between Abstract class and Interface ?
Hi,
Could u plz tell me the difference between Abstract class and Interface?
Thanks in advance.
GopiLots.
An abstract class can contain some method implementations, or indeed all the method implementations. It may contain methods with all the various access modifiers. It cannot be instantiated. A class may inherit from only a single abstract class.
An interface contains only public method stubs and constants. A class may implement multiple interfaces. An interface cannot (obviously) be instantiated.
Abstract classes are particularly useful when you need to provide a semi-complete implementation for reuse. Interfaces are used more like types.
Look at java.util.* for some good examples of the use of both. -
BPM : Message interface is not used by this process
Hi,
In BPM : to pass the message facing error as below.
Messages not reflecting in BPM monitor.
I have configured Recveiver - transformation - sender in BPM.
In recvier in BPM is configured with Abstract Type as same in the message mapping.
Is there any thing i am missing?
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="BPE_ADAPTER">MESSAGE_NOT_USED</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Message interface is not used by this process</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
I have refered links but not able to get the clue for this error as its from the Call adapter.
error: Message interface is not used by this process Netweaver PI 7.0
BPE_ADAPTER: MESSAGE_NOT_USED
Regards,Hi,
I just saw your IP design and from this I can see that you have message mapping between Sender(as in Outbound interface MIOASY) and abstract interface (as in MIAASY) and then in that you have used transformation step to utilise Interface mapping which is between same abstract interface which is not required at all as message type for both the interfaces is same. For me, what your configuration would be is
1. Sender agreement to fetch the message from outbound interface(MIOASY) utilising communication channel with whatever adapter you have used
2. Receiver Determination with Sender and sender interface as MIOASY while receiver as IP(Integration process)
3. Interface determination between
a. Sender and Outbound interface and Abstract interface with interface mapping IM_Sender
b. IP as sender with abstract interface MIAASY and receiver interface MIIASY with no interface mapping being used as it must be of same type as receiver interface is
4. Receiver agreement with MIIASY being used as receiver interface and communication channel utlililsed to convert it into receiver format.
If I am assuming it correct then if you see then inside BPM we are not using receiver interface MIIASY which is why I feel this error is coming.
However, if you design it something like this then I feel the error would get resolved
Design
1. Make one abstract interface (MIAASY_Sen) of same type as sender, and create another abstract interface (MIAASY_Rec) of same type as your receiver message type
2. Create message mapping between sender message type and receiver message type, Interface mapping IM_ABS - (MM_ABS_ABS) between sender abstract interface (MIAASY_Sen) and receiver abstract interface (MIAASY_Rec)
3. BPM should be something like this
Container:*
rec Abstract Interface MIAASY_Sen
send Abstract Interface MIAASY_Rec
Receiver (rec) - Transformation (IM_ABS) - sender (send)
Configuration
1. Sender agreement to fetch the message from outbound interface(MIOASY) utilising communication channel with whatever adapter you have used
2. Receiver Determination with Sender and sender interface as MIOASY while receiver as IP(Integration process)
3. Interface determination between
a. Sender,Outbound interface MIOASY and Abstract interface MIAASY_Sen with no interface mapping
b. IP as sender with abstract interface MIAASY_Rec and receiver interface MIIASY with no interface mapping being used as it is of same type as receiver interface is
4. Receiver agreement with MIIASY being used as receiver interface and communication channel utlililsed to convert it into receiver format.
Let me know if it works.
Regards,
Amit -
Integration Process Referencing Message Interfaces In A Different SWCV
Hello Experts!
I am creating an Integration Process IP within SWCV A, using an Interface Mapping Object within SWCV A, Abstract Message Interface MI_A1 from SWCV B and Abstract Message Interface MI_A2 from SWCV B.
Because we have the dependencies set up in the SLD wherein SWCV A is a dependent SWCV of SWCV B, these basis objects can be referenced by the IP during the create process.
However, when I try to execute a "check" or activate the IP, I get the following error:
Expression must return the interface type MI_A1
Expression must return the interface type MI_A2
If I copy the MI objects into SWCV A, the IP is activated successfully.
The question is:
Why is it that while I'm creating the IP I am able to reference these basis objects, but the "check" or "activate" does not allow it? What is this error telling me?
Want more points? Appreciate any insight.Thanks for pointing me to the right direction, Aamir.
It turned out that the problem was caused by one of the Message Interfaces used by the Interface Mapping. It had errors to where it was pointing to an inactive IDoc object. The bad MI caused the IM to be bad, that eventually caused the problem while creating the Integration Process.
Thanks again!
H. -
** Unable to see message interfaces in ID under Business Systems
Hi Friends,
When I create sender / receiver agreement in ID by choosing the respective Business Systems I am not able to see my message interfaces. Then, I checked the SLD, our SWCV under Products are not assigned in the Business Systems.
Then, I have assigned our SWCV (by selecting the product, be selecting the SWCV) in tehcnical system and business systems, saved and log off from SLD.
But, still those message interfaces are not appeared while select the Business systems. Those interfaces are abstract interfaces. I tried to close the IR and ID, open it again, still the same problem.
What could be the reason ? Reply friends,
Thanking you
Jegathees P.Hi,
a new import of the Business System is not necessary.
1) Important is to activate the interface in the Integration Repository.
2) Checking in SLD that all installed check boxes are selected. In the Business System -> Installed Software -> select the Product and check that the SC is selected.
In IR it's enough to close the Business System and reopen it to see the new interfaces.
Regards
Patrick -
What is the need of Message Type
Hello every one,
I am new to XI but i have involved in XI project. I am having a question like we need DATA TYPE as it contain the whole structure we need MESSAGE INTERFACE as it will say whether the communication is SYN ,ASYN , INBOUND , OUTBOUND or ABSTRACT. But Why we need this MESSAGE TYPE, what is the use of this.Please don't show me the links. I hope there is a specific purpose for MESSAGE TYPE. Help me out to figure out that purpose
THANKS IN ADVANCE
Sreenivasa Lakshminarayana
Edited by: Sreenivasa L on Sep 9, 2008 11:15 AMhi,
Interface editor: The Interface editor provides us to create
Data types
Message types
Message Interfaces
Data type: To define the structure or schema as how many fields and what fields are required by the application system. Basically a .XSD file can also be imported in Integration Repository using External Definitions available in Integration Repository. Data types are the abstract in nature that are not fixed to an element.
Message types: A message type is an envelope which encapsulates data type. Message type corresponds to the root of the XML message.
Message interfaces: The basic purpose of message interface is used to define the direction of data flow i.e. whether inbound or outbound.
It also defines the mode of transport whether Synchronous or Asynchronous mode. -
Abstract class Vs Interface and importance of using
Hi All,
I want to know what is the difference between Abstract class and Interface.
and what is the importance of using them.
Moderator message: please search for available information/documentation.
Edited by: Thomas Zloch on Sep 27, 2011 1:55 PMPlease refer to this thread, already this is discussed in forums
[ABAP Objects.. Abastract & Interface Class;
Thanks
Pavan
Maybe you are looking for
-
Manual Process VS System Process or Interaction
Hi everyone, I'm a business consultant and I'm still on my first steps in Oracel BPA. My question is about the representation of the activities in a Business Process...In Visio you can have different symbols to represent Manual Processes and Processe
-
I have been trying to sync my iphone to my computer but it shows up as a camera. I have tried to reinstall itunes, rebooted everything and checked on a different computer. Same issue. itunes does not see the device. Any suggestions?
-
Hey! Could anyone help med with this prob: I' m trying to create a linked list. Say I have a list of 5 elements in my linked list, and now I want to add another element in position nr 3 and move the following elements. How do I do? I tried in this wa
-
Auto batch determination problem
Sir i had customized tcode MIGO such that it is taking batch no. automatically, but in tcode SNUM i have default no. range as 0000000001 to 999999999 and i want it in format SR-I-0001 for raw material and SP-I-0001 for packing material .So how to set
-
Charged despite problem not resolved!
i really dont know where to start.... a few months back, our phone line died...no dial tone..silence. the kids had dropped our phone a few times over the few years we'd had it so we bought a new phone...same problem. broadband connection was still fi