Selection Option question in Info Package

We would like to stop update Master Data if no master data exists for a characteristics. I found there is a selection options in Info Package Update Tab called "Do not update data if no master data exists for a characteristic"
I added a row in one of the InfoObject which has been used in another InfoObject as an Attribute. I selected this option in the IP and tried to re-load Master Data, and it didn't fail.
What does this option do?
Thanks!

For example:
InfoObject ITEM and ITMPLN. ITEM is an Attribute in ITMPLN.
ITEM has
Item    Description
001     Test 1
002     Test 2
ITMPLN has
Project No            Item         Description
A                         001          Test A
B                         002          Test B
<b>C                         004          Test C</b>
After I load the last row to ITMPLN, I would like to see the error message instead of adding <b>004</b> into ITEM InfoObject. Do you know how to do it?
Thank you!

Similar Messages

  • ******Creation of a loading selection for cube in info package level

    Hi,
    when we are  scheduling the info package(Infp package name is like XYZ),we want to load past 6 months data from the current date(INFO OBJECT(0CREATEDON) BETWEEN (Sy-Datum - 6 months TO  Sy-Datum),in the selection tab in schedule i want to write the abap routine (type 6).please can any one have this type of code please sedn to me asap.
    this is very urgent.delivery is tomorrow.
    Regards
    lekha

    hi Lekha,
    try
    data: l_idx like sy-tabix,
    l_month(6) type c,
    l_dtlast6month like sy-datum.
    read table l_t_range with key
    iobjnm = '0CREATEDON'.
    l_idx = sy-tabix.
    DELETE l_t_range
    WHERE iobjnm = '0CREATEDON'.
    L_t_RANGE-SIGN = 'I'.
    L_t_RANGE-OPTION = 'EQ'.
    if not work, try
    L_t_RANGE-OPTION = 'BT'.
    BT = between
    current month
    concatenate sy-datum3(2) sy-datum0(4) into l_month.
    L_t_RANGE-HIGH = l_month.
    last 6 month
    clear l_month.
    l_dtlast6month = sy-datum - 180.
    concatenate l_dtlast6month4(2) l_dtlast6month0(4) into l_month.
    L_t_RANGE-LOW = l_month.
    append l_t_range.
    modify l_t_range index l_idx.
    p_subrc = 0.
    $$ end of routine - insert your code only before this line -
    endform.
    Re: routine as selection in infopackage
    Re: routine as a selection in infopackage 2. Paolo Siniscalco and A.H.P
    Re: abap routine

  • Update mode options while creating info package

    Hi all .
        while creating info package in update tab  we have different radio buttons as
       FULL UPDATE,DELTA UPDATE,INTIALIZE DELTA PROCESS. could you pls explain this optons.
    Thanks in advance.
    Cheers,
    sami.

    Hi Sami,
    We have two update modes 1)Full update 2)Init Load(to enable delta)
    Full Load --->Master data Load
    Init Load----->Transaction data Load.
    Full Update-To load Historical Data.
    Init-This is done to enable the Delta Upload.
    Delta will be done only if the Init has happened.
    For deltas they are Data source specific which are delta enabled.
    1. Full Load (Extracts whole data available in source)
    2. Initialization (without data transfer): Enables only delta and no data.
    3. Initialization with data: Extracts whole data from source and enables delta.
    4. Delta: Extracts only modified or new data.
    Above modes works for Master as well as Transaction also.
    For further information check this link:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a65dce07211d2acb80000e829fbfe/frameset.htm
    Cheers,
    Tanish.

  • Update using select/option question

    Morning,
    Does anyone have a snippet of code somewhere that I can use for an update select?
    I need it to take the values from a database table and show the one the user selected like :
    <SELECT NAME="DinnerChoice">
    <OPTION SELECTED = 'Dinner1'>Dinner1
    <OPTION = 'Dinner 2'>Dinner 2
    <OPTION = 'Dinner 3'>Dinner 3
    </SELECT>
    Thanks,
    Laura

    Well, if it is supposed to be a Webapplication and you need to generate HTML via PLSQL then you should code something like this:
    SQL> BEGIN
    /* Just necessary in SQL*Plus (initialization) */
       OWA.cgi_var_name (1) := 1;
       OWA.cgi_var_val (1) := 1;
       OWA.init_cgi_env (1, OWA.cgi_var_name, OWA.cgi_var_val);
       HTP.formSelectOpen ('DinnerChoice');
       /* Choose your table here*/
          FOR c IN (SELECT 'Dinner' || ROWNUM d
                      FROM user_objects
                     WHERE ROWNUM <= 3)
          LOOP
             HTP.formselectoption (cvalue         => c.d,
                                   cselected      => CASE
                                      WHEN c.d = 'Dinner1'
                                         THEN 1
                                   END
          END LOOP;
       HTP.formSelectClose ();
    /* Just necessary in SQL*Plus */
       HTP.showpage;
    END;
    Content-type: text/html
    Content-length: 96
    <SELECT NAME="DinnerChoice">
    <OPTION SELECTED>Dinner1
    <OPTION>Dinner2
    <OPTION>Dinner3
    </SELECT>
    PL/SQL procedure successfully completed.

  • SELECT option question....

    Hi all,
    What is the meaning of FOR ALL ENTRIES IN.. as in the code below: where can I find the documentation of FOR ALL?
    Code:
    SELECT * INTO CORRESPONDING FIELDS OF TABLE L_SPETAB
              FROM VBAK
              FOR ALL ENTRIES IN LVBUK
              WHERE VBELN = LVBUK-VBELN
              AND   LIFSK IN LIFSPE
              AND   VKORG = VKORG
              AND   VTWEG IN VTWEG
              AND   SPART IN SPART.
    What is the meaning of IN (as in the last line of code above)?
    Thanks,
    Charles.

    Hi,
    From online help ...
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3a1f358411d1829f0000e829fbfe/content.htm
    Tabular Conditions:
    The WHERE clause of the SELECT statement has a special variant that allows you to derive conditions from the lines and columns of an internal table:
    SELECT ... FOR ALL ENTRIES IN <itab> WHERE <cond> ...
    <cond> may be formulated as described above. If you specify a field of the internal table <itab> as an operand in a condition, you address all lines of the internal table. The comparison is then performed for each line of the internal table. For each line, the system selects the lines from the database table that satisfy the condition. The result set of the SELECT statement is the union of the individual selections for each line of the internal table. Duplicate lines are automatically eliminated from the result set. If <itab> is empty, the addition FOR ALL ENTRIES is disregarded, and all entries are read.
    The internal table <itab> must have a structured line type, and each field that occurs in the condition <cond> must be compatible with the column of the database with which it is compared. Do not use the operators LIKE, BETWEEN, and IN in comparisons using internal table fields. You may not use the ORDER BY clause in the same SELECT statement.
    You can use the option FOR ALL ENTRIES to replace nested select loops by operations on internal tables. This can significantly improve the performance for large sets of selected data.
    Regards,
    Ferry Lianto

  • Issue withe Info Package Selection for the CRM Datasource

    Hello,
    I have a custom CRM data-source which has the Selection option as CRM-GUID as the Selection option in the RSA3.
    I have replicated the Same Data-source in BI system and Created the Info Package ,but i could not see that GUID Selection in the Info Package.
    To Be Noted:
    I went to RSA6 enabled the selection option( check Box ) , there is no hide option in the datasource , only the Selection option check box is enabled in the RSA6 .
    Replicated again , and activated again , logged out and logged in again . But the Info Package does not show the CRM - GUID selection option.
    I found something not sure this might be the issue:
    1) The Data type is RAW with length 16.
    2) The Datasource in the BI side has SS conversion Routine Blank for this field and the Selection has X.
    But no Selection option in the Info Package.
    Any suggestion and inputs are welcome.
    Thanks in advance.
    Adhvi.

    similar issue is disussed in the below thread...
    Info package Selection were hidden
    Info Package Selection Language key is not diplaying while this is checked
    search for any SAP Note which explains about data type RAW ....

  • Adding a field in data selection tab of Info Package

    Hello,
    how can I add a field for selection in the data selection tab of the info-package in BW 3.5.
    Thanks,
    SD

    Hi,
    You need check Selection in RSO2 in ECC then that field is available for Selectgion in InfoPackage.
    Here I'm giving 0CUST_SALES_ATTR DataSource Example for Selection Change, so see the logic and accordingly you can change your DataSource Selections.
    See the properties of that field in RSA2 in ECC and you can also make it for selection, use the following program and see it.
    In ROOSFIELD table give the datasource 0CUST_SALES_ATTR and see , select only Active version Fields.
    For the following fields you can find FIELD = X, it indecates that it is abailable for selections, so in this way you try to do it by using following program and check.
    KUNNR
    SPART
    VKORG
    VTWEG
    REPORT ZBI_ROOSFIELD NO STANDARD PAGE HEADING .
    tables ROOSFIELD.
    Update ROOSFIELD set SELECTION = 'X' where
    OLTPSOURCE = '0CUST_SALES_ATTR' and
    FIELD = 'FAKSD '.
    Also see SAP Note : 1033847
    Re: Field Selection in Datasource 0CUST_SALES_ATTR
    Thanks
    Reddy

  • Selections in Info package

    Hi,
    Can any one help me  in  selecting the data through info package where
    Key figure1<>0 <b>AND</b>  key figure <> 0. 
    I.e    I have the extractor which is pulling 50 millions of data and  updating only 1 million.The reason  I have a code in the start routine which says  if  Key figure1 = 0 AND  keyfigure 2 =0  then delete the data.  Instead of pulling 50 million  and deleting the data at start routine .
    I am trying to implement the same logic in info package by which I can select only 1 million through OlAP variable and ABAP routine. 
    Regards
    Sudheer

    Hi,
    is the extractor based on a standard BC extractor or on a generic datasource ? If it's based on a generic datasource then you can probably adn these selection in the view it's based on.
    regards,
    Raymond Baggen
    Uphantis bv

  • Parallel processing in Info package

    Hi All,
    I want to increase the parallel processing for pulling the data from R/3 to PSA. I dont find any options available in Info package. Like DTP, is there any options available to increase the parallel processing from R3 to PSA.
    Please suggest how to reduce the data loading time from R/3 to PSA ?
    Thanks

    Hi Jalina,
    As suggested by Michael can you please check following tables in your R/3 system.
    Regards,
    Ganesh Bothe

  • Info Package Problem

    BW Gurus,
    I am facing a weird problem in the info packages.
    I am trying to pull data from SAP 3.1i system and my info package is set to "Full update". I am interested in one sales document. When I enter that sales document in the data selection screen of the info package and hit the check button, it just vanishes displaying a zero!!!!!. the document does exist in SAP 3.1i. Has anybody seen this weirdness in info packages?
    Thanks
    Ashwin

    can you do the same selective extraction in RSA3 in the source system? you may need to check there first.

  • Prob during creation of info package

    When I create an info package by right clicking on the data source, the master data object name is shown and I say save and it is not coming up in the data selection tab of the info package while creating....what could be the error...pl. help
    thanks
    Dora

    Hi Jr,
       The info package is fetching the data and I see the data in the PSA, but further when I am trying to create a DTP, and get the flat file master data into the attributes, it is not fetching it properly. DTP is getting created but, the data is not in the attributes.....also when I see the monitor it shows:
    Prepare for Extraction
    Data Package 1 ( 3 Data Records )
    Extraction DataSource ZDS_TEST : 3 Data Records
    Filter Out New Records with the Same Key : 3 -> 3 Data Records
    RSDS ZDS_TEST ZSS_TEST -> IOBJ ZCUST1 : 3 -> 3 Data Records
    Updating attributes for InfoObject ZCUST1 : 3 -> 0 Data Records
    pl. let me know what the prob. is....
    Thanks
    Dora

  • Selection option in info package

    Hello Friends,
    While loading data in BW system (3.5 Version).
    I would like to use selection option in info package for one particular field.
    I can see only range options (Selection From and Selection To) which does not satisfy my requriement.
    I need to select nearly 5000records which are in one specific number range, so, how can i select these records in infopackage.
    Thanks
    Tony

    Did you think of InfoPackage routine?
    Try to write a routine under data Selection tab based on your data selection scenarios. I think you can achieve your goal.
    1) Data selection tab - Type column, choose ABAP routine.
    Whendo we use this?
    when we cannot extract data selectively by giving direct conditions in selection tab, eg: "list all the employees who joined on the current date". here current date value changes every day when we run the query. In such cases we cannot give direct condition, we need to write routine to get the current date
    Check this if it helps to proceed:
    ABAP ROUTINE AT INFOPACKAGE FOR DATE RANGE
    InfoPackage Routine

  • Data selection options in info package

    hi,
    I am using filter for current month while loading data into info provider (let us say 0calmonth). I am using below code in info-package after selecting type '6'  (ABAP editor),
    data: l_s_range type rssdlrange,
    l_date type d.
    l_date = sy-datum.
    l_year = l_date+0(4).
    l_mth = l_date+4(2).
    concatenate l_year l_mth into l_month_high.
    concatenate l_year '01' into l_month_low.
    loop at l_t_range into l_s_range where fieldname = 'CALMONTH'.
    if dy-subrc = 0.
    l_s_range-low = l_month_low.
    l_s_range-low = l_month_high.
    modify l_t_range from l_s_range.
    endif.
    endloop.
    But now I would like to use created date as filter instead of calmonth/year (yyyymm). please note that calmonth has only one value but calendar day will have both from and to values. Please give me code to use created date (mm/dd/yyyy).
    please help me with your code.
    thanks,

    I have got the solution by myself (trial and error method). Solutions: there is a SAP delivered variable to calculate current month (Variable name is 0CMONTH).
    Is there any variable to calculate both previous month and current month as filter value? pls reply.

  • Data selection in info package using ABAP routine.

    Hi,
    when we are  scheduling the info package(Infp package name is like XYZ),we want to load past 6 months data from the current date(INFO OBJECT(0CREATEDON) BETWEEN (Sy-Datum - 6 months TO  Sy-Datum),in the selection tab in schedule i want to write the abap routine (type 6).please can any one have this type of code please sedn to me asap.
    this is very urgent.delivery is tomorrow.

    hi Lekha,
    try following code.
    seems you post the same question twice, one posting is sufficient. and please don't forget to reward helpful answers.
    data: l_idx like sy-tabix.
    read table l_t_range with key
    iobjnm = '0CREATEDON'.
    l_idx = sy-tabix.
    DELETE l_t_range
    WHERE iobjnm = '0CREATEDON'.
    L_t_RANGE-SIGN = 'I'.
    L_t_RANGE-OPTION = 'EQ'.
    if not work, try
    L_t_RANGE-OPTION = 'BT'.
    BT = between
    last 6 month
    L_t_RANGE-LOW = sy-datum - 180.
    current date
    L_t_RANGE-HIGH = sy-datum.
    append l_t_range.
    modify l_t_range index l_idx.
    p_subrc = 0.
    $$ end of routine - insert your code only before this line -
    endform.

  • Maximum number of selections in an info package

    Hi friends,
    i want to load an ODS with data from MSEG. Due to the great number of records I've to select by
    0ATERIAL. Selection criteria are provided by a routine I'll write for this selection, reading a different
    ODS. Estimated number of records for selection is about 80,000.
    My question:
    Is there any restriction regarding the number of selection criteria of an Infoobject in info packages?
    Will a selection work with 80,000 criteria?
    Any input is highly appreciated.
    Thanks in advance and regards
    Joe

    Hello,
    If I understood correctly...you will compare the values from a DSO and then pass these values in the infopackage selections..
    but how are you planning to do it...will it be interval or single value??
    Also I think you can assign only one value or range in the infopackage at a time for selection through routine...
    More the number of selections more the number of AND in the where clause.
    I am not sure if there is any limitations on where clause but after 100 selection the select queries become complex and overflow the memory...so thats the limitation.
    Thanks
    Ajeet

Maybe you are looking for

  • RFC Destination

    I am doing a file--> XI --> IDOC R/3 4.6 scenario. R/3 is there in SLD as business system with role as app system and the correspong logical system is maintained in SALE. Do we still need to create an RFC destination for R/3 client in XI system. In t

  • Error Message Handling

    Hi,            I am trying to execute the below code resulting in a 'refernce to null'. Could any one please help me with some sample code. DATA : IM_MESSAGE_HANDLER type ref to IF_HRBAS_MESSAGE_HANDLER. DATA message TYPE symsg. MESSAGE E015(zhr) WIT

  • Where are the home, refresh and X buttons in the header

    When I open my home page on the desktop, there are buttons that let me select home, refresh or X a download. I cannot find these buttons on the header or in the add-ons, etc.

  • Error 34 when trying to create a DVD?

    I have produced a HD project in iMovie but when I try to create a DVD I get the error message 34.

  • BSP URL parameters

    Hello,   I have BSP developed with MVC paradigm. I show multiple tables in BSP page which is something like report output. I have event for line select on each table.   My problem is, when user select any line, the BSP URL becomes extensive long and