cancel
Showing results for 
Search instead for 
Did you mean: 

Interface data contains errors

Former Member
0 Kudos

Hi,

We have upgraded our system from SRM 7.0 to SRM 7.01 (Ehp1).

We are generating URL from the METHOD GET_URL of standard class /SAPSRM/CL_URL_SERVICE. Parameters passed to the method GET_URL   are as below:

IV_BO_TYPE = BUS2201

IV_URL_SCOPE = OFF


IT_URL_PARAMS has 3 values passed

1. SAPSRM_MODE       = EDIT

2. SAPSRM_BOTYPE    = BUS2201

3. SAPSRM_BOID        = HEADER GUID OF THE PO which we retrieve using function module BBP_PD_PO_GETDETAIL

After executing the method GET_URL, a URL is generated and when we use this URL in the browser, we get the message: "Interface data contains errors".

As per our analysis, in the class CL_WDR_CLIENT_ABSTRACT_HTTP and in method GET_FORM_FIELDS_EXTENDED, at line 18, all the parameters of the

generated URL get populated in the parameter 'fields'. However strangely the SAPSRM_BOID parameter is not getting populated under this parameter 'fields'."

PS: This used to work for us prior to the upgrade.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello John,,

You can try the below Code to get the URL.

pass the PO GUID to BOID and get the CT_URL_PARAMS and then define the mode(DISPLAY & EDIT) and get the URL.

Thanks.

Former Member
0 Kudos

Hi Surender,

This is exactly what we are using. The URL is formed correctly. However as per our analysis, in the class CL_WDR_CLIENT_ABSTRACT_HTTP and in method GET_FORM_FIELDS_EXTENDED, at line 18, all the parameters of the generated URL get populated in the parameter 'fields'. However

strangely the SAPSRM_BOID parameter is not getting populated under this parameter 'fields'.

Any more suggestions please? Could you let us know if there is a BADI that is called when we provide login credentials in the formed URL? Any table where we need to maintain any setting?

Thanks

Answers (0)