How to exclude records from infopackage

Hi All,
I am trying to exclude records based on characteristic(ZSCSF) value.I have written ABAP routine in infopackage.
    l_t_range-sign      = 'E'.
    l_t_range-option    = 'EQ'.
    l_t_range-low       = '0-3 CASE CARB MV TRB CUP'.
During scheduling of infopackage i am getting below error message.
For sel. field '/BIC/ZSCSF', no selection with SIGN = 'E'; OPTION 'EQ' allowed
i am getting error message for below code too.
    l_t_range-sign      = 'I'.
    l_t_range-option    = 'NE'.
    l_t_range-low       = '0-3 CASE CARB MV TRB CUP'.
I am only able to execute below selection.
    l_t_range-sign      = 'I'.
    l_t_range-option    = 'EQ'.
    l_t_range-low       = '0-3 CASE CARB MV TRB CUP'.
Please suugest me can we exclude records in infopackage using type 6(ABAP routine).If yes,coule you please provide code.it will be great for me..
Thanks in advance,
Bandana.

One suggestion is, you select all the options for characteristic(ZSCSF) values(if they are not many) from the source DSO.
Remove the one which you want from internal table.
And append the rest in the l_t_range table.
But the best way is, to delete the records in the start routine.
Thanks.

Similar Messages

  • How to exclude records from one table that is contained in a second table

    I am trying to create a Crystal report that excludes records from one Table that is contained in a second table using the != link option and it is not working. I've tried all of the different enforce options, and it is still not excluding those records. Does anyone have any suggestions of what I'm doing wrong or any other suggestions how I can obtain the results I need?
    Thanks in advance!

    Have you tried by Command ?
    Thanks,
    Gordon

  • How to update Records from Internal table to u2018Zu2019 table?

    Hi Friends,
    How to update Records from Internal table to u2018Zu2019 table.
    I have records in Internal table , that records want to update on u2018Zmarau2019 Table.
    ( my internal table & u2018 Zu2019 table structures are same.)
    Thanking you.
    Regards,
    Subash

    Hi,
    loop at internal table.
    modify <Z- table > from values < internal table Workarea>.
    if sy-subrc = 0.
      COMMIT work.
    else.
      ROLLBACK waork.
    endif.
    endloop.
    or
    UPDATE <Z- table > from table < internal table Workarea>.
    if sy-subrc = 0.
      COMMIT work.
    else.
      ROLLBACK waork.
    endif.
    Prabhudas

  • How to exclude BUILDARCHIVES from SDA

    Hello,
    I have a assembled SDA file that is very large due to the included BUILDARCHIVES - but I would like to provide this SDA for customers and it is not necessary for them to use the public parts (also restricted to my component).
    I allready have removed source from file during assembly and with include_source = false build option but there is still the BUILDARCHIVES folder in SDA file.
    Does someone know how to exclude them from the SDA? I'm not sure but I think SAP also don't deliver build archives for allmost any SDA.
    Best Regards,
    Frank Wagner

    i think all sap sca contains BUILDARCHIVES

  • How to exclude invoice from credit check?

    Hello,
    I use 11.5.10.2
    I have credit check rules with include open receivables balance. Now I want exclude some invoice with one AR transaction type from exposure.
    How to exclude invoice from credit check?
    Regards,
    Łukasz

    Hi a®s ,
    thanks for your suggestion.
    I tried your first suggestion with the object set:
    - unforunatly the check runs still with the includes.
    - I can't not use the Object Set for a direct check in the ABAP Workbench (with the user variant DEFAULT)
    For the second suggestion we have to modify the Include.
    That would be not so good for us, because the include is deliverd from a software  distributor.
    Additional we have the set the #EC-Command for every statement.
    Isn't it possible to set a pseudo command or something at begin and end of a block of coding, that
    has the be exludes from the check?
    So we could set this pseudo command before the INCLUDE-Statement to switch the check off and after the the INCLUDE-Statement to switch the check on....
    Many greetings,
    Stefan

  • How can i record from radio to mp3 format?

    How can i record from radio to mp3 format?
    because i want to record a radio program, and save it, how can i do it?

    If you can, the instructions will be in the user manual - iPod Manuals

  • How to exclude STOs from GATP, when we need to ship the "Customer return" products from branch to Central DC?

    How to exclude STOs from GATP, when we need to ship the "Customer return" products from branch to Central DC?
    We have to set up a scenario for sending "Customer returned" products from branches to Central DC through STO. But we do not want GATP check for these STOs, as they are Customer Returns, which need to analyze at CDC for further actions. We are using SCM 7.0 and ECC 6.0
    Thanks in advance,
    Ravi

    Hi,
    You can exclude the "customer returned" category from the scope of check from that particular Check control

  • How get all record from master and matching record from detail

    hi master
    sir i have master detail table
    i have many record in master table but some record in detail table how i get
    all record from master and matching record from detail
    such as
    select m.accid,m.title,d.dr,d.cr from master m, detail d where m.accid=d.accid
    this query not work that get only related record i need all record from master
    please give me idea
    thanking you
    aamir

    hi master
    sir i have master detail table
    i have many record in master table but some record in
    detail table how i get
    all record from master and matching record from
    detail
    such as
    select m.accid,m.title,d.dr,d.cr from master m,
    detail d where m.accid=d.accid
    this query not work that get only related record i
    need all record from master
    please give me idea
    thanking you
    aamir
    select m.accid,m.title,d.dr,d.cr
    from master m, detail d
    where m.accid=d.accid (+)The outer join operator (+) will get you all the details from master and any details from the detail if they exist, but the master details will still be got even if there are not details.
    Note: Oracle 10g now supports ANSI standard outer joins as in:
    select m.accid,m.title,d.dr,d.cr
    from master m LEFT OUTER JOIN detail d on m.accid=d.accid

  • How to delete records from dynamic internal table.

    Hi Experts,
    Need urgent help!!!
    Issue is with Dynamic internal tables.
    Below is code written by me :
    FORM select_query USING Lw_tabnam
                      TYPE  t682i-kotabnr.
      DATA :  lw_line  TYPE REF TO data,
              lw_line1 TYPE REF TO data.
        CREATE DATA Lw_line    TYPE (lw_TABNAM).
        ASSIGN      Lw_line->* TO   <WA_tbl>.
        CREATE DATA LW_LINE    TYPE STANDARD TABLE OF (Lw_tabnam)
                               WITH NON-UNIQUE DEFAULT KEY.
        ASSIGN      Lw_line->* TO <TBL>.
        SELECT * FROM  (Lw_tabnam)
                 INTO CORRESPONDING FIELDS OF TABLE <TBL>
                 WHERE (t_keys).
    Endform.
    code is working fine.
    here even the table name and where condition are dynamic,everything is fine upto this point.
    Now i have to delete some record from <TBL> based on some conditons.
         for ex : ( here lc_fieldname is KUNNR)
          loop at t_kunnr.
              lw_tabix = sy-tabix.
            Read table <tbl>
                    with key (lc_fieldname) = t_kunnr-kunnr ASSIGNING <wa_tbl>.
            If sy-subrc = 0.
            *Delete
            delete <tbl> from <wa_tbl>
    delete <tbl> index  lw_tabix.
            Endif.
         Endloop.
    The above delete statement doesn't work ,even we can't use index as it gives a syntax error " something related to "index is not allowed in standard table or hash table.
    Can you help me ab't how to delete records in Dynamic internal table?
    Other option that i am thinking of is to create a static table of type dynamic table.
    means, data itab type standard table of <tbl> .I know the syntax is wrong ,however is there any way to do this?
    Thanks in advance ,
    If you have any suggestion ab't this then do let me know.
    bye,
    Gaurav.

    Hi
    I wrote this code and it works fine:
    DATA LW_TABNAM(10) VALUE 'LFA1'.
    DATA : LW_LINES TYPE REF TO DATA,
           LW_LINE  TYPE REF TO DATA.
    FIELD-SYMBOLS: <TABLE> TYPE TABLE,
                   <WA>    TYPE ANY.
    CREATE DATA LW_LINES TYPE TABLE OF (LW_TABNAM)
    WITH NON-UNIQUE DEFAULT KEY.
    ASSIGN LW_LINES->* TO <TABLE>.
    CREATE DATA LW_LINE TYPE (LW_TABNAM).
    ASSIGN LW_LINE->* TO <WA>.
    DO 10 TIMES.
      APPEND INITIAL LINE TO <TABLE>.
    ENDDO.
    SY-TABIX = 4.
    DELETE <TABLE> INDEX SY-TABIX.
    WRITE SY-SUBRC.
    I hope it help you
    Max

  • How to rerieve records from the table starting with character 'D'

    Hi Folks,
    How to get the records from the table starting with character 'D'.
    Select Max (fld1) fron tab1 into tab1-fld1 where fld 2 = l_fld2 and starting character of fld(1) is 'D'.
    last record in the table starting with character 'D'
    How can i do that??
    Pl explain.
    Thanks,
    Matt

    Hi,
    Select Max (fld1) fron tab1 into tab1-fld1 where fld 2 = l_fld2 and starting character of fld(1) is 'D'.
    Select MAX (fld1)
       From  tab1
    into table itab
    where fld 2 = l_fld2
       and fld1 like 'D%'.

  • How to count records from 2 tables and show in RDLC Report

    hi all,
    its being a one day searching for the solution but No Luck.
     I have two SQL tables tblstudetail and tblfeereceiptdetail.
    i just want to count records from both tables and show in RDLC report.
    I tried SQl Query Like This:
    select a.session, a.course,
    Count(CASE a.ADstatus WHEN 'OK' THEN 1 ELSE 0 END ) AS Admission,
    Count(CASE s .I_receiptstatus WHEN 'OK' THEN 1 ELSE 0 END) AS Feeprint
    from
    tblstudetail a
    FULL join
    tblfeereceiptdetail s on s.studentID = a.studentID
    where a.session = '2015' AND s.Fsession = '2015' AND a.adcat = 'Regular'
    GROUP BY a.session,a.course
    ORDER by a.course
    The result Show the Same Value in Both columns
    Session    Course      Admission       FeeDetail
    2015          B.A. I               275              275
    2015          B.A. II              307             307
    2015         B.A. III             255            255
    2015          B.Sc. I             110             110
    2015           B.Sc. II           105            105
    2015          B.Sc. III            64               64
    Actully I want to Count How many ADMISSION have been Taken(FROM tblstudetail) and How many FEE RECEIPT have been Print (From tblfeereceiptdetail).
    please guide me for this as soon as possible.
    thanks in advance...

    I am counting 'OK' in both the table columns I.e 'ADstatus' in tblstudetail and 'feereceiptstatus' in tblfeereceiptdetail
    please suggest me

  • Qosmio X500 - How to enable recording from internal speaker?

    How do you enable recording from internal speaker on Qosmio X500?
    Is this possible because from Control Panel / Sound / Recording only microphone can be seen.
    Any help appreciated.
    Thank you.

    Hi
    Do you want to record the sound that will be played through the internal speakers?
    Therefore you can use the Windows Sound Recorder or other tools like Audacity. Latter is a very nice freeware tool. :)

  • How to display records from a query into non-database field

    Hi
    I a have a problem:
    I have a query with many tables and 6 column(select a,b,c,d,e,f from x,y,z,t,s,g where conditions) and I use 3 parameters.
    I create 3 parameters :datai,:dataf and :partener and a button with a trigger when button is pressed.
    Then a create a manualy block with six field non-database a1,b1,c1,d1,e1,f1.
    Now I want to display all the records from my query into a1,b1,c1,d1,e1,f1 where a1=a,b1=b,etc. and all the records (if I have 20 record, it will display 20 records in non-database field) when I press the button.
    How I made:
    I create a cursor with query then
    begin open cursor
    loop
    fetch cursor into :a1,:b1,:c1,:d1,:e1,:f1;
    end loop;
    close cursor;
    end;
    It display one record in a1,b1,c1 only and it have to display 100 records and are date for all the fields.
    Can somebody help me in this problem?
    Thanks.
    Edited by: 928437 on Oct 1, 2012 2:55 AM

    Creating a view, and querying that into a database block is an excellent solution.
    To use the non-database block:
    You're missing the all-important Next_Record; command.
    <pre> Begin
    Go_block('X'); -- block X is the non-database block
    Clear_Block(No_Validate);
    open cursor X1;
    loop
    If :System.Record_status != 'NEW' then
    Next_Record;
    End if;
    fetch X1 into :a1,:b1,:c1,:d1,:e1,:f1;
    Exit when X1%NOTFOUND;
    end loop;
    close X1;
    end;</pre>

  • How to exclude reports from HIS in MSS 60.1.20?

    Does anyone know how to exclude some of the HIS reports from the tree? I am on a 4.6c system. I see that the table T77I3 contains the listing of REPIDs that are used to populate the REPOS table in the function module HR_HIS_READ. If I try to maintain this table using SM30, I see that SAP only allowed for updating the text descriptions. I was thinking the easiest way to remove items from the report tree without deleting them would be to change the REPID to just add an X or something to the end of the code so that the check against TRDIR will fail and exclude the item from the list. Does anyone know the best way to exclude reports from the HIS reports in the MSS -> My Staff -> Reporting -> Report Selection -> HIS Reports section?
    I will award points to the answer!

    Hi, did u find a solution for this? I'm having the same requirement.
    One way of solving the problem would be to copy the HR_HIS_READ function and change it to exclude the undesired reports. Then change the MDT Scenario by executing the Define Structure of Function Codes item in the IMG.
    DJ

  • SAP Query: How to filter records from SAP Query output before display

    Hi Friends,
      Can I delete records from an SAP query basic list before it is displayed?
    For example I want to delte all the orders whose system status is "RELEASED" before the basic list of that SAP query is displayed.
    I have gone through SAP help and found out that we can write some code in <b>END code</b> section which will execute before the basic list of the query is displayed. But I could not figure out how the code this...following is an excerpt form SAP help.
    <b>"The END-OF-SELECTION code consists of two parts (Before list output and After list output). The first part is processed before the list is output and the second part afterwards."</b>
    Can anybody help me?
    Regards,
    Bharat.
    Message was edited by:
            Bharat Reddy V

    Try this simple procedure. <b>Hope</b> this should work for you.
    You do the slection of the status in the List-Processing. say your final field of status flag is GF_STATUS.
    Immediatly after that use this within the List-Processing.
    CHECK GF_STATUS EQ '<RELEASED STATUS>'
    How it works:
    SELECT  <>       "<-------Query processing(system code).
    *< Your code put in the List processing
    CHECK GF_STATUS EQ '<RELEASED STATUS>'   "< --only released records passed.
    *>
    ENDSELECT      "<-----Query endselect(system code).
    Please let me know the result.
    Regards,
    A.Singh
    Message was edited by:
            Amarjit Singh

Maybe you are looking for

  • A tela da Configuração do Grupo de item aparece fora da tela de acesso

    Grupo, Gostaria de ajuda, o servidor do meu cliente caiu e estava usando o cadastramento do grupo de item, agora quando tento abrir ele pararece no alto sem poder ser inserido os cadastros, já tentei de todas as formas baixar a tela mais não tive suc

  • Is anyone having trouble with there messenger app. The message freezing when i try to use the magnifying glass

    My Iphone 5s has recently started freezing when i try to send a message/ use my magnifying glass. PLEASE HELP

  • Stuck on waiting. Tried everything

    I've searched, read, attempted each fix, etc. I've done everything I can find on how to fix this issue. I have this app called "SystemLite". I can't delete it! I've done at least the following. I hope I'm not leaving anything out. 1. Held my finger o

  • Site group and list of site

    Hi Experts,    I have a requirement where I will be getting site group code,using which I need to find the list of site numbers that are currently part of the requested Site Group and send it back. In which table I can find the list of site numbers r

  • Time Capsule, Time Machine, Indexing

    When I installed Lion, Time Machine would get stuck on backing up (Console would report "waiting for index to be ready over and over).  I erased the the existing Time Machine Back up and started over to see if that Fixed the problem.  While it does b