cancel
Showing results for 
Search instead for 
Did you mean: 

Use Perform with field symbols

Former Member
0 Kudos
681

HI,

i have table type field symbols and i wont to use it in perform

how can i do that?

LOOP AT <dyn_acl> ASSIGNING <l_act>.

ASSIGN COMPONENT : 'COSTCENTER' OF STRUCTURE <l_act> TO <fs_data>.

<fs_data> = ''.

ENDLOOP.

i wont to do it for 4 diff tables so i wont to use perform one time and send 1 diff table at time .

Regards

Accepted Solutions (1)

Accepted Solutions (1)

Clemenss
Active Contributor
0 Kudos

Hi Cosmo,

what's the problem?

.
perform dynrep using: <tab1>, <tab2>, <tab3>.

FORM dynrep USING pt_tab TYPE TABLE.
  FIELD-SYMBOLS:
    <rec> type any,
    <comp> type any.
  LOOP AT pt_tab ASSIGNING <rec>.
    ASSIGN COMPONENT 'COSTCENTER' OF STRUCTURE <rec> TO <comp>.
*    <fs_data> = ''.
    CLEAR <comp>.
  ENDLOOP.
ENDFORM.

.

Hope it helps,

Clemens

Answers (1)

Answers (1)

Former Member
0 Kudos

hi,

Plz Refer to this link.

http://help.sap.com/saphelp_40b/helpdata/ru/34/8e72cc6df74873e10000009b38f9b8/content.htm

Code In this link might solve Your problem.

Regards

Sumit Agarwal