Skip to Content

Error adding custom field in POWL

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Feb 14, 2012 at 05:07 PM

    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|]

    Add comment
    10|10000 characters needed characters exceeded