We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

Re: [sap-abap] Update Current Week In Tvarc Table

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

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.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2014 Ziff Davis, LLC. and message author.
Ziff Davis, LLC. 28 E 28th Street New York, NY 10016
R. N. Wilhite  

IT/IS Manager
37 achievements
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Earn Recognition for Your Contributions at Toolbox for IT. Gain Points for Community Achievements

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language