Application Development 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: 

access to field using "(SAPFV45E)vbap-vbeln"

Former Member
0 Kudos

hello expert!

via debugging i can access a field (SAPFV45E)vbap-vbeln, but i cannot use this field in ABAP syntax. how can i include a field like that in ABAP syntax?

best regards,

matthias

1 ACCEPTED SOLUTION

former_member226519
Active Contributor
0 Kudos

try this:


  field-symbols: <fs> like vbap-vbeln.
  data: l_text(40),
        l_vblen like vbap-vblen.

  l_text = '(SAPFV45E)VBAP-VBLEN'.
  assign (l_text) to <fs>.
  l_vblen = <fs>.

3 REPLIES 3

Former Member
0 Kudos

Open SQL SELECT can obtain vbeln from table VBAP.

0 Kudos

the table entry is not available at this time - program code is during creation of document.

former_member226519
Active Contributor
0 Kudos

try this:


  field-symbols: <fs> like vbap-vbeln.
  data: l_text(40),
        l_vblen like vbap-vblen.

  l_text = '(SAPFV45E)VBAP-VBLEN'.
  assign (l_text) to <fs>.
  l_vblen = <fs>.