Required variable logic in BI 7.0

we have two characters (posting _date & Netdue date )required the variables with one entry for the posting date,then it takes the same value for netduedate also.(aging buckets reports (AR).)
please let me know ur suggestions

Hi,
Create an input variable for posting date ZPOSTINGDT and a user exit variable ZNETDT on the net due date.
In the CMOD write the follwing code
WHEN 'ZNETDT'.
  LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZPOSTDT'.
    IF sy-subrc = 0.
      CLEAR: l_s_range.
      l_s_range-low = loc_var_range-low.
      l_s_range-sign = 'I'.
      l_s_range-opt = 'EQ'.
      APPEND l_s_range TO e_t_range.
    ENDIF.
  ENDLOOP.
Once written then restrict the net due date with the variable ZNETDT and posting date with the vairable ZPOSTINGDT in the query.
Now what ever value you will enter for posting date will go to net due date.
Thanks
Ajeet

Similar Messages

  • Unexpected type  required: variable   found   : value

    Hello, these are my errors:
    PWC6197: An error occurred at line: 43 in the jsp file: /jsp/ListRedirect.jsp
    PWC6199: Generated servlet error:
    string:///ListRedirect_jsp.java:96: unexpected type
    required: variable
    found : value
    PWC6197: An error occurred at line: 43 in the jsp file: /jsp/ListRedirect.jsp
    PWC6199: Generated servlet error:
    string:///ListRedirect_jsp.java:96: incomparable types: java.lang.String and int
    ==================================
    any suggestions??
    <%      
    if (listData.getListURL()= null || listData.getListInfo() == 0)
              String baseUrl = "/content/listings.html?";
             String listUrl = null;
                  if (userData.isAgentType()) {
                    listUrl = parentPage + baseUrl + "ag_id=" + userData.getAgentID();
                  }  if (userData.isBrokerType()) {
                  listUrl = parentPage + baseUrl + "br_id=" + userData.getAdverID();
                  }  if (userData.isOfficeType()) {
                  listUrl = parentPage + baseUrl + "ag_id="= + userData.getAdverID();
                  } else {
                  listUrl = parentPage + "/content/homefinder.html";
                   if (listData.getListURL() && listData.getListInfo() == 1) {
                       listUrl = listData.getListURL();
               else {
                    listUrl = parentPage + "/content/homefinder.html";
    %>     

    mimsc wrote:
    if (listData.getListURL()= null || listData.getListInfo() == 0)
    The 1st part of this if statement is incorrectly an assignment, not a equation.
    Further on, this code belongs in Java classes like servlets, not in JSPs. This would not only introduce clean code separation, but also greatly improve debugging and maintenance.

  • Minimum requirements for logic pro 7

    what is the minimum requirements for logic 7,can i get away with 10.2.8 or does it have to be higher?

    mr d, a lot has happened since you moved to mars......recommend you use some of that martian dracma you've been hoarding to buy in on tiger.
    logic just loves a big fat tiger to chow on.
    seriously, d rock, where you been, man?

  • Urgent : Help required for logical comparison of two 2GB files.

    Large files need to be compared depending on Business logic. No byte to byte comparison to be done. It would require reference of data written at the start of the file at some other later part of the file too while comparing two files. File needs to be stored in memory while comparison is done. Kindly suggest some way out which would give best performance. Memory limitations are 256 MB RAM.

    File needs to be stored in memory while comparison is done.
    Memory limitations are 256 MB RAM.You have 4 GB of data. You have 256 MB of RAM to put it in. Obviously one of those two assumptions has to be changed. By the way, what is the XML connection for this question?

  • Some help required with logic for a dynamic sql query

    i have below code but not sure how to resolve this problem - what i need is to be able to dynamically
    the problem:
    i have a rabbge of paratmeters coming in from a form and need to be able to create a dynamic query string to go into a prepared statement object.
    the problem i have is there are 2 fields year range and year.
    if year range is none i need to create the query string as such :
    where the value of year can be serached on exactly
    str.append("VOLUME_YEAR = ? ");the probelm is if the year range is 5 or year range is 10 i dont know how to maipulate the query string to be able to set the string such that i can then place the year value in the place holder in preparedStatement.setInt(1, year)
    how can i create the intial query string ie.- what are the possible things that i can do. - i'm thinking of things like putting some type of between or such type query statement - but not at all sure how the syntax would go - ie. how would i use the year value and how would i create this dynamic part of the query string so that the JDBC regonises it?
    thanks for any help.
    public String setVolumeYearQuerySt(String year, String yearRange, StringBuffer str){
              String volumeYearQueryString = null;
              Sring doAction= null;
              if (yearRange.equals("None")){str.append("VOLUME_YEAR = ? ");}
              else if(yearRange.equals("5 Years")){doAction = "Nothing";}
              else if (yearRange.equals("10 Years")){doAction = "Nothing";}
              return volumeYearQueryString;
              }

    Saish - thanks a lot for the code example.
    Although, i think its far too advanced for me to understand and try to manipulate it and fit my problem. I'm pretty new to programming as you can probably see from my simple if else type statements. But i'm going to give it a try and see how it goes.
    could you please be kind enough to demonstrate how i could use the above syntax to do the following. --
    i have a year being entered in form .  in the database there is a column year volume which contains year in single year value format and also in a year range  value format - thus as in below - how could i do this -
    eg.
    user can enter a value in the year field a single value or a range value - then he can select +/-5 or 10 yrs range on that value - the DB holds the values as single values and ranges as below -
    one suggested apporach is as follows if a single user is alloweed to enter only a single value in the filed and select a query range +/- 5 etc..
    volume year of �1926-1928� and the user enters �1927�, the query has to find all records where
    look for records that are �less than or equal to� 1927.  It then has to check to see if it contains a range.  For those that it finds containing a range, it has to work out what the �upper� year is and check to see if that is �greater than or equal� to 1927.  If it is, then that is a possible matchanother approach that is suggested is to have a drop down with all years from databse and user is only llowed to select value from drop down and following logic is suggested :
    Because volumes can be received as ranges (e.g. 1964-1966), some extra coding is required where the user asks for a Year Range (such as + or � 5).
    Using the Year selected from the dropdown list, split it into 2 values, a low year and a high year. For example, if �1965-1968� is selected from the year dropdown, split it into �1965� and �1968� for the low year and high year respectively. If �1964� is selected from the year dropdown, split it into �1964� and �1964�. Now take the Year Range that the user has entered into account. For example, if the user has entered 5, subtract 5 from the low year and add 5 to the high year. Using these values, include the following search criteria in the query to the database:-
    (<low year>     BETWEEN
                 left (VOLUME_YEAR, charindex ('-',VOLUME_YEAR + '-') - 1)
         AND     right (VOLUME_YEAR, charindex ('-',VOLUME_YEAR + '-') - 1))
    OR     (<high year>     BETWEEN
                 left (VOLUME_YEAR, charindex ('-',VOLUME_YEAR + '-') - 1)
         AND     right (VOLUME_YEAR, charindex ('-',VOLUME_YEAR + '-') - 1))regards - i think if i could solve the first approach that would be something good as its most user freindly
    thanks

  • Beta Testers required for Logic Pro X Keyboard

    Hey
    We're the company behind the colour coded shortcut editing keyboards for Logic Pro 9.
    We're about to launch our new compatible keyboard for Logic Pro X, however before we do we requrie 5 Beta testers who can check all shortcuts for us.
    For your help, you'll get an entirely brand new Logic Pro X keyboard free of charge.
    We do only require 5 people, however any additional testers will also be given a 20% of voucher for their time.
    Please drop me an email and we can send the new PDF.
    Many Thanks
    Mark Brown
    Editors Keys
    Company Director

    Hey thanks!
    My email is mark.b (at) editorskeys (dot) com

  • Require coding logic

    Hi,
    I need a logic for the below requirement,
    Internal table 1 will have around 13 fields ex: a, b, c, d,.. m
    Interanal table 2 has a field called FIELD which will have the field name ex a,b,c,d.. (field name is nothin but the fields in the internal table 1 i.e a,b,c,d.. m)
    if the internal table 2 entries are d,e,g,h,k then i need to sort the internal table 1 by fields d,e,g,h and k
    if the internal table 2 entries are b,d,f,k.a the i need to sort the internal table 1 by fields b,d,f,k,a
    So could some one please suggest me some logic for this, It would be good if I could get a sample code for the same
    Thnx,
    Nalina
    Moderator Message: Asking for coding without any effort fron you is NOT allowed.
    Edited by: kishan P on Feb 16, 2011 4:34 PM

    <<code removed by moderator>>
    Edited by: kishan P on Feb 16, 2011 4:35 PM

  • ODI Procedure: Using Variable Logical Schema

    Hi!
    i wrote a PL\SQL procedure inside an odi procedure, using options, variables etc.
    now we need to execute the procedure in different logical schemas.
    We've at least 20 different logical schemas and to semplify the maintenance we'd like to pass the logical schema as an Option or something similar,
    is it possibile to do this with a procedure?
    The version of ODI is 11.1.1.5.0 and the targets are only Oracle DB.

    I've got a question : are all you schema in the same server (database) ?
    If so, you can LIST the schemas with a SQL Statement in the "command as SOURCE" tab.
    example :
    select owner as SCHEMA
    from all_tables
    where ...or a SQL Statement in ODI MASTER_Repository to get the logical schema :
    select lschema_name as SCHEMA
    from snp_lschema t1
    where ...And in the "command as destination" tab, you execute the PL SQL, but you use the result of SCHEMA.
    As a result, if you have 40 schema retrieved by the first SQL Statement, ODI will execut your PL/SQL statement 40 times, changing the SCHEMA value each time.
    And, in the first tab (command as destination), you use a generic Oracle User that have access to all schema of the dabase (or at least, the 40 schema you want).

  • Require variable substitution

    Hi Experts,
    We are passing the file name  as P160511_0001.txt within input field (input field name is File_Name)itself. the same output we want as P160511_0001.txt using variable substitution.please find the pay load message given below.
    <?xml version="1.0" encoding="utf-8" ?>
    - <n0:MT_PositivePaycheque xmlns:n0="urn:logica.com/pi/positivepaycheque" xmlns:prx="urn:sap.com:proxy:ERD:/1SAI/TAS920370786C5BED94B7F7:701:2010/02/19">
    - <RecordSet>
    - <Header>
      <Header_Description>UHL</Header_Description>
      <Description>PositivePay</Description>
      <Reference>R11NOT</Reference>
      <Issued_date>15JUN10</Issued_date>
      <File_Name>P160511_0001.txt</File_Name>
      </Header>
    - <Line>
      <KeyHouseBank>089074</KeyHouseBank>
      <IDAccount>61140019</IDAccount>
    Kindly give the step by step proceedure for creating variable substitution.
    regards
    elton

    reference: payload:Header,1,File_Name,5
    File_Name is the 5 th field name
    it should not be treated as position of the field in your XML....it is the number of occrence...as per your setting the file name should be taked from 5th occurence of File_Name....however this wont be the case....you need it from the only occurence present
    So it should be Header,1,File_Name,1
    below details are selected
    adapter specific message attribute
    file name
    You dont need to set the above as you are using Variable Substitution and not ASMA....these are two different things
    Why not implement Dynamic Configuration? Dont you have mapping in your scenario?

  • Minimum system requirements for logic pro 7?

    Alright, im looking for a birthday present for my brother in law. hes always been jealous of my apple computers and ive decided to hook him up with a new computer and logic pro 7 for his birthday.
    My question is this: What are the basic system requirements to run logic pro?
    Im trying to do this as economically as possible, so i'm thinking a macbook or imac. anyone have any suggestions as to what i should but, but will still be stable when running logic pro?

    Alright, im looking for a birthday present for my
    brother in law. hes always been jealous of my apple
    computers and ive decided to hook him up with a new
    computer and logic pro 7 for his birthday.
    Do you have another sister? I've always wanted an in law who would buy me computer and pro audio gear. LOL.
    My question is this: What are the basic system
    requirements to run logic pro?
    Macintosh computer with PowerPC G4, G5 or Intel Core processor required; Intel Core, G5 or dual G4 processors recommended
    512MB of RAM
    Logic Node applications require PowerPC G5 or Intel Core processor and Gigabit Ethernet connectivity
    Mac OS X v10.4.3 or later
    Quicktime 7.0.3 or later
    8GB of available hard drive space
    DVD drive for software installation
    Available USB port for XSKey (copy protection)
    Low-latency multi-I/O audio hardware and MIDI interface
    This was taken from apple stores web site.
    Cheers and great gift idea
    Dee

  • Help required with logic

    Moderator message: pleause use a meaningful subject in future
    Hi,
    I have a custom table which has customer ID field and amount field.
    In the report I need to bucket data by amount and no. of customers in that bucket.
    For ex: for amount range 1.00 u2013 25.00 there are 100 customers and total amount $1000.00, 25.01 to 50.00 there are 34 customers  and total amount $20,000 and so on.
    What I am planning to do is fetch records from table into internal table using group by clause,
    SELECT CUSTOMER AMOUNT FROM CUSTOMER_FINES INTO TABLE LT_FINES GROUP BY CUSTOMER AMOUNT.
    This would bring me in the internal table all customers and their fine. Now what would be the best logic to separate them out into groups.
    Approach what I thought of is having two variables for each bucket no_of_customers and total_amount. Then loop through the internal table add If conditions on amount and then accordingly increment no_of_customers for that bucket and add amount to total_amount.
    But the internal table is likely to have a lot of records about half a million. Is this a good approach. Can you'll recommend what is the right way to achieve this.
    Thanks in advance,
    CD
    Edited by: Matt on Dec 17, 2009 10:02 AM

    Hi,
    do this.
    1. create counters for the no of ranges you have say 1.00 u2013 25.00 counter1 total_amt1, 25.01 to 50.00 counter2 total_amt2 etc
    2. loop at your internal table
    3. check which range the amount falls into using IF statement
    4. increment counter* by 1 and add amount to total_amt*
    You are done.
    Regards
    Prasenjit

  • Assistants creation and variables logic in Muse

    Hello, I'd like to know if Muse allow me to create assistants in which I can formulate questions, and according the answers, show more questions, and according the answers go to next questions derived from the previous questions. Then, get all those data in variables, and finally allow me to know values and take proper decissions. I am wondering if Muse can do that?
    For example, let's imagine someone want to see shoes, so I will ask female or male shoes? if the reply is male, then I will ask style, color, etc.
    Finally I would like to have all those data in variables.
    Would MUSE be able to do that?
    If not, could this feature be directed to the MUSE development team?
    Cheers
    A tip for the MUSE development team.
    If this feature is not yet implement, I see a very easy way to implement it.
    It would work as a flowchart, with simple shapes.
    You just draw a flowchart with the process or question and you connect that box, romboid, etc. to other process or question.
    That would define graphically the logic processes.
    Then, the only thing MUSE need to do is to follow the processes showing the questions in the screen, with the font, format, etc.

    Hi Aish,
    Done. Here you have it: https://forums.adobe.com/message/6814528#6814528
    Hope you like it.
    Please, ask me any questions you could have in mind if you don't understand the idea or need to clarify anything.
    Cheers

  • Merge statement required with Logic

    Table Name: F_SCENARIO
    System : Dataware house
    Oracle version : 11g
    Record Count : 2 Million records
    Correct scenario records
    F_Key
    F_Bridge_key
    Record_type
    1
    1
    1
    2
    1
    2
    3
    1
    3
    Wrong scenario records
    F_Key
    F_Bridge_key
    Record_type
    1
    1
    1
    2
    -5
    2
    3
    -6
    3
    I want to write a Merge statment to update the nagative values into 1,  can you please help me to provide some suggestion and query
    Please let know if you any confusion in the above data's

    Hi Tubby,,
    I have 2 million records like above set of records
    you have hardcoded f_bridge_key = 1, it not always same values of 1, why because the f_bridge_key is sequnce number
    Merge statment required becasue client is expecting with merge statment, the below highleted bold color is one set of records
    Wrong scenario records
    F_Key
    F_Bridge_key
    Record_type
    1
    1
    1
    2
    -5
    2
    3
    -6
    3
    4
    4
    1
    5
    -8343
    2
    6
    -3534
    3

  • What operating system is required for Logic Pro 9?

    Just bought a Mac Pro with 10.7.5 Lion already installed. I want to know If I need to change the operating system to support Apple Logic Pro 9?
    I have'nt bought Logic Pro 9 yet, but I bought Pro Tools 10 and would like to have both Logic and Pro Tools on the same computer. There both picky about
    which operating system to use. Which operating system would support both?

    I think sticking with Lion 10.7x is your best bet, you will find easier going with both Protools & Logic. Some report problems with Mountain Lion and Logic.
    Check and make sure you don't need the 10.7.5 supplemental update, if you do, INSTALL it otherwise Logic won't recognize some AU plugins.
    http://support.apple.com/kb/dl1599

  • SYSTEM REQUIREMENTS FOR LOGIC STUDIO-upgrade from LOGIC PRO 7

    I have been using LOGIC PRO 7 on my G5 1.8ghz Power PC G5 with 768 MB DDR SDRAM with no problems. I'd LOVE to upgrade to the new 8. I notice it said minimum req is 1.25ghz and 1gig of ram.
    Will I be able to run this on my current system for basic recording, etc. Do I REALLY need the 1.25 and 1 gig of ram? If i'm doing no more than 8 tracks live at a time-live instruments?

    Hi Mikey, First off they mean a G4 1.25 or faster. Your G5 1.8 should be fine. Second, the 768MB of RAM will be an issue. Fortunately RAM for your machine isn't that expensive. If I were you I'd load up with as much as you can. It will help you in all aspects of your computing, not just Logic. Check out the link below for some options.
    http://eshop.macsales.com/MyOWC/Upgrades.cfm?model=183&type=Memory&TI=0552&shoup grds=Show+Upgrades
    Stootka
    P.S. I am in no way affiliated with the retailer in the link, it's just the first place I thought of. You may want to search on a few more to shop for the best deal.

Maybe you are looking for