'Valid to' dates for both the Header & the components in the BOM report.

Hi Experts,
My Requirement:
Need to display the 'Valid to' dates for both the Header & the components in the BOM report.
Right now we are using the Functional modules 'GET_STKO' & 'GET_STPO' for the header
& the components respectively. The report gives the correct output for the all the BOM alternatives
which exist. But for the BOM alternatives which have been deleted(updated in STKO-LKENZ)
'Valid to' dates are displayed as'00/00/0000'.
(Note:ECM is used for BOMs)
Is there any Logical Database that I can fetch the 'Valid to' dates of both BOM Header & components
which are deleted?
Regards,
Mahesh

Dear Mahesh,
In my understanding I dont think you cannot get the valid to date for BOM header,unless a ECN,(engineering change number) is
used to set the deletion flag.In otherwords none of the business sets for all these BOM's the valid to date(which means the
default valid to date 31.12.9999 is taken).
Check with this FM, CS_BOM_EXPL_MAT_V2 whether can you get the valid to date for the components(infact here also the
valid from date given in the input screen impacts the report output).
Check and revert back.
Regards
Mangalraj.S

Similar Messages

  • Help reqd on Changing the Valid from "date"  for both BOM & Routing

    Hi all...
    Pls advise me how to do the changing of Valid from "date"....
    Is there any process in CC01 or ECM???....
    pls reply me in detail step format (step by step analysis)....
    I wrongly created in CS01 and CA01 as 05.10.2007 as my valid from date instead of 01.10.2007.....
    How to change to my actual one......
    I dont know how to change it exactly.....as im beginner in SAP...pls take this into consideration...and post ur replies imm.
    Pls reply me in detail....will be rewarded at the end while closing this issue.
    thanks & regards
    sankar

    Dear Sankarbabu,
    IF there's no setting for Date Check in OS54 - Engineering Change Management
    Control Data,then you can create a change number with past dates,and also to
    use the same one for changing BOM.
    Tell me one thing you are saying you want to use ECM.Was the earlier one
    created without BOM was created without an ECN?
    See already if you have created your BOM with an ECN,then remove the date
    check setting which I have mentioned in OS54.
    Now goto T code CC02 ,enter the Change number and give the valid from date as
    01.10.2007.
    After that check in CS03 whether this date(01.10.2007)is getting reflected or not.
    I'm sure this will solve your problem.
    Regards
    Mangal

  • Valid to date for BOM Header and Item

    Hello everyone,
    I have been searching for "valid-to" date for BOM header and Items since several days but no luck ..
    I know we can see it using transactions cs11/cs03 etc. But i wish to know the table where they are stored. As I need to extract them to BW.
    Any help will be highly appreciated.
    Thanks in advance!
    Regards,
    Anuj

    Hi Anuj
    In table STPO,the field AEDAT gets updated only when a change number is used,otherwise the valid to date will be shown nil here.
    And also ref the link
    Problem finding Valid To Date or Change number to on BOM
    pavan

  • Some of the data for same records is going on to the next page in excel??

    Hello,
    I designed a template in word with page setup orientation to Landscape, to get the Excel report output. Later when i preview the same in Excel with the Landscape page setup..the print preview is showing me with some of the data going out of the page set up.My font size for data in word I put is 8pt Times New Roman.
    Basically..my requirement is to print the report in excel with the landscape page setup.
    But some of the data for same records is going on to the next page in excel??
    How do i prevent this from happening?
    Thanks in Advance!

    Hello
    The blog suggested above is to set the output for a PDF document using RTF template. Whereas, my requirement is to get a excel output using RTF template, with data fitting directly with in the landscape orientation of EXCEL when printed.
    Basically, the requirement is : When i run the report, the excel output should be sent to a printer with style 'Landscape' from apps?? But the problem is that i am not getting all the pagebreaks i put in the RTF template and also some of the data for the same records is not fitting in to the landscape orientation of the excel while it gets printed.
    But when i run the same as a PDF everything is fine... ..But that's not my requirement...Please help!
    Thanks,

  • HT201077 My wife and I BOTH want to contribute to the same "family" photostream album. We both have  our own iPhones. Is there a for both of us to contribute to the same album from our respective iPhones that we can then share with everyone?

    My wife and I BOTH want to contribute to the same “family" photostream album. We both have  our own iPhones. Is there a for both of us to contribute to the same album from our respective iPhones that we can then share with everyone?

    Your question is almost too much a personal one, begging the question "do we (husband and wife) feel comfy sharing one account on the Mac"   maybe thats why nobody answered you.
    It doesnt complicate anything, but it adds steps for switching accounts on the Mac/ purchases etc. of course
    since your question is mostly personal, ..I wont answer THAT part of it, but creating a new account is easy.....messing with switching back and forth is also a personal preference 'issue' as well.   I prefer to keep things simple, but...........you and yours,  I dont know.......
    http://support.apple.com/kb/PH11468

  • I was just wondering if I can use time capsule with my iphone for both back up and to access the hard drive on the capsule?

    I was just wondering if I can use time capsule with my iphone for both back up and to access the hard drive on the capsule?

    I don't think backup is supported but you may be able to access the TC's internal drive, from the iPhone, with an application like: NetPortal
    Note: I haven't actually tried this app, so if someone else has and was successful in accessing the TC's drive they can certainly chime in.
    Follow-up. Just downloaded and installed this app ... and I can now verify that it, indeed, can access both my TC's internal and externally attached USB HDD.

  • HT6502 I have the iphone 4s. I have tried to update my phone & its now stuck on the connect to itunes screen. Ive tried to restore also. & i still get a error for both of them. I have the latest version of itunes. Ive done all the other steps. Not working

    I have the iphone 4s. Ive tried to update my phone & its stuck on the connect to itunes screen. Ive tried to even restore my phone then update & i still have a error for both of them. I have the latest version of itunes & went through all the other steps. Its still not working & stuck on the connect to itunes & im growing extremly fusterated.

    There are multiple reasons that lead to issue. You should read the troubleshooting guide to get the right solution to solve the issue: iPhone, iPad, or iPod touch not recognized in iTunes for Windows - Apple Support

  • IDOC BOMMAT: Wrong validity-from dates for components

    Hi all,
    I am currently loading BOMs via IDOC BOMMAT for a data migration project. Unfortunately I am having problems to load the BOMs with the correct validity-from date for components. The data is correct when I check in LSMW, but after the load of the IDOCs the validity-from date of each component is the same as the validity date of the BOM header!
    System Version is SAP 4.7.
    Thanks for your help and Best Regards
    H.

    Has anybody any ideas?
    Thanks a lot!

  • Please put a cost object with valid JV data for GL accoutnt (line 001)

    Dear All,
    When the user is trying to post ASKBN, They are getting an error saying "Please put a cost object with valid JV data for GL accoutnt (line 001)"
    So we tried to look up the error, and the WBS, Cost center, profit center and JVA details are all available in place. Still cant understand why this error comes. And why the system is asking to put JV details when they are available.
    On checking, WBS has an AUC and AUC has the cost center which has the JV details and PC details. So I think everything is in place.
    Can someone help please and let us know if we are missing anything else that needs to be checked ?
    Thanks,
    Hari Dharen

    Dear Hari Dharen,
    if something else in missung you'll get a error message if you run ASKBN in testmodus.
    regards Bernhard
    Edited by: Bernhard Kirchner on Oct 5, 2010 8:55 AM

  • How to change the header and footer in the Section Breaks Next Page using OpenXML?

    I have a word document file in which I added a Section Break of Next Page, now I want to change the header and footer of that page.
    Scenario of example, I have a doc file which has four pages with headers and footers and added fifth page in the section break next page, I want to change the header and footer of the fifth page only. This is achievable manually by deselecting the Link to Previous
    button in the Word Application but I don't know how to change it using XML?
    My code that adds the new page in the section breaks is:
    class Program
    static void Main(string[] args)
    string path = @"C:\Riyaz\sample.docx";
    string strtxt = "Hello This is done by programmatically";
    OpenAndAddTextToWordDocument(path,strtxt);
    public static void OpenAndAddTextToWordDocument(string filepath, string txt)
    using (DocX document = DocX.Load(@"C:\Riyaz\sample.docx"))
    document.InsertSectionPageBreak();
    Paragraph p1 = document.InsertParagraph();
    p1.Append("This is new section");
    document.Save();
    Please help.

    Here is the sample for your reference:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using DocumentFormat.OpenXml;
    using DocumentFormat.OpenXml.Packaging;
    using DocumentFormat.OpenXml.Wordprocessing;
    namespace WordAddNewFooterHeader
    class Program
    static void Main(string[] args)
    string path = @"E:\Document\TestHeaderandfooter-Copy.docx";
    string strtxt = "OpenXML SDK";
    OpenAndAddTextToWordDocument(path, strtxt);
    public static void OpenAndAddTextToWordDocument(string filepath, string txt)
    // Open a WordprocessingDocument for editing using the filepath.
    WordprocessingDocument wordprocessingDocument = WordprocessingDocument.Open(filepath, true);
    MainDocumentPart part = wordprocessingDocument.MainDocumentPart;
    Body body = part.Document.Body;
    //create a new footer Id=rIdf2
    FooterPart footerPart2 = part.AddNewPart<FooterPart>("rIdf2");
    GenerateFooterPartContent(footerPart2);
    //create a new header Id=rIdh2
    HeaderPart headerPart2 = part.AddNewPart<HeaderPart>("rIdh2");
    GenerateHeaderPartContent(headerPart2);
    //replace the attribute of SectionProperties to add new footer and header
    SectionProperties lxml = body.GetFirstChild<SectionProperties>();
    lxml.GetFirstChild<HeaderReference>().Remove();
    lxml.GetFirstChild<FooterReference>().Remove();
    HeaderReference headerReference1 = new HeaderReference() { Type = HeaderFooterValues.Default, Id = "rIdh2" };
    FooterReference footerReference1 = new FooterReference() { Type = HeaderFooterValues.Default, Id = "rIdf2" };
    lxml.Append(headerReference1);
    lxml.Append(footerReference1);
    //add the correlation of last Paragraph
    OpenXmlElement oxl = body.ChildElements.GetItem(body.ChildElements.Count - 2);
    ParagraphProperties paragraphProperties1 = new ParagraphProperties();
    SectionProperties sectionProperties1 = new SectionProperties() { RsidR = oxl.GetAttribute("rsidR", oxl.NamespaceUri).Value };
    HeaderReference headerReference2 = new HeaderReference() { Type = HeaderFooterValues.Default, Id = part.GetIdOfPart(part.HeaderParts.FirstOrDefault()) };
    FooterReference footerReference2 = new FooterReference() { Type = HeaderFooterValues.Default, Id = part.GetIdOfPart(part.FooterParts.FirstOrDefault()) };
    PageSize pageSize1 = new PageSize() { Width = (UInt32Value)12240U, Height = (UInt32Value)15840U };
    PageMargin pageMargin1 = new PageMargin() { Top = 1440, Right = (UInt32Value)1440U, Bottom = 1440, Left = (UInt32Value)1440U, Header = (UInt32Value)720U, Footer = (UInt32Value)720U, Gutter = (UInt32Value)0U };
    Columns columns1 = new Columns() { Space = "720" };
    DocGrid docGrid1 = new DocGrid() { LinePitch = 360 };
    sectionProperties1.Append(headerReference2);
    sectionProperties1.Append(footerReference2);
    sectionProperties1.Append(pageSize1);
    sectionProperties1.Append(pageMargin1);
    sectionProperties1.Append(columns1);
    sectionProperties1.Append(docGrid1);
    paragraphProperties1.Append(sectionProperties1);
    oxl.InsertAt<ParagraphProperties>(paragraphProperties1, 0);
    body.InsertBefore<Paragraph>(GenerateParagraph(txt, oxl.GetAttribute("rsidRDefault", oxl.NamespaceUri).Value), body.GetFirstChild<SectionProperties>());
    part.Document.Save();
    wordprocessingDocument.Close();
    //Generate new Paragraph
    public static Paragraph GenerateParagraph(string text, string rsidR)
    Paragraph paragraph1 = new Paragraph() { RsidParagraphAddition = rsidR };
    ParagraphProperties paragraphProperties1 = new ParagraphProperties();
    Tabs tabs1 = new Tabs();
    TabStop tabStop1 = new TabStop() { Val = TabStopValues.Left, Position = 5583 };
    tabs1.Append(tabStop1);
    paragraphProperties1.Append(tabs1);
    Run run1 = new Run();
    Text text1 = new Text();
    text1.Text = text;
    run1.Append(text1);
    Run run2 = new Run();
    TabChar tabChar1 = new TabChar();
    run2.Append(tabChar1);
    paragraph1.Append(paragraphProperties1);
    paragraph1.Append(run1);
    paragraph1.Append(run2);
    return paragraph1;
    static void GenerateHeaderPartContent(HeaderPart hpart)
    Header header1 = new Header();
    Paragraph paragraph1 = new Paragraph();
    ParagraphProperties paragraphProperties1 = new ParagraphProperties();
    ParagraphStyleId paragraphStyleId1 = new ParagraphStyleId() { Val = "Header" };
    paragraphProperties1.Append(paragraphStyleId1);
    Run run1 = new Run();
    Text text1 = new Text();
    text1.Text = "";
    run1.Append(text1);
    paragraph1.Append(paragraphProperties1);
    paragraph1.Append(run1);
    header1.Append(paragraph1);
    hpart.Header = header1;
    static void GenerateFooterPartContent(FooterPart fpart)
    Footer footer1 = new Footer();
    Paragraph paragraph1 = new Paragraph();
    ParagraphProperties paragraphProperties1 = new ParagraphProperties();
    ParagraphStyleId paragraphStyleId1 = new ParagraphStyleId() { Val = "Footer" };
    paragraphProperties1.Append(paragraphStyleId1);
    Run run1 = new Run();
    Text text1 = new Text();
    text1.Text = "";
    run1.Append(text1);
    paragraph1.Append(paragraphProperties1);
    paragraph1.Append(run1);
    footer1.Append(paragraph1);
    fpart.Footer = footer1;
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Surcharge at the header level only to the customer in the sales document

    Hi guys,
    I have requirement to charge the surcharge at the header level only to the customer in the sales document, the condition type as well as the value should not be distributed to item level
    I have marked the condition as header. But still the value is copied to the item as well,
    If I mark the condition as Group condition, then it distributes the total value to each item in the document according to Qty
    Is there any other way, I could set up through config,
    Regards,
    Rao.

    Hi,
    In T.Code VTFL, check what is maintained for field Pricing Type. If it is B then change it to G or depending on your business select a suitable value.
    This should resolve your issue. Let me know in-case the issue still persisits.
    Regards,
    Rohan Gudavalli

  • How can we transfer the header fiedl value to the  item

    we have add the "storage location" field to the sales order head and item, now we need to batch change the item's storage location when we change the head's storage fields ,
    we have use the function module in 'crmc_map' transcation, but with some problems,  when we change the head's field, we can't triger the item's 'SET' event, so we can't change's the item's fields(through the screen is changed, but when we use 'CRM_ORDERADM_I_READ_OW'  to get the value, it stand still);
    we also tried to when we change the head's field,  we use head's set event to change to item's value, but we can't get item's guid, so Now I have no idea to deal with it.
    Any body can help me?
    Thanks a lot!

    Hi,
         Using the set method in this scenario is not reliable. The set methods are triggered only for displayed items, whereas you need to change the value for, I presume, all the items. In the code where you change the header field value, write the code to change values for items as well. The approach will differ depending on whether you are using the BOL method or directly call the maintain APIs.
    Regards,
    Arun Prakash

  • How to I remove the 'panel' underneath the Header list, and above the mail Preview pane. Contains 'from' 'subject' 'reply' buttons to name a few. Takes up too much space.

    How do I remove the 'panel' underneath the Header list, and above the email Preview Pane. Contains 'from', 'subject', 'to', 'reply', 'forward' buttons to name a few. Takes up space.
    == This happened ==
    Every time Firefox opened

    setSize (600, 200);orpack ();Kind regards,
      Levi
    PS:
        int i;
    parses to
    int i;
    , but
    [code]    int i;[code[i]]
    parses to
        int i;

  • I want to cut out a head from a photo and insert it into another photo again. In the head hair flying in the wind and the blue sky can be seen between the hairs. This blue sky I want to remove, so I can only use the head with hair flying in another photo.

    I want to cut out a head from a photo and insert it into another photo again. In the head hair flying in the wind and the blue sky can be seen between the hairs. This blue sky I want to remove, so I can only use the head with hair flying in another photo. Is it possible to simply delete this blue color of the sky?

    Make your selection and then use Refine Edge.
    See this video tutorial from Bob Gager.
    https://www.youtube.com/watch?v=xrl3Qwg6zSc

  • Separate security for both of two distinct parties - 1 the data owner - 2 the application owner

    I have written a web application in .net that runs on a shared server using Sql Server 2012. My program is only useful if I partner with certain data owners. I need to protect my program; they need to protect their data. I am assuming they at least run Sql
    Server 2008 R2. I need to interface with their database using a couple of stored procedures. I want these procedures to only be available to my application, and I want the processes and output of the stored procedures to be apparent to me and to my application
    alone. I assume they want their data to only be available to my application, not to me generally. This application needs to be available from my website, as well as from their website. I realize this question touches on areas outside of Sql Server Security
    as it reaches into basic architecture as well. Any help or pointers to help would be greatly appreciated.
    Thank you,

    That article discusses the situation in a single instance of SQL Server and is in no way applicable to a scenario where you want to set up trust between a web server and an SQL Server instance.
    There is one thing you can do with certificate, that possibly may be appliable to your situation. Say that you develop the stored procedures at your site, and then deploy them at the other site. You want to make sure that the procedures are not modified
    locally. To this end yon can sign the stored procedure with a certificate locally. When you ship the procedures, you also ship the public key of the certificate, and in the install script you use ADD SIGNATURE WITH BLOB to sign them. You take that blob from
    your home system.
    Your web application can then repeatedly check that the procedures are signed with the correct signature. It the procedure is changed locally, the signature is lost. They can re-sign it locally, but not with the certificate you shipped.
    This does not prevent other users from calling the stored procedures or look at the code. For that you need trust and contracts between humans.
    Erland Sommarskog, SQL Server MVP, [email protected]

Maybe you are looking for