How Can i SEt Dynamic Variant For WEEK on SELECTION Screen.pls help me..

<b>Hi ALL..
Pls Help Me for this Problem..i am very confused how can i do that...plese tell me proper process..
i  want set Dynamice Varient for WEEK on Selection screen..
I have ALrady SET Dynamice Varient for DATE on Selection Screen.ther isd option is D...but in case of WEEK there is a no option...
Plese help me..
thaks in advance..
pls help me..</b>

Hello,
Define your select-option in TVARV (assume Z_THISWEEK). And use a program like:
DATA:
  zlv_week TYPE KWEEK.
call function 'DATE_GET_WEEK'       
   exporting date = syst-datum
   importing week = zlv_week.
SELECT SINGLE *
      FROM tvarvc
     WHERE name = 'Z_THISWEEK'
       AND type = 'S'
       AND numb = '0000'.
tvarvc-low = zlv_week.
IF syst-subrc <> 0.
    tvarvc-name     = 'Z_THISWEEK'.
    tvarvc-type     = 'S'.
    tvarvc-opti     = 'EQ'.
    tvarvc-sign     = 'I'.
    tvarvc-numb     = '0000'.
    insert tvarvc.
ELSE.
  update tvarc.
ENDIF.
Regards,
John.

Similar Messages

  • How can i set dynamice for week on Selection screen..pls help me..Urgent

    Hi..All
    please Help me .. i am very  confused..
    i need to set a varient for week which is dynamic on selection screen.
    b) Week from current week to current week + 2. (<b>Dynamic selection)</b>how can i set dynamice for week on Selection screen,,
    how can i do this..i am alrady set dynamice variant for Date.. there is option for D.. but in case of week there is a no option.
    pls help me..urgent
    thamks in advance.
    mayukh

    Hi,
    I think the way out is use the dynamic select option while setting up the varinat and use sy-datum to sy-datum+9 which should essentially serve the purpose.
    While saving the variant, for that particular date field check the Selection variable checkbox, then Choose D
    option and then choose current days + or - option from there.
    Rgds,
    HR

  • How can i set a layout for MIGO screen

    Hello all,
    How can i set a layout for MIGO screen. & make that layout default. Like i want to drag Requistioner column next to quantity in MIgo screen. temporarily I can drag but is there a way to save as layout & save it.

    Hi
    First you arrange however you want and then go to table settings which is there in the right corner of the item details and create a variant and save.
    Find a button with blue yellow and white at the top end above the vertical drag bar when put the cursor it will show you as Configuration.
    After creating the variant tick the check box use as standard setting below the variant
    Hope it helps
    Edited by: Girish  Adaviswamy on Mar 3, 2010 1:27 PM

  • How can I set a password for firefox so that everyone have to enter the password before executing firefox

    My younger sister executed my firefox just at this afternoon(she originally use IE), and she saw something that can't be seen. How can I set a password for firefox so that everyone have to enter the password before executing firefox?

    Also see this for an English version of Profile Password:
    *Profile Password: http://nic-nac-project.de/~kaosmos/profilepassword-en.html#PPF
    It is an extension to protect the profile with a password, but being an extension that protection can easily be bypassed by starting Firefox in [[Safe mode]].<br />
    So do not rely on it.<br />
    If you want to protect content then you have to use methods supported by the OS like a separate user account with a password or an encrypted file system.

  • How can I set a default for webpages to expand to full screen?

    How can I set a default for webpages to expand to full screen? Every webpage I go to does not expand to a full screen which causes me to have to ctrl+++ each time. How can I set my preference to expand to full screen automatically?
    Thanks.

    The Firefox [https://support.mozilla.com/en-US/kb/Page+Zoom Page Zoom] feature does a domain by domain level of saving the users preferred zoom level settings, there is no default Page Zoom level setting in Firefox, as with some other browsers.
    Try the Default FullZoom Level extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/6965
    Or the NoSquint extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/2592/

  • How can I set a password for my pictures on iPad Air ?

    How can I set a password for my pictures on iPad Air ? if anyone have my iPad access mail or something I don't want anyone access my photos so how can I set it up.

    You can't set a password for the Photos nor Mail apps, you can only set a passcode for your iPad as a whole (via Settings > Passcode).
    There are third-party photo management apps such as Photo Manager Pro which you can copy your photos into from the Photos app (and then delete them from Photos), that app allows you (via its settings within the app) to set a password to access it.
    For email you could access your email via a browser (and not have your password stored in the browser), or see if there are any email apps in your country's app store which have a password option

  • How can i set a path for my deployment files in weblogic server 10.3

    Hi
    How can i set the path for my WAR ,JAR files while deploying.i am using the wls10.3 version.
    is there any scripts for this ,please provide me.
    my Application is ADF 11g application.

    By "path", I assume you mean "classpath".
    The simplest way is simply to include the jars you need inside the web application or web module's WEB-INF/lib directory, EJB module's META-INF/lib directory, or EAR lib directory.
    If that's not practical, if you use NodeManager to start your servers, you can go to the "Server Start" tab in the server definition in the WebLogic console and edit the "Classpath" field, which defaults to no value. You can specify a classpath value there. Note that if you specify a value there, it REPLACES the default classpath for the server, it doesn't add to it. If you need to just add to it (a much more likely scenario), if the value references the value "$CLASSPATH" in it, that will reference the original classpath value that the server would have had.
    So, for instance, if you wanted to include the MQ jars in the server classpath, you could set a value like this:
    /usr/java/mq/lib/mq.jar:/usr/java/mq/lib/mqstuff.jar:$CLASSPATH

  • How can I set home page for a new tab? how can i get firefox to open the home page every time i open a new tab in Windows vista home basic??

    How can I set home page for a new tab? how can i get firefox to open the home page every time i open a new tab in Windows vista home basic??
    == This happened ==
    Every time Firefox opened

    Firefox can have multiple home pages if you wish. Each home page that will open when starting Firefox is separated by the "|" character.
    See: http://support.mozilla.com/en-US/kb/How+to+set+the+home+page
    To have new tabs open a specific web site, add one of the following extensions:
    http://sogame.awardspace.com/newtaburl/
    https://addons.mozilla.org/en-US/firefox/addon/777

  • How can I set default values for Allocate Mode in AO config?

    Hi, How can I set default values for allocate mode in AO config. To be specific, in the attached vi, I need to set the Allocate Mode in AO Config to 'Use FIFO Memory (6)' if the value inside my case structure is false and to 'no change (0)' if the value inside the case strusture is true.
    Solved!
    Go to Solution.
    Attachments:
    generateWaveformFIFO.vi ‏15 KB

    Create two constants for the Allocate Mode input (right click > create > constant). Place one in the true case of the case structure, and place the other one in the false case. Wire them to the same tunnel (border of the case structure), then wire the tunnel to the Allocate Mode terminal of the AO Config. I don't have Traditional DAQ installed, but that should do it.
    Misha

  • How can you set a ringtone for unknown numbers

    How can you set a ringtone for unknown numbers?

    You can set up each one of your contacts with a ringtone and use the default for all other unknown numbers. There is no way to set up a ringtone for unknown numbers.

  • Set dynamic variant for time

    Hi,
    I have selection options for field as defined as TIME . I need to set dynamic variant for this field as
    TIME should be "from"='current time-30 minutes' and "to"='24:59:59'.
    This report going to run in 00 hours and 30 hours (48 times ie 24 X 2)
    PS : Pl. remember this is for a SAP standard report
    Any Info?

    Naimesh Patel wrote:
    > I digged more deeper and found one FM RS_VARI_V_INIT_TIME which fill the options like Current Time, Current Time +/- ???, From Start of Day to Now etc. and Surprisinly all 3 options are hardcoded in it..!!
    As you suggested due to hardcoded values here , we could not able to do much on this.
    So i came in round away solution. Whenever program A called ( program with TIME selection input) i have called another custom program C . (This custom program will using the following function module RS_VARIANT_CONTENTS, and RS_VARIANT_CHANGE , So get the DEFAULT variant content of program A and change the variant content with LOW as current time - 30 and HIGH with 24:59:59)  as preceding job.
    In PI 7.01 system program A always called in JOB mode
    Thanks for info.

  • HI,How can i set delta option for costumised Generic data source

    Hi Sir/Madam,
          How can i set delta option for costumised Generic data source.
    Regards,
    Vishali.R
    Please search the forum before posting a thread
    Edited by: Pravender on Aug 15, 2011 1:26 PM

    Hi,
    Go to RSO2 transaction and click on change then on the tool bar click on Generic Delta button. In the next popup you can set your delta.
    Regards,
    Durgesh.

  • How can i set the orientation for a photo book (horizontal or vertical)

    how can i set the orientation for a photo book (horizontal or vertical)
    I like a photo book vertical format and i cant findet!!

    That was quick! Although my earlier search turned up nothing, when I posted my question the system immediately gave me a list of previous questions among which I found the following answer:
    This solved my question by LarryHN on Aug 18, 2010 6:01 PM
    select the photos and change the date/time - photo menu ==> adjust time and date to make a relative adjustment to a number of photos ==> batch change ==> time and date to set an absolute time date for them
    LN

  • HT204053 Hi, how can I set up icloud for my ipad and iphone5? I missed tout he initial setup step and now want to have both the devices under icloud. Please help...thank you!

    Hi, how can I set up icloud for my ipad and iphone5? I missed tout he initial setup step and now want to have both the devices under icloud. Please help...thank you!

    Go to Settings>iCloud and sign in with your Apple ID to create the account.  Then turn on the data you wish to sync with iCloud.  See http://www.apple.com/icloud/setup/ios.html.

  • How can I set up Cinema Display as a main screen and leave my macbook pro as a second screen instead?

    How can I set up Cinema Display as a main screen and leave my macbook pro as a second screen instead?

    I learned that the Dock is positioned at the chosen edge of whatever Display is positioned farthest to that side.  E.g. for the Dock to be positioned on the right side of the Cinema Display (instead of the right side of the MacBook), the Cinema Display must be oriented (by dragging) to the right of the MacBook monitor on the "Arrangement" tab of the Displays Preference Panel.

Maybe you are looking for

  • Support in Workspace for Internet explorer 7.0 in Hyperion 9.3

    Anyone know when Hyperion will support Internet explorer 7.0 in Workspace? I know that Hyperion have the news that the support is in 9.2.0.3 but i?m in version 9.3?<BR><BR>Thanks<BR><BR>Juan Alvarado

  • How to validate xml using xsd

    Hi All please tell me how to validate xml using xsd regards

  • MIDI piano keypress detection

    Hi all I am totally lost with this problem. MIDI really confuses me and im doing it as my final year project (i didnt realise how hard it was when i picked the project). If anyone has successfully connected an external MIDI interface device (a midi k

  • Vmware fusion to hyper-v on Windows 8

    I am trying to figure out if I can convert my VMWare Fusion images to Hyper-V images. I want to move from my Mac OS X running VMWare Fusion to Windows 8 running Hyper-V, I want to take my VMs with me. Is there a tool or method to do that. The only re

  • Convert HD low res footage to normal

    I am having a problem with footage that was shot in HD. I am working in Final Cut 6.0 The footage was digitized onto a hard drive in low res because of the amount of space (gigs) it would take on the hard drive. I created a new sequence and changed t