MAP for the material in material master

Hi All
I have problem in moving average price of a model in material master
Example.
Material - ABC in material master
Moving average price - $10 
total stock- 5                                       Toatl Value--$50
now i have sub con Po for material ABC(header) 10 Qty and item material DEF 10 Qty
Net price for header is Zero here. but item material price will be $10
after making the Gr for the sub con Po is the moving price of material ABC need to change as shown below or remains same.
Moving average price - $10
total stock- 510                                      Toatl Value--$50100
Thanks
Regards
Manju

hi,
u have done subc po for which material , its raw mat or semifin or finished
if u have created s po for semi material then, when u made gr then the material price will change as map is maintained in the material master.
but if it is finished product then the price of the material is same, bcs, standard price should be maintain in material master.
hope, this will clarify ur question,
regards,
susanta

Similar Messages

  • Connecting to EMS fails with No mapping for the Unicode character exists in the target multi-byte code page

    I am getting the following error when trying to connect to both my exchange servers.
    New-PSSession : [ex2013-002.nafa.ca] Connecting to remote server ex2013-002.nafa.ca failed with the following error
    message : No mapping for the Unicode character exists in the target multi-byte code page. For more information, see
    the about_Remote_Troubleshooting Help topic.
    At line:1 char:12
    + $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri ht ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
       gTransportException
        + FullyQualifiedErrorId : 1113,PSSessionOpenFailed
    EMS used to connect ok. I am not sure if there is any connection but Outlook was installed recently on the exchange server to enable mailbox level backups.
    Any help would be appreciated.
    Steve Hurst

    Hello Steve,
    Firstly, you cannot install Outlook with Exchange because they share certain dll files.
    About the EMS question, I suggest we try rebuilding the powershell virtual directory. If it still does not work, check the application log for more referernce.
    Thanks,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Simon Wu
    TechNet Community Support

  • No mapping for the Unicode character exists in the target multi-byte code page

    hi,
    i have an issue with sharepoint 2013 and IE 10.
    im using the sharepoint  rest web service and make an ajax data call to retrive data from sharepoint lists, the call fail and return a server error: "No mapping for the Unicode character exists in the target multi-byte code page". 
    i have to say that everything works fine with chrome and firefox. 
    what can i do for fixing it?
    Thanks a lot
    alon

    Hi,
    From your description, I know you get an issue with IE 10 in SharePoint 2013 when you use SharePoint REST API to retrieve data from SharePoint list.
    I am not quite sure what cause your issue. Could you provide your code, so I could test it in my environment and troubleshoot for you.
    In addition, you could test your issue in another computer or another version of IE.
    Best Regards
    Vincent Han
    TechNet Community Support

  • There was an error opening the database for the library "/Volumes/Aperture Master/Unknown/Aperture Pictures/Aperture Library.aplibrary".    what do I do now?

    There was an error opening the database for the library “/Volumes/Aperture Master/Unknown/Aperture Pictures/Aperture Library.aplibrary”.
    What do I do now.  I cant access the photos on the drive.  The only option is Quit?  what ??????????
    Please help ready to throw computer and drive out the window.  I have a deadline of next Tuesdaythe 11th.

    Start Aperture while holding down the option and command keys. You'll get a Photo Library First Aid dialog as below.
    Try Repair Database first. If that doesn't work, then redo the startup with option-command and try Rebuild Database. These repair processes can take a long time with a larger library.
    If all that fails, you can try creating a new library from scratch and then try importing the old library into the new. This sometimes can fix problems that can't be repaired the First Aid way.
    Also make sure the drive where the Aperture library is located is working properly. You can check it with Disk Utility app.

  • Executed as user: ADMIN\abc-SQLServer. Linked servers cannot be used under impersonation without a mapping for the impersonated login. [SQLSTATE 42000] (Error 7437). The step failed.

    Hi All, 
    We have verified permissions on both sides,current server and linked server, the user has sysadmin.
    Another key piece of information is that this is happening when executing a SQL Job.
    Thanks.

    Related:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/328616e9-42cb-40d7-a4b1-671d6a492d8f/linked-servers-cannot-be-used-under-impersonation-without-a-mapping-for-the-impersonated-login?forum=sqldatabaseengine
    https://support.microsoft.com/kb/2492477?wa=wsignin1.0
    http://sshakespeareblog.co.uk/2013/07/31/sql-linked-server-and-sql-server-agent/
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

  • Details of open invoices for the current year/ material price analysis

    Hi,
    I'm very new to SAP SD,MM modules. Can any one help me in the following of my requirements?
    1. How to get the details of open invoices for the current year? Which table should I look into?
    2. I have to create a report to display material price analysis. How should I do that?
    3. How to develope a report to list out all the Open Sales Order with earliest ship date and requested ship date
    4.How to create an interactive report for displaying plant status to know the status of a particular material
    5. How to develope a report on Sales Order displaying Sales order Number, Sales order date, Material, PO Date and Customer requested date
    Thanks in advance!!
    Uma.
    Message was edited by:
            Uma Ravi

    Hi Ravi,
    for 3, 4, 5 --> u can go through the code ...
    REPORT ZEX2  MESSAGE-ID arc NO STANDARD PAGE HEADING.
    Tables :kna1,vbak.
    SELECT-OPTIONS : so_vkorg FOR  vbak-vkorg OBLIGATORY,
                     so_vtweg FOR  vbak-vtweg OBLIGATORY,
                     so_spart FOR  vbak-spart,
                     so_kunnr FOR  kna1-kunnr.
    DATA : BEGIN OF sales_open OCCURS 0 ,
           vbeln LIKE vbak-vbeln,
           auart LIKE vbak-auart,
           kunnr LIKE kna1-kunnr,
           bstnk LIKE vbak-bstnk,
           lfstk LIKE vbuk-lfstk,
           fkstk LIKE vbuk-fkstk,
           gbstk LIKE vbuk-gbstk,
           END OF sales_open.
    DATA : BEGIN OF itm_sales OCCURS 0,
           vbeln LIKE vbap-vbeln,
           posnr LIKE vbap-posnr,
           matnr LIKE vbap-matnr,
           kwmeng like vbap-kwmeng,
           lfsta LIKE vbup-lfsta,
           lfgsa LIKE vbup-lfgsa,
           fksta LIKE vbup-fksta,
           fksaa LIKE vbup-fksaa,
           gbsta LIKE vbup-gbsta,
           END OF itm_sales.
    DATA : l_kunnr LIKE kna1-kunnr,
           l_vkorg LIKE vbak-vkorg,
           l_vtweg LIKE vbak-vtweg,
           l_spart LIKE vbak-spart.
    DATA: v_statusl(20) TYPE c,
          v_statusb(20) TYPE c,
          v_statusf(20) TYPE c,
          v_statusg(20) TYPE c,
          v_status(20) TYPE c,
          v_field(1) TYPE c.
    data : v_openqty like vbap-kwmeng.
    **Selection Screen Validations.
    AT SELECTION-SCREEN.
      PERFORM validations.
    *&      Form  Validations
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM validations.
    **Customer
      IF NOT so_kunnr[] IS INITIAL.
        SELECT SINGLE kunnr INTO l_kunnr
               FROM kna1
               WHERE kunnr IN so_kunnr.
        IF sy-subrc NE 0.
          MESSAGE e002 WITH text-005.
        ENDIF.
      ENDIF.
    **Sales Organization
      IF NOT so_vkorg[] IS INITIAL.
        SELECT SINGLE vkorg INTO l_vkorg
               FROM tvko
               WHERE vkorg IN so_vkorg.
        IF sy-subrc NE 0.
          MESSAGE e003 WITH text-006.
        ENDIF.
      ENDIF.
    **Distribution Channel
      IF NOT so_vtweg[] IS INITIAL.
        SELECT SINGLE vtweg INTO l_vtweg
                FROM tvkov
                WHERE   vkorg IN so_vkorg
                 AND    vtweg IN so_vtweg.
        IF sy-subrc NE 0.
          MESSAGE e004 WITH text-007.
        ENDIF.
      ENDIF.
    **Division
      IF NOT so_spart[] IS INITIAL.
        SELECT SINGLE spart INTO l_spart
                FROM tvta
                WHERE   vkorg IN so_vkorg
                AND     vtweg IN so_vtweg
                AND     spart IN so_spart.
        IF sy-subrc NE 0.
          MESSAGE e005 WITH text-008.
        ENDIF.
      ENDIF.
    ENDFORM.                    " Validations
    Top-of-page.
    PERFORM sales_top_of_page.
    Start-of-selection.
    PERFORM sales_sel.
    *&      Form  sales_sel
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM sales_sel.
    SELECT vbeln auart kunnr bstnk
         lfstk fkstk gbstk
         INTO TABLE sales_open
         FROM vbakuk
         WHERE vkorg IN so_vkorg
         AND   vtweg IN so_vtweg
         AND   spart IN so_spart
         AND   kunnr IN so_kunnr
         AND gbstk NE 'C'.
      LOOP AT sales_open.
        WRITE:/4 sy-vline,
               5 sales_open-vbeln HOTSPOT ON COLOR 2 INTENSIFIED OFF,
               16 sy-vline,
               17 sales_open-auart COLOR 2 INTENSIFIED OFF,
               27 sy-vline,
               28 sales_open-kunnr COLOR 2 INTENSIFIED OFF,
               40 sy-vline,
               41 sales_open-bstnk COLOR 2 INTENSIFIED OFF,
               55 sy-vline,
               56 sales_open-lfstk,
               76 sy-vline,
               77 sales_open-fkstk,
               96 sy-vline,
               97 sales_open-gbstk ,
               117 sy-vline.
        HIDE sales_open-vbeln .
      ENDLOOP.
    ENDFORM.                    " sales_sel
    *&      Form  sales_top_of_page
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM sales_top_of_page.
      WRITE:/4 sy-uline(114),
         50 'OPEN SALES ORDERS' COLOR 7 INTENSIFIED ON .
      WRITE: /4 sy-vline,
              5 'SalesOrder' COLOR 1 ,
              16 sy-vline,
             17  'OrderType' COLOR 1,
             27  sy-vline,
             28  'Customer' COLOR 1,
             40  sy-vline,
             41  'PoNumber' COLOR 1,
             55  sy-vline,
             56  'Delivery Status' COLOR 1,
             76  sy-vline,
             77  'Billing Status' COLOR 1,
             96  sy-vline,
             97  'Processing Status' COLOR 1,
             117  sy-vline .
      WRITE:/4 sy-uline(114).
    ENDFORM.                    " sales_top_of_page
    AT LINE-SELECTION.
      SELECT       a~vbeln
                   a~posnr
                   a~matnr
                   a~kwmeng
                   b~lfsta
                   b~lfgsa
                   b~fksta
                   b~fksaa
                   b~gbsta
                   INTO TABLE itm_sales
                   FROM vbap AS a JOIN vbup AS b
                   ON a~vbeln EQ b~vbeln
                   AND a~posnr EQ b~posnr
                   AND b~gbsta NE 'C'
                   WHERE a~vbeln EQ sales_open-vbeln.
      IF NOT sales_open IS INITIAL.
        LOOP AT itm_sales.
          at end of vbeln .
          sum.
          v_openqty = itm_sales-kwmeng.
          endat.
          WRITE:/5  itm_sales-vbeln,
                    itm_sales-posnr,
                    itm_sales-matnr,
                    itm_sales-kwmeng,
                    itm_sales-lfsta,
                    itm_sales-lfgsa,
                    itm_sales-fksta,
                    itm_sales-fksaa,
                    itm_sales-gbsta.
        ENDLOOP.
      ENDIF.
    skip 2.
      write:/  'open Quantity for the order is ', v_openqty .
    for 1.
    open invoices..
    SELECT vbeln
             fkart
             kunag
             gbstk
             INTO TABLE it_billing_h
             FROM vbrkuk
             WHERE vkorg IN so_vkorg
             AND vtweg IN so_vtweg
    *        AND spart IN so_spart
             AND kunag IN so_kunnr
            and   year in p_year                  ---->"parameter for year..
             AND gbstk NE 'C'.                   "----> open invoices
    for 2..
    2. refer TABLES mara, EINA ..
    regards,
    VIjay

  • Quality inspected stock for the sales return material

    Hi,
    For the very first time I'm working on Reworking order type. There was a material from customer return. My client want to reprocess it. So for the testing purpose in quality,  I activated inspection type 06 (Inspection for returns from customer) for the material and transferred it to QI. Then I created a manual inspection lot and made defects recording and usage decision as Rejected. Now my question is where will the stock go after usage decision?
    Hoping for quick replies.
    Thanks & Regards,
    Praveen

    hi,
    655 is for returns direct to QI stck. lot may be either 05 or 06 type.
    if u want than as i already suggest you assign 05 type against return order type in Configuration (SPRO).
    Quality management-> Quality Inspection -> Quality Inspection -> Inspection lot Creation> Inspection at shipping-->Define inspection lot origin to delivery type.
    Regards
    Edited by: D GURU on Jan 3, 2012 8:08 AM

  • Message mapping for checking hyphens (-) in material number

    Hi All,
    I have an interface in PI 7.1 for product change and product create coming from ORACLE to SAP
    Now, the reqmt is to take the ORACLE product which could have hyphens or without hyphens
    In SAP, the product can have upto 40 characters and if something without hyphens come in, then it adds leading zeros while creating and while changing, SAP expects a product with leading zeros
    So, how do I handle this? How do I check in message mapping, the product with hyphens or without and write a condition to it.
    Here is my idea
    Take the product, use a message mapping function to check for products without hyphens and if YES, add leading zeros upto 40 characters
    Can anyone let me know how this could be achieved using message mapping function
    I am sure this kind of reqmt especially leading zeros for products is very common in PI interface circle
    So, please let me know the details
    Thx
    mike

    Hi Mike,
                  your requirement can be solved without UDF too
    inputfield ---------------->
                                                 indexOf() ------------>  
    Constant(-)---------->                                                  less---->if ----->target field                                                                               
    constant(0)---------->
    inputfield  and contant (hyphen) are inputs to standard text function indexOf. Output of IndexOF and constant(zero) are inputs to standard arithmetic function less. Out put of less goes to boolean function if. The IF has two inputs then and else .
    For then part write this logic
    inputfield----> formatNumber()---->then
    in standard arithmetic function Formatnumber  specify number format with 40 zeroes, leave decimal separetor blank.
    Now for the else part of "IF" write this
    inputfield----->else
    Finally
    output of "IF" goes to target field
    IF------>target
    Regards
    Anupam

  • Mapping for the interfaces

    Hi all !
    I am new to interfaces and as a functional cosultant I have to do couple of functional specs for the interfaces and also the mapping ...what should be my approach
    1, let's say I have to do the mappin for the Lcokbox interface( EDI 823) .....what should I have to exactly do in here?
    2. another example would be I need to grab required data from a third party tool into the credit master data on the cutomer ... how can I do this ...
    Please some one explain me in detail the above two cases , so I can get a clear understanding and start from there.....
    hoping couple of answers....thanks a lot in advance for anykind of help

    Hello
    In simple words, an interface is a 3rd party software. SAP and this software exchange data in 2 way channel.In layman's words, we need a program which can download data and process and record in SAP.
    Also, we need a program to send data to the external interface.
    First draw the process flow / how and what data is involved. Make a visio diagram.
    Let the technical guys have a look at it and decide on what business partners like XI need to be used.
    Let them decide on the channels by which data can flow.
    Now look at the available data in the 3rd party, study their fields and check relevance in SAP. The out come of this excercise is mapping data for smooth flow and compatability.
    Now let the ABAPers sit and prepare download / upload program and and link both the systems.
    The data is in the form of files, which are either manually uploaded or triggered by scheduled jobs. The interface program should facilitate both features.
    Reg
    assign points if useful

  • How to do Mapping for the following Scenario

    Hi All,
    I am doing File 2 File Multimapping Scenario with out using BPM Concept but, My result was Struck at Message Mapping.
    Source                          Target
    Message                       Message1     Details                                Details
             Name                            Name
             ID                                  ID                                                                               
    Message2        
                                                    Details
                                                        Name
                                                        ID
    I am getting Runtime Exception at Message Transfermation error if i do the one 2 one direct mapping....
    so, How to do the Mapping for thei Scenario?
    WIth Regards,
    Mahesh

    Hi Farooq,
    I am using Split and Merge.
    Source XML
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://sap.com/xi/XI/SplitAndMerge" targetNamespace="http://sap.com/xi/XI/SplitAndMerge">
    <xsd:import namespace="http://tcs.com/Demo" />
    <xsd:element xmlns:p0="http://tcs.com/Demo" name="Messages">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="Message1" form="qualified">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="p0:BPM_In_MT" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    Target XML
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://sap.com/xi/XI/SplitAndMerge" targetNamespace="http://sap.com/xi/XI/SplitAndMerge">
    <xsd:import namespace="http://tcs.com/Demo" />
    <xsd:element xmlns:p0="http://tcs.com/Demo" name="Messages">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="Message1" form="qualified">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="p0:BPM_Out_MT" minOccurs="0" maxOccurs="unbounded" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="Message2" form="qualified">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="p0:BPM_Out1_MT" minOccurs="0" maxOccurs="unbounded" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    Thanks
    Mahesh

  • Is there a trick when you configure MAPI for the mail system in Central Pro?

    Hi,
    I'm using Central Pro 5.6 on Windows 2003 and It is working fine, but I need to change the configuration for the email system. I'm using SMTP, but I need to use MAPI.
    In the documentation says that I only need the user=profile name and that's it. But this doesn't work. I have this error:
    2011/03/31 17:13:38 C:\Program Files\Adobe\Central\Bin\jfemsend: Logon failed...
    Do I need to do something else??
    Thank you.

    Hi,
    I'm using Central Pro 5.6 on Windows 2003 and It is working fine, but I need to change the configuration for the email system. I'm using SMTP, but I need to use MAPI.
    In the documentation says that I only need the user=profile name and that's it. But this doesn't work. I have this error:
    2011/03/31 17:13:38 C:\Program Files\Adobe\Central\Bin\jfemsend: Logon failed...
    Do I need to do something else??
    Thank you.

  • How to Display the ColumnName for the Text of any Master Data Object in BEx

    Hi Experts,
    In Bex Analyzer While Displaying the Key and text of any Master data object it shows column name for master data key but not for the text, here client requirement is he wants to see the Text column name as Description  for any master data text.
    say Customer Number is a master data object , while displaying key and text of CustomerNumber - column names should look  like as below
    CustomerNumber    Description
    C11111                     Pepco
    C11112                     Coke
    but usually in Bex Analyzer it displys as following(Text without  column Name)                      
    CustomerNumber   
    C11111                     Pepco
    C11112                     Coke
    Please suggest how can we achive this requirement, thanks in advance.
    Regards,
    Chandra

    Hi Chandra,
    I suggest you to enhance your datasource with text feild, by adding text feild to your datasource in ECC side and replicate it ti BI side.
    For this you have to write code at CMOD.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/302d4b15-5847-2a10-93bb-9c45d9f06b16?QuickLink=index&overridelayout=true
    Better this doc will help you.
    Regards,
    rvc

  • Key Board Mapping for the Shift Key

    I hope this is the correct place to post.
    I just tried to use Ukelele to change my ` key into a 'shift' key but could not do it. Please note that I was not trying to change the 'shift' key itself, but was trying to turn the ` key into an extra 'shift'.
    The reason I want to do this is because on this european macbook they make room for the ` key by robbing you of half of the standard shift key you get on a US keyboard.
    Stretching out with my little finger across this useless key has given me repetitive strain and I am one hurting unit at the moment.
    I would be eternally grateful for any advice.

    Sorry, I did not Express correctly my requirements.
    I did not Ask For the Key Board Equvalent.
    In Forms 9i pressing F9 did not bring the attached LOV, i have to select the same from Menu. In order to avert the user to select From Menu. I want to Define F9 Funtion Globally to relfect in all forms through Key Borad Mapping.
    Is it Possible?

  • User mapping for the B2B Internet Sales on the Portal environment

    Dear All,
      We implement a B2B Internet Sales scenario and we use a SAP CRM 4 system as also a SAP Enterprise Portal 6. The problem we have is the following.
      On the portal environment we maintain the SAP CRM as system and we have maintained the user mapping between the portal and the CRM users. The portal users have access on standard SAP transaction like for example the BP, etc. We try to give also access using the SSO functionality on the B2B Internet Sales and the problem on this case is that the Portal user have no the same mapping because on the B2B web site the system uses different user ids. For example I logon on the SAP CRM system with user iq000001 but on the B2B Internet Sales I logon with the user-id 45311.
      Does anyone an idea how I can solve this problem ?
      Thanks in advance

    Dear Tiest,
      Thanks for your reply. So, your answer is correct because when I maintain an internet user for example I use the BP transaction (Business Partner Management) and when I choose the Internet User role then I maintain all the relevant data (user name, alias, etc). The system as you know, automatically creates also an SAP user.
      About your alternative way to create the users using the XCM user administration tool, I have no idea how I will manage the process. Do you have any documentation about that ?
      Thanks in advance

  • When can we buy european maps for the 6110 navigat...

    Hi there,
    Does any people knows when we can buy maps for europe for the 6110 navigator?
    And where from?
    Thanks!

    Hi there.
    Thanks for your reply.
    I can't do that with my phone - that option doesn't work.
    I've got an early version of the phone operating system software and it won't let me.
    Do you mean www.66.com ? That won't let me either.
    The weird thing is, when I go to www.66.com using the Nokia Map Manager, it allows me to download the maps I want, but won't let me pay for them or unlock them....and I've looked.
    Hmm.

Maybe you are looking for