Skip to Content
0
Former Member
Dec 30, 2007 at 03:59 PM

transaktion type of operations

42 Views

Hello,

first of all I'm using SAP NetWeaver CE.

My scenario:

I have created a CAF-Project where I import RFC Modules as External Services. Then I created an Application Service (AS_1) in the same CAF-Project where I created Application Service Operations (Implemented not enabled). Then I map the external service operations to application service operations. The external service operations read from and write to the R/3 backend system. I set the Transaction Type of the Application Service Operations to Supports because if I create Automatic Mappings for Application Services as described [here|http://help.sap.com/saphelp_nwce10/helpdata/en/ad/b88de027c34daf96db9ac3d8a92194/frameset.htm] (Creating Automatic Mappings for Application Services) the Transaction Type is automatically set to Supports.

Now my first question: Why do I have to associate operations with transactions? What's the background in conjunction with RFCs?

My second question: If in the middle of the execution of an RFC module is an interruption and not all data, the RFC module have to write, is actually write, is there a rollback on the R/3 backend like described [here|http://java.sun.com/javaee/5/docs/tutorial/backup/doc/Transaction2.html]?

My third question: Can somebody give me a detailed description why I have to set the Transaction Type to Supports in this scenario?

After I do the mapping I created a second Application Service(AS_2). I created operations(Implemented enabled) where I use the operations of the AS_1. There I set the Transaction Type to Required because in the SAP NetWeaver CE Library is an example where one also use operations of an other Application Service and the Transaction Type is also set to Required.

Now my fourth question: Is this the right way to set the Transaction Type of the AS_2 to Required? And Why?

Fifth question: Is it the right way to the setting of the Transaction Type of AS_1 and AS_2? and Why?

Regards,

Armin