Need to combine four tables and generate Report.

Dear Seniors,
I need to generate a report in such a manner that,
to a particular vendor how much material delivered for processing, how much received from him so for, how much more remains outstanding with the vendor. I need to combibe Purchase order tabe, Goods Issue Table and Goods Receipt table to get this report. Please help to generate a Query for this.
Regards
Anand

Dear Gordon Du,
Thanks for your response. I would like to explain my problem little clearly.
We raise a service PO to a particular service provider.
Based on the PO, we supply materials to the service provider via Goods Issue.
After processing the service provider returns finished Goods to us. We receive the FG via Goods Receipt with ref. the PO No.
At any given point of time, I need to know the quantity of materials supplied, finished Goods received and the outstanding qty of raw materials with the service provider, of the particular order.
In my case the tables affected are
OPOR
OIGE has a UDF U_PONo. OPOR Docnum acts as PO No.
OIGE, IGE1
OIGN, IGN1
OIGN also has a U_PoNo Field.
Against PO we would issue two or more materials.
I need a query that combines above five tables and produces the following result.
PO No.     Vendor Name      Item Name                 Issue Qty        Received Qty    Balance to be Received,
1234          Raamji               30s Cmd Yarn            3000                  2900                          100
Please help to design a query in Query Generator to join the above five tables.
Thanks in adv.
Regards
Anand

