cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error adding custom field in POWL

RicardoRomero_1
Active Contributor
0 Likes
371

Hi all,

I've added a custom field in POWL for SC.

The problem is when I fill this custom field and push the search button an error is displayed:

"Last query refresh failed due to internal errors; contact your admin."

I've seen there is a short dump in st22. SAPSQL_INVALID_FIELDNAME

I've seen that the select statement is being built dynamically (include LBBP_PDF80).

Within the conditions of the where clause is adding a line with the correct value but is adding another senseless line .

In the custom fields range is always adding a line like this; LOW = space OPTION = CP.

I don't know why. The problem is in the form GETLIST_CUF_ADD_LINE.

If I delete this second condition in debug mode is working fine.

I've tried to find some OSS note but I couldn't find any...

This are the steps I've followed to add the custom field in POWL:

- Add the field to structure /SAPSRM/S_SEARCHFIELDS. (with the same name that it have in st. INCL_EEW_PD_HEADER_CSF_SC )

- Add the field in view /SAPSRM/V_SRC_CR.

- Add the field in DB criteria in the transaction /SAPSRM/POWL_CUST.

- Use the report POWL_D01 for refresh the query.

Do you know what can be the problem?

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Which version of SRM are you using ?

Pls. check the attached note, which describes the similar problem :

[Note 1555113 - Dump occurs when searching for customer fields|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1555113]

RicardoRomero_1
Active Contributor
0 Likes

Thanks !

This note solved the problem.

Answers (0)