Must Sell the same quantity & unit the was bought

Hello  all,
ECC 6
Please help me in the following situation:
Doubt in SD and the integration with MM/ Batch
Here we have several types os Materials that are grouped at Material Group
For a one specific Material of Material Group (MARA-MATKL), the rule is:
I MUSTSELL the same WAY I BOUGHT (quantity and Units).
I mean: If company buys 2 Bags of 10kg each from material FERT01 (that belongs Material Group = FE0001).
Those materials FERT01enter in Stock in a specific Batch.
When I sell this material FERT01, I HAVE TO SELL:
- 1 quantity of material FERT01 with 10kg
- or 2 quantities of material FERT01 with 10kg each
I CAN NOT sell: 1 quantity of material FERT01 with 5kg
or I can't sell:  2 quantities of material FERT01 with 5kg each
or I can't sell: 4 quantities of material FERT01 with 5kg each
Where in SAP I can link this situation: To SELL (SD) the same way (quantity and units) I bought (MM)?
Many thanks,
Barbara

Hello Barbara
Interesting situation.
I don't think you can handle this with config or master data alone. Because you may specify sales units in Sales view and Order Unit in Purchasing view, that doesn't still stop you from receiving or selling in different Units. Secondly you need to identify a batch or lot  ( how they came in) of goods received and ensure they are sold smae way.
Here is what I propose you do:
1) Use batches during sales order entry. You got to do this. User may enter batch for the item. Don't go for batch split during order. So if the order quantity can be supplied from 2 batches, enter 2 items with item quantity matching available batch quantity and so on. You may have some ATP issues to deal with. But that's a different story.
2)  While creating batch, enter the receiving Unit Of Measurement/s  as a characteristic in batch classification. For example, you may mention is as "BAG". I am assuming Bag is a standard one and its conversion to Base Unit Of Measurement (Kg) is maintained in the material master/Basic Data/ Addition data/ Units of measure tab. If it is not standard and you may receive a bag with 50 Kg today and 25 kg tomorrow from the vendor, then you need to maintain the conversion factor also as a characteristic in the batch.
3) Once user enters material, quantity and batch with order sales Units and tries to save, employ user exits to compare order unit to batch unit and if they don't match issue an error. The likely user exits you can use are:
Program MV45AFZZ - USEREXIT_SAVE_DOCUMENT_PREPARE or USEREXIT_SAVE_DOCUMENT
Hope this helps you. Let me know how you are going to proceed.

