Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from R. N. Wilhite on Sep 16 at 7:44 AM I don't see a commit work. Neal
| | | ---------------Original Message--------------- From: fjemon Sent: Tuesday, September 16, 2014 3:54 AM Subject: Update Current Week In Tvarc Table Update current week in tvarc table: Current week is not part of any variable in tvarvc so I'm trying to update this with a report. Something is wrong as it's not adding anything to the table. Can you have a look, please. REPORT Z_GET_CURRENT_WEEK. DATA: zlv_week TYPE KWEEK, it_tvarvc TYPE TABLE OF tvarvc WITH HEADER LINE. CALL FUNCTION 'DATE_GET_WEEK' EXPORTING date = syst-datum IMPORTING week = zlv_week. Select * INTO TABLE it_tvarvc FROM TVARVC WHERE name = 'Z_THISWEEK' AND type = 'P' AND numb = '0000' AND low = zlv_week. IF syst-subrc <> 0. MESSAGE 'Error in Updating TVARVC Table'(003) TYPE 'E'. ELSE. UPDATE tvarvc from it_tvarvc. ENDIF. Thanks/MF | | Reply to this email to post your response. __.____._ | _.____.__ |