cancel
Showing results for 
Search instead for 
Did you mean: 

How to process the HooK url

Former Member
0 Kudos

Hi,

I am beginner in SAP SRM,

I just got a sample URL in this forum .. as such

strUserName=XXXXX&strUserPwd=XXXXX&strLiefNr=XXXXX&HOOK_URL=https%3A%2F%2FXXXXX.XXX.ads%3A8002%2Fsap%28cz1TSUQlM2FBTk9OJTNhYWJhaGFjaGlfU1JEXzAwJTNhZjF2UUpGTlZWa1FFUFZrcDRXcDk5eDEwdDBBSUNnSE01V3pXQkY5Sy1BVFQ%3D%29%2Fbc%2Fgui%2Fsap%2Fits%2Fbbpsc03%2F%3F%7EOkCode%3DADDI%26%7Etarget%3D_top%26%7Ecaller%3DCTLG%26%7Eclient%3D100%26%7Elanguage%3DDE%26%7EHTTP_CONTENT_CHARSET%3Dutf-8&OCI_VERSION=4.0&OPI_VERSION=1.0&returntarget=_top

this is how SAP Catalog tries to login in,

I have 2 questions ,

first how does this big value which is of more than 4KB passes through a URL section ,

My second 2 question,

Hook URL value is not taken in by my Catalog application.

Where as HOOK URL is the one to which we are going to submit the order. but in this sample HOOK URL which is decode using a method in PHP urldecode is way to big .

Thanks

Ajai

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

In catalog call structure, in case of lengthy URL, you may try with dividing URL into two parts.

For example,

1. first field will contain - 1st part with Type - URL

strUserName=XXXXX&strUserPwd=XXXXX&strLiefNr=XXXXX&HOOK_URL=https%3A%2F%2FXXXXX.XXX.ads%3A8002%2Fsap%28cz1TSUQlM2FBTk9OJTNhYWJhaGFjaGlfU1JEXzAwJTNhZjF2UUpGTlZWa1FFUFZrcDRXcDk5eDEwdDBBSUNnSE01V3pXQkY5Sy1BVFQ & _

2. second field will contain - 2nd part with Type URL

%3D%29%2Fbc%2Fgui%2Fsap%2Fits%2Fbbpsc03%2F%3F%7EOkCode%3DADDI%26%7Etarget%3D_top%26%7Ecaller%3DCTLG%26%7Eclient%3D100%26%7Elanguage%3DDE%26%7EHTTP_CONTENT_CHARSET%3Dutf-8&OCI_VERSION=4.0&OPI_VERSION=1.0&returntarget=_top

Hope this will help.

Regards,

Vikas

Former Member
0 Kudos