How to summary a field from 2 separate tables but having the same fields

Post Author: thuyvd78
CA Forum: General
Hi, I am getting trouble with creating the summary from 2 separate tables. These tables dont have any link together but they have the same fields, such as: part id, qty, etc. I need to create a report that displays whole the information from these tables and also the summary of total qty field of these tablesAny idea to organize this report? Thank you very much! Thuy  

Post Author: thuyvd78
CA Forum: General
Thank you for your help v361.where can I can get the link to download samples for subreport from official website?And can I use FULL INNER query to join these tables. I think this way is much clearer than using subreport but not sure it will work? Thanks Thuy  

Similar Messages

  • SAP GRC 10.1 AMF No data selected when adding duplicate fields from separate tables for configurable data sources

    Hi There,
    In SAP GRC 10.0, our team had an issue where we could not add duplicate fields from separate table (see ERROR: Select Currency/UoM field for the selected analyzed fields). This was resolved by the SAP Note 1904313/ 1904314 (http://service.sap.com/sap/support/notes/1904313).
    We upgraded our system to SAP GRC 10.1 SP05 and could now add the duplicate fields from separate tables. SAP Note 1904313/ 1904314 was part of SAP GRC 10.1 SP03 so it makes sense that we, in a higher version (SP05), would be able to do this.
    The issue now is when we add the duplicate fields from different tables and run the Ad-hoc Query to test if the data source works correctly, the No Data Selected warning persists. This means that the data source provides no data for analysis, which is required to write our business rules.
    Below is an example:
    Basic data source with just one currency reference field EBAN-WAERS.
    When you run the Ad-Hoc Query you receive data.
    Basic data source with second currency reference field EKKO-WAERS.
    When you run the Ad-Hoc Query no data is found.
    Please also make reference to the following thread logged by my colleague (ERROR: Select Currency/UoM field for the selected analyzed fields)
    Any assistance to receive data with duplicate fields from separate tables will be highly appreciated.
    Thanking you in advance.
    Regards
    Gary Khan

    Hi
    following are the  error messages from dump
    hrtText
       There is already a line with the same key.
    hat happened?
       Error in ABAP application program.
       The current ABAP program "SAPLCKMS" had to be terminated because one of the
       statements could not be executed.
       This is probably due to an error in the ABAP program.
    rror analysis
       You wanted to add an entry to table "\FUNCTION-POOL=CKMS\DATA=T_DYN_CKMLCR",
        which you declared
       with a UNIQUE KEY. However, there was already an entry with the
       same key.
       This may have been in an INSERT or MOVE statement, or within a
       SELECT ... INTO statement.
       In particular, you cannot insert more than one initial line into a
       table with a unique key using the INSERT INITIAL LINE... statement.
    rigger Location of Runtime Error
       Program                                 SAPLCKMS
       Include                                 LCKMSF01
       Row                                     226
       Module type                             (FORM)
       Module Name                             DYNAMIC_PERIOD_CLOSING
    Source code where dump ocured
    222
    223           APPEND ht_ckmlpp TO t_add_ckmlpp.
    224           APPEND LINES OF ht_ckmlcr TO t_add_ckmlcr.
    225           INSERT ht_ckmlpp INTO TABLE t_dyn_ckmlpp.
    >>>>           INSERT LINES OF ht_ckmlcr INTO TABLE t_dyn_ckmlcr.
    227         ENDWHILE.
    Also I guess there is problem with material ledger in R/3 side
    I have never worked on material ledger before so dont hav idea of Tcode and tables in SAP R/3 for material ledger.
    Thanks
    Navneet

  • How do I separate my daughters devices from my icloud but use the same apple itunes account?

    How can I separate my daughters icloud account but keep the same apple itunes account?

    To migrate her device to a new account, start by saving any photo stream photos she keep to keep to your camera roll (unless already there) by opening your my photo stream album, tapping Select, tapping the photos, tap the share icon (box with upward facing arrow), then tapping Save to Camera Roll.  If she is syncing any notes with iCloud that she wants to keep on her device, you'll need to open each of them and email them to her so she can later copy and paste the text into new notes created in her new account.  Then go to Settings>iCloud, tap Delete Account (which only deletes it from this device, not from iCloud; your devices won't be effected by this), choose Keep on My iDevice and provide the password when prompted.  Then sign back in with a different Apple ID to create her new account and choose Merge to upload her data.  (If she has multiple devices, she can go through this same process on the others, but choose Delete from My iDevice when prompted as the data has now already been migrated to the new account.)
    Once you are both on separate accounts you can each go to icloud.com and delete the other person's data from your account if you need to.
    You can continue to share the same iTunes ID.  The ID used for iCloud does not need to be the same as the ID used for iTunes.

  • Field name and table name for the value field

    hi,
        i requred the  value field  for  which the quantity that is not delivered in purchase order, so please tell  me which field i have to go for the value field.
    thanks and regards.

    Hi,
    There is no direct field to get the PO Open qty(undelivered Qty).
    Take the PO quantity for each Item from EKPO-MENGE.
    For each PO Item there will be multiple GR(good's receipts) 's in MSEG table.
    So pass EBELN and EBELP for MSEG table and Take all the GR Quantities(ERFMG) field and sum up .(have to take care of the Movement type also, becasue there will be some returns and GI's).
    Substract the GR qty from PO qty you will get the UNDELIVERED QTY of A PO.
    Regards,
    Anji

  • How can I plott data from a text file in the same way as a media player using the pointer slide to go back and fort in my file?

    I would like to plott data from a text file in the same way as a media player does from a video file. I’m not sure how to create the pointer slide function. The vi could look something like the attached jpg.
    Please, can some one help me?
    Martin
    Attachments:
    Plotting from a text file like a media player example.jpg ‏61 KB

    HI Martin,
    i am not realy sure what you want!?!?
    i think you want to display only a part of the values you read from XYZ
    so what you can do:
    write all the values in an array.
    the size of the array is the max. value of the slide bar
    now you can select a part of the array (e.g. values from 100 to 200) and display this with a graph
    the other option is to use the history function of the graphes
    regards
    timo

  • Hi friends, I have a doubt in inserting a field to database table and inserting the same values in two different tables

    I have a mpp screen for a cd library management system (we are practicing on it).
    We have a main screen where a user should enter the enteries and while clicking a add button it should be inserted in a table, Here the problem rises the table name are ztransaction and zstatus.The fields in mpp are cdid,customerid,transaction id,date of issue and duedate.Now after entering all the values on clicking add button it should be inserted to database table ztransaction and the field cdid alone should be inserted both in ztransaction and zstatus.
    Thank you

    Hi Raghuram R G,
    Check for Primary key and foreign key in the Database table??? Because of this it was not inserting...check and confirm??
    Regds,
    Vijay SR

  • Can retrieve value from one table, but not the other (exception thrown)

    Hi
    I hope some friendly soul can help me out here. I have a local Access database file. I am able to get a value from all tables except for one, which throws this error: "System.NullReferenceException:
    Object reference has not been specified to an object".
    The rather simple lines of code when working is this:
    Dim email As Object
    value = MyDataSet.Tables("Table")(0)(1).ToString
    Msgbox(email)
    However, when simply changing from "Table" to "AnotherTable", the exception is thrown. I
    have seriously no idea why. I've made sure the datatypes are the same and that the values are not NULL.
    What gives?

    Hello,
    Going with your last reply, you should be accessing data via the strong typed classes that get generated.
    Example using Microsoft Northwind database accessing the customers table in a MS-Access database. Note the check for Rows, we could even go farther if we are questioning issue with the data via try-catch statements writing errors to the IDE Output window.
    I would highly recommend never referencing rows without first checking if there are rows and secondly never reference columns by ordinal index, always use the column name. One example with ordinal positioning, suppose someone did SomeDataTable.Columns("SomeColName").SetOrdinal(3)
    and you expect the ordinal position to be 1 ? things will crash-n-burn. Food for thought :-)
    Public Class Form1
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    Me.CustomersTableAdapter.Fill(Me.MainDataSet.Customers)
    End Sub
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    If MainDataSet.Customers.Rows IsNot Nothing Then
    Dim FirstCompanyName As String = MainDataSet.Customers.FirstOrDefault.CompanyName
    MessageBox.Show(FirstCompanyName)
    Else
    MessageBox.Show("No rows in customer table")
    End If
    End Sub
    End Class
    In this case we get the first record from below in Button1 Click
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.

  • How do I create 2 totally separate iMovie Libraries (on the same drive)?

    Here is my basic issue: I take video for work and home and I store them both in iMovie. I don't want them in the same iMovie Library. I want to be able to launch iMovie '11 and select which library I want to use. They are both on my external drive and I want to keep it that way. I just don't want them mixed.
    Ideas?
    I tried option clicking iMovie to try and select a library and that didn't work because iMovie doesn't use any kind of library file the the other iLife apps do. So I took all of my "work" events out and put them in another folder. Now all the "home" events and projects that are left are organized beautifully.
    However, I don't know how to tell iMovie to open in the other folder which has the "work" events and projects.

    aha I figured that would be your follow up question! I was just to lazy to write it up for you.
    Since you need to ask, I would suggest you download a trial copy of DropDMG. It is really a tool for creating software installs with nice looking DMGs with backgrounds etc, but it will do the job for you.
    You also need to fiddle with your terminal window.
    1. Create a template folder with the name you want to appear as a hard drive
    1. Fire up DropDMG, go into preferences and choose "sparsebundle" as the format
    2. Back in main window, click on the new button and select the template folder
    3. DropDMG will create an image
    4. Locate the image and mount it (by double clicking it)
    5. Open a Finder window and select your computer
    6. Open a terminal window
    7. In the terminal window, type "cd" and press spacebar.
    8. From the Finder window, drag the MOUNTED image, from the Devices column to the left, over to the Terminal window and drop it. This will paste the full path for the image into your terminal window. So it should read something like: cd /Volumes/myfakeimage (it can handle spaces in the name)
    9. Press Enter in the Terminal window to navigate to the root of your image drive
    10. In the Terminal window, make sure you made it to the right place
    11. In the Terminal window, type "sudo ln -s" and add a space
    12. Navigate to your actual Events folder on your hard drive via Finder
    13. Drag and drop your folder containing the Events folders (it should really be named "iMovie Events") to your terminal window, effectively copying the path onto the command line.
    14. In your Terminal window, it should read something like: "sudo ln -s /Volumes/myhd/iMovie\ Events/"
    15. In the Terminal window, add a space and type WITHIN quotes "iMovie Events". This now complete line will create a symbolic link at the place where you stand, called "iMovie Envents" pointing to the path in your system. The sudo command will ask for your password and I included it here just to avoid further problems if you had issues with permissions.
    16. Hit enter and a symbolic link should be created in the root of your fake hard drive.
    Now, I've written this from memory but it ..should.. be accurate
    If you want to auto mount this image, you can place it in your login items (which you can do easiest from the account dialog in your system preferences).
    HTH

  • Complicated Question (see pdf): Use data from one table to find the same data in a second table and take other data from that table and place it in a third table. :)

    I don't even know if this is posible.
    I'm using iwork '09 
    View PDF

    I hope I can clarify:
    For our purposes here:
    Table 1 = "Step 2 - Product Sizes"
    Table 2 = "Option id Master"
    Table 3 = "Export - Product Info"
    Table 1:
    The user would enter values for "productcode," "Horz," and "Vert"
    "Size" would auto fill based on values in Horiz and Vert (I have this taken care of already).
    Table 2: This is a completely static table that I want to search against. - Data from other tables in the doc does not alter or change the data in this doc.
    We just want to look at table 2. Find the existing value in "table 2 : size" column that matches the "table 1 : size" column  and then pull the "optionids" and "productprice" from that row.
    Can the value from "Table 1 : Size" be used as a search term in "Table 2 : Size?"
    Table 3: The user does not enter any values on this table. 
    "productcode" is pulled from table 1 - "Table 1 :: A5" = "Table 3 :: A5"
    "optionids" and "productprice" are pulled from Table 2 columns "D" and "E" - however we do not know which Table 2 row it is pulling from until we enter data in Table 1.
    As I'm writing this I'm realizing that
    A. this is probably really confusing to you.
    B. this may be impossible inside of numbers.
    If you have some other method that would facilitate the same out come but be structured differently please let me know.
    --- maybe to help you understand further what I am doing here is my current workflow:
    I record the size of a piece of art.
    Then I manually go to my "Option id Master" and find the same size.
    I then copy the corresponding "optionids" and "productprice" cells. (these options control the prices displayed on my website)
    I got to my "Export - Product Info" table and paste the values in the corresponding cells.
    I was hoping to automate this as it takes a long time when you have hundreds of products.
    Thanks for the help!

  • How to upload 2 amounts from FDM to HFM in the same Account/diff Custom 1?

    Hi,
    We are using Hyperion System 9.3.1 FDM.
    In the past, we always upload one amount only per account through FDM into our Custom 1(flows) into closing. Now, we have in the source file (accounting system) not only the closing balance but also the movements in another column.
    This means that from now on we will need to upload the closing balance as well as the movement flow through FDM into HFM into the same account but in diferrent Custom 1.
    At this point, we succeed to upload one of the amounts into Custom 1 (either closing either movement) but we do not succeed to upload both Custom 1.
    source file
    ENTITY ACCOUNT MOVEMENT CLOSING
    x 120000 10 20
    y 121000 -3 -17
    in HFM
    ENTITY ACCOUNT C1-OPENING C1-MOVEMENT C1-CLOSING
    (calculated)
    x 120000 10 10 20
    y 121000 -14 -3 -17
    As you see above, what we need is to be able to upload 2 different C1 into the same account.
    Could any one help us with this ?
    Did anyone had this kind of upload ?
    Thank you.

    Hello,
    Unfortunately this is probably going to be outside the scope of the forum members; as it will take billable hours and a engagement to write all the scripting required.
    Basically it can be done ... and it has been done before. You will just need to add an import script or an ImportAction script to do the additional work. FDM can only read 'one' amount at a time by default; and other customizations must be put into place to achieve the results.
    Thank you,

  • How can I delete email from iPhone and ipad at the same time

    How can I delete emails on my iPhone and ipad at the same time

    Use IMAP Mail e.g. Gmail

  • Reminders: How to view Todo's from multiple Exchange accounts at the same time

    Does anyone know of an IOS app that:
    Displays a concatenated view of all Tasks from all of my (3) exchange accounts.
    The problem is, that I cannot see what tasks I have for e.g. today without going in and out of all of the Exchange accounts. Just like the calendar is able to view all of the appointments in different colors, I would like the reminders (or a simliar app) to do the same.
    Yes, I'm willing to pay for an app, it's not that :-)
    Thanks for any input!
    Bjoern Dirchsen

    You can look at one of these if you want to sign on with different identities at the same time:
    * CookiePie: http://www.nektra.com/oss/firefox/extensions/cookiepie/
    * CookieSwap: https://addons.mozilla.org/firefox/addon/3255
    * Multifox: http://br.mozdev.org/multifox/ - Different logins at the same time

  • Linking two fields in a dictionary view to the same field

    My DBA asked me if I knew how to do this without resorting to ABAP code, and I said I'd ask you guys over here.
    A customer wants a view on several tables.  Vendor name from LFA1 is one of the
    columns in the view.
    He has two other columns in the view which can hold two different vendor numbers at the same time.
    He wants the view to automatically bring in the names from LFA1 from both of them.
    My DBA knows how to do this directly in DB2, of course, but can it be done in native SAP dictionary ???
    Reason he's asking is because he suspects the customer wants to use the view directly in SQLQuery, where there's no chance for an ABAP code intercept.
    Or is there?  Are there ABAP exits in dictionary views?  Or in SQLQueries?

    Hi
    We can straight away write a select statement to a database view similar to a TABLE in ABAP
    see the sample views VIAUFKS and VIAUF_AFVC
    and see the select statement below for this view
    CLEAR: i_ord.
      REFRESH: i_ord.
      SELECT aufnr            " PM Order No
             equnr            " Equipment Number
             tplnr            " Functional Location
             auart            " Order Type
             aedat            " Order Date
             swerk            " Maintenance Plant
             werks            " Plant
             ktext            " Order Text
             kokrs            " Controlling Area
             objnr            " Object Id
             kostl            " Cost Center
        INTO TABLE i_ord
        FROM viaufks
        WHERE aufnr IN s_aufnr AND
              equnr IN s_equnr AND
              tplnr IN s_tplnr AND
              swerk IN s_swerk AND
              aedat IN s_date  AND
              auart IN s_auart.
    Reward points for useful Answers
    Regards
    Anji

  • How to show facescontext messages not as popup,but in the same scren on top

    Hi,
    I am a newbie, so any help would be sincerely appreciated. I am using jdeveloper 11g 11.1.1.3 . I am adding FacesMessages to the FacesContext object based on a custom logic. These messages can be an error message or it can be a success message.
    By default these messages are shown as a popup, but i dont want these messages as popup. Rather i want them to displayed in the same screen on top as output text.
    Pls guide me on how can i achieve this.
    Zee

    use <af:messages> tag in your page with the attribute property inline="true"
    <af:messages
    inline="true"
    ...../>
    Sample:
    <f:view>
    <af:document id="d1">
    <af:messages id="m1" inline="true"/>
    <af:form id="f1">
    <af:inputText label="Label 1" id="it1" required="true"
    showRequired="true"
    requiredMessageDetail="Enter the value (Label1 is mandatory)"></af:inputText>
    <af:inputText label="Label 2" id="it2" required="true"
    showRequired="true"
    requiredMessageDetail="Enter the value (Label2 is mandatory)"></af:inputText>
    <af:commandButton text="Submit" id="cb1"/>
    </af:form>
    </af:document>
    </f:view>For more details, look into this blog entry:
    http://blogs.oracle.com/userassistance/2010/11/adf_faces_messages_inline_versus_dialog_decisions.html
    Thanks,
    Navaneeth

  • How to download a file from a table not in the parsing schema

    We have a table in another schema which holds files in a blob column. I can create a form on this table and the file upload works fine. The file browse page item has the source as the blob column and storage type "BLOB column specified in Item Source attribute". The download link generated for the page shows a call to apex_util.get_blob_file and the parameters are correct. However, when you click on the link you get a Page Not Found 404 error. Same error in Apex 4.1.1. The plsql error is:
    ORA-20544: Invalid table owner
    ORA-06512: at "APEX_040000.WWV_FLOW_DML", line 1628
    ORA-06512: at "APEX_040000.HTMLDB_UTIL", line 2244
    ORA-06512: at line 31
    Is there a way to use apex_util.get_blob_file to download a file when the table is in another schema?
    Rod West

    Hi,
    I am not sure that the post explains everything as the "Automatic Row Processing" and "Automatic Row Fetch" process work fine on this page and therefore security should not be an issue.
    Thanks for the view suggestion, but I am not sure that a view is a good option for us because the parsing schema does not have create view privilege and therefore the view would be difficult to install and maintain. We will problably end up with a custom download file process.
    Rod West