Similar Messages

  • Must SELL (SD) the same quantity & units that was BOUGHT (MM)

    Hello all,
    ECC 6
    Please help me in the following situation:
    Doubt in SD and the integration with MM/ Batch
    Here we have several types os Materials that are grouped at Material Group
    For a one specific Material of Material Group (MARA-MATKL), the rule is:
    I MUSTSELL the same WAY I BOUGHT (quantity and Units).
    I mean: If company buys 2 Bags of 10kg each from material FERT01 (that belongs Material Group = FE0001).
    Those materials FERT01enter in Stock in a specific Batch.
    When I sell this material FERT01, I HAVE TO SELL:
    - 1 quantity of material FERT01 with 10kg
    - or 2 quantities of material FERT01 with 10kg each
    I CAN NOT sell: 1 quantity of material FERT01 with 5kg
    or I can't sell: 2 quantities of material FERT01 with 5kg each
    or I can't sell: 4 quantities of material FERT01 with 5kg each
    Where in SAP I can link this situation: To SELL (SD) the same way (quantity and units) I bought (MM)?
    Many thanks,
    Barbara

    SAP allows to use alternative units of measures for sales, purchasing, warehousing, consumption ..
    There is no way to restrict this usage.
    there is no link between the sales order and purchase order if you procure to store the material in your warehouse.
    Such link is only there for third party orders, or if you procure directly to sales order.
    If you material is a discrete unit of 10 kg, and you dont want that people can enter sales orders for 5kg of this material, then maintain a delivery unit of 10 in sales view of your material master. so the sales order can only have 10 or a multiple of 10 as quantity.

  • I am in the middle of a job using CS 6, but at the same time opening the Creative Suite apps.  I created an InDesign file in CS 6, saved it, and now I can't open it. I'm getting this message: Cannot open file because it was saved with a newer version of A

    I am in the middle of a job using CS 6, but at the same time opening the Creative Suite apps.  I created an InDesign file in CS 6, saved it, and now I can't open it. I'm getting this message: Cannot open file because it was saved with a newer version of Adobe InDesign CC (10.1). You must use that version or later to open the file." AARRGGHH! So how do I access the file?

    Sounds like you opened and saved it in CC, so now you need to go back to CC and either complete the project there, or export to IDML to take it back into CS6.

  • HT1399 Why cant I create a playlist for my music/song videos? Continuous play is also not possible in the video app on the phone!!!! previously, prior to IOS 6, it was possible to have both music videos & songs mixed in the same playlist in the music app

    Why cant I create a playlist for my music/song videos? Continuous play is also not possible in the video app on the phone!!!! previously, prior to IOS 6, it was possible to have both music videos & songs mixed in the same playlist in the music app

    I am back with an update. I turned off Match on both the ipad and the iphone 5. By doing so I was able to sync my Iphone and ipad to itunes and store the music on my devices rather than the slow streaming.  So far this has fixed my problems with the iphone I have all my music, playlist, most of the album art and so on.  But the ipad is a different story.  I have the music and artist but not one playlist  I am sure Apple will have an upgrade soon that will address these issues they are usually very good about this. 
    Now have any of you experienced another problem that has existed as long as I have used faces in Aperture.
    I have over 200 faces and they are organized a-z problem is I have this going on A-Z folowed by a few that start over A-Z followed by another few A-Z and again a 4th time A-Z.  Imagine how difficult it is while I am showing someone the great features of my iphone, ipad and imac.  Which I do talk highly of all the time.  But how do I explain that even though their name starts with a or b or what ever they are not important enough to me to be in the first list of A-Z or even the 2nd or 3rd list of A-Z someohow they are in the 4th section of the list!!!!
    I have managed to get the Imac to fix this but for some reason the IOS devices do not.   Any ideas?
    Thanks Al

  • HT204053 Me and my daughter had been using the same apple id, she was triyng to change it now all of my iphone contact are gone, what can i do ti get it back , this is very important to me.

    Me and my daughter had been using the same apple id, she was triyng to change it, now all of my iphone contact are gone, what can i do ti get it back , this is very important to me.

    Your contacts are helpd on the server, so if you sign out from your iCloud account and sign into another one they will disappear. If you sign back into the original account they will reappear.

  • In Final Cut Pro I was trying to move an Event Library from one hard drive to another as explained in the Help section.  After doing so, I received a message that my event is already open with the same identifier as the new one I just creat

    In Final Cut Pro I was trying to move an Event Library from one hard drive to another as explained in the Help section.  After doing so, I received a message that my event is already open with the same identifier as the new one I just created on the new disk.  It says the second document cannot be opened and to move one of these documents out of your Final Cut Events folder.  It also says to avoid this problem, copy events from within Final Cut Pro, but that is what I did in the first place.  What should I do to avoid the double opening conflict?

    What exactly are you doing and what version are you using with OS X 10.8?

  • Can't update software because a message appears that I have to log with the same Apple ID that was used to purchase them: iMovie, Garage Band

    I can't update software because a message appears that I have to log with the same Apple ID that was used to purchase them: iMovie, Garage Band, iPhoto, but those apps came with OSX Lion.
    How can I get the "original" Apple ID?

    Support Downloads
    http://support.apple.com/downloads/
    Luckily, there is always more than one way to update software.

  • With previous editions of iTunes for Windows, I could play a CD at the same time as it was being imported. That does not work anymore. Why not, and is there a way to do both with the most current version?

    With previous editions of iTunes for Windows, I could play a CD at the same time as it was being imported. That does not seem to work anymore. Why not, and is there a way to do both with the most current version? I am running a Surface Pro 2 with Windows 8.1 and the most recent vesion of iTunes, which, in all other respects, works well. I just can't listen to an album for the 1/2 to 1 hour that it takes to import it into my library.

    Two JVM's ? I thought that J2EE worked within a single JVM and run everything in containers. Can you see the two processes?

  • We have a 10 person office - all either use Acrobat XI or Reader XI.  One person is on Windows 7.  The rest are on Windows 8 (not 8.1).  I say this because I thought it was a Windows 8 issue, but having the same problems on the Windows 7 machine. We are a

    We have a 10 person office - all either use Acrobat XI or Reader XI.  One person is on Windows 7.  The rest are on Windows 8 (not 8.1).  I say this because I thought it was a Windows 8 issue, but having the same problems on the Windows 7 machine. We are all having problems opening pdf's sent to us from other firms. This has increased in frequency over the past two months. We've checked with the various firms, and their other clients are not having problems. Some pdfs open but with a lot of missing content and strange formatting, others won't open at all.  There are different error messaged depending upon the doc.  Some are regarding the fonts, for example "can't extract the embedded font...."  Others are "insufficient data" errors.  There are more, but for purposes of keeping this short, I won't include them.  Another unrelated issue is that we are having trouble printing excel files to pdf.  The files end up with bad formatting.  I've worked with adobe "chat" support, our IT consultants with no resolution.  I also haven't found any similar "known issue" online  Would very much appreciate any assistance.  Thank you

    The font embedding can be a problem if not done and you are trying to view the PDF and do not have the font on your machine. Acrobat will often try to find a replacement, but it is not always a good choice. Sometimes the "Use Local Fonts" button can be changed in state to resolve some of the viewing issues.
    If you are trying to copy or export info, then it is important that you have the fonts on your system. Otherwise, the message you are getting about embedded fonts would not be showing up.
    As for Excel formatting, be sure that the Adobe PDF printer is selected in the printer screen before you look for the paging and formatting of the file. In most OFFICE programs, if you change the printer the application will reflow the document to best match the printer (called "using printer metrics"). So check before you create the PDF that the layout is correct.

  • I used to give my photo's keywords. Most of the time I have several photo's for the same keyword and it was possible to select all those photo's and give them the keyword in one move. Since of few weeks I can't do that anymore and I find it very annoying.

    I used to give my photo's keywords. Most of the time I have several photo's for the same keyword and it was possible to select all those photo's and give them the keyword in one move. Since of few weeks I can't do that anymore and it's very annoying. What can I do to get back to the former situation?

    . Since of few weeks I can't do that anymore and it's very annoying. What can I do to get back to the former situation?
    Check, if you have the "Primary Only" option enabled. Then keywords will only be applied to the "Primary Image":
    See:                  Keywords or ratings are applied only to one of the selected images - why?
    Uncheck the little square button with the "1".

  • When trying to upload pictures from my camera I get this message although I have uploaded from the same camera in the pastiPhoto cannot import your photos because there was a problem downloading an image.

    When trying to upload pictures from my camera I get this message although I have uploaded from the same camera in the past, "iPhoto cannot import your photos because there was a problem downloading an image."

    Can you access the images with Image Capture (in your Applications Folder) ?

  • ADMT 3.2 Migrate users to the same organizational unit in the Target Domain as they are in the Source Domain?

    Hi,
    I am in the middle of a inter forest migration and have created the target domain (TargetDomain.local) 2008R2 and Source Domain (SourceDomain.Local) 2008R2 with a two way trust. I have installed ADMT 3.2 on a server in the Target Domain. I am able to migrate
    users form the source domain to the target domain. I have copied the OU Structure from the source domain to the target domain. The issue I am currently facing is that I would like to find a way to migrate all users from the source domain to the target domain
    and the users migrate to the same OU as the source. I have looked at the include file option but cannot find a way of specifying the source and target OU's.
    Please could someone help me with this, Thanks.

    Hi,
    You need to create the same OU on target domain, then do the user account migration.
    On Organizational Unit Selection page, select Browse and select target OU, then click OK.
    For the more and detail information, please refer to this article:
    http://social.technet.microsoft.com/wiki/contents/articles/16621.interforest-migration-with-admt-3-2-part-3.aspx#Group_Account_Migration
    Regards.
    Vivian Wang

  • Error "Members, tuples or sets must use the same hierarchies in the function" in MDX

    the following MDX returns error: "Members, tuples or sets must use the same hierarchies in the function"
    WITH
    MEMBER [Measures].[Prev Year] AS
    [Measures].[returns],
    PARALLELPERIOD
    [Exec Date].[Year].Levels('Year'),
    1,
    [Exec Date].[Year].CURRENTMEMBER
    MEMBER [Measures].[Prev Month] AS
    [Measures].[returns],
    PARALLELPERIOD
    [Exec Date].[Month Num].Levels('Month Num'),
    1,
    [Exec Date].[Month Num].CURRENTMEMBER
    MEMBER [Measures].[Prev Day] AS
    [Measures].[returns],
    PARALLELPERIOD
    [Exec Date].[Day].Levels('Day'),
    1,
    [Exec Date].[Day].CURRENTMEMBER
    SELECT NON EMPTY { StrToMember("@ExecDateLevel"), [Measures].[returns] } ON COLUMNS, NON EMPTY { ([Employees].[Company].[Company].ALLMEMBERS ) } DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS FROM (
    SELECT (
    STRTOSET(@ExecDateHierarchy, CONSTRAINED)
    ) ON COLUMNS FROM [cbSales]) WHERE ( IIF( STRTOSET(@ExecDateHierarchy, CONSTRAINED).Count = 1, STRTOSET(@ExecDateHierarchy, CONSTRAINED), [Exec Date].[Hierarchy].currentmember ) ) CELL PROPERTIES VALUE, BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING, FONT_NAME, FONT_SIZE, FONT_FLAGS
    and when I replace "StrToMember(@ExecDateLevel)" with
    StrToMember("[Measures].[Prev Month]") the MDX is compiled correctly.
    what is the problem?
    How can I solve that?

    Hi Breceive,
    In your scenario, the issue is caused by that you select dimension members and measures on the same axis without a crossjoin.
    SELECT NON EMPTY {  StrToMember("@ExecDateLevel"), [Measures].[returns] } ON COLUMNS
    To avoid this issue, you can use the query below.
    WITH
    MEMBER [Measures].[Prev Year] AS
    [Measures].[returns],
    PARALLELPERIOD
    [Exec Date].[Year].Levels('Year'),
    1,
    [Exec Date].[Year].CURRENTMEMBER
    MEMBER [Measures].[Prev Month] AS
    [Measures].[returns],
    PARALLELPERIOD
    [Exec Date].[Month Num].Levels('Month Num'),
    1,
    [Exec Date].[Month Num].CURRENTMEMBER
    MEMBER [Measures].[Prev Day] AS
    [Measures].[returns],
    PARALLELPERIOD
    [Exec Date].[Day].Levels('Day'),
    1,
    [Exec Date].[Day].CURRENTMEMBER
    SELECT NON EMPTY { StrToMember("@ExecDateLevel")*[Measures].[returns] } ON COLUMNS, NON EMPTY { ([Employees].[Company].[Company].ALLMEMBERS ) } DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS FROM (
    SELECT (
    STRTOSET(@ExecDateHierarchy, CONSTRAINED)
    ) ON COLUMNS FROM [cbSales]) WHERE ( IIF( STRTOSET(@ExecDateHierarchy, CONSTRAINED).Count = 1, STRTOSET(@ExecDateHierarchy, CONSTRAINED), [Exec Date].[Hierarchy].currentmember ) ) CELL PROPERTIES VALUE, BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING, FONT_NAME, FONT_SIZE, FONT_FLAGS
    Here is a similar thread for you reference.
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/3c21d9a8-640d-4dde-bc76-08d1fcbb3a31/multiple-dimension-query?forum=sqlanalysisservices
    Regards,
    Charlie Liao
    TechNet Community Support

  • Must have the same type and the same length

    hi experts,
    DELIVERY_PLANT  data type STRING    //from proxy class, can't be changed
          BEGIN OF ty_citem,
              article type matnr,
              werks   type werks,
           END OF ty_citem,
    LOOP AT it_items INTO lv_item.
        lv_citem-article = lv_item-article.
        lv_citem-werks = lv_item-DELIVERY_PLANT.
        APPEND lv_citem TO GT_citem.
        clear lv_citem.
      ENDLOOP.
    SELECT matnr werks
           from marc
           into table GT_marc
           for all entries in GT_citem
           where matnr = GT_citem-article  and werks = GT_citem-werks.
    error message here:When you use the addition "FOR ALL ENTRIES IN itab", the fields "WERKS"
    and "GIT_CITEM-WERKS" must have the same type and the same length.

    Hi,
    You know for statement FOR ALL ENTRIES in where clause data type and length should be match.
    As per my understanding ,here GT_citem-werks is a string. But you know data type of WERKS_D is char with lencth 4.
    Use the below select statement.
    SELECT matnr werks
           from marc
           into table GT_marc
           for all entries in GT_citem
           where matnr = GT_citem-article  and werks = GT_citem-werks+0(4).
    Thanks.
    Subhankar

  • I copy a pdf to my desktop to remove some pages, when I go to my original PDF, it's been althered the same way my copy was???

    Please help me,
    I copied a pdf to my desktop to remove some pages, when I go to my original PDF, it's been althered the same way my copy was???
    Also, after a numbers of time, I delete everything from my desktop, I keep the folder where I've stored my PDF, copy the original pdf in it (after I make sure the original PDF was still intact), once copied, the copied version has the changes I've made in it from my previous operation.
    Do you have any ideas?

    Make sure it's not an alias.
    Chris

Maybe you are looking for

  • SCCP is not supported on Cisco unity express?

    Hey, I was reading some integration (with CME or CUCM) articles on interweb and somehow I got this impression that SCCP is not supported or working well on CUE... MWI will be using SIP if CUE and CME are integrated, what about CUCM? I checked SCCP Co

  • OBIEE 11g on Linux - do I need a DB Client Installed???

    I have installed an 11gR2 database on an OEL Virtual Machine, and on a separate VM installed OBIEE 11.1.1.5. The RCU created the metadata required for BI - and out of the box, OBIEE works absolutely fine. Now I'm trying to migrate a database and RPD

  • Not able to buy Logic Pro X from Mac App store HELP

    Okay so this has been an on going issue for the past few days, I feel like I've learned everything in garageband and I am ready to move onto Logic, but once I attempt to purchase it off of the Mac App Store, I get a pop up saying "your purchase could

  • How to use multitouch on ios7

    I cannot close my app or other with multitouch

  • IPod Touch future add-ons?

    Im wondering, the iPod TOuch...does it have bluetooth capabilities? I know it is definitely wifi accessible. im just curious with the devices theyve created and how open ended and ridiculous possibilities that can be created and used with these new d