Details from table

Hi FI Gurus,
There are two companies A and B both are inter company. Company B has raised PO and GR done  at Company B.  IV also  done by company B as well as company A which supposed not to done by company A.
My question is how to get details from tables regarding PO,GR and IV with company code or is there any Std. transaction code from which I get these details.
Thanks in advance.
Regards,
Jainp

Use table EKBE, it stores the PO, the GR, and the IV of the particular PO.

Similar Messages

  • Report to display total and detail from table GLT0 and FBL3N

    hi guys,
    we have the requirement to show a report with total amount per GL account from table GLT0 and to as well display the detail from tcode FBL3N ..
    shall i use normal report via SE38, if yes, what is the table that stores detail from FBL3N  or does report painter support the above requirement..pls advice

    use report SAPF070 as sample
    (compare documentation!)
    hope that helps
    Andreas

  • Help! Checking login details from tables

    Hi,
    Please help me with this. Please see the code below. It doesn't work, if I give the correct id and password.But it works if I say (!rs.next()). The same type of programme worked for me in case of other tables. Could any one pls help me solve this problem.
                   String id = req.getParameter("userid");
                   String pwd = req.getParameter("password");
                   ServletOutputStream sos = res.getOutputStream();
                   rs = st.executeQuery("select * from uma where userid='"+user+"' and password='"+pwd+"' ");
                   sos.println("<html><body bgcolor=lightyellow>");
                   if(rs.next())
    sos.println("you are lucky");               
    sos.println("<input type='submit' value='Submit' name='submit'></p>");
                   else
                        sos.println("<h2>Get out of my site</h2>");
                   sos.println("</body></html>");
              catch(Exception e)
                   e.printStackTrace();

    Instead do like this
    pstmt = con.prepareStatement("select password from uma where login=?");
    rs = pstmt.executeQuery();
    while(rs.next()){
    if(password.equals(rs.getSting(1))){
    out.println("Login Success");
    else{
    out.println("Login Failure");
    }

  • Function module to get the details from table COEP

    hi all,
    I have to select the data from COEP table based on OBJNR.i don't have  any other key information.so i have to select the data based on OBJNR only.
    can any one please tell me is there any function to get the data from this table.
    Thanks.

    Hi
    Try the fun module
    K_CO_OBJECT_BALANCE_GET
    see the sample select statement for COEP
    clear cobrb_tab.
      refresh cobrb_tab.
      select objnr            " Object No
             rec_objnr1       " Ref Object No
             bureg            " Dostribution Rule
             lfdnr            " Sequence No
             perbz            " Settlement Rule
             konty            " Acct Assign Category
             bukrs            " Company Code
             kostl            " Cost Center
         into table cobrb_tab
         from cobrb
         where kostl in rn_kostl.
      sort cobrb_tab by objnr rec_objnr1.
      delete adjacent duplicates from cobrb_tab comparing objnr.
    Get the Settlement Costs from COEP Table
      clear it_set_tab.
      refresh it_set_tab.
      if not cobrb_tab[] is initial.
        select kokrs            " Controlling Area
               belnr            " Acc Document
               buzei            " Line Item
               perio            " Period Block
               wkgbtr           " Value in CO Curr
               lednr            " Ledger No
               objnr            " Object No
               gjahr            " Fiscal Year
               wrttp            " Actuals
               versn            " Version
               kstar            " Cost Element
               beknz            " Dr/Cr Indicator
               parob1           " Partner Object
           into table it_set_tab
           from coep
           for all entries in cobrb_tab
           where lednr = c_lednr  and
                 wrttp = c_wrttp2 and
                 versn = c_versn  and
                 gjahr = p_gjahr  and
                 objnr = cobrb_tab-objnr and
                 parob1 = cobrb_tab-rec_objnr1 and
                 beknz in (c_o, c_a).
      endif.
    Reward points for useful Answers
    Regards
    Anji

  • Any event for getting Wi_id no from table Swwwihead

    Hi ,
    I am getting wi_id using interface if_swf_ifs_workitem_exit  using method after creation but during this time workitem is not saved to table swwwihead. Is there any event or any other alternative to get the workittem from that table after saving the data and before it goes to the sap inbox.?
    Regards,
    Shwetang

    Hi ,
    I am getting the needed data from the paramenter but my problem is i had made one user decision activity which is going to sap inbox and i have to send thid decision box to lotus notes inbox which i am doing with a program rswuwfml2.
    I am writing this program exit to run this program when the workitem is created and these are getting from the method but the program   rswuwfml2 requires work id  and other details from table swwwiead as when method is populaed this details are not commited o the table.
    I don't want call his program explicity.
    Hope this will clear your doubts regarding my question.
    Thanks
    Shwetang

  • Table For Planned Order Details From PP Module

    In our organisation we are taking Plan Vs Acheivement from Production. So, intialy we taken Plan details from "PLAF" Table and Acheivement details from "S225" Table. But After running MRP at month end. Previous month plan get deleted and new order create.
    how to get history data for Planned order.
    Please help us.
    Regards
    Naga

    I don't think that there is any history in regard to planned orders.  PLAF will get rebuilt according to your MRP parameters and I don't believe that the data is stored.
    Regards,
    Rich Heilman

  • Details from fact table as dimension - solution review needed

    Hi experts,
    I found a convinient way to display details from fact table, as a dimension and need your opinion. Do you see any potential issues about this solution?
    Context
    - I use vertical federation in OBIEE 11.1.1.6
    - all aggregated measures are in OLAP
    - there is a need that user drill down to lowest level details (single fact row) -> this information is in relational database
    - we decided to use dedicated presentation hierarchy column and let users drill to lowest level detail (just 2 hierarchy levels "All" -> "Detail")
    - always add this column at the right side of report table and after all other dimension drills are in place (other table columns are also presentation hierarchy), user can drill to contract ID (the detail)
    Solution (I tested it and it seems to works ok)
    - create "dummy" relational table with just 1 row ("All" level in hierarchy), linked to fact table (to "dummy" ID column in fact table)
    - create "dummy" dimension in Analytic Workspace
    - in BMM create logical table with 2 data sources: OLAP for hierarchy level "All" (linked to dummy OLAP dimension) and relational for hierarchy level "Detail" (using relational fact table)
    - so in BMM we have additional logical dimension with 2 levels - one "All" that read from OLAP, and does not impact performance, and second "Details" that is the only information at all that is obtained from relational database when user expand "All"
    - Why created "dummy" dimension? -> because OBIEE won't let me create logical dimension from fact table columns, but can create a dummy dimension with just "All" level and add to it column from fact table
    Any comments are welcome.

    hi,
    The exact data will be hard to give however you can reach at a round figure in your case.
    You are consolidating the data from the tables that means that there is relation between the tables. Arrive at a rough figure based on the relation and the activity you are performing while consolidating the data of the tables.
    For example, let us say we want to combine data for sales order and deliveries in a DSO.
    Let Sales order has 1000 records and Delivery has 2000 records. Both the tables have a common link (Sales Order).In DSO you are combining the data that means the data will be at the most granular level consist of Delivery data, so the maximum no of records which the consolidated DSO can have is 2000.
    regards,
    Arvind.

  • HOW CAN I CREATE A VIEW FROM SAME TABLE WHERE I NEED COLUMNS DETAILS FROM DIFFERENT ROWS IN THE SAME TABLE

    i have a table1 on the top, but i want to create a view from table 1 as  view mentioned beneath the table 2. Could any of you please help me.
    table1
    ID
    office
    employee
    activity
    1
    246
    -9999
    698
    2
    ##-99
    21480
    698
    3
    104
    -9999
    7025
    4
    ##-99
    88908
    7025
    5
    108
    -9999
    2415
    6
    ##-99
    17135
    2415
    7
    246
    -9999
    698
    8
    ##-99
    21480
    698
    9
    104
    -9999
    7025
    10
    ##-99
    88908
    7025
    11
    108
    -9999
    2415
    12
    ##-99
    17135
    2415
    view
    ID
    office
    ID1
    employee
    activity
    1
    246
    2
    21480
    698
    3
    104
    4
    88908
    7025
    5
    108
    6
    17135
    2415
    7
    246
    8
    21480
    698
    9
    104
    10
    88908
    7025
    11
    108
    12
    17135
    2415

    declare @forumsTable table (ID int, officeID int, employeeID INT, activityID int)
    insert into @forumsTable (ID, officeID, employeeID, activityID)
    values
    (1 ,246, -9999, 698 ),
    (2 ,-99, 21480, 698 ),
    (3 ,104, -9999, 7025),
    (4 ,-99, 88908, 7025),
    (5 ,108, -9999, 2415),
    (6 ,-99, 17135, 2415),
    (7 ,246, -9999, 698 ),
    (8 ,-99, 21480, 698 ),
    (9 ,104, -9999, 7025),
    (10 ,-99, 88908, 7025),
    (11 ,108, -9999, 2415),
    (12 ,-99, 17135, 2415)
    select f1.ID, f1.officeID, f2.ID as ID1, f1.employeeID, f1.activityID
    from @forumsTable f1
    inner join @forumsTable f2
    on f1.activityID = f2.activityID
    and f1.officeID > 0
    and f2.employeeID > 0
    and f1.id - f2.id = -1
    You really need to improve the relationship here.
    Perhaps you could make office and activity an exclusive pair.

  • Select from table and Update to a view

    Hi,
    Can anybody let me if this is possible.
    I have a Master(single record)/detail(multi record) form. I would want to query/select the details from the base table but when I update/delete I would want to update/delete the details to a view.
    Is this doable?
    Thanks
    KAvitha

    Hi Kavitha,
    Solution 1 :-
    Why cann't you trap the ON-TRIGGERS (like ON-INSERT /On-update/ON-DELETE) of that block and put your piece of code to update/delete the view.
    SOlution 2 (I didn't try this ,so please try)
    I am not sure whether it will help you but can try !!Sorry if not working and let me know if you have a solution
    Create a package with Insert /Update/Delete sub procedures which does DML on view (as per ur requirement).
    Call this Procedure on DML Target Name of Advanced Database .
    Regards

  • Deleting the values from table control

    HI,
    I need to remove the selected line from the Table control on my screen.
    The point is that the Internal table does not have any records,.
    for example in the Customer Create screen,
    while entering the bank details we will enter it in a tbale contraol.
    but the records doesnt exist in the database. but the record gets deleted from the table control only if we press delete button.
    please guide me.
    please note : I want to delete the record from Table Control on the screen and I dont have any corresponding database records..
    regards

    Hi..
    The solution to your problem - deleting values from table control.
    Here: it_wizard is the internal table which is holding the value of table control.
             wa_wizard is the work are of the internal table it_wizard.
             it_delete is the internal table which holds the deleted record of table control.
             wa_delete is the work area of the internal table it_delete
    Also here the field ZSEL is the character field which is used to select the entire record in the table control.
    LOOP AT it_wizard into wa_wizard WHERE zsel = 'X'.
           MOVE-CORRESPONDING wa_wizard TO wa_delete.
           APPEND wa_delete TO it_delete.
           delete table it_wizard from wa_wizard.
    DELETE  FROM zfin_goods WHERE ZFG = WA_delete-ZFG.
    ENDLOOP
    if sy-subrc eq 0.
    Message 'Delete Successful' type 'S'.
    endif.
    The above code will delete the record from both the table control.internal table and the database table.
    I think this will help you to great extent.
    Ward regards,
    Bhuvaneswari
    Edited by: BHUVANESWARI THIRUNAVUKKARASU on Jan 7, 2009 10:39 AM

  • PO line item details from BAPI_PO_GETDETAIL1 and append to BAPI_PO_CHANGE

    Hi,
    The requirement is to get PO line item details from BAPI_PO_GETDETAIL1 and save it in the internal table and append that internal table into  the BAPI_PO_CHANGE.
    But i am getting dump in this program.
    TABLES: ekpo.
    DATA: BEGIN OF po_details.
            INCLUDE STRUCTURE BAPIMEPOITEM. "Include the structure of Dictionary Reference.
    DATA: END OF po_details.
    DATA: BEGIN OF po_details1.
            INCLUDE STRUCTURE BAPIMEPOITEM. "Include the structure of Dictionary Reference.
    data: END OF po_details1.
    DATA: it_po_details LIKE STANDARD TABLE OF po_details,
    wa_po_details like line of it_po_details.
    data: it_po_details1 like standard table of po_details,
    wa_po_details1 like line of it_po_details1.
    PARAMETERS: p_ebeln LIKE ekpo-ebeln DEFAULT '4500000016'.
    CALL FUNCTION 'BAPI_PO_GETDETAIL1'
      EXPORTING
        PURCHASEORDER = p_ebeln
      TABLES
        POITEM        = it_po_details.
    loop at it_po_details into po_details.
      read table it_po_details into wa_po_details with key PO_item = p_ebeln.
      move-corresponding po_details to po_details1.
      CALL FUNCTION 'BAPI_PO_CHANGE'
        EXPORTING
          PURCHASEORDER = p_ebeln
        TABLES
          POITEM        = it_po_details.
      append po_details to it_po_details1.
      LOOP AT it_po_details1 INTO wa_po_details1.
        WRITE:/ wa_po_details1-PO_item,
           wa_po_details1-MATERIAL,
           wa_po_details1-SHORT_TEXT,
           wa_po_details1-PLANT.
      ENDLOOP.
    endloop.

    HI,
    1st you check for the following following  authorization objects are checked:                                                                               
    M_BEST_BSA (document type in PO)                                                                               
    M_BEST_EKG (purchasing group in PO)                                                                               
    M_BEST_EKO (purchasing organization in PO)                                                                               
    M_BEST_WRK (plant in PO)          
    and to change the PO below is the eg for changing the short text:-
    TABLES: ekpo.
    DATA: BEGIN OF po_details.
            INCLUDE STRUCTURE bapimepoitem. "Include the structure of Dictionary Reference.
    DATA: END OF po_details.
    DATA: BEGIN OF po_details1.
            INCLUDE STRUCTURE bapimepoitem. "Include the structure of Dictionary Reference.
    DATA: END OF po_details1.
    DATA: it_po_details LIKE STANDARD TABLE OF po_details,
    wa_po_details LIKE LINE OF it_po_details.
    DATA: it_po_details1 LIKE STANDARD TABLE OF po_details,
    wa_po_details1 LIKE LINE OF it_po_details1,
    poheader  LIKE  bapimepoheader,
    return  LIKE STANDARD TABLE OF  bapiret2 WITH HEADER LINE,
    poitemx LIKE STANDARD TABLE OF  bapimepoitemx WITH HEADER LINE.
    PARAMETERS: p_ebeln LIKE ekpo-ebeln DEFAULT '5600010646'.
    CALL FUNCTION 'BAPI_PO_GETDETAIL1'
      EXPORTING
        purchaseorder = p_ebeln
      IMPORTING
        poheader      = poheader
      TABLES
        poitem        = it_po_details.
    LOOP AT it_po_details INTO po_details.
      READ TABLE it_po_details INTO wa_po_details INDEX 1.
      MOVE-CORRESPONDING po_details TO po_details1.
      MOVE: po_details-po_item TO poitemx-po_item,
            'X' TO poitemx-short_text.
      APPEND poitemx.
      CALL FUNCTION 'BAPI_PO_CHANGE'
        EXPORTING
          purchaseorder = p_ebeln
          poheader      = poheader
        TABLES
          return        = return[]
          poitem        = it_po_details[]
          poitemx     =
          poitemx[].
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      APPEND po_details TO it_po_details1.
      LOOP AT it_po_details1 INTO wa_po_details1.
        WRITE:/ wa_po_details1-po_item,
        wa_po_details1-material,
        wa_po_details1-short_text,
        wa_po_details1-plant.
      ENDLOOP.
    ENDLOOP.

  • Create a report same as KSB1 and add WBS line item details from CJI3

    Hello Everyone,
    I need to create a report exactly like KSB1 which should have a selection screen exactly like KSB1 but it should also display the WBS line item details from CJI3.
    What is the right way of doing it? Please advice.
    COEP is pretty huge in Production, and we need to fetch data by a specific date in selection screen or a cost center group. This can take a long time to fetch data from the table based on selection screen input. Are there function modules or do we need to use some other tables to fetch data same as COEP?
    Thanks for all your help.
    Regards,
    Shipra.

    Hai ,
             Please go throuth the note  325546  , u need to implement the customer exit  COOMEP01 .
    regards,
    K.Vinay kumar

  • How to getLine Details from Invoice Details window inside Service Contracts

    Working on 11.5.10.2 Service Contracts Module.
    Trying to retrieve Line Details from Invoice Details tab. Service Contracts Authoring > Invoice Details > Line Details. I have tried creating a join to oks_bill_transactions but this returns too many records, thousand of records for one contract. I then tried a join to oks_bill_sub_lines obsl,
    OKS_BILL_TXN_LINES obtl but this was returning too many records as well. Seeing if these are the correct tables to pull the line detail for Invoices from in the Service Contract module or if I may be setting up my joins incorrectly and that is why I am getting so many records returned?
    FROM OKC_K_HEADERS_B OKHB,
    OKC_K_PARTY_ROLES_B OKPRB,
    HZ_PARTIES P,
    OKX_CUST_SITE_USES_V C_BILL_TO,
    OKX_CUST_SITE_USES_V C_SHIP_TO,
    ra_customer_Trx_all rcta,
    okc_contacts oc,
    OKC_K_LINES_B oklb,
    OKC_K_LINES_B oklbs,
    --oks_bill_sub_lines obsl,
    --OKS_BILL_TXN_LINES obtl,
    oks_bill_transactions obt,
    okx_resources_v orv
    WHERE OKHB.ID = OKPRB.CHR_ID
    AND OKPRB.JTOT_OBJECT1_CODE = 'OKX_PARTY'
    AND OKPRB.OBJECT1_ID1 = P.PARTY_ID
    AND okhb.id = oc.dnz_chr_id(+)
    AND oc.jtot_object1_code (+) = 'OKX_RESOURCE'
    AND oc.object1_id1 = orv.ID1(+)
    AND OKHB.ship_to_site_use_Id = C_SHIP_TO.ID1(+)
    AND OKHB.bill_to_site_use_Id = C_BILL_TO.ID1(+)
    AND C_SHIP_TO.SITE_USE_CODE(+) = 'SHIP_TO'
    AND C_BILL_TO.SITE_USE_CODE(+) = 'BILL_TO'
    AND OKHB.SHIP_TO_SITE_USE_ID = C_SHIP_TO.ID1(+)
    AND OKHB.BILL_TO_SITE_USE_ID = C_BILL_TO.ID1(+)
    AND OKHB.STS_CODE = 'ACTIVE'
    AND p.party_id = C_SHIP_TO.party_id
    AND okhb.contract_number(+) = rcta.interface_header_attribute1
    AND rcta.cust_trx_type_id(+) = oklbs.attribute8
    AND oklbs.cle_id = oklb.id
    -- and oklbs.id = obsl.cle_id(+)
    -- and obsl.id = obtl.bsl_id(+)
    and obt.trx_number = rcta.trx_number(+)
    and oklb.line_number||'.'||oklbs.line_number <> '1.1'
    and nvl(okhb.contract_number_modifier,'-') = nvl(rcta.interface_header_attribute2,0)
    and OKHB.CONTRACT_NUMBER = 'VO-7128'

    You can redirect the resultos to a txt file:
    Open a command prompt as Administrator
    Enter the command and redirect it to a file, here is an example:
    tasklist /v > c:\results.txt
    When you Open the file, you should able to see the Process name, PID, User, etc.
    Good luck on that.

  • How to retrive the Direct purchase entries from table level? S_ALR_87012050

    Hi All
    In our current project we need to retrieve the direct purchase report from table level. Can you please provide me the direct purchase related table? Normally we are executing the standard report S_ALR_87012050
    to extract the direct purchase entries. We need to know which table has the direct purchase entries.
    Regards
    K.Gunasekar

    K,
    Your problem description is still insufficiently detailed.
    It appears now that you are searching for asset numbers.  Please confirm.
    Your selection criteria "Inventory Number NE 0" doesn't appear to make much sense.  Inventory number is not a quantity, it is the name of an object.  I guess it is meaningful you have some inventory numbers named as '0'.  I don't think this setting is causing your problem though.....
    You didn't mention which table you accessed to discover that you had a perceived discrepancy.  Which table did you browse to see the results you mentioned?  Please describe the selection parameters for each table you reviewed, and the results for each table that you examined.
    It is also the practice of many companies to archive asset data.  If this is the case in your company, then the archived data will not reside in the 'A*" tables.
    You mentioned that you used the same parameters to select the data.  How did you select "Report Date" when you did the table extract?  I am not aware of a field that is named "report date' in any of the tables mentioned.
    Rather than slog through tables, you might want to try SE16, view "V_ANLAZ".  This is a preconstructed linkage of ANLA and ANLZ that is used by S_ALR_87012050 as a starting point.
    I really think you should consult with your ABAPers.  In two minutes they can give you your answers.  It will take me several messages and probably several days to get you the same answers.
    Best Regards,
    DB49

  • How to get only current exception message from tables

    Hi
    In my sceanario , I want to have the list of Current MRP exception messages list from table
    I understand that MRP detailed lists, including all exception messages, are stored in transparent table MDKP and cluster table MDTC.
    I can tell ABAPer to write a report for me , to read the data from these tables , but I guess these tables contain old exception message also , which are not currently appearing in MRP list
    How to get only current exception message
    Rgds,
    sandeep

    Sandeep,
    MDTC contains only data from the most recent MRP run.  So, all messages you see are those which are currently valid.
    The messages might have first appeared during a previous run, but they still need to be addressed.
    Before you invest a lot of time and effort into writing and debugging a custom report, you should probably try to use the standard SAP functionality found in MD06.  On the Processing indicator tab, you can select "Only with new exceptions".  Here you can tag a material/plant as 'processed', and thereafter, the exceptions that existed there before you tagged the part will not be re-displayed.
    Best Regards,
    DB49

Maybe you are looking for

  • How to populate Initial value of a field from another item value

    Hi In my expense report entry screen I have justification and description fields. My description field is getting value from the database. I want justification field also get the value same as what description has. Could you guide me on how to achiev

  • ISE 1.2 Employee Portal

    Hi Guys, I'm a little bit new with this Cisco ISE and I'm wondering if you can help me. My setup is a WLAN 802.1x and I'm planning to deploy in the ISE just Device Registration WebAuth (only showing AUP) since the username and password authentication

  • Purchase game icon problem

    I purchased game icon, it says some network problem, but money been charged from my bank account

  • Overriding a javascript delivered function but then calling the original

    I have a tabular form (updateable report) and am on Apex 3.2. On this particular form, I have the updateable report set to "partial page refresh = yes". When doing so, it appears to want to call a javascript function called $a_report to paginate from

  • How can i disable "browser-auto-load" for different iframe-contents in a composite widget?

    Hey there, i´ve got a lil topic going on with a Website (One-Site-Layout with anchors), created with muse i putted 20 iframes (each one routed to its own trigger) in a composite widget. Everything is working perfect for me and the users, but : The de