Hello SAP Experts,
A problem occurs while reading lock entries with the function module ENQUEUE_READ because of the characters used such as *, %, ? and @ as placeholders.
Please help me to resolve this error.
Updated May 21, 2018
Hello SAP Experts,
A problem occurs while reading lock entries with the function module ENQUEUE_READ because of the characters used such as *, %, ? and @ as placeholders.
Please help me to resolve this error.
Comments
The function module ENQUEUE_READ has an additional, optional parameter GARGNOWC. If this is transferred with value 'X' then all the various parameters in input parameter GARGNOWC are treated as literals, therefore the character string can also contain the characters ?, @, * and %. Additionally, the GARG is handled as prefix which implies that if a placeholder for several characters was attached to GARG. The other input parameters treat placeholders as described above.
Character @ is used in the enqueue as a placeholder for one single character. At the time of setting locks character @ also applies as a placeholder. Therefore, the character @ cannot be set as a literally which can be avoided.