Similar Messages

  • Using Word Easy Table Under Report Generation takes long time to add data points to table and generate report

    Hi All,
    We used report generation tool kit to generate the report on word and with other API 's under it,we get good reports .
    But when the data points are more (> 100 on all channels) it take a long time  to write all data and create a table in the word and generate report.
    Any sugegstions how to  make this happen in some seconds .
    Please assist.

    Well, I just tried my suggestion.  I simulated a 24-channel data producer (I actually generated 25 numbers -- the first number was the row number, followed by 24 random numbers) and generated 100 of these for a total of 2500 double-precision values.  I then saved this table to Excel and closed the file.  I then opened Word (all using RGT), wrote a single text line "Text with Excel", inserted the previously-created "Excel Object", and saved and closed Word.
    First, it worked (sort of).  The Table in Word started on a new page, and was in a very tiny font (possibly trying to fit 25 columns on a page?  I didn't inspect it very carefully).  This is probably "too much data" to really try to write the whole table, unless you format it for, say, 3 significant figures.
    Now, timing.  I ran this four times, two duplicate sets, one with Excel and Word in "normal" mode, one in "minimized".  To my surprise, this didn't make a lot of difference (minimized was less than 10% faster).  Here are the approximate times:
         Generate the data -- about 1 millisecond.
         Write the Excel Report -- about 1.5 seconds
         Write the Word Report -- about 10.5 seconds
    Seems to me this is way faster than trying to do this directly in Word.
    Bob Schor

  • Need a bapi or table for GL Report

    Hi experts,
    I need a bapi or table for generating report period balance for GL accounts. i found one bapi BAPI_GL_GETGLACCPERIODBALANCES which is closer to my requirement. But i want to get the balances for cost center and particular material. As Cost center and product ranges are in my selection fields.
    Can anyone tell me table or BAPI?

    SAP standard infoset query provides a report STDCOST for this.
    May be this will suit your requirement. It will give material wise costing.
    hope this helps.
    reward if helpful.

  • How can we sum three members in pov and generate report

    Hi Everyone
    I am trying to generate report in Hyperion Financial reporting studio 9.3 . I have to pov with one dimension name BAH and we have five members under it. I have to sum four members and generate report and one report with one dimension . should be able to run both things in one report. Is it possible to do it. or else if i have to do it individual how do I do it
    Thanks.

    Hi,
    You can use out of box aggregate from interactive report action menu and safe default layout
    http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/app_comp.htm#sthref962
    Br, Jari

  • Fetch data from table and generate attachment than mail it.

    Hello Experts,
    From couple of day I am searching on Google for a better database procedure that will help me to get data from tables and generate attachment and mail it but i fail.
    My Scenario is:
    I have a query that will fetch almost 5000 records from database tables. Each record has almost 75 characters
    select a.location_code,
                   a.item_code,
                   b.description item_desc,
                   to_char(a.manufact_date,'ddMonyy')mfg,
                   to_char((a.manufact_date + nvl(b.expiry_period,0)),'ddMonyy')expr,
                   to_char((a.manufact_date + nvl(b.qurantine_period,0)),'ddMonyy')qrtn,
                   round(nvl (b.qurantine_period, 0) - (sysdate - a.manufact_date)) days_elapsed,
                   a.closing_balance_posted quantity
              from wms_stock_current_balance_v a, wms_item_setup_mast b
             where a.closing_balance > 0
               and a.item_code = b.item_code
               and a.loc_type in ('RACKING','PICKING','QUICKA','BUNDLED')
               and nvl(b.qurantine_period,0) > 0
               and round(nvl (b.qurantine_period, 0) - (sysdate - a.manufact_date)) <= 0
          order by a.item_code, a.location_code;
    Sample data of above query is
    LOCATION_CODE
    ITEM_CODE
    ITEM_DESC
    MFG
    Expiry
    Quarantine
    Days Elapse
    Quantity
    13DL2
    000000000000000F0487
    CLEAR COOL BLACK 05ML
    20-Feb-10
    31-Mar-14
    4-Jun-13
    -122
    160
    14DL0
    000000000000000F0487
    CLEAR COOL BLACK 05ML
    23-Feb-10
    3-Apr-14
    7-Jun-13
    -119
    134
    14DL2
    000000000000000F0487
    CLEAR COOL BLACK 05ML
    23-Feb-10
    3-Apr-14
    7-Jun-13
    -119
    160
    14DR2
    000000000000000F0487
    CLEAR COOL BLACK 05ML
    23-Feb-10
    3-Apr-14
    7-Jun-13
    -119
    20
    14LL2
    000000000000000F0487
    CLEAR COOL BLACK 05ML
    20-Feb-10
    31-Mar-14
    4-Jun-13
    -122
    160
    17ER2
    000000000000000F0487
    CLEAR COOL BLACK 05ML
    20-Feb-10
    31-Mar-14
    4-Jun-13
    -122
    160
    17GL2
    000000000000000F0487
    CLEAR COOL BLACK 05ML
    20-Feb-10
    31-Mar-14
    4-Jun-13
    -122
    160
    17SL0
    000000000000000F0487
    CLEAR COOL BLACK 05ML
    17-Feb-10
    28-Mar-14
    1-Jun-13
    -125
    64
    18QL0
    000000000000000F0487
    CLEAR COOL BLACK 05ML
    23-Feb-10
    3-Apr-14
    7-Jun-13
    -119
    160
    19AR5
    000000000000000F0487
    CLEAR COOL BLACK 05ML
    17-Feb-10
    28-Mar-14
    1-Jun-13
    -125
    160
    19DL1
    000000000000000F0487
    CLEAR COOL BLACK 05ML
    20-Feb-10
    31-Mar-14
    4-Jun-13
    -122
    160
    19JR0
    000000000000000F0487
    CLEAR COOL BLACK 05ML
    17-Feb-10
    28-Mar-14
    1-Jun-13
    -125
    60
    19TL1
    000000000000000F0487
    CLEAR COOL BLACK 05ML
    20-Feb-10
    31-Mar-14
    4-Jun-13
    -122
    160
    20GR2
    000000000000000F0487
    CLEAR COOL BLACK 05ML
    20-Feb-10
    31-Mar-14
    4-Jun-13
    -122
    40
    36FL3
    000000000000000F0487
    CLEAR COOL BLACK 05ML
    18-Feb-10
    29-Mar-14
    2-Jun-13
    -124
    65
    19UR0
    000000000000000F0591
    COMFORT WHITE 24ML*300
    28-Oct-09
    28-Oct-11
    1-May-11
    -887
    1
    12SL1
    000000000000000F0593
    COMFORT PINK 24ML*300
    28-Oct-09
    28-Oct-11
    1-May-11
    -887
    42
    12SR1
    000000000000000F0593
    COMFORT PINK 24ML*300
    28-Oct-09
    28-Oct-11
    1-May-11
    -887
    42
    14OR1
    000000000000000F0593
    COMFORT PINK 24ML*300
    28-Oct-09
    28-Oct-11
    1-May-11
    -887
    8
    36EL4
    000000000000000F0594
    CLEAR HF DECRASE 5M*360
    14-Feb-10
    14-Feb-11
    12-Oct-10
    -1088
    14
    13VL1
    000000000000000F0595
    CLEAR COM SFT CRE 5*360
    8-Feb-10
    8-Feb-11
    6-Oct-10
    -1094
    160
    14ER0
    000000000000000F0595
    CLEAR COM SFT CRE 5*360
    8-Feb-10
    8-Feb-11
    6-Oct-10
    -1094
    105
    Database Info
    Oracle 10g
    Version 10.2.0.1.0

    Look at the sample code for generating a CSV file that I've just posted in response to a similar question:
    Re: How to execute a proc and spool files in a database job
    And the use the search button in this forum to find sample code for sending a CLOB as a plain/text e-mail attachment using UTL_SMTP.

  • Need help in creating table in crystal report for visual studio 2010

    Since there is no table support in crystal report,how can I create a table in crystal report for visual studio 2010?
    I have a datatable and I need to show that in crystal report in table structure.
    I have tried using lines and boxes to generate the table but it is not working perfectly.
    How can I export the report in excel format in read/write mode saving all the formatting in the report

    Hi,
    Check sample codes from following:
    http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsSDKSampleApplications
    You can download the [Developer's Guide|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm] & [API Guide|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_apiRef_12_en.chm]
    Thanks,
    Saurabh

  • Help needed XML to Internal table and vice versa

    Hello frnds, I need to convert Internal table to XML and Vice versa.
    Now I am able to most of the part except for this...
    the xml which I have to generate looks something like this...
    - <trade_dt>
    - <![CDATA[ 20111108000000:20111108235959
      ]]>
      </trade_dt>
    its a range I think
    And then the reponse which I get back the XML is like
    - <lockinfo>
    - <![CDATA[
    TRD_HEADER     1045     1          2
    ACT_CASHFLOW     1042               1
    TRD_TERM     1045               2
      ]]>
      </lockinfo>
    Is there any provision in class cl_ixml or class if_ixml_element to handle this part.....
    Edited by: Amit Sawant on Dec 28, 2011 3:51 PM

    Hello Amit,
    I would suggest you, to use the XSL-Transformations, which can be inbound used in ABAP.
    For example:
    DATA:
      l_xml       TYPE string,
      lt_flights  TYPE TABLE OF SFLIGHT.
    SELECT * FROM SFLIGHT INTO TABLE LT_FLIGHT.
    CALL TRANSFORMATION id
      SOURCE DATA = lt_flights
      RESULT XML l_xml.
    Now, you have a XML-String which is in the ABAP-XML Notation, which means, that ABAP can move this XML-Data back into an internal table/structure.
    For the backward, you have to use the following statement:
    CALL TRANSFORMATION id
      SOURCE XML l_xml
      RESULT DATA = lt_flights.
    As you will see, it is very easy. The Transformation "id" is just one example and build in. When you have to transform the data, or do not want to have the ASX-Notation in it, you should at least define your own transformations with the transaction XSLT_TOOL and use it similar to the transformation "id".
    Kind Regards,
    Hendrik

  • Do We Need To Know All Tables and Fields inR/3

    We are in the initial phase of BW development(We don't have Functional consltant with us).Our source System is R/3. According to Reporting requirement We have identified certain DataSources in Business Content Which have basic Characteristics and Key Figures which we require in report.
    but still lot of fields are there in R/3 which we are not finding in Datasources ?. My question is Do we need to know for each Characteristic and key figure the base table in R/3 and corresponding field name in R/3.
    We found certain fields are common in 4 - 5 Tables in R/3,So how do we know that certain field is coming from certain table only.
    Here i want to ask, the Business content datasources in which we have certain chars and key figures which we require. do we need to know from which table these are comming or connected to in R/3??.
    So the bottom line is ,do we need to see and analyse  for each BEx report. what the corresponding field and table in R/3 is.
    I would award points to rational answers.
    regards
    Srini----

    Hello Srini,
    If all your requiremnts are fulfilled by the Business content objects, then you may impelement BW without going into much details in R/3. But that is a wishful thinking and doesn't happen in real scenario. Also, even if you implemented business content, while verifying the result you have to go the source system and compare the results.
    In most of the projects, you need to enhance the business content delivered objects. While enhaching the datasources in R/3, you must know from which table to take the information. Many a times, the end users have R/3 experience and they tell you what information you are looking for, in that case life will be a bit easier. But if the user wants to see some information which is being captured as part of any particular transaction, you need to dig deep in R/3 to find out the table and how that can be extracted.
    So, I would say at least little knowledge of R/3 is necessary. You may not need a full time functional consultant, but someone who has R/3 experience will be of great help.
    Hope it helps.
    Regards,
    Praveen

  • Urgent help needed!! Layout table and Draw layout cell dissapeared.

    I need some urgent help. I'm using CS3 but for a while my
    Layout Table and Draw Layout Cell icons appear greyed and can't use
    them at all. Is there any kind soul out there who knows how to fix
    this? I'm going nuts trying all the possible options but none seem
    to work.
    Help please!!!!!!

    > How would you about designing a page without using html?
    You don't. But I don't recall suggesting that you not use
    HTML. I just
    suggested that you use best-practice HTML, no? Or maybe you
    meant to ask
    how you would go about building your site without learning
    HTML? In that
    case, I think you are outta luck. Using DW without knowing
    HTML is a very
    punishing experience, I'm afraid.
    > PS: A virtual box of 12 bottles of Moet Chandon is
    already on your way!!
    I'd prefer Cristal, please.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Untersberg" <[email protected]> wrote in
    message
    news:g4tj9a$m5o$[email protected]..
    > Ahhhhhh!!!!! They came up!!!! They came up again!!
    > I was on standard mode. Now going back to your
    suggestion, which I really
    > appreciate. How would you about designing a page without
    using html? I'm
    > just
    > redesigning my website at the moment and need it to get
    going urgently,
    > hence
    > the reluctance to start learning HTML at the moment.
    I'll do after but I
    > need
    > to get this up and running fairly quickly.
    >
    > Cheers.
    >
    > PS: A virtual box of 12 bottles of Moet Chandon is
    already on your way!!
    >

  • Need to know base table and base column name for Oracle view columns

    I am trying to load metadata for some views and that requires me to know what the final table and column name would be corresponding to the view column.
    For example, if I have a view x_v that is select a,b from x_v2; and x_v2 is a view that is select a,b,c from x;
    I need to get the following information.
    View View Col Base Table Base Col
    X_V A X A
    X_V B X B
    and so on.
    Is it possible to get this programmatically using any SYS schema tables or Dependency tables?
    I tried an indirect approach wherein I lock tables using LOCK TABLE or FOR UPDATE OF. But I'm not too sure if I can go down to the level of individual view columns.
    Can you help me with this?

    Thanks. I was looking at some indirect approaches.
    I came up with this script that does it faster than dependencies but thats just for tables and not column mapping.
    declare
    cursor bt(cp_sid number) is
    select u.name uname, o.name oname
    from sys.obj$ o, sys.user$ u
    where o.obj# in (select id1
    from v$lock
    where sid=cp_sid)
    and u.user# =o.owner#;
    cursor c_sid is
    select sid
    from v$session
    where audsid =userenv('sessionid');
    l_sid number;
    l_view varchar2(100):= 'PER_PEOPLE_V';
    l_schema varchar2(10):= 'APPS';
    begin
    open c_sid;
    fetch c_sid into l_sid;
    close c_sid;
    dbms_output.put_line('SID: '||l_sid);
    execute immediate 'lock table '||l_schema||'.'||l_view||' in row share mode nowait';
    for i in bt(l_sid) loop
    dbms_output.put_line(i.uname||'.'||i.oname);
    execute immediate 'alter table '||i.uname||'.'||i.oname||' disable table lock';
    execute immediate 'alter table '||i.uname||'.'||i.oname||' enable table lock';
    end loop;
    end;
    It basically uses locks on views to verify locks on the base tables.
    Just wondering, can we use FOR UPDATE OF statements to get to the columns?

  • Need Script To anaylize Table And Index

    Hi,
    I need to write a Procedure where I will pass schema Name as parameter and procedure will analyze all table and its Index
    Regards

    user2014538 wrote:
    Hi,
    I need to write a Procedure where I will pass schema Name as parameter and procedure will analyze all table and its Index
    Regardsfor V10+ Oracle RDBMS, default behavior is to collect "needed" statistics once every 24 hours.
    Therefore you do not need to do anything else/special.

  • Why do we need the combination of Apache and Tomcatt?

    Both Apache and Tomcatt are web servers. It is possible to get the ob done with any of them. Then, why do we go for the combination of Apache and Tomcatt in most of the Applictions? What is the significance of doing it?

    The Apache Web Server is a high-performance HTTP server, which is very good in serving static content (i.e., HTML pages, JPG files, etc.).
    Apache Tomcat is a servlet container written in Java. It includes an HTTP server, but it isn't optimized as much as the Apache Web Server and probably doesn't have as many configuration options as the Apache Web Server.
    Often people use Apache Web Server as the primary HTTP server, and run Tomcat on top of that. You can configure Apache so that it redirects requests for servlets and JSPs to Tomcat. Apache Web Server cannot run servlets and JSPs by itself.
    Jesper

  • Need Code for this requirement for generating report

    1) Creating interactive reports for sales orders, vendors, customers, and stock available  In each type for a particular material, list of purchase documents and vendor performance report that lists vendor name, materials Supplied and actual delivery times, payments terms and prices.
    2) Classical Report to display a list of Purchase
      Requisitions with details like MRP controller, release date, unit to
      Measure along with the standard details, Table used EBAN.
    3) Create a list of customer number, Credit limit
      To the given Customer. Tables used KNA1, KNKKF1 (Customer Credit table)
    Plz help me i need it very urgently....

    I always put code in the when-validate-RECORD trigger to ensure fields are entered, rather than setting the property. That way, the user can enter other fields within the record, and then gets a message that the field is required only when leaving the record.
    ...of course, if the date item is the only field in the block, then the when-validate triggers will not run unless the user at least types a space in the date. In that case, you need to check in the key-commit trigger.

  • E-mail attribute scan and generate report?

    Hi,
    I'm not so sure if this is the right place to be posting this, but... here goes.
    Okay, I've got a customer that has gw8.0.2 and they have GWAVA Retain (Archive). The customer would like to create a report that show's him which mails have not been archived by Retain (Retain sets an attribute, RetainArchived, to 1 if the message has been archived). We've talked to GWAVA and they have no method of generating such a report. Considering that GroupWise is a database I was wondering if anyone knew of a method to Access (Trusted APP) GW, scan all messages for the RetainArchived Attribute and make a list of those without it.....? I know, I'm asking a lot...
    I know, this should probably be posted to a Development Forum. I just don't know where. Any help would be greatly appreciated.
    Thanks,
    Mike

    This might help. - GWAVA Knowledgebase / Marked Archive
    Originally Posted by pvaiq6167
    Hi,
    I'm not so sure if this is the right place to be posting this, but... here goes.
    Okay, I've got a customer that has gw8.0.2 and they have GWAVA Retain (Archive). The customer would like to create a report that show's him which mails have not been archived by Retain (Retain sets an attribute, RetainArchived, to 1 if the message has been archived). We've talked to GWAVA and they have no method of generating such a report. Considering that GroupWise is a database I was wondering if anyone knew of a method to Access (Trusted APP) GW, scan all messages for the RetainArchived Attribute and make a list of those without it.....? I know, I'm asking a lot...
    I know, this should probably be posted to a Development Forum. I just don't know where. Any help would be greatly appreciated.
    Thanks,
    Mike

  • How to combine three tables in interactive report in apex

    Hi All,
    How to display the below Query in interactive report apex!!
    select distinct market d, marketid r from (
    select market, marketid,p.productid, h.hubid, s.begin_date, s.stripname
    from d_st s, d_ma x, d_hu h, d_pro p
    where s.ice_strip_id=x.ice_strip_id
    and x.baseproductid=p.productid
    and x.hubid=h.hubid
    and h.hubid=nvl(:P2__HUBID,-2)
    and p.productid=nvl(:P2__PRODUCTID,-2))g
    order by 2
    Thanks,
    Anoo..

    just paste your query into the source field of the interactive report.. thats it.

