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: 

User exit - include syntax error

Former Member
0 Kudos

Hi All,

I cannot activate my code since it is giving me a syntax error in a user exit include program.(EXIT_SAPL0VRF_001)

In the user exitI can see a structure i_vbak but when I try to use in my code system says I_VBAK is neither specified

under TABLES nor is it defined as an internal table and when I try to declare under data it says i_vbak already declared.

Please help.

Meghna

1 ACCEPTED SOLUTION

former_member585060
Active Contributor
0 Kudos

Hi,

I_VBAK is an Importing parameter, it can be used only as a workarea, not as an internal table. May be in your code you tried to use it as an internal table, thats why it must be giving you an syntax error.

If you want to access any field data, access it as

I_VBAK-VBELN

I_VBAK-VBTYP etc.

Regards

Bala Krishna

3 REPLIES 3

Private_Member_14913
Contributor
0 Kudos

Hello,

Can you post your code?

Regards,

Sameer

former_member585060
Active Contributor
0 Kudos

Hi,

I_VBAK is an Importing parameter, it can be used only as a workarea, not as an internal table. May be in your code you tried to use it as an internal table, thats why it must be giving you an syntax error.

If you want to access any field data, access it as

I_VBAK-VBELN

I_VBAK-VBTYP etc.

Regards

Bala Krishna

0 Kudos

Thanks for your reply. Solved

Meghna