Maybe you are looking for

  • SRS-X7 touch controls no longer working

    Hello! In July 2014, I purchased in Japan the portable sound system SRS-X7. But ever since I updated its firmware to the latest version 2.11.2.06, I lost access to the volume (+ and -) and bluetooth touch controls located at the top of the unit. I've

  • WebCamera's available(native) modes

    In flash I can use flash.media.Camera.setMode() to set disired resolution and fps. My question is quite simple: How to get a list of available (native) Camera modes? If it's not possible what is the best practice to let user to change Camera's resolu

  • Database problem AGAIN ! ! !

    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection connection=DriverManager.getConnection("jdbc:odbc:customers"); PreparedStatement stat = connection.prepareStatement("SELECT * FROM CUSTOMERSTABLE WHERE SSN = ?"); stat.setString(1,ssnDB); Resu

  • Problem in J1INCHLN - Post

    Hi! When I am try to post Vendor Challan using t.code: J1INCHLN , system is automatically entering only Rs.1, even though TDS amount is more. Please let me know where could be the problem? I am expecting the same TDS amount will automatically flow to

  • SAP mmc Disp+work process to be stopped

    Hi, I installed SAP Ecc6 + oracle 10g on windows 2003, after we restart the server SAP mmc Disp+work process to be stopped. I ran the R3trans -d, i got the below error 2EETW169 no connect possible: "DBMS = ORACLE - oracle_sid= 'DEV;ECC'" R3trans fini