Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Question from fjemon on Sep 16 at 3:53 AM 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. __.____._ | | fjemon IT/IS Professional/Admin/Staff | | In the Spotlight Become a blogger at Toolbox.com and share your expertise with the community. Start today. _.____.__ |