2007 May 17 2:09 PM
Hi,
how can i update the d/b table When i press a pushbutton with current local date &
2007 May 17 4:47 PM
Use
CASE SY-UCOMM.
WHEN 'FCODE'.
MODIFY TABLE WHERE CONDITION.
ENDCASE
Reward Points if it is helpful
Thanks
Seshu
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>
2007 May 17 4:45 PM
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>
2007 May 17 4:47 PM
Use
CASE SY-UCOMM.
WHEN 'FCODE'.
MODIFY TABLE WHERE CONDITION.
ENDCASE
Reward Points if it is helpful
Thanks
Seshu
2007 May 17 4:52 PM
HI,
CASE SY-UCOMM.
WHEN 'BUTN'.
TABLE-FLDATE = SY-DATUM.
MODIFY TABLE WHERE CONDITION.
COMMIT WORK.
ENDCASE
Regards
SAB
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |