Need Selection variable name for "System Year - 1"

Hi All,
I have Fiscal Year field in the selection screen of a custom program. The value of this field comes from system variable.
I need to create a variant where this fiscal year should have the value "Current year - 1".
This has to be done using Selection Variable. Currently there is no such variable in the F4 help (TVARV table).
Please tell me if there is a way to get such a selection variable...

Hi Tolga,
The selection screen parameter is defined as:
parameters: p_gjahr        type gjahr obligatory memory id gjr,
I cannot use the FM in the AT SELECTION SCREEN ON VALUE-REQUEST.
When you create a variant for the program.. click button "Variant Attributes" - Here the checkbox for Selection variable is ticked for this field. Now click "Selection Variables". here we can provide the variable name which comes from TVARV table.
I need this Selection variable. I am not allowed to do any program changes.

Similar Messages

  • JDBC Problem: "select * from NAMES for update of FIRSTNAME"

    I am using Oracle 8 and JDBC thin driver. Is there any reason
    why when I try to use the statement:
    "select * from NAMES for update of FIRSTNAME"
    it does NOT work in JDBC?
    However when I do the statement in SQL-Plus it works fine.
    If anyone has used this statement with success, please let me
    know that it actually works, so that I know there is something
    wrong with me!
    Any code snippets would be very helpful.
    Could it be the thin driver?
    Please help! Thanks in advance.
    null

    Thomas Gutzmann (guest) wrote:
    : James,
    : for this command you need transactional control, which is not
    : possible with JDBC - if I'm not wrong. You can circumvent it
    with
    : something like:
    : select x into vOld from t where id=4711;
    : vNew := 0.815;
    : update t set x = vNew where id = 4711 and x = vOld;
    : Another option would be to write a stored PL/SQL procedure that
    : runs the whole transaction.
    : Cheers
    : Thomas
    : James Ward (guest) wrote:
    : : I am using Oracle 8 and JDBC thin driver. Is there any
    reason
    : : why when I try to use the statement:
    : : "select * from NAMES for update of FIRSTNAME"
    : : it does NOT work in JDBC?
    : : However when I do the statement in SQL-Plus it works fine.
    : : If anyone has used this statement with success, please let me
    : : know that it actually works, so that I know there is
    something
    : : wrong with me!
    : : Any code snippets would be very helpful.
    : : Could it be the thin driver?
    : : Please help! Thanks in advance.
    I don't think this is correct. I have used select for update
    with no problems. you can send a "set transaction control"
    via sql, I believe, but you shouldn't need to do so...
    Maureen
    null

  • Table Name for System Messages

    Dear all,
    i want to know the Table name for system messages
    Reg
    Kris

    hello Hari,
    I am getting error's in Posting like:
    Error in posting
    Message no. ICC_TR119
    Diagnosis
    The system could not post any checks or bills of exchange.
    Procedure
    See the table with the system messages.

  • I NEED THE TABLE NAME FOR THE  FIELD DESCRIPTION GIVEN!

    I NEED THE TABLE NAME FOR THE  FIELD DESCRIPTION GIVEN!
    Partner Type
    Partner Type Desc
    Partner no
    Partner Name
    Partner Address 1
    Partner Address 2
    Partner Address 3
    Partner Address 4

    Hi Jyotirmoy ,
                        You can get all partners and their type in table EDPP1, depending of the partner type you need to go to specific table for address and other details, like for partner type KU(customer) goto KNA1,etc for partner type LI(vendor) goto LFA1 etc for partner type B(bank) goto BNKA etc ....
    Sirish

  • Do I need to register online for 1 year warranty?

    Do I need to register online for 1 year warranty?

    Not for the original - comes with the device - warranty. That said, if you do register then if you lose the receipt down the line, Apple already has a record of you and your device. IIRC, when I purchased the Apple Care extended one I did have to register that with Apple.

  • System variable name for email field.

    Hi
    Can anyone give me the system name for the email field,
    eg username is &APP_USER.
    Thanks
    Fiona

    Fiona - John's suggestion is to use a PL/SQL API call to get the email_address attribute from the wwv_flow_users record for a user account. There is no corresponding substitution string but you could create an item in your application and set it using this API. Keep in mind that this applies only to APEX user accounts, i.e., if you're using other authentication methods such as LDAP, SSO, Database Account, or custom tables, then the email_address will not be accessible using the API.
    Scott

  • Need help generating variable name for timeout object

    Below is a function I am using to scale an object down and
    then hide it. It works fine on just one object, but if I try to run
    it on multiple objects at the same time, only the last object gets
    scaled down. I believe this is because the timeout list only ever
    has a single item in it, “ShrinkTimeOut”.
    Does each entity in the timeout list need a distinct name?
    And if so, how would I dynamically generate a name and save it so I
    can kill the timeout object once the object has scaled down fully?

    > Does it look like I am getting rid of the timeout object
    properly in my code?
    Now that you mention it, and I have a look, no - it doesn't:
    //not sure of the order of parameters here:
    function fShrinkLoop(mModel, aTimeout) {
    //Creates a variable that contains the vector value of the
    model's
    scale (vector( 1.0000, 1.0000, 1.0000 )).
    nScaleVector = mModel.getPropRef("transform").scale;
    //Checks to see if the model is 1% or less than its original
    size.
    if (nScaleVector[1]<=0.01) {
    //Makes the model invisible.
    mModel.visibility = symbol("none");
    //Kills the timeout object.
    aTimeout.forget();
    } else {
    //If it is not, we scale the model down further and allow
    the loop to
    repeat.
    mModel.scale(0.9);

  • Selection Variables / Name of the Variable in a Variant

    Hi,
    I am trying to replicate / create the same variant from PRD back to DEV.
    But in PRD for the variant, there are values for attributes. (Selection Variable is having T and D)
    Number of variables are available for Name of the variable (f4 values)
    But these values are not available for the same variant in DEV.
    How can i bring the values for selection variables and name of the variables in DEV.
    Thanks in advance for your help.
    Regards,
    Ravi

    Ravi,
    you have to include the variant into a transport request than you can transport to the other system. In general, variants not transported automatically when you create a program, you have to include the variant into the request if you want to use in another system also.
    You can do this by:
    SE38 --> Variants --> Utilities --> Transport request
    Edited by: mrwhite on Apr 28, 2009 4:52 PM

  • Custome variable exit for fiscal year/period

    Hello BW Gurus,
    Q1[1,2,3] Q2[4,5,6] Q3[7,8,9] Q4[10,11,12] quarterly periods
    I have a custom variable exit as shown for fiscal year period
           IF LOC_VAR_RANGE-LOW+4(3) =< '003'.
              L_S_RANGE-LOW+4(3) = '001'.
           ELSEIF LOC_VAR_RANGE-LOW+4(3) > '003' AND
                                              LOC_VAR_RANGE-LOW+4(3) =<'006'.
              L_S_RANGE-LOW+4(3) = '004'.
           ELSEIF LOC_VAR_RANGE-LOW+4(3) > '006' AND
                                                LOC_VAR_RANGE-LOW+4(3) =< '009'.
              L_S_RANGE-LOW+4(3) = '007'.
           ELSE.
              L_S_RANGE-LOW+4(3) = '010'.
           ENDIF.
    Now this works fine to give me the Current Quarter ....say if user puts 005/2007 i get the data Current quarter as [4+ 5] i.e. April and MAy data. Now for <b>Previous Period</b> I gave an offset as -3 to -1 inorder to get data for Q1[123] but the requirement is changed and I want the same time period i.e. [1+2] and not the entire quarter since the Current Quarter calculates only for 4 and 5.
    I hope u are getting my point....please give your suggestions will reciprocate with lots of points

    Hi gaurav,
    Basically If I am selecting period 005 I am getting the data for 4 and 5 as Current Quarter i.e. April is the starting period of that Q2.
    Similarly the previous Quarter should also give me data for period 1 and period 2.
    Right now the offset I gave is -3 to -1 on my custom variable so i am getting data for the entire previous quarter which is Q1[1,2,3] but in reality i just want data for period 1and period 2.
    Can you please help me in this
    Appreciate your concern
    Thanks

  • Need a program name for a Batchjob

    Hi Folks,
    In our current process, the deliveries are taken from picking duelist (VL06O)and the transfer order is created manually. Now we want to automate this process. I know that it can be done by a batch job.
    Could some one tell me the program that should be used in the batch job which takes the delivery numbers from picking duelist and creates transfer orders?
    Points rewarded.
    Regards,
    Krishna

    I think you don't have to worry about program names. Just click <...in the background> button above selection screen and the system will create automatically a job for you

  • Dynamic Variable name (for int/long) from a String variable

    Hi,
    I want to give a int/long variable name from a String.
    for ex.
    String str = lookup + "Id";
    lookup is a String variable coming from XML. Now, for instance lookup="name". So str = "nameId".
    Now I want to create a int/long variable by nameId.
    Could anybody tell me the way how to do. Please don't tell to use MAP.
    Edited by: Shah on Dec 5, 2007 3:26 PM

    Well you can't. Use a Map.
    The compiler translates variable names into slot numbers, either within an object or withing the local "stack frame" and these slot numbers are assigned names at compile time. No new slots can be created at run time. Java is not Basic.
    Reflection allows you to find existing field names and methods (not local variables), so it's possible to map, for example, XML attribute names to field names or setters in an object but the names have to be known at compile time.

  • Using variable name for Netstream Publish() (actionscript)

    Relatively new to Actionscript.  In the netstream publish() or play() methods, can I pass variable names to the methods instead of hard-coding the stream name?
    Example:
    private function publishLiveStream():void
                ns = new NetStream(nc);
                ns.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
                ns.client = this;
              // blah blah other stuff...
               ns.publish("thefilename", "record");
    I want to replace "thefilename" with a value passed from an input box or use dynamic naming (i.e. current date & time).

    you can use in procedure using sunopisis technology
    OdiExportMaster "-TODIR=/temp/" "-ZIPFILE_NAME=export.zip" "-XML_CHARSET=ISO-8859-1" "-JAVA_CHARSET=ISO8859_1" "-EXPORT_VERSIONS=YES"
    or you can use (unix System)
    OdiExportMaster "-TODIR=/#v_FileName" "-ZIPFILE_NAME=export.zip" "-XML_CHARSET=ISO-8859-1" "-JAVA_CHARSET=ISO8859_1" "-EXPORT_VERSIONS=YES"
    Hope it will work
    Thanks

  • Need actual table name for Bom_Bo_Pub.Bom_Revision_Tbl_Type

    How can I get actual table name for Bom_Bo_Pub.Bom_Revision_Tbl_Type? I am trying to confirm if this particular table has a "REVISION_LABEL" column in 11.5.9.

    Duplicate post.
    Need to know actual table name for actual table name for Bom_Bo_Pub.Bom_Rev
    Need to know actual table name for actual table name for Bom_Bo_Pub.Bom_Rev

  • I need STANDARD  Scripts names for  SD, MM, PP, and some others

    hi
    i need the standard script names for sd mm and pp
    and also others modules
    please send atleast 6 names
    with some details
    and key points
    thanks in advance

    Hi,
    Purchase Orders ---> MEDRUCK
    Invoice Reduction -
    > MR_REKL
    Sales Summary  -
    >  SD-SALES-SUMMARY
    Packing list  -
    > SD_PACKING_LIST
    Goods Issue Slip ---> WASCHEIN
    don't forget to reward points.
    Regards,
    azaz ali.

  • Find the program which retrive the program name for 2 years.

    Hi Team,
    i have requirement like , i am working on BRITVIC Client , they want to me write a program which has retrive the all development Z program name for last 2 years.
    could you please suggest me the standard program which has retrived all program name for last 2 years.
    Thanks in Advance.
    puneet.

    Hi,
    go to table EUDB - Development Environment Objects
    see the program name NAME as putting Z*
    where DATUM is the creation date
    ZEIT is the creation time
    also you can go for table REPOSRC - Report Source Code
    Arunima
    Edited by: Arunima Rudra on Nov 18, 2008 3:44 PM

Maybe you are looking for