Table for Valid to date in BOM item

Hi Exeprts,
Can any one help me on this in which db table Valid to date:DATUB is Updates with reference to Change Number.
Best Regards,
Venkata Siva.
Edited by: venkata siva reddy on Apr 27, 2011 9:28 PM

Hi
The Valid-to date will always be set to 31.12.9999. Instead you can get the valid-to date using the below logic.
-> Get all the BOM from T415A table for the material number into T_T415A
-->LOOP AT t_t415a.
    ON CHANGE OF t_t415a-matnr OR t_t415a-werks OR t_t415a-stlal.
      IF sy-tabix NE 1.
        MOVE : v_matnr TO t_dates-matnr,
               v_werks TO t_dates-werks,
               v_stlan TO t_dates-stlan,
               v_datuv TO t_dates-datuv,
               v_stlal  TO t_dates-stlal.
        IF v_matnr NE t_t415a-matnr.
          t_dates-datub = c_99991231.
        ELSE.
          t_dates-datub = t_t415a-datuv - 1.
        ENDIF.
        APPEND t_dates.
        CLEAR :
        v_matnr,
        v_werks,
        v_stlan,
        v_datuv,
        v_stlal.
      ENDIF.
    ENDON.
    v_matnr = t_t415a-matnr.
    v_werks = t_t415a-werks.
    v_stlan = t_t415a-stlan.
    v_datuv = t_t415a-datuv.
    v_stlal = t_t415a-stlal.
  ENDLOOP.
Regards
Dhurga

