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

acessing field

Former Member
0 Likes
446

Hi ,

we are working in as issue of upgrade.

TYPES : BEGIN OF typ_077_rs_solde,

            e_077 TYPE zr077sar,

            solde_tot TYPE c,

           solde TYPE bp_betrw_kk,

DATA :

          t_077_rs_solde     TYPE TABLE OF typ_077_rs_solde,

         e_077_rs_solde     TYPE typ_077_rs_solde.

l_solde  = 98 .

      MOVE l_solde TO e_077_rs_solde-e_077-z_solde.

Here the internal table   t_077_rs_solde is also having  z_solde as component.

But the MOVE statement is not updating the field .

What can we do.


3 REPLIES 3
Read only

JonathanM
Contributor
0 Likes
414

Hi,

You are updating the work area e_077_rs_solde and not the table t_077_rs_solde...

After line:

MOVE l_solde TO e_077_rs_solde-e_077-z_solde.

Add the code:

APPEND e_077_rs_solde TO t_077_rs_solde.

BR,

Jonathan


Read only

RaymondGiuseppi
Active Contributor
0 Likes
414

Check MODIFY itab documentation.

Regards,

Raymond

Read only

Former Member
0 Likes
414

Hi,

for your problem you can use MODIFY statement...........

Regards

Ivan