How to get MRP Details based on OPEN PO's

Hi Experts,
Could you please help me in getting details related to open purchase orders based on MRP Exceptions and MRP line items.
I need develop a report based on plant, I have found one function module "MD_MRP_LIST_API" to get these details, but this works only with the combination of material and plant.
kindly tell me whether we have any tables other than FM's, so that I can pull out the report based on plants.
BR/Sathya.

Hi Puneetb,
If you want data directly from the 0material infoObject in BW you can do 2 things:
1. Edit the updaterule to your destination cube and determine the values in an ABAP routine
2. Change the attributes to navigational in both infoObject and cube so you can use them in queries (in this scenario you allways display the current attribute values instead of the values when loading the data.
Is this what you were looking for?
Kind regard,
Alex

Similar Messages

  • How to get Material details based on 0material in 0figl_o02 DSO

    Hi
    In Financial Accounting we have DSO for General Ledger: Line items (0FIGL_o02)  It contains Material no. for each transaction record but other material details like Qty used and price for that material and other related details are not present and also not in the Datasource 0fi_gl_4. Pls let me know the logic so that using the Material no. I can get the related details of material from any other infoprovider in BI.
    Thanks

    Hi Puneetb,
    If you want data directly from the 0material infoObject in BW you can do 2 things:
    1. Edit the updaterule to your destination cube and determine the values in an ABAP routine
    2. Change the attributes to navigational in both infoObject and cube so you can use them in queries (in this scenario you allways display the current attribute values instead of the values when loading the data.
    Is this what you were looking for?
    Kind regard,
    Alex

  • SAP Cloud Application Studio How to retrieve the details based on OVS in Product ID

    Hi Experts,
    I have small requirements in AdvanceListPanel. I have custom BO as mention below,
    businessObject Demo {
                   element ID : ID;
                   node Sporoduct [0,n] {
                        element P_ID : ProductID;
                        element P_DES :   SHORT_Description;
                        element P_QTY : Quantity;
                        element P_NET :  Amount;   
    I have attached the OVS on Product ID (P_ID) element.
    I want to auto-fill the details under the AdvanceListPanel ( Product Desc , Product Net value ( Price) ) 
    1) How to get the details of Product ( Prod Descr, Product Price etc ).
    Please anyone have idea about this share your thoughts.
    Many Thanks,
    Mithun

    Hi, Mithun
         What you want is to auto-fill the related details when you select a product from your OVS.
         That means you have to write your codes in Event After Modify.
         We normally use QueryByElements or some other query options given for a particular standard BO.
         It would be like that.
         var query=Product.QueryByElements;
         var selParams=query.CreateSelectionParams();
         selParams.Add(query.ProductID ,"I","EQ",this.P_ID );
         var result=query.Execute(selParams);
         for(var product in result){
         this.P_DES =product.Description;
    What I have just written is just a sample code. You have to find the exact name of the attributes of a standard BO in Repository Explorer.
    Hope this helps,
    Fred.

  • Function Module to get PO details based on Plant and PO date

    Hi
    1. Is there any Function Module to get PO details based on Plant and PO date?
    2. Is there any Function Module to get Material document details based on PO number?
    Thanks
    Narendra

    hi,
    check these standard reports.
    ME2L - By vendor
    ME2M - By material
    MSRV3 - By service
    ME2K - By account assignment
    ME2C - By material group
    ME2B - By tracking number
    ME2N - By PO number
    ME2W - By supplying plant
    also chck this func module.
    REPL_LIST_PURCHASE_ORDER_READ
    reward if hlpful.

  • BAPI to get Invoice Details based on PO Number

    HI,
    Is there any BAPI to get Invoice Details based on PO number. If so could you pls let me know that.
    Regards,
    Ramesh

    Hi Ramesh  ,
    there is no Direct BAPI to get the List of Invoices ,But based on the Vendor list u can get the List .
    pass Vendor list , Document Dates.
    <b>BAPI_INCOMINGINVOICE_GETLIST</b> for more info check the Documentation of this FM.
    Regards
    Prabhu

  • How to get fiscal period based on date and Fiscal year?

    Hi Guys,
               Can anybody tell me how to get Fiscal period based on date and Fiscal Year or fiscal year variant?
    Thanks,
    Gopi.

    Hi,
    Please refer the code below:
    *: Report:  ZFISCALYR                                                  :
    *: Date  :  2004                                                       :
    *: Description: Demonstrates how to return the corresponding fiscal    :
    *:              year and posting period for a company code and posting :
    *:              date or posting date and fiscal year variant.          :
    REPORT  zfiscalyr NO STANDARD PAGE HEADING.
    TABLES: ekko.
    PARAMETERS:     p_bukrs TYPE ekko-bukrs,
                    p_bedat TYPE ekko-bedat.
    DATA: gd_fiscalyr  TYPE bapi0002_4-fiscal_year,
          gd_fiscalp   TYPE bapi0002_4-fiscal_period.
    DATA: gd_fiscalyr2 TYPE T009B-BDATJ,
          gd_fiscalp2  TYPE bapi0002_4-fiscal_period.
    DATA: gd_periv     TYPE t009-periv.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    * get fiscal year and period - (requires date and company code)
      CALL FUNCTION 'BAPI_COMPANYCODE_GET_PERIOD'
        EXPORTING
          companycodeid = p_bukrs
          posting_date  = p_bedat
        IMPORTING
          fiscal_year   = gd_fiscalyr
          fiscal_period = gd_fiscalp.
    * Alternative fiscal year function module
    * - (requires date and fiscal year variant code from T009 table)
    * gets first entry in fiscal year variant table (will need to choose
    * correct one from table rather than just using first entry)
      SELECT SINGLE periv
        FROM t009
        INTO gd_periv.
    * get fiscal year and period
      CALL FUNCTION 'DETERMINE_PERIOD'
        EXPORTING
          date                      = p_bedat
    *    PERIOD_IN                 = '000'
          version                   = gd_periv
       IMPORTING
          period                    = gd_fiscalp2
          year                      = gd_fiscalyr2
       EXCEPTIONS
          period_in_not_valid       = 1
          period_not_assigned       = 2
          version_undefined         = 3
          OTHERS                    = 4.
    *END-OF-SELECTION.
    END-OF-SELECTION.
      WRITE:/ 'From function module: BAPI_COMPANYCODE_GET_PERIOD',
            / 'Fiscal year is:', gd_fiscalyr,
            / 'Fiscal period is:', gd_fiscalp.
      SKIP.
      WRITE:/ 'From function module: DETERMINE_PERIOD',
            / 'Fiscal year is:', gd_fiscalyr2,
            / 'Fiscal period is:', gd_fiscalp2.
    Thanks,
    Sriram Ponna.
    Edited by: Sriram Ponna on Apr 17, 2008 8:59 PM

  • How to get BP kind based on user name?

    Hi,
    How to get BP kind based on user name?
    Is there any table other than BUT000 which gives the Business partner no. and BP KIND?
    What is BLUEPRINT table?

    Hi John,
    do you mean Type:
    1     Person
    2     Organisation
    3     Group
    or Role like
    000000     Business Partner (General)
    BBP000     Vendor
    BBP001     Bidder
    BBP002     Portal Provider
    BBP003     Plant
    BBP004     Purchasing Company
    BEA001     Billing Unit
    BUP001     Contact Person
    BUP002     Prospect
    BUP003     Employee
    BUP004     Organizational Unit
    BUP005     Internet User
    The Role can be found in BUT100.
    Regards
    Gregor

  • How to get stock details as on date

    Dear All
    How to get opening stock and closing stock   details as on date .
    Tell me any function module is there  to get as on date.
    Moderator Message: FAQ. Please search in the forums before posting your question.
    Edited by: Suhas Saha on Nov 4, 2011 3:13 PM

    Hi
    By using transaction MB5B-Stock on posting date,you can arrive stock statement as on given date for Itemwise,plant,receipts,issues and balance availabel with value.
    Regards
    M P D Kamath

  • SSAS : How to get the details of a mesure by script

    Hi,
    I have 5 cubes in my DB. I have regulare mesures (count, min, max, ...) on the fact (see the botton ones in the print screen below)... but also some other calculations (see the top 3 ones in the print screen below).
    When i use this MDX script....
    SELECT [CATALOG_NAME] as [DATABASE],
        CUBE_NAME AS [CUBE],[MEASUREGROUP_NAME] AS [FOLDER],[MEASURE_CAPTION] AS [MEASURE],
            [EXPRESSION], [MEASURE_IS_VISIBLE]
    FROM $SYSTEM.MDSCHEMA_MEASURES
    WHERE CUBE_NAME  ='EPE'
     ORDER BY [MEASUREGROUP_NAME]
    I get as a result this :
    I need to get the details (expression) of 8 botton mesures ... as with the 3 top ones ...
    example : the last one is 'Somme Montant' (in english is : SUM Amount). It is a sum on the musure 'Montant' (Amount).... as : SUM(Montant)
    i want to show the real calculation  behind it with the real name (as is on the fact) of the column on with the mesure is based.
    Thank you for your help.
    Nacer CREPUQ BI Developer

    Thank you Dareen and Jerry,
    I wasn't able to make it work ...
    1. my case here do not work.
    2. i don't see how to get the column name of the mesure as it is on the fact table. with MEASURE_NAME_SQL_COLUMN_NAME it shows its name as is displayed for the use.
    ie: please show me how i can do what you sayed : you can overwrite the expressions of regular measures and list them out by script.
    Please advice.
    Thank you.
    SELECT MEASURE_AGGREGATOR, MEASURE_NAME_SQL_COLUMN_NAME, MEASURE_AGGREGATOR
        , CASE [MEASURE_AGGREGATOR]
              WHEN 1 THEN 'Sum'
              WHEN 2 THEN 'Count'
              WHEN 3 THEN 'Min'
              WHEN 4 THEN 'Max'
              WHEN 8 THEN 'Distinct Count'
              WHEN 9 THEN 'None'
              WHEN 10 THEN 'AverageOfChildren'
              WHEN 11 THEN 'FirstChild'
              WHEN 12 THEN 'LastChild'
              WHEN 13 THEN 'FirstNonEmpty'
              WHEN 14 THEN 'LastNonEmpty'
              WHEN 15 THEN 'ByAccount'
              WHEN 127 THEN 'Calculated measure'
              ELSE 'N/A'
       END AS AggregateFunction
    FROM $SYSTEM.MDSCHEMA_MEASURES
    WHERE CUBE_NAME  ='EPE'
    Nacer CREPUQ BI Developer

  • How to get the details of Transports which are yet to be imported

    Hi Experts,
    Kindly let me know how to get the Transport request details which were not yet imported.
    For example:
    We have two client in development system 300 and 400, The transports which are created in 300 and imported to 400 (in SCC1).
    I need to know the details of transport requests related to 300 which are yet be to moved to 400.
    Where can i get these details.
    Thanks,
    Narasimhan Krishna

    Narasimhan,
    Take a closer look at Yves KERVADEC's approach. The issue here is that typically SCC1 is used to move transports which have not yet been closed.  You can see the details of any transport via se01/se09/se10, whether open or closed, but my interpretation of your question is that the customer wants to know which transports have been imported into the unit test client (400) via SCC1, which transports have been brought in by the transport system (after they were closed), and which transports have not yet been sent to either the unit test or QA system (i.e. are still open).
    My guess is that you are trying to track down why things work in the unit test client and not in the QA client. That is actually a different question with a different approach, but if that's what you really want to answer, go ahead and ask that question in a separate thread and you'll get a ton of techniques.
    Back to the question you actually asked: By writing a query, you can get a list of transports which have been brought in to the unit test client via SCC1. You can also get this information from SCC1 --> Goto --> Log Display. Then click All Transport Requests and doubleclick on the client. This will give you the import log of your unit test client with date/time stamp. Analysis of that data indicates to me that perhaps you may want to look at CC0_RSCCPROT03_ALV, but I'm not an ABAPer so the previously mentioned tables are probably better.
    Anyway, once you have a list of transports which have been imported, you can subtract out the ones that have been closed and transported downstream (and back into the unit test client.. your transport path does re-import the final version of the transports into the unit test client... right?). You can get that information from another query or you can get the list from STMS as suggested by Aparajit Banik.Then you'll have a list of transports which have been imported into the unit test client via SCC1 but have not yet been released and made it downstream. This will give you a "hit list" of transports which might be causing a mismatch between your unit test and QAS clients. You would then inspect them more closely with SE09/SE10/SE01 (I prefer se01, but different folks prefer different version of the transaction).
    Again, there are better ways to deal with client mismatches, but I'm answering the question you asked in case I misunderstood the underlying subtext.
    I hope this helps!
    Best regards,
    --Tom

  • How to get Adobe Bridge CS5 to open an FLV file in another program?

    Hello Folks,
    How do I get Adobe Bridge CS5 to open an FLV file in another program other than Flash CS5?
    When I double click on an FLV video, it always opens Flash CS5.  I want to be able to use one of my other FLV player apps instead.
    Thanks

    How do I get Adobe Bridge CS5 to open an FLV file in another program other
    than Flash CS5?
    When I double click on an FLV video, it always opens Flash CS5.  I want to be
    able to use one of my other FLV player apps instead.
    For single use when having pointed the cursor on that file with right mouse
    click choose open with and choose the wished application from the fly out
    menu.
    For permanent use go to Bridge Preferences File Type Association section and
    from the list find the .flv file extension. In this line you can select the
    little triangle next to Adobe flash and from the list select the one you
    prefer, now the all open in this chosen app.

  • How to get the guid of currently opened page programatically

    Hi,
    Can any one of you please let me know how to get the guid of a page at database level which is opened currently?
    The requirement is I need to grab the url of a page which is currently opened by the user.
    Is there any way to get it from accessing the tables like wwv_things or wwpob_page$.
    Please suggest me how to get it.
    Thanks,
    Ravi.

    Hi Ravi,
    You may wanna explore the two API's (wwsbr_all_folders and wwsbr_all_items) and make a bridge to get the name of the portlets that appear on the page.
    something of the following nature should be enough to take you where you want to go. here c.name is the GUID of the item you are looking for.
    SELECT DISTINCT c.display_name,c.name,c.updatedate
    FROM portal.wwsbr_all_folders a, portal.wwsbr_all_items c
    WHERE a.LANGUAGE = 'us'
    AND a.id = c.folder_id
    AND a.caid = c.caid
    AND c.itemtype = 'baseportletinstance'
    AND a.Name LIKE 'MY_PAGE_NAME'
    order by 3 desc
    this will work in the portal but not in the sqlplus or any querying tool. for that purpose, it will work once you establish the context of user.
    hope that helps!
    AMN

  • How to get more detailed info while running a BAPI in test mode

    Hi friends
    I am trying to test 'BAPI_QUOTATION_CREATEDATA2' by opening the BAPI with 'se37' and then clicking on the button Test/Execute (F8) and entering all the data required.
    However, I get a message as follows.
    '555 The sales document is not yet complete: Edit data'
    While creating the QUOTE manually using 'va21' I get more detailed messages like what kind of data is missing 'whether valid to date is missing ..etc.etc.'.
    However, while testing thro' bapi, all it says is that sales document is not complete.
    Is there a way to see more detailed info as to what information is missing, so that I can put them before running.
    Your feedback or suggesions will be highly appreciated.
    Thansk
    Ram

    Thanks Rob
    Actually it says
    W  V1   555  The sales document is not yet complete: Edit data.
    As I said, I am running the BAPI manually by opening the BAPI using SE37 and then clicking on the F8 button. This inreturn will give me an opportunity to click on different object trees to enter the sample data. So I have entered everything that I thought was needed. But still it keeps complaining that the info is not complete but no further details.
    Hope there is some log file or something that I can see to get more details.
    Thanks
    Ram

  • How to get the detailed version of ORACLE?

    hi,
    the version of Oracle Enterprise Version is 9.2.0.2.0, recently I patched it to 9.2.0.6.0, and wanted to get the detailed version by using MetaData in OCCI, but what I got is still 9.2.0.2.0. how can I get the "9.2.0.6.0"?
    thanks for your help!
    scripts:
    Environment env = Environment::createEnvironment(Environment::OBJECT);
    Connection conn = env->createConnection("billing", "billing", "boss");
    MetaData meta = conn->getMetaData("testdb", MetaData::PTYPE_DATABASE);
    db_ver = meta.getString(MetaData::ATTR_VERSION);
    cout << "database version: " << db_ver << endl;
    sap

    I just patched client-side, not server-size. so I guess the returned value from MetaData::getString(MetaData::ATTR_VERSION) represents the server's version.

  • How to get the details inside base domain name?

    I need to extract the details inside the base DN like ou="" ,cn="" and so on..
    Somebody please help me in getting the details inside the base domain name. I could able to get the attribute names and values for the domain name...
    Anyone please help me?
    Thanks in advance...
    Edited by: Preethi_Engineer on Aug 3, 2010 9:54 PM

    Hi Vipin,
    This code snipet show that how to find the login user to the portal
    public void LoginUser( )
        //@@begin LoginUser()
         String LogonID;
           try{
              // create an user object from the current user
              IWDClientUser wdUser=WDClientUser.getCurrentUser();
              IUser user=wdUser.getSAPUser();
              //LogonID=user.getUniqueName();
              wdComponentAPI.getMessageManager().reportSuccess(user.getFirstName()" "user.getLastName().toUpperCase());
              //wdComponentAPI.getMessageManager().reportSuccess(LogonID.toUpperCase());
              wdComponentAPI.getMessageManager().reportSuccess("Logon User ID : "+wdUser.getClientUserID().toUpperCase());
           }catch(Exception e){
              e.printStackTrace();
        //@@end
    Note:  You also need to add"com.sap.security.2.0.0" jar file into your java build path liberary.
    Thanks
    Anup
    Edited by: Anup Bharti on Oct 13, 2008 2:18 PM
    Edited by: Anup Bharti on Oct 13, 2008 2:29 PM

Maybe you are looking for

  • Iweb show layout perfect, but when I publish it is different

    I have a website that I have had no problems with. Recently I redid all my pages and gave them an updated look. What I have on Iweb is perfect, but when I publish the site I have stuff in different places, it un-centers things, it leaves lines out, i

  • FTPS and SSLVLDCRT=N

    Hi there.. I have a lot of SFTP and some FTP jobs running with no issues. I've received my first request to setup a FTPS job. My problem is in the agent.ini for all UNIX boxes and Window boxes I have the line SSLVLDCRT=N  Will I need SSLVLDCRT=Y to r

  • Can't see webdynpro applications in webdynpro administration

    Hi all, I've installed ess and mss business packages on portal. But I can't see the respective applications nd jco connections in webdynpro administration. Any clue what could be wrong here. I am using EP 7.0. thanks,

  • Missing class in connector.jar

    I just noticed that the class:           javax.resource.cci.ConnectionSpec was           not included in the connector.jar. Was this intentional?           Marc T. Calello           Momentum Software, Inc           Austin, TX           [email protect

  • Are Reminder location services available in 3GS?

    Are OS5 Reminder location services available in 3GS?   I've gone thru the instrucitons how to set up the push Location notifications... only those 'controls' do not show up at all in my 3GS app.  WTH???  Arrrrgh....