Skip to Content
0
Former Member
Jan 21, 2016 at 05:34 AM

External debugging for Server proxy scenario

98 Views

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