Maybe you are looking for

  • Excel Function to query BW using Web Services API

    Hello, I need to write an Excel function as an .XLA that will do the following: It will be invoked like any other Excel function. E.g. =GetCost(param p1, param p2) This function queries an InfoCube and must return a single numerical value for the Cel

  • Codec error in Premiere elements 8

    I tried to load a nikon D7000 into premiere elements 8 and received a codec error. I researched this and seemed to come to a converter conclusion. They seem to be shady and so I am not sure if it is more a scam to get viruses or I truly have to get a

  • .EXE Problem with Adobe Photoshop 5.0 LE

    I just installed Canoscan driver and Adobe software on a Toshiba w/ Vista(32 bit). I get about 30% into scanning a slide and I get this message: "Photosle.exe has stopped working." Have no idea why this is doing this. Even tried to reinstall Adobe so

  • Error when running in background

    Hi,   When i run the pgm in foreground its working fine but if i run in background the job is getting cancelled with the error message "Code page couldnt be determined".I checked in background the value in the o/p is coming but the job is getting can

  • HD Error - Seems Like A New Computer

    Well i was working on my macbook pro "15 120G" and i had a shutdown, then when i restarted my computer, i had it like brand new ... i had to config everything again, my password ... itunes had no music at all and was re-adding the music to my library