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

module pool

Former Member
0 Likes
441

Hi,

how can i update the d/b table When i press a pushbutton with current local date &

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
425

Use

CASE SY-UCOMM.

WHEN 'FCODE'.

MODIFY TABLE WHERE CONDITION.

ENDCASE

Reward Points if it is helpful

Thanks

Seshu

3 REPLIES 3
Read only

Former Member
0 Likes
425

Hi,

After Push Button Pressed..Then

There are different ways as follows

1. using Work Area

UPDATE <target> FROM <wa> .

2. using Internal table

UPDATE <target> FROM TABLE <itab> .

Make sure that the Primary Key Cobination is available with ur WA or ITAB while updating. Note It will not allow u to update key fields.

UR Current date should not be the part of key.

Regards,

Ranjit Thakur.

<b>Please Mark The Helpful Answer.</b>

Read only

Former Member
0 Likes
426

Use

CASE SY-UCOMM.

WHEN 'FCODE'.

MODIFY TABLE WHERE CONDITION.

ENDCASE

Reward Points if it is helpful

Thanks

Seshu

Read only

Former Member
0 Likes
425

HI,

CASE SY-UCOMM.

WHEN 'BUTN'.

TABLE-FLDATE = SY-DATUM.

MODIFY TABLE WHERE CONDITION.

COMMIT WORK.

ENDCASE

Regards

SAB