Similar Messages

  • Table for Valid To date field in C203 Tcode

    Let me know the table name for "Valid To Date" field in C203 transaction.
    Thanks,
    Angavai.E

    Hi Angavai,
    Check with table PLMW.
    Regards,
    Raghu

  • How to change Valid to date in BOM

    Hi Sap experts
    I have two questions:
    1. How to change the valid to date in BOM for either header or component material.
    2. If the answer of the above question is NO, then from where the system takes the value for valid to date in BOM. If its default, then where that default date is actually set in?
    Thanks & Regards
    Akhtar Shaikh

    Dear Akhtar,
    If ECM is not activated then deflaut systems takes Valid to-date as  31-12-9999
    It is inbuilt in program designed by SAP
    Valid from date will be the date which you are creating BOM
    If ECM is activated then you can go with required dates ( with change numbers )
    Check this link in which you can find Mr. Mangalraj and experts Replies
    [ECM|Re: BOM valid to date]
    Regards
    Madhu

  • Valid To Date in BOM

    hii
    Can we change Valid To Date in BOM??By default it is 31.12.9999.i want to change it to 25.5.2007.
    Thanks
    varun

    Hi Varun,
    As per my observation, we cannot set valid to date for a BOM. When you delete the BOM then the deletion date will becomes valid to date, the same will apply to items within BOM.
    Thw work around is you can create production version in MRP4 view and set the vaild from and valid to date for this version and assign this to part with BOM details. Now the BOM will be picked up as per the validity of the version.
    You have to give BOM selection criteria is "selection by production version" in MRP4 view.
    Regards
    TAJUDDIN

  • Table for Reservation creation Date

    All SAP Gurus,
    What is the Table for Reservation creation Date?
    Regards,

    Hi Vijay,
    Thanks for reply.
    Tables yiu have recommended do not have the reservation creation or updation date.
    Please correct me if I'm wrong.
    Regards,

  • TABLES FOR MASTER & TRANSACTIONAL DATA

    Hi all ,
    can some body help me with TABLES FOR MASTER & TRANSACTIONAL DATA
    DP,SNP,PP/DP.
    Thanks

    Hi,
    You can find out it as per your requirement.
    Use transaction SE80 - ABAP workbench  -->
    select Repository Information system  -->
    Select ABAP Dictionary  --> Data base table -->
    In the right hand side window you will get screen in that give details as below
    Standard selection screen
    Table name : enter *
    In the Application Component:
    You will get Tree structure to Select Application Componenet
    in that expand the node of SCM --> SCM APO --> SCM-APO-MD for Master Data
    Here you will get application  -- Double click on the required Application
    e.g. Duble Click on SCM-APO-MD-PR for Product
    Here you will get list of table related to application componenet Product
    <b>/SAPAPO/MATKEY                 Product</b>
    Some of the Master Data Tables:
    /SAPAPO/APNTYPE                APN Type
    /SAPAPO/APNTYPET               Alternative Product Number Type
    /SAPAPO/APO01                  APO Planning Version
    /SAPAPO/APO01DEL               Deletion Log File Versions
    /SAPAPO/APPLOCS                Location Master: Relevant Location Types for Application
    /SAPAPO/APPLS                  Application Types : SAP Application Types
    /SAPAPO/CD_LOC                 Customizing Change Documents Location
    /SAPAPO/CD_PPRFL               Customizing: Change Documents: Product Profiles
    /SAPAPO/CD_PRDHD               Customizing: Change Documents: Product
    /SAPAPO/CD_PRDLC               Customizing: Change Documents: Location Product
    /SAPAPO/CD_PRDLW               Customizing: Change Documents: Storage Type Product
    /SAPAPO/CD_PRDWH               Customizing: Change Documents: Storage Type Product
    /SAPAPO/CONSPROF               Model Consistency Check: Check Profile
    /SAPAPO/CONSPROT               Model Consistency Check: Check Profile Descriptions
    /SAPAPO/CUSTCHK                Model Consistency Check: User-Specific Checks
    /SAPAPO/CUSTCHKT               Model Consistency Check: Descriptions of User-Spec. Checks
    /SAPAPO/GRPTYPE                Product Group Types
    /SAPAPO/GRPTYPET               Description of Product Grouping
    /SAPAPO/LOC                    Locations
    /SAPAPO/LOC_SUB                Mapping Table for Sublocations
    /SAPAPO/LOCCOMP                Table Obsolete Since SCM Release 4.1
    /SAPAPO/LOCMAP                 Mapping Table for Locations
    /SAPAPO/LOCMOT                 Location: Means-of-Transport-Dependent Attributes
    /SAPAPO/LOCPROF                Version-Dependent Location Profile for Penalty Determinati
    /SAPAPO/LOCT                   Locations Short Text
    /SAPAPO/LOCVER                 Location: Version-Dependent Fields
    /SAPAPO/LTTYPE                 Location Resources
    /SAPAPO/LTVER                  Location Resources: Version-Dependent Fields
    /SAPAPO/MARM                   Units of Measure
    /SAPAPO/MATAPN                 Alternative Product Number
    /SAPAPO/MATBOD                 Product BOD Assignment
    Hope this information will be helpful for you work on and find out Important tables for your own BP

  • How to use "discontinuation data" in BOM item ?

    Hi everyone!
    I would like to use "discontinuation data" in BOM item , not in MRP4 view, how to set? thanks!
    Dandan

    >
    dandan li wrote:
    >
    >
    > I want to know the  "discontinuation data" in BOM item, not  Priority of AltItemGroup !
    Dear Dandan Li,
    Plz Re-check Mr. SmanS Reply in that thread
    it is Regarding As per ur query
    More over Plz try to encourage your repliers always
    [committed quantity in production order;
    Like wise there are many other threads of ur's
    Plz Don't misunderstand
    Regards
    Madhu

  • Please add XSD Schema for validating TLF data in TLF 3.0

    It would be very beneficial to have a XSD schema for validating TLF data.  Please add this to TLF 3.0.  There are a couple of posts where others have already asked for this...
    http://forums.adobe.com/message/2795099#2795099
    http://forums.adobe.com/message/2223205
    Thanks!

    Sure Gang!
    We could use the XML schema to validate the TLF markup that we are generating from our publishing system.  We generate XML files which include the TLF markup and a XML schema would be very beneficial to validate that markup to make sure we are doing everything right.

  • Table for Assembly indicator checkbox in BOM

    Please inform me about Table for Assembly indicator checkbox in BOM
    Field name--- STLKZ.
    If table is not there then how to find if this field is checked or Not checked  in development program

    Dear Mayuresh,
    There is no table where in you can get this information which has got an assembly of its won.
    Either you can use CS11,CS12 or CS13 for limited level explosion or else to identify for which
    components an assembly exists for itself.
    Or else at Functional module level.
    Regards
    Mangalraj.S

  • Block stock calculation from mseg table for any given date.

    I am calculating stock from mseg table for any given date. Not just month end stock or current stock. It could be back date also. It is tallying also with MB5B stock report of that date. Now I have to bifurcate that stock into unrestricted stock, quality stock and block stock.
    I have checked INSMK and ZUSTD field in mseg table, but could not concluded. Should I check movement type wise? Block/ Quality stock could be transferred into unrestricted stock also. That also I have to take care.
    Can anyone clearly explain how the stock type posting takes place in mseg table when goods receipt as block / quality stock and when the same goods transferred in unrestricted stock, what are the reference indication.

    DATA : LIST_TAB TYPE TABLE OF ABAPLIST.
    DATA: BEGIN OF VLIST OCCURS 0,
          FIELD1(5)  TYPE C,
          FIELD2(19) TYPE C,
          FIELD3(16) TYPE C,
          FIELD4(17) TYPE C,
          FIELD5(25) TYPE C,
          FIELD6(24) TYPE C,
          FIELD7(25) TYPE C,
          FIELD8(25) TYPE C,
          END OF VLIST.
    TYPES : BEGIN OF ITAB,
           MATNR(18) TYPE C,
           WERKS(5) TYPE C,
           END_MENGE(20) TYPE C,
           END OF ITAB.
    DATA : ITAB TYPE STANDARD TABLE OF ITAB WITH HEADER LINE,
            WA_TAB TYPE ITAB.
    ----submit command to run mb5b in the background and -
    ----push the data into an internal table -
    " Calling MB5B for displaying the Closing Stock
    SUBMIT RM07MLBD USING SELECTION-SCREEN  '1000'
                    WITH DATUM BETWEEN S_DATE-LOW AND S_DATE-HIGH
                    WITH MATNR IN S_MATNR WITH WERKS IN S_WERKS
                    WITH BWART-LOW = '601' EXPORTING LIST TO  MEMORY
                    AND RETURN.
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        LISTOBJECT = LIST_TAB
      EXCEPTIONS
        NOT_FOUND  = 1
        OTHERS     = 2.
    CALL FUNCTION 'LIST_TO_ASCI'
      EXPORTING
        LIST_INDEX         = -1
      TABLES
        LISTASCI           = VLIST
        LISTOBJECT         = LIST_TAB
      EXCEPTIONS
        EMPTY_LIST         = 1
        LIST_INDEX_INVALID = 2
        OTHERS             = 3.
    LOOP AT VLIST WHERE FIELD1 CS '|'.
    CHECK SY-TABIX GE 4.
    MOVE :  VLIST-FIELD1+1(4) TO ITAB-WERKS,
            VLIST-FIELD2+1(18) TO ITAB-MATNR,
            VLIST-FIELD8 TO ITAB-END_MENGE.
    APPEND ITAB.
    ENDLOOP.
    This is the program to call MB5B and the standard program and use the following settings for the closing stock opening stock and block stock

  • Update valid-to date in BOM with ECN

    Hi,
    I'm trying to update the valid-to date in a BOM using an ECN number (e.g. i don't want it to be 12/31/999). I was wondering what the correct procedure was?
    1) what type of ECN to use? (Change Master or ECR; or do both work)
    2) if the BOM was already created without a change number, can you update the valid-to date later with an ECN?
    3) i checked the forums on this site and it says to use without release key (how does this work)?
    4) it seems when i delete a BOM item with an ECN it is gone forever..I just want those items to expire and a new one to be active. how do you do this?
    5) can i do all of the above in CS02?
    6) Also, how can i tell if ECN is active or not?
    Any logical steps on how to update the valid-to date in the BOM would be greatly appreciated. The current forum content doesn't seem to provide the correct steps.
    Thank you very much for your help.

    Dear Priya Rajaram,
    1.We can Use Change number with release key or without release key for
    Changing the material BOM.
    2.Use Change number with Release key for better control over the BOM to change
    the valid to date for the entire BOM or for few BOM items.
    3.Once when you use the change number and do the chnges for the material
    BOM,it becomes valid as per the valid from date of the Change number.
    4.For Eg I have created a Change number with Valid from date as 20.09.2007.
    Using this Change number I'm changing the BOM of A,whose components are
    say B - 1,
    C - 1,
    D - 1,
    Now using the Change number I'm deleting the item D and saving,so the previous
    BOM will be valid till 20.09.2007,and the new BOM be valid from 20.09.2007 i.e
    with items B & C alone.
    5.T codes For Change numbers are CC01,CC02,CC03.
    <u><b>Reward points if useful.</b></u>
    If any more query revert to Forums.
    Regards
    Mangal

  • What is the Transparent Table for PO Delivery Date field

    Hii All,
    Does anyone know the Transparent table where the delivery date is stored for the PO line item. It's not in EKPO. Where is it?
    Thanks in advance

    Unfortunatly there is no diagram anywhere for the table relation.
    I usually help myself by F4 search in SE11
    You know e.g. table EKKO. So enter just EK* and press F4 to see all other tables starting this way.
    But in most cases when I search for tables that belong somehow together I use DB15 transaction.
    This gives me all tables that belong to the same archiving object.
    You can start there by entering a table name and search for the archving object.
    then you do it reverse and you get all tables for this object.
    (Unfortunatly SAP does not have archiving objects for any table)

  • [SD] table for Schedule line date

    If we display a sales order through Va03 and Go to tab Item overview. There is a excel sheet kind of display showing
    all items. The 12th col is 'First Date' and the f1 help says its 'Schedule line date'.
    I need to display this date in my report.
    <i>F1 Help Says :</i>
    <b>Schedule line date</b>
    The delivery date for the schedule line. The delivery date can be the
    Date requested by the customer, or (if the requested date cannot be met)
    Earliest date proposed by the system after automatic availability checks and delivery scheduling
    <b>Use</b>
    The system uses the delivery date for each schedule line together with predefined time estimates for delivery activities (such as picking and packing) to determine the
    Material availability date
    Loading date
    Goods issue date
    Transportation planning date
    <b>Dependencies</b>
    If you want the system to automatically determine the above dates, the Delivery scheduling and Transportation scheduling fields must be active in the sales document definition ( Tools --> Customizing, Sales and Distribution --> Basic Functions --> Delivery scheduling and transportation scheduling --> Define scheduling by sales document type).
    <b>Note</b>
    If there is more than one schedule line for the item, the system displays the earliest delivery date in the item and overview screens.

    Hi flora
    You can get he details of the schedule line data in the VBEP table.
    EDATU is the schedule line date
    regards
    kishore

  • Setup tables for invoices header data (2LIS_13_VDHDR)

    Hi experts,
    I am using 2LIS_13_VAHDR and 2LIS_13_VAITM to transfer data to SAP BW.  Through the t-code SBIW, I I run the job to fill setup tables with invoices data. the job is completed succefully. when I check the extractors in RSA3, the extractor 2LIS_13_VAHDR doesn't bring any data while 2LIS_13_VAITM bring a set of items !!
    I m wondering why I dont get invoices header data!
    Thank's a lot for your help.
    Abdess,

    Hi,
    Did you delete the old initialization request from BW and also delete old setup table.
    Because the issue is strange, If you are able to see entries in item then header should also fetch data.
    Repeat the steps again if you have time.
    Use T-Code LBWG to delete setup table.
    Delete MCXE13 entries in LBWQ.
    Use T-Code OLI9BW to fillup setup table for 2lis_13.
    Thanks,
    Shakthi Raj Natarajan.

  • Wants to change the validity from date in BOM

    Hi,
    We have created BOM by mentioning valid from date 21.08.2018.
    Now we need to change that valid from date 21.08.2018 to 21.08.2008.
    How can we do that?
    thanks/regards
    vish

    Hello,
    If you are creating the BOM wr.to change number & if the change number date is lying in future. System allows you to change the effective from date for the ECN, which in turn BOM effective date also get change automatiocally. T code CC 02 for changing the date through ECN
    Maruti

