Table Maintenance- Condition Records

Hi Friends,
I have created a custom table and i have done a Table Maintenance for that custom Table..
In that i have one field called DATBI(which is To-date).
My Requirement is how to set condition in this table maintenance where IF TO-DATE < SYSDATE
those records should not be displayed in Table maintenance but that should be there in Data base table..
Can anyone help me on this.. I think something need to be done in PBO.
Plz help me on this..
Sample code will be helpful.
Thanks in advance.
kishore

Hi genji,
Goto ur table and then utilities----
>table maintenance generator .
Then double click on the overview screen u specifed..It will direct u to PBO screen.
There inside PBO in the beginning create one module X(some name).
inside that specify ur condition whichever you want to..
piece of code which i have done for my condition records inside PBO
module modif_screen output.
data:  datbi type datbi.
clear total.
loop at total.
  move total+32(8) to datbi.
   if datbi < sy-datum.
   delete total.
   endif.
  clear : datbi.
endloop.
Here total is the internal table from where values are populated.
Think this wil solve ur issue.

Similar Messages

  • Table for Condition Records

    Hi Gurus,
    In which table the Condition Records will be stored(vk11)...
    thanks in Advance

    Hi,
    Pls check this , if you need further assistance pls do get back to us.
    KONV : Conditions for Transaction data
    KONP : Conditions for items
    KONH : Condition Header.
    Regards,
    Vvieks

  • In which table the condition records get stored in sap crm

    hi everybody any one can help me in this,
    In which table the condition records get stored in sap crm.
    Regards,
    Babu

    Hi Babu,
    The table name depends on the condition table you have chosen while adding a condition record. Like if it is SAP001, the database table will be CNCCRMPRSAP001.
    Regards,
    Shalini Chauhan
    Edited by: Shalini Chauhan on Jun 23, 2008 10:18 AM

  • Table for condition record

    Hi All,
    Which table get updated while creating/maintaining condition records(MN04/MN05/MN07)?
    Regards,
    -Sheetal

    hi,
    Check the table KONH, KONP...which stores the values..
    Regards
    Priyanka.P

  • Tables for condition record

    Hi Guru,
    I was viewing Purchasing condition record in MEK3.On initial screen drop down menu it is showing some condition type.I am not clear from where these condition types are picked up.
    Can any one explain basis on which condition record are picked up in these drop down list as all condition type are not displayed and we do not give any pricing procedure also over there.
    Regards
    Atharva

    Hi
    This is done in configuration side. MEK3 - display condition record for a condition type.
    Refer IMG>MM>Purcashing>Condtions>Define price determination process>Define condition type.
    Table to access - T685A.
    Read the help document available in the same node.
    Search in SDN for pricing procedure you will get lot of threads
    Karthik
    Edited by: Karthik on Jul 5, 2011 3:50 PM

  • Table maintenance inserted records @ translation possibility

    Hi,
    I have created a table maintenance generator for a Z table and created a transactionfor it. 
    My requirement is that, for inserted records from transaction, should allow to include the translation possibility. I have check Table maintenance transaction screen from menu, translation button is in inactive (Gray colour).
    How to solve this?  Kindly Suggest.
    Thanks in advance....
    Thanks & Regards,
    Shaik

    Translations are posible only when you have a Text table related to the main table. First step is to create a text table which is related to the main table with foreign key relation and then creating a view cluster above both of these tables showing the main table entry as parent and the translatable column as a child. By doing this you can  maintain multiple language texts for each of the key in the main table using this view cluster. This is one of the solutions to your problem.

  • Events in Table Maintenance, modify record and new record checking.

    Hi,
    I need to have a checking in the table maintenance for a custom Z table.
    1.) First requirement is to check the changed data of an existing entry. An error must occur when pressing enter or when pressing the save button. What event should I use in order to accomplish this task?
    2.) Second is when creating a new entry. An error must also occur when saving. I have already created the error message but my problem is that it does not return to the table maintenance screen but rather exits SAP.
    Please advise on what to do regarding these matters.
    Edited by: Al Vincent Bulacan on Mar 17, 2009 12:55 PM

    Follow the given path
    go in se11 to the Table Maintenance generator.
    Envireonment --> Modification --> Events.
    Here you will find a number for events. You can choose the one that fits your requirement.
    Then you can create an Perform in the selected event and get your requirements done.
    Hope it helps,
    - RJ

  • How to get the Database table behind condition records

    Hello All
    In transaction VK13, after giving condition type, I can select sales document.
    For a given Sales Document number, there are several conditions.
    How can i extract all the conditions for a given sales document?
    I am coding a report for this. In which database table can i get the condition between sales document number & different conditions attached to it?
    On the screen, i can see that the fields are from the structure KOMG. What is the corresponding table?
    Thanks
    Chandra Sekhar

    Hi,
    corersponding tables will be konp , a771,a511,a564
    here i am providing you sample query related to it
    { -Get the Territory list price YPR0
        SELECT vkorgau
               zzland1_ag
               zzmatgrade
               a511~kfrst
               datbi
               datab
               kbetr
          INTO TABLE it_list1
          FROM a511
          JOIN konp
            ON a511knumh = konpknumh
         WHERE a511~kappl = 'V'
           AND a511~kschl = 'YPR0'
           AND vkorgau = '5000'
           AND zzland1_ag = v_land1
           AND loevm_ko <> 'X'.}
    Thanks & Regards,
    Sateesh.
    Edited by: sateesh kumar on Nov 12, 2009 12:59 PM

  • Database table for output condition records

    Hi
      Can anyone let me know " in which database table the condition records of output type will get stored?" . please let me know the table names related  to output.
    Thanks in advance

    Hi Srinivasarao,
    Check the table <b>TNAPR</b> in SE16. It will have all the output condition records assigned through transaction NACE.
    You can find the output types in the field KSCHL of TNAPR table. It also consists the output type and the layout and print program assigned to the the output type.
    You can see the list of processed document through output types in the table NAST.
    Thanks,
    Vinay

  • List of all sales condition records(VK13)  with a particular tax code

    Hi all
    We have a requirement to list out all  sales condition records created through VK11 which has a particular tax code in it.Say list of all condtion records which have tax code as 'IA'. Could you please let us know the easier way to pull out such report.
    We understand that we can get such list from tables KONV and KONP but we are not able to correlate output from such tables with condition record display in VK13. Any pointers to this would be highly appreciated.
    Regards,
    Santosh

    Hi,
    Use KONH and KONP tables. condition record whole information will be stored in these 2 tables.
    In KONH table you will get header information of the record. like condition type,condition table, created date and validity periods. In varkey field sales area and material other info. .. Note the record number 0000007609.
    Goto KONP table, enter same record number in condition record number field. you will get item level information.
    Regards,
    Chandra

  • Retrieve the Purchase Order Condition Records Table

    Hallo!
    I have found this code right here:
    http://www.sap-basis-abap.com/sapab025.htm
    It is very useful particular for purposes which I need. Please can somebody
    try to fix the error to get it working. There is an internal table missing.
    Regards
    Ilhan
    Retrieve the Purchase Order Condition Records Table
    select * from ekko.
           select * from konv where knumv = ekko-knumv
               "Get all the condition records for the purchase order
           endselect.
    endselect.
    * Get the info record conditions record
    * First declare the record structure for the key
    data: begin of int_konp,
                 txt1(5),
                 lifnr(5),
                 matnr(18),
                 txt2(4),
                 txt3(1),
            end of int_konp.
    clear: konh, konp, int_konp.
    * data for the record key konh-vakey
    int_konp-txt1    = '00000'.
    int_konp-lifnr    = ekko-lifnr+5(5).
    int_konp-matnr = ekpo-matnr(18).
    int_konp-txt2    = 'ALL'.
    int_konp-werks = ekpo-werks.
    int_konp-txt3    = '0'.
    select * from konh where      kschl = 'PB00'            "Conditions (Header)
                                         and datab => p_datum.       "valid from date
          if konh-vakey = int_konp.                                  "Conditions (Item)
                 select single * from konp where knumh = konh-knumh.
                 continue.
          endif.
    endselect.

    Hi flora
    Just get through the sequence .
    see the table fields ...
    1. From EKKO table take an entry which is having pricing conditions.
    Now in the fields list check out for field EKKO-KNUMV(document condition number).
    2.Take this condition number and now goto table KONV.
    Give the document condition number in the field  KONV-KNUMV and execute .
    This will lead to a list of document condition numbers and some other fields .
    3.Now check for field KONV-KNUMH ,KONV-KAWRT(quantity) and note the value KONV-KWERT  .
    (Remember this is at header level).
    This is ur condition record number.
    **comments
    Now from document condition number we got the condition record number (KNUMH).
    4. now since u want the item level tax procedure go to table KONP and give the condition record number and execute .
    This will give u a list of details .
    Now concentrate on KONV-KAWRT (scale quantity) KONP-KBETR(rate) as this table will store “Pricing  per UNIT “ so product of these two will give u the total pricing tax, for a particular condition type say PR00  .
    For that particular condition item .
    Check the pricing procedure .
    See t-code VK13 and check the pricing procedure .
    From me23 check the same PO num select the item and check the pricing conditions applicable .
    Select a particular pricing and goto condition->analysis->analysis pricing  ,
    Better take help of a SD functional consultant in the process.
    regards,
    vijay.

  • PO item Condition Record number and delivery address of PO - Need a table n

    Hello Experts,
    I need some help as I have searched enough but did not find any solution.
    I need a table name where I can find Condition Record number for PO line item.
    As I have to create a new PO Layout in which I have to mention each & every condition type with value for line item.
    I need to know one more thing that from which table I will get delivery address number so on the basis of that I can read entries from table ADRC.
    Thanks in advance.
    Bhagat

    HI,
    The First Question is regarding the PO Conditions.
    For Extracting the same. we have to Go to The Table EKKI and in this table pass the PO Number and after entering the PO NUmber ,at each item level we will have a condition record number KNUMV created,
    collect the condition record number and pass the value in KONV table ,in that table we will get all the conditions and its values maintained.
    The second question is the delivery Address
    the Delivey address comes from four ways
    Plant
    EKPO -Pass PO NUmber - collect the plant and pass in table T001W  to get the address number
    and pass the address number to ADRC table
    Customer (third party)
    IN table EKPO -collect the customer Number-KUNNR and pass that value to KNA1 table and then get the address number and then get the address from ADRC table.
    Direct address number ( created by t code MEAN- Type ME01)
    This adress number-ADRNR can be taken from EKPO table and pass this value to adrc table to get the address.
    Vendor ( subcontracting)
    In this IN EKPO we will have the vendor field -LIFNR and this field collect the vendor number and pass in LFA1 and get the address number and then pass the address number to ADRC table
    If in EKPO,the address number and customer vendor field are blank then it picked from the plant and we have to default the Plant Address
    Hope so it helps
    Regards
    Anjanna.

  • Function Module for creating condition record (XKOMV table record)

    Hi,
    I have a requirement as like below,
    In the repair order i need to sum the GRWR condition type's  conditional values for all the line items (Except deliverable line item) and then i need to create an condition type GRWR under the deliverable line item with the above calculated conditional values,
    the table XKOMV will be having details about all the line item's condition types, in this table i need to add one more new record with the condition type of GRWR and the above calculated conditional values under the deliverable line item.
    for the above logic i am using the user exit
    USEREXIT_SAVE_DOCUMENT_PREPARE
    All the above things need to be done when the user click the save button in the transaction (VA01/VA02).
    Problem here is table XKOMV contains somany fields so manually we can't create xkomv record, is there any Function module to create condition type record?
    Regards,
    Manikumar
    Edited by: Manikumar Shanmugam on Mar 8, 2008 3:53 PM

    Hi,
       You can use Function module PRICING_CHECK to check condition record. Do a where-used list on it to see how to call it.
    Regards
    Kiran Sure

  • Blank Records added while using Table maintenance generator - SM30

    Hi all,
    I have created a ztable and view,
    For the view table maintenance generator created using sm30,
    First time when i add reords, a blank record is added automatically ,how to prevent it,
    Also when i try to add invalid data, system throws error , field becomes display only.
    How to solve.
    Regards
    Senthil

    Hi Tarun,
    Go to the layout and increase the size of the Screen. or at the screen attributes change the length and width values.
    You know that initially the screen occupies default size only.
    Hope this would serve your purpose.
    Cheerz
    Ram

  • TABLE- TAX CODE CONDITION RECORDS

    Hi
    Please let me know the table where i can download all the tax codes with the %(AMOUNT) of condition records details
    Krishna

    u can make a query in sqvi where u can join the table u have used in access sequence ( for eg A004 ) and KONP . this is simple way as data is stored in 2 different table.

Maybe you are looking for