Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from Raju Shrestha on Sep 16 at 7:44 AM Dear Fjemon, Seems you are selecting from tvarvc. You need to add a line to the table. Wa_tvarvc-name = 'Z_THISWEEK'. > > "-type = 'P'. > "-num = '0000'. > "-low = zlv_week. > > Append wa_tvarvc to it_tvarvc. > Modify TVRVC from it_tvarvc. > > Commit work. With Regards, Raju www.sapyard.com Sent from my Phone >
| | | ---------------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. __.____._ | _.____.__ |