SAP Knowledge Base Article - Preview

3434597 - "Unprivileged SQL" from "MODIFY_FIELDS" violates transactional contract "FUNCTIONAL" in Custom Logic - SAP S/4HANA Cloud

Symptom

Getting syntax error: Executing "Unprivileged SQL" from "MODIFY_FIELDS" violates transactional contract "FUNCTIONAL" in custom logic with the following syntax:

SELECT i_productsalesdelivery~product, productname

  FROM i_productsalesdelivery WITH PRIVILEDGED ACCESS

  INNER JOIN i_producttext ON i_productsalesdelivery~product = i_producttext~product

  FOR ALL ENTRIES IN @delivery_document_items_out

  WHERE i_productsalesdelivery~product EQ @delivery_document_item_out-material

  AND productsalesorg EQ @delivery_document_item_in-salesorganization

  INTO TABLE @DATA(lt_data).


Read more...

Environment

SAP S/4HANA Cloud

Product

SAP S/4HANA Cloud Public Edition all versions

Keywords

"Unprivileged SQL" from "MODIFY_FIELDS" violates transactional contract "FUNCTIONAL", WITH PRIVILEDGED ACCESS, PRIVILEGED ACCESS, custom logic, SELECT,  INNER JOIN , KBA , BC-SRV-APS-EXT-BL , Custom Business Logic , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.