How to get MAP of materials on a particular date

Hi all,
How to get the MAP ( moving average price ) of the material on a particular date.
With Rgds,
Vamsi..

Hi,
You need to do slight Calculation to get the map as on date.
Get the latest Material Document for the Material , It will have the Total Qty & Total value for the particular Date .
MAP will be Total value of the material document Line item /  total qty for the Material Doc Line item.
Report S_P00_07000139 provided you similar report as suggested by Ajit
Regards
Mascot
Edited by: Manish Kumar on Apr 18, 2011 9:46 AM

Similar Messages

  • How to get "Mapped Folder Web Location"

    Hi,
    How to get "Mapped Folder Web Location" for any assets (pdf,image) while passing content ID.
    Thanks in advance.
    Thanks,
    Anurag

    Hi Anurag ,
    The information is stored in the WebUrlMapRules resultset in the SecurityInfo.hda file and can also be viewed via IdcService=GET_WEBURLMAP_PAGE.
    Test it and see if that works .
    Thanks
    Srinath

  • How to get the most current file based on date and time stamp using SSIS?

    Hello,
    Let us assume that files get copied in a specific directory. We need to pick up a file and load data. Can you guys let me know how to get the most current file based on date and time stamp using SSIS?
    Thanks
    thx regards dinesh vv

    hi simon
    i excuted this script it is giving error..
       Microsoft SQL Server Integration Services Script Task
       Write scripts using Microsoft Visual C# 2008.
       The ScriptMain is the entry point class of the script.
    using System;
    using System.Data;
    using Microsoft.SqlServer.Dts.Runtime;
    using System.Windows.Forms;
    namespace ST_9a6d985a04b249c2addd766b58fee890.csproj
        [System.AddIn.AddIn("ScriptMain", Version = "1.0", Publisher = "", Description = "")]
        public partial class ScriptMain : Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
            #region VSTA generated code
            enum ScriptResults
                Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success,
                Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
            #endregion
            The execution engine calls this method when the task executes.
            To access the object model, use the Dts property. Connections, variables, events,
            and logging features are available as members of the Dts property as shown in the following examples.
            To reference a variable, call Dts.Variables["MyCaseSensitiveVariableName"].Value;
            To post a log entry, call Dts.Log("This is my log text", 999, null);
            To fire an event, call Dts.Events.FireInformation(99, "test", "hit the help message", "", 0, true);
            To use the connections collection use something like the following:
            ConnectionManager cm = Dts.Connections.Add("OLEDB");
            cm.ConnectionString = "Data Source=localhost;Initial Catalog=AdventureWorks;Provider=SQLNCLI10;Integrated Security=SSPI;Auto Translate=False;";
            Before returning from this method, set the value of Dts.TaskResult to indicate success or failure.
            To open Help, press F1.
            public void Main()
                string file = Dts.Variables["User::FolderName"].Value.ToString();
                string[] files = System.IO.Directory.GetFiles(Dts.Variables["User::FolderName"].Value.ToString());
                System.IO.FileInfo finf;
                DateTime currentDate = new DateTime();
                string lastFile = string.Empty;
                foreach (string f in files)
                    finf = new System.IO.FileInfo(f);
                    if (finf.CreationTime >= currentDate)
                        currentDate = finf.CreationTime;
                        lastFile = f;
                Dts.Variables["User::LastFile"].Value = lastFile;
                Dts.TaskResult = (int)ScriptResults.Success;
    thx regards dinesh vv

  • How to get a organization name for a particular user using API's

    Hi alll,
    How to get a organization name for a particular user using API's

    You need to do something like this:
    SearchCriteria criteria = new SearchCriteria("User Login", "XELSYSADM", SearchCriteria.Operator.EQUAL);
                   UserManager usrService = oimClient.getService(UserManager.class);
                   Set<String> retAttrs = new HashSet<String>();
                   retAttrs.add(UserManagerConstants.AttributeName.USER_ORGANIZATION.getId());
                   List<oracle.iam.identity.usermgmt.vo.User> users = usrService.search(criteria, retAttrs, null);
                   System.out.println("ORG KEY :: " + users.get(0).getAttribute("act_key"));

  • How to get documents from RMS linked to particular case id using webdynpro

    HI friends,
    Can  anybody knows " How to get documents from RMS linked to particular case id."
    From end: webdynpro
    backend: RMS.
    please do the needful.
    Thanks and Regards
    -Sujatha

    HI friends,
    Can  anybody knows " How to get documents from RMS linked to particular case id."
    From end: webdynpro
    backend: RMS.
    please do the needful.
    Thanks and Regards
    -Sujatha

  • How to get current logged-in user name in data access driver or in universe

    In universe, to get the current log in user is via @Variable('BOUSER').
    Right now, I need to be able to get the user name in the data access driver. I am writing a customized data access driver because we need to patch some where clause on the the query generated by the universe based on the logged-in user info. I only think of using end_sql parameter or adding an universe level filter to patch the @Variable('BOUSER') to the query, which would not work if user want to use customized query.
    Can anyone tell me how to get currentBO user name from connection server ? or how @Variable('BOUSER') is translated into the logged-in user name in the universe?

    I do not know your EJB Service. But you should pass the credentials of the current logged on portal user to your service. That's not by default I think.
    I had a similar problem with CAF developed webservices. I had to turn on permission checks in my web service and passed the credentials via logon ticket.
    Regards, Bernd

  • How to get the opening balances for lessthan selected date in cubes.

    Hi All,
    my task is to get the opening balances for the selected date.
    Ex: If I select date say 31-1-2013, I should get the sum of values which are less than the selected date.
    in sql:
    select sum(balance) from banktrans where banktrans.transdate < 31-1-2013;
    BankTable                            BankTrans
    BankId                               BankId
                                            balance
                                            transdate
    BankTable (records):
    SCB
    BankTrans(records):
    a) SCB, 15000, 10-02-2013
    b) SCB, 20000, 31-01-2014
    c) SCB, 50000, 21-09-2012
    If I select date as 31-01-2014, I should get the value as 65000 
    If I select date as 10-02-2013, I should get the value as 50000
    Date will be dynamic selection from years months days hirearchy ( time dimension)
    How can i achieve this?  
    any help is much appreciated.
    Thanks,
    Rakesh

    Dear David,
    I've tried the below with static date but i'm not getting the values which are sum of less than the given date.
    I've given 1st jan 2013 as static date and I need to get the sum of values which are less than the 1st jan date.
    CREATE
    MEMBER
    CURRENTCUBE.[Measures].[OPENBALANCE]
    AS
    Sum({Null:[Time].[Years
    Quarters Months Weeks Days].[Days].&[2013-01-01T00:00:00]},[Measures].[AmountCur]]),
    FORMAT_STRING
    = "Standard",
    VISIBLE
    = 1
    can you plz check the above once and guide me.
    Thankyou,
    Rakesh

  • How to get open items as on a key date

    Hi experts,
    I want to show a report Agewise report of offsets: 0-30, 30-60,....
    Only the open items of Vendor as on a particular key date to be considered...
    How to get the open items as on a particular key date ?
    Regards,
    Rao.

    Hi All,
    Thanks for the reply..
    ==============================================================
    Basically create one ckf and two rkfs for each aging bucket
    ie ckf 0-30 days = rkf 0-30 days open + rkf 0-30 days subsequently cleared
    Because you need to restate the AP report to a key date - some items have changed their status since that key date but were open at the key date (ie we call those subsequently cleared)
    so rkf 0-30 days open is
    posting date <= key date
    item status = O
    net due date between variable date (cmod which reads key date) offset 0 and variable date (cmod which reads key date) offset -30
    rkf 0-30 days subsequently cleared is
    posting date <= key date
    cleared date > variable date (which reads cmod of key date)
    net due date between variable date (cmod which reads key date) offset 0 and variable date (cmod which reads key date) offset -30
    ========================================================================
    In the above two cases, while creating restricted key figures how to design this;
    net due date between variable date (cmod which reads key date) offset 0 and variable date (cmod which reads key date) offset -30
    And also after creation of two rkfs i created a ckf i.e ckf = rkf1+rkf2.
    Now i dragged this ckf into columns and when i checked the query it is giving error that key date variable is used more than once. ( Bcz we have used key date variable both in rkf1 and rkf2 for getting posting date <= to key date )
    What is the solution for this ?
    Regards,
    Rao.

  • How to get back Queue name in SMQ1 when Data source is present in RSA7

    Hello Friends,
      Its very urgent issue.Please provide me your valuable solutions.
    1) I have Queue name in SMQ1 and Data source name in RSA7 are present for particular Data source in CRM source system. I deleted Queues in SMQ1 and they present in RSA7 so whenever I do changes in Data source record that changes i can see in RSA3 and DB table but I can't able to see that changes in RSA7.
    2) That Data source is Delta enabled and Initialization also set for that.
    3) when i do delta scheduling no records are coming in BI side.
    Please tell me how can i get back my Queue in SMQ1 and get changes reflects in RSA7 data source also.

    Try below:
    http://sharepoint247.wordpress.com/2013/05/24/handy-email-utility-for-any-sharepoint-project/
    interface IEmailConfigurationManager
    /// <summary>
    /// Gets Email Template by it's ID
    /// </summary>
    /// <param name="emailTemplateId"></param>
    /// <returns></returns>
    EmailTemplate GetEmailTemplate(string emailTemplateId);
    /// <summary>
    /// Gets Email Template by it's ID by updating the email template properties
    /// </summary>
    /// <param name="emailTemplateId"></param>
    /// <param name="subjectProperties"></param>
    /// <param name="bodyProperties"></param>
    /// <returns></returns>
    EmailTemplate GetEmailTemplate(string emailTemplateId,
    IDictionary<string, string> subjectProperties,
    IDictionary<string, string> bodyProperties);
    /// <summary>
    /// Add new email template.
    /// </summary>
    /// <param name="emailTemplateId"></param>
    /// <param name="emailTemplateSubject"></param>
    /// <param name="emailTemplateBody"></param>
    void AddEmailTemplate(string emailTemplateId, string shortDescription,
    string emailTemplateSubject, string emailTemplateBody);
    https://spemailutility.codeplex.com/
    http://social.msdn.microsoft.com/Forums/en-US/ef945d33-50c5-4b89-8bb9-32a95498b419/how-to-change-email-template-for-the-approval-workflow?forum=sharepointcustomizationlegacy

  • How to get the text elements for a particular program

    Hi All,
    I want to get the all text elements , selection texts for a particular program...How to get.
    I have used one FM READ_TEXTELEMENT_FROM_REPORT , but not much useful..
    please help me..
    Regards,
    raj

    Hi..
    You may use this statement to read the text elements:
    DATA: i_reptx  TYPE STANDARD TABLE OF textpool   WITH HEADER LINE.
    READ TEXTPOOL (reports) INTO i_reptx. " reports is the report name.
    Best Regards,
    Pradeep.

  • How to get the right format if I copy data off another source....

    IWorks '08
    I have a data source that I want to copy to Numbers and it posts it all in the first row, when I paste it. (Excel will automatically format it correctly). I've tried a number of different things and can't figure out how to get the data to post across the page. Can Numbers even do this?

    Welcome to Apple Discussions
    Could you possibly have the insertion cursor blinking in the cell rather than just having a cell selected?
    If the cursor is blinking in the cell, Numbers "thinks" you want to paste all of the content in that one cell. By just selecting the cell, the data will be separated if Numbers "sees" the separations. This used to be a problem, particularly with data copied from a web page in Safari, but is mostly fixed in Numbers '09.

  • How to get the transport request for a particular standard text?

    Hi,
    i want to know, how we get the transport request which associated for standard text.
    Please note already the standard text is assigned to the TR using RSTXTRAN program.
    i have a std text. i want to find the related TR for that!
    rds,
    Siva.

    Refer the link. It might tellsa about attaching to transport request but using the way you can find also -
    Re: How To Transport STANDARD TEXTS??
    Regards,
    Amit
    Reward all helpful replies

  • How to get name of the month from current date.

    Hi,
       How to get the name of the month from current date.
    Thanks,
    Senthil

    Sethil,
    Use your date(let us say Date1) instead of sy-datum.
    CALL FUNCTION 'MONTH_NAMES_GET'
    EXPORTING
    LANGUAGE = SY-LANGU
    IMPORTING
    RETURN_CODE =
    TABLES
    MONTH_NAMES = itab_month
    EXCEPTIONS
    MONTH_NAMES_NOT_FOUND = 1
    OTHERS = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    READ TABLE itab_month
    WITH KEY MNR = date1+4(2).
    itab_month-LTX will contain the value you are looking for
    Good luck
    Raghava

  • How to How to get FI field status settings for General data

    Hello All,
    Can you please tell me How can I achieve field status settings for General data.
    I have some code to get field status settings for account assignment block but I need General data block data.
    Can you please help me with the same.
    I got the below code to get field status settings for account assignment block But I need General data block information.
    FUNCTION z_fieldstatus_getdetail.
    *"*"Lokale Schnittstelle:
    *" IMPORTING
    *" VALUE(I_BSCHL) TYPE BSCHL
    *" VALUE(I_BUKRS) TYPE BUKRS
    *" VALUE(I_SAKNR) TYPE SAKNR
    *" TABLES
    *" T_COBLF STRUCTURE COBLF
    *" T_FIELDS STRUCTURE TCOBF OPTIONAL
    *" EXCEPTIONS
    *" ERROR_MESSAGE
    * liefert Feldstatus in Liste t_coblf:
    * Feldname (DDIC) nicht in der Liste -> Feld ausgeblendet
    * Feldname (DDIC) in der Liste -> Feld eingabebereit
    * required = 1:
    * Mussfeld;
    * required = 0: kein Mussfeld
    * active = 0: Feld ausgblendet
    * Als Hilfstabelle wird die gesamte Feldliste der Felder (t_fields)
    * ausgegeben,
    * deren Eingabebereitschaft im Customizing steht
      DATA: ls_faus1 LIKE tbsl-faus1.
      DATA: ls_faus2 LIKE tbsl-faus2.
    * Feldstatus holen
      CALL FUNCTION 'FI_FIELD_SELECTION_DETERMINE'
        EXPORTING
          i_bschl     = i_bschl
          i_bukrs     = i_bukrs
          i_saknr     = i_saknr
        IMPORTING
          e_faus1     = ls_faus1
          e_faus2     = ls_faus2
        EXCEPTIONS
          customizing = 1
          OTHERS      = 2.
      IF sy-subrc <> 0.
        MESSAGE a613(/ssc/comon).
      ENDIF.
      DATA lv_char.
      DATA int_coblf LIKE coblf OCCURS 0 WITH HEADER LINE.
      DATA p_cobl LIKE cobl.
      DATA: dummy_ktosl LIKE bseg-ktosl.
      PERFORM kontierungsblock_ermitteln(sapff001)
      TABLES int_coblf
      USING lv_char(1)
      ls_faus1 ls_faus2 dummy_ktosl.
      t_coblf[] = int_coblf[].
      SELECT * FROM tcobf INTO TABLE t_fields.
    ENDFUNCTION.
    Thanks in Adv.
    Kaustubh

    Hi ,
    Looking at the question the first thing that comes to my mind is what is the organization structure that you are following .
    As you have mentioned that you have used segment insted of profit center for splitting , what is the scope of profit center in your implementation .
    in implementations where locations are devided as profit centes it becomes very necessary to mandatorily split the documents based on profit center .
    in your case as you have set it as segment i dont find it an issue of you keeping it as optional as it will not give you and error during your operations , as you have made profit center optional in splitting charcteristics .
    hope this suffices .
    Regards ,
    Dewang

  • Is there a way to re set Lightroom to original settings, I have been playing around with it and got somewhere that I don't know how to get out of...not particularly computer savvu

    Is there a way to re set Lightroom to original settings, I have been playing around with it and got to a place I don't know how to get out of. Not very computer savvy

    To begin, quit Lightroom
    On Windows do the following
    Click the Windows start button and in the search box type:-
    %appdata%\adobe\lightroom
    Then press the Return\Enter key
    That will take you to the Lightroom folder (see image below)
    Select the Preferences folder and hit delete to send it to the recycle bin.
    Close the Lightroom folder and re-start the Lightroom program.

