Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP syntax - using curly brackets

0 Likes
1,809

We are looking at using function module FKK_SAMPLE_2957. Can someone tell me how ABAP uses the curly brackets { } in the following statement :

e_abvar = f{gpart, vkont, bukrs, kofiz, gsber, spart, segment} .

Is it binding, concatenating the 7 values into one field ?

Thanks

Mike

2 REPLIES 2
Read only

rameez_khan
Active Participant
1,209

Dear,

I just checked the FM and the code you mentioned is commented.

And if you try to write that code in test program it gives syntax error: "Comma without preceding colon (after E_ABVAR ?)."

Read only

RaymondGiuseppi
Active Contributor
1,209

This FM is just a sample with commented pseudo-code.

  • Perform a where-used search (you get a call if 1 = 2) but you should easily find the actul calls
  • Actually the functions you added in FI-CA Customizing (SM30 on view V_TFKFBC on FI-CA domains) will be dynamically called.
  • Even if you added by mistake this FM in your Customizing, SAP would remove it from the list (hard coded)