Regarding Select condition

Hi all
I would like to transfer more than 50 lakhs records from more than six tables which shld be further processed.
I would like to have a optimized code so that it doesnt end with short dump.

Hi Dhurga ,
can you elaborate your requirement. Is it possible to select data with more filters (Example : if you have 100 BUKRS, process data for 1 BUKRS at a time).
Regards,
Mohaiyuddin

Similar Messages

  • 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

  • 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

  • Regarding select option in a module pool prog .

    hello .. i need some help regarding select options in a module pool program .. i hav tried putting a select options in a module pool prog but i am not able 2 ... can any one tel me why select options r not aloowed in a module pool prog ?? and i read that we hav 2 use ranges 2 fulfil the needs of the select options . is there any way i cal get all the functionality of select options ( eg including , excludig , equal to , not equal to , .... .) using a range ??

    Hi
    Select-options won't work if you declare the program as Module POOL.
    if you wants to use select-options like utility in module pool programming
    use ranges
    declare and develop ranges and use that in select statement where condition.
    ranges: r_vbeln for vbak-vbeln.
    r_vbeln-low = '0018900678'.
    r_vbeln-sign = 'I'.
    r_vbeln-option = 'EQ'.
    append r_vbeln.
    r_vbeln-low = '0018900456'.
    r_vbeln-sign = 'I'.
    r_vbeln-option = 'EQ'.
    append r_vbeln.
    reward if useful
    regards
    Anji

  • Select conditions in variable - BPS SEM

    Hello experts,
    I have a question:
    when I go in BPS0, Display area, Variables, double click on a variable and there is a flag on Input Allowed by User --> if I make double click on user name, the value that I see is the only value that this user can use for this variable?
    I have a variable in this conditions, the variable is Sales Organization, and the user indicates to me that can't use a Planning Function with a Sales Organization, that it is no present in the possible values of the user name.
    I must only add the new value? Why I have two fields in Selection Conditions?..I have a field called Sales Organization and the other one called To.
    Excuse me, but I don't know BPS.
    Thanks in advance,
    Vito

    Hello Vito,
    it depends on the setting in the second flag "Input allowed by user"
    if this second flag is not checked - you habe to specify all the values for the users in the little list.
    if this second flag is checked - the users can choose whatever they want.
    the "to" field is used for interval definition, usually the BPS does not like intervals, so it would be better to make up a list with single values.
    regards
    Cornelia

  • Selections conditions at the Infopackage

    Hi,
    My Requirement is to load data for the selection conditions of Current month+12 periods and Current Month-24 periods for the Calmonth characteristic by writing a routine at the infopackage level.
    Is there any standared function module for caluclating the year and period using the system date.
    If I use 'DATE_TO_PERIOD_CONVERT' then this would give me the year and period but that needs my fiscal variant.
    Could some pne help me with this.
    Regards,
    Vamsi

    Hi Ajay,
    Could you please tell me whether this code works out for +12 months..
    Data : today like sy-datum,
          current_month(6)  type C,
           I_MONTH    TYPE I,
          I_YEAR     TYPE I.
         data: l_year like T009B-BDATJ,
          l_period like T009B-POPER.
    data: l_fiscperlow like l_t_range-low.
    data: l_fiscperhigh like l_t_range-high.
      today         = sy-datum.
      current_month = today+0(6).
      l_year        = today+0(4).
      l_period      = today+4(2).
    l_fiscperlow = current_month.
        Add 1 to l_year.
            concatenate l_year l_period+1(2) into l_fiscperhigh.
          l_t_range-low = l_fiscperlow.
          l_t_range-high = l_fiscperhigh.
          l_t_range-option = 'BT'.
          l_t_range-sign = 'I'.
    Regards,
    Vamsi

  • SV004 - I need to change the selection condition in the view: J_1BT001W

    Hello guys,
    Can you please help me with a topic ?
    How can I change the selection condition in the view: J_1BT001W ?
    I was trying to use se11, but says that J_1BT001W does not exist.
    Thanks a lot,
    Jordan

    Hi Jordan,
         The correct view name is J_1BT001WV and not J_1BT001W. It is made of table joins - T001W T001K T005. Please let me know if this answers your question.
    Regards
    Ram

  • Query on resource selection condition

    Hi All
    I have a process order with a operation having a resource selection condition.In the classification of the master recipe i have entered the resource name(as characteristic value) as X whereas the name of the resource where the operation is to take place is A and in the classification of the resource A i have enter the characteristic value as "A".
    Now is it possible to release the process order without getting the error message :"Resource in operation does not satisfy resource selection condition".
    please advice.

    Hy,
    Kindly go through below link it might be give some inputs if some data is missing in your condition.
    [http://help.sap.com/erp2005_ehp_03/helpdata/EN/89/a42678461e11d182b50000e829fbfe/frameset.htm]
    Regards,
    Dhaval

  • How to transfer Query selection conditions to Virtualprovider?

    Hi,
    I am using a virtualProvider with DTP for a query. The virtualprovider data comes from an infocube. I want to manipulate some fields based on the selection conditions given as user entry during the query execution as I have to read a few master data infoobjects.
    How and where do i get the user input given in query in the virtualprovider transformation routines?
    Regards,
    Sujai

    Hi Eric,
    Exporting to memory is a method i thought of, but i am assuming there should be a method other than that to do it. I found this doc in the forum:
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f05d0b81-076a-2c10-44ab-f00b0b90ce38?quicklink=index&overridelayout=true]
    It explains how the issue could be resolved using the Expert routine. But now i am having a different problem.
    The calculations are done at the record level based on some criteria, I would like to know how to get the internal table which stores the selected records from the source on which i could do my calculations in the virtual provider.
    Regards,
    Sujai

  • Selection conditions not met when executing planiing function

    Hi,
    I am getting an error "Value # for characteristic Budgeting Value Type is not contained in the relevant selection conditions." I have several error messages similar to this for 2 or 3 other characteristics. What could this be caused of? I have data from the table that I am picking up from.
    Thanks,
    RT

    Rob,
    Within the planning package that is relevant for the planning function you are trying to execute, there maybe restrictions(selections) in terms of what "Budgeting Value Type" you are allowed to plan for. If, within your function you are trying to plan for a different "Budgeting Value Type" that is not part of the selections defined in the package, then you would get similar error messages.
    Please check to see if the planning package allows for # Budgeting Value Type & similar checks for other characteristics that you get error messages for.
    Regards,
    KK

  • 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

  • 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.

  • 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

  • Regarding Workflow condition

    Hello,
    i need help regarding workflow condition..
    When the Owner of the record gets changed to a specific user i want to create a set of tasks automatically created,.. is it possible using workflows, if possible what is the trigger event i have to use and what is the workflow condition.. please help me out its very urgent

    Hi again,
    i have used the following:
    Trigger Event : when modified record saved
    Condition : FieldValue('<Owner>') = "Jenny Adams"
    and created list of actions for creating tasks.. but i think there is problem with condition.. please help me with condition.. i also tried
    [<Owner>]='Jenny Adams'
    [<Owner>]="Jenny Adams"
    FieldValue('<Owner>') = 'Jenny Adams'

Maybe you are looking for