Maybe you are looking for

  • Error while opening a popup from managed bean

    Hi, I am trying to open a popup from bean, after another popup is closed. When I open the second popup either through ActionListener(on first popup button) or DialogListener(on first popup), I am getting the below error on browser status bar(!); and

  • Time Machine can no longer write to drive

    I have been using Time Machine to back up my iMac G5 for over a year. About two weeks ago the computer started acting really strange so I actually restored the entire system from my Time Machine backup. Everything was working great until today. The e

  • Technical Name is not displayed on the hierarchy

    Hi, While diplaying the hierarchy on the web interface for a particular node only description is visible. We want to display the text as well as the technical name of the node. Is it possible to display the technical names of hierarchy nodes in the v

  • Should I get stock 20" 2Ghz with 2 year or upgrade HDD+Wireless mouse+1 yea

    Ok In the UK John Lewis sell the iMac with a 2 year warranty as standard. However it has to be a stock one. Looking on the Apple UK store I see the upgrade from 250Gb HDD to 320 HDD is £29 and the Wireless mouse £12, so I was going to go for that, bu

  • Linksys and DDNS: no alternatives: dyndns / TZO or die ?

    hi all, i`m rellay disappointed about linksys. dyndns and tzo now one company. Why is linksys not implemting freeware hoster or at least a field for custom implementation like others have ? What is the reason of your strategie ? the NSA to keep only