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

Assignment

Former Member
0 Likes
499

Hi,

I want to assign 'X' to all the fields of the structure CMDS_EI_VMD_CENTRAL_DATA_XFLAG, without individually assigning to each and every field . Is there a statement which addresses my requirement ?

1 ACCEPTED SOLUTION
Read only

prakashsaurav
Active Participant
0 Likes
464

Hi!!

Check the Sample Code below:

Hope this would solve the problem.


DATA g_vx TYPE CMDS_EI_VMD_CENTRAL_DATA_XFLAG.
g_vx = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'.
g_vx+42(42) = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'.

2 REPLIES 2
Read only

prakashsaurav
Active Participant
0 Likes
465

Hi!!

Check the Sample Code below:

Hope this would solve the problem.


DATA g_vx TYPE CMDS_EI_VMD_CENTRAL_DATA_XFLAG.
g_vx = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'.
g_vx+42(42) = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'.

Read only

0 Likes
464

Hi pintoo2805 ,

Thanks, it worked.