cancel
Showing results for 
Search instead for 
Did you mean: 

How to build the "Path Prefix" HTTP Adapter at run time

Former Member
0 Kudos

Hi All,

I have a scenario wherein I have to call the HTTP Url of a thiird party system from R/3 via PI.

The third party url looks liike this:

http://gis/ias/cgi-bin/siscgi.exe?request=batch&command=<requests><request><name>sis_neighbouring_kn...

eft_kno>331</left_kno><gis_id>4019589</gis_id><priority>same_premise_kno,left_kno,right_kno,gis_id</priority></request></requests>&user_name=sambandh.sias&pa

ssword=sambandhsias

I have successfully created a HTTP Recevier comm channel and provided the following in the "Path Prefix"

/ias/cgi-bin/siscgi.exe?request=batch&command=<requests><request><name>sis_neighbouring_knos_for_sambandh_service</name><buffer>20</buffer><same_premise_kno>123</same_premise_kno><l

eft_kno>331</left_kno><gis_id>4019589</gis_id><priority>same_premise_kno,left_kno,right_kno,gis_id</priority></request></requests>&user_name=sambandh.sias&pa

ssword=sambandhsias

But If I need to pass the values inside the xml tags specified above e.g. "name" at run time, How do I do that?

I have explored the "Apply URL Parameters" option in the HTTP Comm channel but it has fixed names for the HTTP URL parameter.

Please let me know how is this possible hopefully without a UDF

thanks,

Piyush

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member187339
Active Contributor
0 Kudos

Hi Piyush,

Have you checked the option of ASMA of the adapter?

http://help.sap.com/saphelp_nw04/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm

Also see Note 1101338 - Dynamic configuration of HTTP adapter

Regards

Suraj

Former Member
0 Kudos

Hi,

I have tried these option in the Comm channel, but these have predefined names.

I just want to build the HTTP Url dynamically.

If UDF is the only option then ny UDF code for the same?

regrds,

Piyush