Infospoke selection condition has to automated

Hi Friends,
For example the Fiscal week "from" value of selection condition should be ( current fiscal week -15 ) and the "to" value should be the last fiscal week of current year. This selection condition has to automated and infospoke should be using this selection condition while running through the process chain.

Write a simple program updating these two tables (which have columns for High and Low) and execute that program before Infopackage in your process chain.
Tables are:
update RSBSPOKESELSET
set low = low_date
high = high_date
where infospoke = ic_name
and objvers = 'A'.
and
update RSBSPOKEVSELSET
set low = low_date
high = high_date
where infospoke = ic_name
and version = max_ver
Hope this helps.
Cheers,
Sumit

Similar Messages

  • Selection Condition in Infospoke

    Hi All,
    I am having an Process chain and it contain one Infospoke.
    In Infospoke i have week/year as selection.
    My requirement is when ever i execute the PC, the Infospoke
    selection should automatically generated as current week - 4 weeks to current week
    i.e., suppouse i am executing the PC on week 05.2009. Now in Infospoke
    selection for fiscal week/year from value and to value should be 01.2009 to 05.2009.
    Thanks,
    Jackie.

    Hello Jackie,
    You can achieve it by using BADI in your infospoke. In the BADI you can write the code to change the selection whenever you run the infospoke. You can find this option in the Transformation tab in the definition of the infospoke.
    Hope it helps.

  • Adhoc Query : Error during selection; check the selection conditions

    Hi
    We have a report set-up and which we want to run using our adhoc query report tcode S_PH0_48000513
    The report, has a few different selection criteria in it to look at all action IT screen data in the system for ee's in specific personnel areas. There is also a criteria to allow us to paste in specific employee numbers we are interested in. The issue I am facing is that over about 3000 ids, the system automatically returns me a message when I click on the Output button to run the report which states:
    Error during selection; check the selection conditions
    Message no. PAIS206
    I am not sure why this is happening. The selection criteria are fine and the other day I ran the report and I experienced no issues. The report ran successfully. Now though, if I try and paste in all the ids I am interested in (about 8000) I get this message straightaway.
    Can anything be done to overcome this issue?
    Any advice would be much appreciated.
    Nicola

    Hi
    The message in full is:
    Error during selection; check the selection conditions
    Message no. PAIS206
    Diagnosis
    A runtime error occurred during dynamic selection.
    System response
    The runtime error will be caught; no short dump will be created. This error should not occur as a rule. However, very large select statements may trigger the runtime error SAPSQL_STMNT_TOO_LARGE or DBIF_RSQL_INVALID_RSQL. There is no way to prevent this happening. In this case, the error can only be caught.
    Procedure
    Check the selection conditions to see whether the error was caused because the option "Import from text file" included too many objects in the "Multiple selection" dialog. If this is so, you must limit the number of individual values.

  • Selection Condition In Infopackage

    Hello,
      Is there a way to use a single infopackage by passing different selection conditions thru' abap routine, for delta init.  We require this as we have to extract data based on the logged-in user.
      Any help is highly appreciated.
    Thank you very much,
    Raj

    Hi Ronald,
    I am coming back with further infn after a long time as i was strucked with other development area, actually our client requirement is Data has to be loaded on company wise .. means the respective responsible person only carryon loading person as per his profile(Authorisation)load has to be happen...this is one requirement,
    one more is (whether in this scenario can we go for Delta)
    we enhanced the Dtasource with new field in R/3 and when we are trying to make it selction condition in infopackage we are not getting filtering as per that ..
    could u or anyone who knows through a light on this..
    Thanks in advance
    BRB

  • "Filter the LOV based on the selected conditions" RADIO BUTTON doesn' work

    Hi All, I'm trying to create a cascading parameters mechanism, but I found certain difficulties.
    I need to have 2 LOV connect: the master LOV retrieve a list of User's groups, and the detail LOV has to retrieve only the customer's categories that come from the user's groups selected.
    So, in order to retrieve the values I defined on the Administrator:
    1) one custom folder for the master LOV (list of the User's groups) and another custom folder for the details LOV (list of the customer's categories).
    2) The 2 LOV as item classes
    On Discoverer Plus, following the manual ("About filtering lists of parameter values based on selected conditions ("cascading parameters"), I tried to create thw first parameter based on the master LOV, but I DON'T have the radio button "Filter the list of values based on the selected conditions" enabled !!!...I CAN'T USE IT !
    If this radio button is not enabled, I can't link the master parameter with the detail parameter.....
    Anybody can help to discoverer what I missed during the creation of cascading parameters ?
    Thanks in advance for your help
    Alex

    Hi Manav, thanks for your reply !
    I resolved the problem, linked the two custom folders with a join !
    The radio button didn't work just only the parameter where condition has to be deselected and then re-selected !!
    Alex

  • View with selection conditions with system fields.

    Hi Experts,
    I have a view. Now i want to control the data that is selected using 'Selection Conditions'.
    here i want to use system field SY-DATUM.
    My requirement is  i want to control the output like
    Valid_From_Date GE SY-DATUM and
    Valid_To_Date     LE  SY-DATUM
    which means that i would be showing only active users in this view.
    How can i go about this? System is not allowing system fields in comparision value.
    Any help on this is highly appreciated. Thanks.
    regards,
    Simha

    Hi,
    I am getting a warning first 'enter constant as comparision value'
    when i trying to activate the view i am getting the below error.
    A join condition on a field of the system table SY (or SYST) was defined.
    This is not permitted for database views because the system table is not known to the database
    Have tried to activate the view you created?
    How to go about this?
    Regards,
    Simha

  • My Bluetooth USB wireless transmitter for my portable speakers has quit working.  Preferences says, "The selected device has no output controls", it used to work just fine.  Can anybody help?

    My Bluetooth USB wireless transmitter for my portable BT speakers has quit working.  Preferences says, "The selected device has no output controls", it used to work just fine.  The internal and a pair of wired external speakers work fine.  Can anybody help?

    Just tested something and it worked.
    If I put the headphones all the way in, the mac recognizes it as a digital output.
    But if i don't put it all the way in, it recognizes it as headphones and works perfectly.
    It's probably this crappy headphones.
    If anyone has the same problem, try this out.

  • Selection condition in maintenance view

    I have one table with data related to 5 systems.
    MSF, RET, SER, BOB, SAV, LED.
    I need t o create views with related data for each system. But system BOB contains data related to MSF and RET, So instead of creating view for that i have to add MSF related data to MSF view and RET related data to RET view from BOB system. These all are from one table only.Can you please suggest me the selection condition for that in maintenance view.
    Thanks.

    thanks

  • "Windows cannot be installed to this disk. The selected disk has an MBR partition table. On EFI systems, windows can only be installed to GPT disks." Error

    Hey Im getting the following error when trying to install windows from a USB. 
    "Windows cannot be installed to this disk. The selected disk has an MBR partition table. On EFI systems, windows can only be installed to GPT disks."
    I installed the windows 8 (64bit) iso using boot camp to a usb.  I was able to do this after changing the info.plist to allow me to place the iso on the usb.  After I make the partition and start the install, I get the above error.  I formatted the partition in the installation but I keep getting this error.  I've repreated the entire process but i keep getting this errror and the disk utility says my partition is a Windows NT File System (NTFS) so im not sure what's going on.  If you can help me that would be greatly appreciated

    I am having the same problem. Windows is trying to install. It identifies the various partitions but says that I cannot install Windows on the Boot Camp partition or any other. I select Drive options (advanced) and Format the Boot Camp drive, but it makes no difference.
    This is the Windows error:
    Windows cannot be installed to this disk. The selected disk has an MBR partition table. On EFI systems, Windows can only be installed to GPT disks.
    Windows cannot be installed to this disk. This computer's hardware may not support booting to this disk. Ensure that the disk's controller is enabled in the computer BIOS menu.
    I am not sure what Csound1 is suggesting with that post above. There are some involved suggestions over here <https://discussions.apple.com/message/23548999#23548999> about using Disk Utility to delete the Boot Camp partition and create new ones - is that the idea?

  • Windows cannot be installed to this disk 0. The selected disk has an MBR partition table. On EFI system, Windows can only be installed on GPT disks

    Hi All,
    I have been trying real hard to install Windows 8 on my Macbook Pro early 2011 model. I followed the instruction given by Bootcamp word to word, all things went very smoothly untill I was asked Windows Setup Instaled to selct the Hard drive. Here's the error:
    "Windows cannot be installed to this disk 0. The selected disk has an MBR partition table. On EFI system, Windows can only be installed on GPT disks...."
    Let me know guys what should I do?
    Thanks,
    Attiqe

    You have started the Windows 8 installer in EFI mode, and you don't have to start in EFI mode on a Mac because your Mac emulates a BIOS and a MBR partition table in order to install Windows in non-EFI mode.
    To start the Windows installer, hold the Option (Alt) key while your computer is starting and have a look at all the boot options you have. You should see two with a DVD above and they must be named "Windows" and "EFI Boot". Choose the option with "Windows" and follow the steps to install Windows. Note that you have to format the "BOOTCAMP" partition from the installer to be able to install Windows.
    If you are trying to install Windows from a USB drive, note that your computer isn't compatible to do it

  • Not able to put data selection condition in data selection tab of infopakag

    I was loading data from data source as data mart ( export data sauce from ODS) to other ODS.
    when I tried to do delta Initialization with data transfer , I am not able to put data selection condition in data selection tab of infopakage.
    when I choose Full Update in Update tab . It enables data selection fields in data selection tab. and I could put the condition.
    I have checked in transfer structure as well , the fields are marked for selection.
    Please advice .
    Please tell me what could be the reason for this problem

    Ashutosh,
    As you are doing delta upload the data selection tab will be disabled, if you want to do the selective load then you need to do init update with your selection.
    When you do the full updtae then definitely the data selection tab will be enabled for all the objects.
    Hope this helps...
    *******Assign Points if it helps********
    Thanks,
    Gattu

  • How to create a "Selection Conditions" table similar to that found in se11?

    Hi,
    My team is trying to develop a SAP data migration tool (DMT) using ABAP.
    One of the functionalities in the DMT is to validate the data imported to the staging area tables against some reference tables (e.g. SAP tables).
    To do this, I would need to have a "Selection Conditions" table similar to that found in se11 (se11--> Display "View" --> Select "Selection Conditions" tab). This table would allow me to specify my 'referencing' conditions (e.g. Table = "ZMYTAB", Field = "ZMYFLD", OPERATOR = "EQ", Comparison Value = "ZMYTAB2", AND/OR = "").
    Are there any ready-made codes out there for such a "Selection Conditions" table? Or did SAP provide a built-in object for such a table?
    Any help would be greatly appreciated. Thanks!

    personnally I do use the standard FMs for dynamic selections
    see FM FREE_SELECTIONS_DIALOG
    Look at this sample code:
    http://sap.ittoolbox.com/code/archives.asp?i=10&d=2919&a=s

  • Selection condition in the infopackage for initializing delta

    How does the selection condition in the infopackage help in initializing delta?

    Hi,
    You can enter multiple single valus for any field in the infopackage. Just select the row for material type and then click on the insert duplicate button ( + sign ) which is at the bottom letf hand side in the 'Data Selection' tab within the infopackage. You will usually find this 'insert duplicate' icon next to the 'Check' push button.
    You can insert as many rows as you want for material type by select the material type rown and clicking on this icon. You can then enter the three values in the three rows for material type.
    Regards,
    Shilpa

  • Routine in DTP. Selection conditions not visible

    Hello,
    I am under BW7.0
    I am filtering data with a routine in a DTP. The routine is reading a custom table that user maintain. It contains a date range.
    This works, the correct data is selected.
    My problem is that in the request the 'Selection Conditions' field is empty and consequently, I cannot delete in the cube the same selections.
    This was working under BW3.5..
    Many Thanks,
    Alex-

    Hello,
    Here is the code. It is working as I expect. And debugging gives me the correct start and end date. But this is not reflected in the request 'Selection conditions'.
    TYPES:
    BEGIN OF BCSZP_TYPE,
    JJJJPER TYPE ZCBCSZP-ZEITPUNKT,
    RELEV   TYPE ZCBCSZP-RELEVANT,
    END OF BCSZP_TYPE.
    DATA: BCSZP_TAB TYPE STANDARD TABLE OF BCSZP_TYPE,
          BCSZP_WA TYPE BCSZP_TYPE,
          start_date type sy-datum,
          end_date type sy-datum.
      SELECT ZEITPUNKT
             RELEVANT
        FROM ZCBCSZP
        INTO TABLE BCSZP_TAB
       WHERE ZEITPUNKT <> ''.
      READ TABLE BCSZP_TAB INTO BCSZP_WA
      WITH KEY RELEV = 'X'.
      CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET'
        EXPORTING
          I_GJAHR        = BCSZP_WA-JJJJPER(4)
          I_PERIV        = 'K6'
          I_POPER        = BCSZP_WA-JJJJPER+4(3)
        IMPORTING
          E_DATE         = start_date
        EXCEPTIONS
          INPUT_FALSE    = 1
          T009_NOTFOUND  = 2
          T009B_NOTFOUND = 3
          OTHERS         = 4.
      CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET'
        EXPORTING
          I_GJAHR        = BCSZP_WA-JJJJPER(4)
          I_PERIV        = 'K6'
          I_POPER        = BCSZP_WA-JJJJPER+4(3)
        IMPORTING
          E_DATE         = end_date
        EXCEPTIONS
          INPUT_FALSE    = 1
          T009_NOTFOUND  = 2
          T009B_NOTFOUND = 3
          OTHERS         = 4.
      read table l_t_range with key
           fieldname = 'FKDAT'.
      l_idx = sy-tabix.
      l_t_range-sign = 'I'.
      l_t_range-option = 'BT'.
      l_t_range-low = start_date.
      l_t_range-high = end_date.
      if l_idx <> 0.
        modify l_t_range index l_idx.
      else.
        append l_t_range.
      endif.
      p_subrc = 0.

  • Problem with process order resource selection condition

    I face a problem while trying to release process order as i am getting an error as "Resource XXXX assigned to operation 20 does not meet resource selection condition".What may be the reason for this.how to check and rectify...
    Please help.

    hi,
    I think you have been using a work center in place of resouce.
    Actually
    Resource catagory = 0008 is assign to Application C (Recipe) & only use in Recipe Creation.
    Work Center catagory = 0005 is assign to Application N & R( Routine & Refernce operation set) & only use in Routine Creation.
    Parminder

Maybe you are looking for

  • Math in Java

    What is wrong with Java's math. It adds double wrong sometimes. Why is this? Is there a way to hard-code it so it will add right? Regards, Collin

  • Extra space below stacked item groups

    Hi A form that whose all columns, except four at the top, are distributed in 4 stacked item groups (using native tabs) is being generated with a extra space below the item groups tab canvas. The space is not inside the tabs themselves, but below the

  • OCS Patch 9.0.4.2 fails on storage

    I am trying to patch OCS to 9.0.4.2 from a (fresh installed) 9.0.4.1 installation. The infrastructure is patches successfully. According to the patch notes the next phase is to patch the storage home (I do use the storage database as email store, so

  • Drill filters in Webi

    Hello All, I have the following requirement in Webi XIR 3.1.. I have a hierarchy defined as Country,State,City and Area..When i right click on Country,i have options to drill by which shows State,City and Area..I need to capture the option which the

  • Distribution agent could not apply a generated snapshot file

    In my case , some main info as follows . after add a article into one publication , then manually execute sp_startpublication_snapshot to generate snapshot ,and with no errors , but distribution agent didnot apply it . How to fix ? Type:Transaction R