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 Field Value

Former Member
0 Likes
566

I want to populate one field of the internal table with the today’s date and the rest of the fields with some referred entries.

How to do it?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
545

hi

use sy-datum to get today's date

5 REPLIES 5
Read only

Former Member
0 Likes
546

hi

use sy-datum to get today's date

Read only

Former Member
0 Likes
545

Hi Santo,

You can do it like this:

IT_ITAB-date = SY-DATUM.

IT_ITAB-<other Field names> = <table_name>-<field_name>.

Regards

Kaushik

Read only

Former Member
0 Likes
545

Use move-corresponding command for filling the rest of fields.

For todays date field

wa_output-fields1 = sy-datum.

Modify it_output from wa_output

where mandt = sy-mandt

transporting field1.

Read only

Former Member
0 Likes
545

Tx

Read only

Former Member
0 Likes
545

Tx