Maybe you are looking for

  • Coverage

    I'm very upset lately with the coverage that I'm receiving from Verizon.  For this company to be the #1 covered area in the US you would figure we wouldn't have so many dropped calls.  Recently my husband and I had to buy a booster for our home just

  • Unable to install Integration Services for SQL Server 2005

    I'm not able to select "Integration Services Project" in Business Intelligence Development Studio (it is not in the templates below): When installing, it says that it is already installed. Why can't I see it in the project templates?

  • Open item clearing with FBCJ

    Hello all, accoording to note 532888 it's not possible to do open item clearing (with vendor and customer postings) with t-code FBCJ. My client want's to do this cleaning in FBCJ. Did someone managed this problem? Thanks anyway.

  • Change the field MARA-NUMPT (EAN category).

    Hi , We have a requirement to change the field NMARA-NUMPT (EAN category). I tried using the FM BAPI_MATERIAL_SAVEDATA and BAPI_MATERIAL_EDIT, but I dont find this field in any of the structures. Can some one suggest how to go about this?? Regards, S

  • Clustering not Load balancing on solaris with apache

    apache weblogic plugin does not do round-robin , it's kind of random when           direct the request to the appserver. anyone has seen this problem?           weblogic5.1 sp9. solaris 2.7 jre1.3.1 rc2