SQVI Engineering change report

Hi all,
I'm trying to create a SQVI report to show:
a) Engineering Change number (AENR-AENNR)
b) Validate from (AENR-DATUV)
c) Plant and d) Item (for those, I use AEOI-USOBJ. This field stores the concatenation of plant and model, and there's no need to treat this)
e) Description of item (AEOI-OITXT)
f) Old part number (AENR-MATNR_LIDER)
g) Old part description
h) Old part qty
i) New part number (STPO-IDNRK)
j) New part description
k) New part qty (STPO-MENGE)
for now, the structure of tables in SQVI is this:
I'm trying to do a join between AENR (or AEOI) and STPO to get information about the new part (i and k above), but there are no filters to do it. In an example, I use an engineering change document that changes 4 models, trading the same components in all models:
Model: Y11111
Old part: 1111111
New part: 2222222
Model: Y22222
Old part: 1111111
New part: 2222222
Model: Y33333
Old part: 1111111
New part: 2222222
Model: Y44444
Old part: 1111111
New part: 2222222
The problem is that there are no filters to determine what is the BOM that have to be shown for each model, so all the old and new parts are shown for every model, like this:
Model: Y11111
Old part: 1111111
New part: 2222222
Old part: 1111111
New part: 2222222
Old part: 1111111
New part: 2222222
Old part: 1111111
New part: 2222222
Model: Y222222
Old part: 1111111
New part: 2222222
Old part: 1111111
New part: 2222222
Old part: 1111111
New part: 2222222
Old part: 1111111
New part: 2222222
and the same for Y33333 and Y44444.
I tried to do a join between AEOI and STPO using STAS, but STAS stores the BOM category and the BOM separated, while AEOI stores these concatenaded.
STAS
AEOI
How can I treat this? I searched for a lot of tables, and none of them suits me in this case. Do you know any another tables that could give me the filter I need in this case?
And one more doubt: the new part number and old part number are in different tables (STPO and AENR, respectively). How can I do the join with MAST table in this case?
Thanks in advance,
Bitar

This is not really an ABAP question, you might want to move this to MM or PP forum.
If you know of a standard transaction that provides this kind of information, you could use SQL Trace (ST05) to see how tables are being accessed.
I'm not an expert on these particular tables but you might need to do this in SQ01 query instead because we can write some programming code in those queries. Some table links might not be that straightforward, as you've noted.

