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

READ STATEMENT with Curly brace brackets ie. "{}"

viva_kd
Participant
0 Likes
763

Dear Experts, whats the use of Curly brace brackets ie. "{}" and also "|" in side READ STATEMENT ?

READ TABLE gt_t_pernr WITH KEY pernr = |{ ls_attn_data-paycode }| BINARY SEARCH TRANSPORTING NO FIELDS.

 

Thanks in Advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

jmodaal
Active Contributor

Hello,

this is an embedded expression in newer ABAP syntax.

https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-US/abenstring_templates_expressions.htm

Kind regards

Jan

RaymondGiuseppi
Active Contributor
phil_soady
Participant
0 Likes

The curly brackets are used to indicate variables.
Part of string templates
see https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-US/abenstring_templates.htm