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

Internal table assign new field value

Former Member
0 Likes
481

hi...

SHKZG to s or h . one character column ,but i'm s mean credit and h mean debit to letter display in internal table new field display

hi...

SHKZG to s or h . one character column ,but i'm s mean credit and h mean debit to letter display in internal table new field display

3 REPLIES 3
Read only

Former Member
0 Likes
462

suppose itab contains 2 columns SHKZG and SHKZG_desc

loop at itab into wa.

if wa-SHKZG = 'H'.

move 'Debit' to SHKZG_desc.

else.

move 'Credit' to SHKZG_desc..

endif.

<modify itab> write modify itab statement here.

endloop.

Read only

Former Member
0 Likes
462

hi,

SHKZG with value 'H' --- Credit

SHKZG with value 'S' --- Debit

Regards,

Santosh

Read only

Former Member
0 Likes
462

Answered