Similar Messages

  • The CR 2010 for VS engine changes the margins and scales the report

    The CR 2010 for VS engine changes the margins and scales the report but only when printing.
    Environment:
    OS: Windows 7 x64 / Windows 2008 x64
    VS: VS 2010 x64
    CR designer: CR 2008 SP3.5
    CR engine: CR 2010 for VS SP1
    We have upgraded the Crystal Reports engine from version 10 to u201CCrystal Reports 2010 for VSu201D and are now having major issues with printing reports to preprinted papers, giro forms etc. because the report margins are changed and the reports are scaled (when report elements are in non-printable area?). Reports with elements in non-printable area are shown correctly in print preview (CR 2010 CrystalReportViewer) but moved to printable area when printed. This behavior was different in CR 10. Changing the PrintLayoutSettings in code is ignored when printing.
    Error u2013 The printed reports are scaled:
    -     Print in the CR 2008 Designer SP2
    -     CR 2010 for VS SP1
    OK u2013 The reports are not scaled:
    -     Print in the CR 2008 Designer SP3.5
    -     Print in the CR 10 Designer
    -     CR 10 engine
    Test:
    1) Crystal Reports Designer 2008 (with SP 3.5)
      a) Create a new blank RPT file.
      b) Set report margins to 0,0,0,0 in Page Setup.
      c) Add a box in the upper left corner (x=0, y=0).
      d) Select "Print preview" and validate that the box is located in 0,0 in preview window.
      e) Select u201CPrintu201D and validate that the box is located in 0,0 of the paper. Some of the box borders might be outside of the printable area but that is ok.
    2) Visual Studio 2010 and u201CCR 2010 for VSu201D with SP1:
      a) Create a new Windows Forms Application project (.NET Framework 4.0). Set project to u201C.NET Framework 4.0u201D and platform target u201Cx86u201D.
      b) Add the CrystalReportViewer control to Form1.
      c) Add the RPT file to the CrystalReportViewer control
      d) Run the application
      e) Validate that the box is located in 0,0 in the CrystalReportViewer control.
      f) Select the "Print" icon in the CrystalReportViewer
      h) Click the "Print" button and validate that the box is moved to the printable area which is wrong.
    Notice: In the print dialog (CR 2010 for VS) select the "Layout" tab page and see that "Scale u2026" is selected and cannot be changed. This is different from the CR 2008 Designer even though that it is the same report file and printer.

    I have done the requested test (and more - see below) and can not reproduce the issue.
    Tests done
    1) Crystal Reports Designer 2008 (with SP 3.5)
    a) Create a new blank RPT file.
    b) Set report margins to 0,0,0,0 in Page Setup.
    c) Add a box in the upper left corner (x=0, y=0).
    d) Select "Print preview" and validate that the box is located in 0,0 in preview window.
    e) Select u201CPrintu201D in the CR designer. Results in the box printing at 0,0 coordinate of the paper.
    f) Repeat all of above with a text field report
    g) Select u201CPrintu201D in the CR designer. Results in the text printing at 0,0 coordinate of the paper.
    2) Visual Studio 2010 and u201CCR 2010 for VSu201D with SP1:
    a) Create a new Windows Forms Application project (.NET Framework 4.0). Set project to u201C.NET Framework 4.0u201D and platform target u201Cx86u201D.
    b) Add the CrystalReportViewer control to Form1.
    c) Add the RPT file to the CrystalReportViewer control
    d) Run the application
    e) Validate that the box is located in 0,0 in the CrystalReportViewer control.
    f) Select the "Print" icon in the CrystalReportViewer
    g) Click the "Print" button
    h) Text filed report test results in the text printing at 0,0 coordinate of the paper.
    i) Box report test results in the text printing at 0,0 coordinate of the paper.
    3) VS2010 IDE
    a) Create a new blank RPT file.
    b) Set report margins to 0,0,0,0 in Page Setup.
    c) Add a box in the upper left corner (x=0, y=0).
    d) Preview report in the ID designer and validate that the box is located in 0,0 in preview window.
    e) Select u201CPrintu201D in the IDE designer. Results in the box printing at 0,0 coordinate of the paper.
    f) Run above report in code
    g) Preview report and validate that the box is located in 0,0 in preview window
    h) Select the "Print" icon in the CrystalReportViewer
    i) Click the "Print" button
    j) Text filed report test results in the text printing at 0,0 coordinate of the paper.
    k) Repeat all of above with a new report that uses a text field rather than a box.
    None of my reports have the option "No Printer" checked.
    All of my reports have the option "Dissociate Formatting Page Size and Printer Paper Size" checked
    From the above, you can see that all of the printing tests result in consistent printing, be it a report created in CR 2008 or CRVS2010, useing a box or a field. No difference in printing.
    Suggestions:
    1) I am not sure if you have followed the steps you recommended. E.g.; are you creating a new report or using your existing report? See if following the steps described reproduces the issue (it may be there is something specific to your existing reports)
    2) Make sure you have the latest printer driver available for your printer
    3) Try a different printer
    4) Add a report to the VS2010 IDE and preview the report in the IDE of VS2010
    5) Compare the "No Printer" and "Dissociate Formatting Page Size and Printer Paper Size"  options
    6) Consider creating a phone case so a support technician can troubleshoot the issue with you
    - Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Purchase order price change report

    Hello
    How to retieve the purchase order price change report ? do we have any standard report for it or any table which gives these data?
    kindl

    HI
    Have you activate version management at your end for PO,i think this will help you to track changes of PO for qty,price etc.
    [http://wiki.sdn.sap.com/wiki/display/ERPLO/Version+Management]
    Regards
    Kailas Ugale

  • Change report S_ALR_87012168 - 0SAPDUEAN-01

    I am in FDI2 for changing report 0SAPDUEAN-01-Due Date Analysis for Open Items. I would like to add one more characteristic in the list available in the right hand side. Currently there are only 26 characteristics available for selection

    Hi Suma,
    In my last project I worked a lot on that to add new characteristic but I didn't get in clue.  If you get any idea that would be great.
    Best of luck
    Sreenivas

  • How to change report displayname at runtime when run from the report server?

    hi all,
    with the reportviewer widget in a winforms app, i'm able to change report displayname at runtime by handling thesubmittingparametervalues event like so:
            private void reportViewer1_SubmittingParameterValues(object sender, ReportParametersEventArgs e)
                string po = e.Parameters["Order"].Values[0];
                this.reportViewer1.ServerReport.DisplayName = "Load Out - " + po + " - " + DateTime.Now.ToShortDateString();
    question: how do i achieve the same thing when the report is run via the ssrs reportserver website?
    thanks for any tips,
    sff

    Hi sherifffruitfly2,
    According to your description, you want to change the display name of report in Report Manager. Right?
    In Reporting Services, we can't make the report file name dynamically. But we have Build-in Fields to show report name and execution time in a report. We can add a textbox and put in the expression below:
    ="Load on- "+Globals!ReportName+" "+Globals!ExecutionTime
    It will show the report name with execution time when we run the report:
    Reference:
    Built-in Collections in Expressions (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Is there a relation between the Engineering Change Management and MM

    Hi SAP MM Gurus,
    Is there a relation between Engineering Change Management and Materials Management? I know we get the versions changes updated in Material Master. But do not know where is the origin for ECM. Step by step configuration is appreciable.
    Thanking in Advance.
    with regards
    Ravi Babu

    Hi ,
    I have created an application and have created end users also who will be using this application. For each of these users i have to give access to application in such a way that they will be able to see only their area a work. So how do i do this ..this needs to done based on the login user_name..my question now is how or from where will i get the current session details like user_name, current session id ,current session date and time?
    Thanks in advance,
    Bhargavi

  • How can I change reports in report painter.

    Dear Consultants,
    I need to change report according to client requirment.
    1, Lay out change in std report.
    2, How can I customize report to get cost element group wise with sub totals one by one.
    Please tell me how to do it step by step, I'll will award full points.
    Kind regards,
    Arvey.

    Dear Arvey,
    1. Layout can be changes by going into report painter change transaction GRR2, selecting the report (by double click) and then going to Formatting-->Report layout.
    2. Second question is not very clear to me. pls provide more detail.
    Regards,

  • Trying to Add IBAN Field to Vendor Changes Report

    Hi,
    I need to add IBAN field to vendor changes report (S_ALR_87012089).
    These are the steps I took:
    1) Go to OBAT and add new field group
    2) Go to OBAU and add new fields to field group created in (1)
    However, TIBAN fields cannot be added to the field group.
    Are there any workarounds?    
    Thanks.

    No solution except customization

  • U00A7ECH Engineering Change with Purchase Order, Process Order and Sales Order

    Hello All,
    Can someone kindly explain me the integration points of Engineering Change with
    1. Purchase Order
    2. Process Order
    3. Sales Order
    I know we can see the Rev Letter in the first two. Is there a 'refresh' function inside the  PO, Process Order, Sales Order by which we can get the latest and greatest revision, incase the material rev is updated/changed after the PO, Proc Order, SO is already created. Also if yes,after what status in PO, Process Order or Sales Order we cannot use the 'Refresh' button, and than what needs to be done to fix this situation.
    Thanks in advance,
    Sachin

    Hi,
    really, this depends on several factors, especially the valid from date of the ECM and its impact on changes on a BOM (which I suppose is the use case you are looking at? Or just a change on the material revision of the BOM header material?
    Interesting for you should also be Order Change Management, although not applicable to process orders as far as I know:
    [http://help.sap.com/saphelp_erp60_sp/helpdata/en/41/3699761bc211d2b62b0000e8359890/frameset.htm]
    Regards, Ulf.

  • How to use Prompts in the Filter created in Change Report Properties

    Hi all,
    I have created one Datetime prompt in Change report properties dialogue box.
    Now how can I use this same one in the filter ??
    Since I didn't get Surface and Prompt option for the Date field in the filter.
    Any help is appreciated.
    Thanks

    Actually problem is with Datatype..It was timestamp but it should be Datetime

  • How to add the new character in FDI1FDI2 Define/Change Reports?

    Hi,
    There are some fixed charcters defined in the T. Codes FDI1FDI2 Define/Change Reports, can we add the characters here based on which we can get teh desired output. If yes, hen please tell me how to add the characters?
    Thanks in advance...
    Regards
    Nitin

    thanks

  • Delivery Plant and Engineering Change no in  BAPI_SALESORDER_CREATEFROMDAT2

    Hi Gurus,
    My requirement is creating sales order useing  BAPI_SALESORDER_CREATEFROMDAT2,
    but iam unable to find out Delivery Plant and Engineering Change no. in this BAPI.Plese Help me,
    Regards
    Srinivas

    We use Delivery plant as Shipping point ,it is VBAP-VSTEL Field,you can see Sales order Shipping tab at item level.
    Check the sales order level,if coding is good then there may be some user exit to stopping the data .
    also check with functional guy to confirm the delivery plant field.
    BAPI Structure is
    BAPISDITM-SHIP_POINT
    Thanks
    Seshu

  • Change report

    Hi,
    Is there any report is available in SAP to find what changes have made in FSSO and OB52 and Vendor master data and Customer master Data?
    Thanks
      Chiru

    Hi,
    Display Changes reports for vendor T.code: FK09
    customer: FD09
    G/L Accounts :FS04
    For Open items and closeing postinperiods: OB 52,
    then from menu select Utilities--> Change log.
    Regards
    gvr

  • Period Wise PR Changes report

    Hi experts,
    We want to have a period wise PR Changes Report, how can we get it.
    Please help.
    Regards
    Ishu

    Hi,
    Use report ME5A  with
    Dynamic selection (Shift +F4)  --> choose field -->Changed on --> with select ranges there you can give from date to To date.
    SAM

  • Change Report Owner

    In a previous thread titled [Change Report Owner|Change Report Owner; by [Roy King|http://forums.sdn.sap.com/profile.jspa?userID=4028889] he was asking how to change the owner of a report.
    Since the post went unanswered, I thought I would post the solution that worked for me:
    If you are using ASP.Net like I did, you can follow the post from [Pinchii.com: How to Change Owner for a Crystal Reports Server Report|http://pinchii.com/home/2011/01/how-to-change-owner-for-a-crystal-reports-server-report/]
    The code on this page is a complete .NET project ready to use
    If you are using Java, you can use the code from [ Forumtopics.com's BoB LoblaW: Re: Change Report Owner|http://www.forumtopics.com/busobj/viewtopic.php?p=699058#699058].  Bob's code is only the bit you need to change the owner, but you still have to code the rest
    The key to change the owner is to change SI_OWNERID
    and the fix for Roy Kings Code:
    Replace the line oSourceUserObject.save();
    sourceUser = (IInfoObjects) iStore.query("select * from ci_infoobjects where si_id=" + repID);
    for ( int i = 0; i < sourceUser.getResultSize(); i++ ) {
    oSourceUserObject = (IInfoObject)sourceUser.get(i);
    //oSourceUserObject.properties().setProperty("SI_OWNERID",ownerID); //set new Name/ID
    oSourceUserObject.properties().setProperty(CePropertyID.SI_OWNERID,ownerID); //set new Name/ID
    //oSourceUserObject.save();
    oSourceUserObject.save();
    with
    iStore.commit(sourceUser);
    The above code is not complete, you need to declare an instance of the infoStore service which is represented above by iStore

    I would open a support ticket, since you appear to have an interesting case.
    As background, there's some things that can trigger change in ownership to Administrator, where the main culprit is that the original owner User is either deleted or disappears.  When the owner is gone, then documents are transferred to the Administrator. 
    For example, if you have AD or LDAP authentication based Users, and the connection to the authentication server dies, then a refresh update can remove those users (unless you generate Enterprise auth aliases for each User).
    Sincerely,
    Ted Ueda

Maybe you are looking for