Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

External debugging for Server proxy scenario

Former Member
0 Likes
1,068

Hi Experts,

I have a scenario where proxy is invoked on the ECC side using ZIP files . ZIP files are unzipped in ECC side using the ZIP utility class CL_ABAP_ZIP and method GET .

When I try to download the payload in SXI_MONITOR , it contains Junk values which cannot be used to pass to SPROXY for debugging .

I wanted to try out the option of using my user ID in the Proxy calling channel in SAP PI and then activate external debugging for my user ID under SRDEBUG.

I am getting the below error , even though I have assigned the same roles as the PIAPPLUSER to my user ID in ECC and PI .

"Authorization error while sending by HTTP (error code: 401 , error text: Unauthorized) "

When I use the URL Connection option and connect using user PIAPPLUSER , I am able to connect to SAP and pass the data.

Unfortunately , I cannot login as PIAPPLUSER in to ECC and perform external debug as its not a dialog user and creates the risk of locking which would make other production interfaces to fail.

My question at this juncture is ,

1) Is there anyway I can debug in SPROXY for my scenario

2) How do I correct this error for my user ID ?

Please provide your valuable inputs .

Regards,

Nick

1 ACCEPTED SOLUTION
Read only

ArcherZhang
Product and Topic Expert
Product and Topic Expert
0 Likes
880

Hi Nick,

Setting->debugging->type the PIAPPLUSER name in "External debugging User id".

Regards,

Archer

3 REPLIES 3
Read only

ArcherZhang
Product and Topic Expert
Product and Topic Expert
0 Likes
881

Hi Nick,

Setting->debugging->type the PIAPPLUSER name in "External debugging User id".

Regards,

Archer

Read only

0 Likes
880

Hi Archer ,

I cannot login as PIAPPLUSER in to ECC as its a Web service user used by multiple interfaces

and could jeopardize other interfaces running in production .

Do you mean , I can be login under my user ID and set the external break point for PIAPPLUSER

and still debug the proxy ?

My assumption was you need to be logged on as the RFC user to use external debugging in ECC .

Please clarify.

Regards,

Nick

Read only

ArcherZhang
Product and Topic Expert
Product and Topic Expert
0 Likes
880

no, you do not need logon as RFC user.

Logon as your user, set external BP for PIAPPLUSER. Just try.