cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Server Proxy????????

Former Member
0 Kudos

Hi Experts,

i've gone thru the ABAP Server Proxy scenario which is mention below.

/people/siva.maranani/blog/2005/04/03/abap-server-proxies

i've certain doubts and need some help.

1. The author is calling a function module "ZEMPMASTER" in the method "ZII_EMPDETAILS_IN_MI~EXECUTE_ASYNCHRONOUS". The function module shld b created in XI or in R/3 and if we are creating the Function Module in R/3 then we shld make it as RFC-enabled coz we are calling it in XI and wht is the procedure to call a RFC-enabled FM? Do we need to create any DB table in R/3 to insert in the values.

2. wht is the main purpose of EXECUTE_ASYNCHRONOUS method?

3. When XI communicates with R/3 it is necessary to create a communication channel?

4. While creating the communication channel in the scenario the author doesn't specify the value for Address type field which is a mandatory field. wht is the actual value is required in tht field.....and wht is the main purpose of tht field........

Thanks in Advance

Cheers

Faisal

points will b to given to the appropraite answers

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Abdul Faisal

The Function module need to be created in R/3. In XI you only need to design the structure on which basis the proxy will be generated in SPORXY in R/3

Answer 1

Here you no need to enable the Function module as RFC enabled as this is not RFC call.

Th method EXECUTE_ASYNCHRONOUS will call the ABAP proxy and will internally call to XI through XI adapter used in XI.

No when you will be generating and activating proxy at SPROXY the necessary class, methods and data types/structures will be created internally. you need to refer those structures ie.e import export parameters of methods (can see in SPROY also) and pass data in it.

The below linke will help you do the all required developments on R/3 end for using this method in FM

http://help.sap.com/saphelp_nw04/helpdata/en/3e/a35c3cff8ca92be10000000a114084/frameset.htm

Answer 2

To send a message, call the corresponding client proxy method. WSDL allows several such methods (specified by the element <operation>). In XI, there is only one method, with the default name EXECUTE_SYNCHRONOUS or EXECUTE_ASYNCHRONOUS.

Check below links

For ABAP server Proxy check this-

/people/siva.maranani/blog/2005/04/03/abap-server-proxies

For ABAP client proxy -

for this you need to write an ABAP report/RFC function to call this

/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy

Answer 3

XI communicates with R/3 via ABAP Proxy,IDOC or RFC, we need the communication channel to interprete the incoming or outgoing data in XML format for processing in XI.

ABAP proxy -- XI Adapter

RFC -- RFC adapter

IDOC -- IDOC adapter

Answer 4

Type of recipient address or sender address. An address type can be one unit (for example, address name) or several units (for example, shared distribution list). Some address types determine the communication method by which the document is sent (for example, an Internet address or a fax number

If you have selected all available fields for adapter type XI, selected this checkbox, and predefined the Addressing Type field with the value HTTP Destination, only those fields that are relevant for this addressing type are displayed. All other fields are hidden.

Thanks

Swarup

Former Member
0 Kudos

Hi Swarup,

thnks for brief explanations...........u really deserve the pts.............

Cheers

Faisal

Answers (3)

Answers (3)

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

Hi Faisal

1. The author is calling a function module "ZEMPMASTER" in the method "ZII_EMPDETAILS_IN_MI~EXECUTE_ASYNCHRONOUS". The function module shld b created in XI or in R/3 and if we are creating the Function Module in R/3 then we shld make it as RFC-enabled coz we are calling it in XI and wht is the procedure to call a RFC-enabled FM? Do we need to create any DB table in R/3 to insert in the values.

this function module is created at desig time when you define de datasource in BI/BW for example.

if you access to this module function via se37 you will get the inbound structure, the same you will import in PI to do your mapping.

3. When XI communicates with R/3 it is necessary to create a communication channel?

Yes, is necessary, you must define a CC type XI. there you must complete some parameter:

Addressing type: URL Address

Target Host: the host you create the proxy (bi,bw)

service number: Port http, you can get it in TCODE SMICM

Path: /sap/xi/engine?type=receiver

Hope its help you.

Tks

Rodrigo

Former Member
0 Kudos

Faisal:

1. ZEMPMASTER need not be RFC enabled. The bolg only identifies this as FM, but you can also use any other similar FM already available in R/3. In the implementation of ZII_EMPDETAILS_IN_MI~EXECUTE_ASYNCHRONOUS, you will call that FM, and also ensure the parameters/data from XI is coverted into the form your FM needs.

2. As the name says it, it implements an ASYNCHRONOUS connection

3. Yes

4. Address Type refers to how you are going to identify your R/3 system via XI. You can have a URL that points to R/3. In the given example, replace the value SAPSystem with the hostname correspodning to the R/3 system.

-Feroz

Former Member
0 Kudos

Hi Faisal !

1) ABAP proxy is different from RFC. You should generate the abap proxy server in the system that will receive the messages from XI, if the one is R/3, then use the R/3's SPROXY transaction, if the receiver will just be the very same ABAP stack of the XI server, then use the SPROXY transaction of that server.

2) is the abap code that should be executed when data comes from XI to the abap proxy, it is the abap proxy itself.

http://help.sap.com/saphelp_nw04/helpdata/en/ba/f21a403233dd5fe10000000a155106/frameset.htm

3) yes, as it is stated in the blog

4) check this link for addressing types:

http://help.sap.com/saphelp_nw04/helpdata/en/f4/0a1640a991c742e10000000a1550b0/frameset.htm

Regards,

Matias.

Edited by: Matias Denker on Jan 30, 2008 2:53 PM