PO for material A while it produces B

I have a special case for chemical industry...
Production Order for  A material released and manufactured..But due to temperature or other situation,the PO produce material B instead of A...
  Do you have any suggestion for this kind of requirement?thanks..
for example:
Production Order for A:
sometimes:it produces A
sometimes:it produces B
sometimes:it produces B & C

Hi,Abhjit:
    Great..btw,with your QM suggestion,is it possible to assign the PO qty to two or three materials?
After qulified,we may find that we get A,B ,C material in this PO...then do we have the option to assined the PO qty to these three material or we can only assing the PO qty to one material ?
     Regarding the batch solution,I am testing it..btw,can we design a special batch number  when we use auto generate batch number?
for example:
if the PO use work center A1,it will get a batch number 201110A1+00001
if the PO use work center A2,it will get a batch number 201110A2+00001
Edited by: Monst Yang on Oct 27, 2011 8:09 PM

Similar Messages

  • Longer time for Material Availability check while creation of prd order.

    Hi guys,
    I am facing a weird problem while creating production orders thru CO01.
    I enter the component and plant and I am also using the forward scheduling option.
    for some reason, SAP is taking a long time for material availability check when I hit the release button.
    Sometimes its taking more than an hour. Its happening with few specific BOM's, and I have checked the master data but I could hardly find a problem in master data.
    Can someone suggest me some tips ??
    Thanks & Regards,
    Sashivardhan

    Hi,
    Please check the Availability check control maintained for Components it should be 01 or 02. Also check the issue storage location maintained or not. You can maintain issue storage location in BOM in Status/lng text tab in Production Storage Location.
    Hope this will help.
    Regards,
    Navin

  • Error while creating sales order for material with another DIVISION

    Hello Friends,
    I have a problem with my sales order creation.
    I have defined a new sales area 0010 / 10 / 01. I have the sales order type assigned to this sales area. (in VOV8 for the sales order type, in the 'General Control' the 'item division' is flagged.
    Now, I have created the sold to party XYZ with all the partner functions defaulted same as the sold to party for the sales area 0010 / 10 / 01.
    NOW, I have the material ABC with the DIVISION 10 in the basic data. I have extended the material to my sales org & dist. channel & plant.
    Now, while creating the sales order for my sales area 0010 / 10 / 01 , I enter the sold to party XYZ - it is OK. But when I enter the material ABC, I get the error - "SHIP TO PARTY IS NOT DEFINED FOR SALES AREA 0010 / 10 / 10"
    Please help to resolve the issue.
    Edited by: Vivek on Aug 13, 2009 9:04 AM

    Hi
    Common division for Material Master data will not work
    Because in the material master Division is a field not an organizational unit
    Means when you create MMR you will give sales org, DC, Plant  as organizational units and then enter but not division
    Division is a field maintained in basic data and sales org data 1
    This is the reason in t code you will find in t code VOR2 Common division only customer and conditions but not materials
    But in t code VOR1 Common DC ,customer  conditions and materials all there are available (you can check these t codes)
    Coming to your issue Item div is clecked in your order type
    This means the division in MMR has the priority or control for that order type
    Your header division is 01 ( taken from customers sales area) and item division is 10 (taken from MMR as per your post)
    So it differs
    To process this order with Item div is clecked in your order type you need to extend your Sold to party ABC to the sales area 0010/10/10 (the sales area where the division of the material falls)
    or alternatively
    There should be a  customer say DEF created in sales area 0010/10/10 who will be a ship to party ( your error is also the same)
    for your ABC  that is sold to party in sales area 0010/10/01 where the order is registered
    Hope yopu are getting it
    ABC in sales area 0010/10/01 will have  or should have ship to paty DEF  in sales area 0010/10/10 
    or
    ABC should operate in in sales area 0010/10/10  too
    If item division is not ticked then these are not necessary as the header division 01 will be valid for all items and syatem will not look MMR at all for division
    Regards
    Raja

  • Error in LSMW while specifying file for Material Cassification and Info Rec

    Hi Friends,
    I'm getting an error in LSMW while specifying file for Material Cassification and Info Record using batch input method.
    The error message i'm getting is:
    "Length of physical file name 'R2R_33_PURCH_INFR_1_PIR_CREATE.lsmw.conv' cannot be longer than 30 characters
    Message no. /SAPDMC/LSMW_OBJ_060049"
    I tried changing the file name but that is not working out. Please help.
    Thanks,
    Amit

    Hi,
    Just try this,
    Go to LSMW, Specify file option, use display/change (Ctrl+F1)
    Select the converted data and double click, change the file name there,
    You will be getting it as "'R2R_33_PURCH_INFR_1_PIR_CREATE"
    Just trim this to "'R2R_33_PUR_INF_1_PIR_CRE"  and try...
    Regards
    Merwyn

  • Moving average price for material is negative: M8 783 while credit memo/MR8M

    Hi,
    We receive an error message :M8 783- "Moving average price for material is negative". This is while we do a credit memo or MR8M.
    This is the screens shot of MB51:
    Below is the PO history for the material in question:
    While cancelling the IR above, the error message apperas as "Moving average price for material in plant is negative".
    Not really clear how this situation should be handled.
    The MAP of this material has not changed.. Its 500$.
    Read the oss notes as well, but would like to get some response from the forum to proceed.
    Regards,
    Shilpa

    Hi Jurgen,
    MR51 for Material-Co.code- Valuation area shows "No accounting documents found".
    Below is the screen shot of S_P00_07000139:
    Current stock level is 8 BG and total stock value is $4000.
    Hope this helps you give me more abswers.
    Regards,
    Shilpa

  • Moving average price for material is negative while MR11.

    Hi
    Encountered "Moving average price for material is negative"  error while performed MR11 transcation.
    GR alerady done but not IR. Few months later, now GR/IR clearance having this issue.
    I could found the material price is being revised (price reduced from earlier GR time).
    Now while performing one time clearance though MR11 (there wouldn't be any IR posting in P.O) having this error.
    Appreciated if any one can advise in steps how to clear.
    Thanks
    RG

    Hi,
    You should define the GR/IR clearing mantenance which will not  update the material stock account! Had better assign another G/L acccount (non-material stock account) to GR/IR clearing!
    Good luck
    Tao

  • Error Mes. While riversing of MIRO-The price for material will be negative

    Hi,
    When doing cancellation of MIRO the system is throwing error message as below.
    “The Price for material 476178 will be negative”
    When analysing purchase order it is identified that invoice TAB of Item Details in PO is not checked with “GR-Bsd IV”, So in this case IR happened before GR and still GR has not happened.
    But when doing cancellation of the above MIRO the system is not allowing to cancel this MIRO and throwing the above error message.
    Please let us know how to cancel the IR.

    Hi,
    u cant cancel any entries in FI, u need to reverse the entries with t code FB08.
    While Creating the PO if u select GR based then the invoice always depend on MIGO transaction
    where u receive the good and u get the Off setting entry GR/IR entry.
    if u are not selecting the GR at PO Creation then, invoice does not depend on MIGO transaction.
    then the invoice is blocked for payment
    try to reverse the MIRO with the T code MR8M.
    Regards,
    Padma

  • Error while creating PR, 'No Procurement defined for material 150'

    Hi,
    I am trying to create purchase requisition.
    I am getting the following errors,
    'No Procurement defined for material 150'
    and 'Enter G/L Account'.
    Please help me to correct these errors.
    Thanks in adv.
    Regards,
    Eswar
    Edited by: Eswar K on Jan 7, 2008 8:29 AM
    Edited by: Eswar K on Jan 7, 2008 8:30 AM

    Hi Eswar,
    I think you have not extended the Purchasing view for that material.
    Goto MM01 and select the material 150 then select the Purchasing view for the Organizational level (plant).
    Or check the Procurement type in MRP2 view for that material.
    Check the cross Plant material status in Basic data 1 & Purchasing view for that material, whether the material is blocked for any procurement.
    Check all these you will find the solution.
    rgds
    Chidanand

  • Internal Batch Generation for Process Order while release not happening

    Hi all
    While releasing Iam having the problem that the system is not generating automatically the batch for the components, I have mantained CORY for production scheduling profile Batch management section for Automatic batch creation in order with value "2". and assigned this to the material (The material to be produced) work scheduling MM View. Also I have activated OMCZ, is there any config I'm missing to the components?
    While releasing I get this error "You must enter the batch for material XXX" and XXX is the component in the BOM.
    Please advise.
    Regards

    Julio:
    if you dont want to create the product batch , so in the scheduling proflie select "NO automatic Batch creation....", or just dont use the profile in the product material master (Transactions CORY and MM02) . If the batch mgmt is active for this product, then SAP ask you for a batch number at goods receipt.
    For the component, in the view MRP 2 (MM02) in the field "batch entry" select "3" - Automatic batch determination. You shoud have previously defined some Batch determination rule and so on. Or you can initially select "2", to make a manual selection. This must be used only in those component whose batch number must be determined in advance.
    Hope this helps
    Saludos

  • Report for material  which not consumed during C015

    HI ALL,
    "I required a report for material which material are not
    consumed at C015 production confirmation time against actual consumation (order wise , part no wise & date wise )"
    its v urgent
    good suggesstion reward with valuable points.

    Amit,
    I think your problem is that you want to monitor when users are deleting the goods issue while confirmation. So you would have to know if for a confirmation qty of 100, the planned consumption should have been 100 but the actual consuption is 50.
    So you would want to relate the confirmation qty with the planned and actual consumption.
    In COOIS Remt, qty and Withdrawal qty will show the total reqmt and actual withdrwal. Hope this will not be helpful if I understand correctly.
    You have to create a simple query joining tables AFVV with RESB. Calculate the planned consuption for the confirmation qty. This along with the actual consuption will help to give what you are looking for.
    I am right ?
    Ram

  • Regarding report for material status

    HI All,
    Can u guys pls help me thre is an error in the report
    which iam presenting now. The error is that iam getting
    the output for units in simple report is 'PC' and iam getting the out put for units in ALV as 'ST'.
    why, i need an immediate reply.
    *& Report  ZSTOCKDETAILS4                                              *
    REPORT  zstockdetails4         NO STANDARD PAGE HEADING
                                   LINE-SIZE 160
                                   LINE-COUNT 60(3).
                  tables declaration                 *
    TABLES : mara,        "general material data
             marc,        "plant data for material
             mard,        "storage location data for material
             makt.        "material description
    TYPE-POOLS : slis.
                 internal table declaration             *
    TYPES : BEGIN OF ty_mara,
            matnr TYPE matnr,
            mtart TYPE mtart,
            meins TYPE meins,
            END OF ty_mara.
    TYPES : BEGIN OF ty_marc,
            matnr TYPE matnr,
            werks TYPE werks,
            END OF ty_marc.
    TYPES : BEGIN OF ty_mard,
            matnr TYPE matnr,
            werks TYPE werks,
            lgort TYPE lgort_d,
            labst TYPE labst,
            END OF ty_mard.
    TYPES : BEGIN OF ty_makt,
            matnr TYPE matnr,
            maktx TYPE maktx,
            END OF ty_makt.
    DATA:t_mara TYPE TABLE OF ty_mara WITH HEADER LINE,
         t_marc TYPE TABLE OF ty_marc WITH HEADER LINE,
         t_mard TYPE TABLE OF ty_mard WITH HEADER LINE,
         t_makt TYPE TABLE OF ty_makt WITH HEADER LINE.
    PARAMETER : p_alv AS CHECKBOX DEFAULT 'X'.
                    final internal table                    *
    TYPES : BEGIN OF ty_out,
            matnr TYPE matnr,
            werks TYPE werks,
            lgort TYPE lgort_d,
            labst TYPE labst,
            meins TYPE meins,
            mtart TYPE mtart,
            maktx TYPE maktx,
            END OF ty_out.
    DATA:t_out TYPE TABLE OF ty_out WITH HEADER LINE.
                 DATA DECLARATION FOR ALV                          *
    DATA : fieldcatalog TYPE slis_t_fieldcat_alv WITH HEADER LINE,
           gd_repid LIKE sy-repid,
           gd_layout TYPE slis_layout_alv,
           gd_tab_group TYPE slis_t_sp_group_alv,
           gt_list_top_of_page TYPE slis_t_listheader,
           it_sortcat TYPE slis_sortinfo_alv OCCURS 1,
           wa_sort LIKE LINE OF it_sortcat.
                  selection screen                                 *
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS : s_werks FOR marc-werks OBLIGATORY,
                     s_matnr FOR mara-matnr,
                     s_mtart FOR mara-mtart,
                     s_lgort FOR mard-lgort.
    SELECTION-SCREEN END OF BLOCK b1.
                 start-of-selection                                 *
    START-OF-SELECTION.
      SELECT matnr mtart meins
                  FROM mara
                    INTO TABLE t_mara
                     WHERE matnr IN s_matnr
                     AND mtart IN s_mtart.
      SORT t_mara BY matnr.
      SELECT matnr werks
                  FROM marc
                  INTO TABLE t_marc
                  FOR ALL ENTRIES IN t_mara
                  WHERE matnr = t_mara-matnr
                  AND werks IN s_werks.
      SORT t_marc BY matnr.
      SELECT matnr  lgort labst
                FROM mard
                INTO CORRESPONDING FIELDS OF TABLE t_mard
                FOR ALL ENTRIES IN t_mara
                WHERE matnr = t_mara-matnr
                AND lgort IN s_lgort.
      SORT t_mard BY matnr.
      LOOP AT t_mara.
        READ TABLE t_marc WITH KEY matnr = t_mara-matnr BINARY SEARCH.
       READ TABLE t_mard WITH KEY matnr = t_mara-matnr BINARY SEARCH.
        MOVE : t_mara-matnr TO t_out-matnr.
        MOVE : t_mara-mtart TO t_out-mtart.
        MOVE : t_mara-meins TO t_out-meins.
        MOVE : t_marc-werks TO t_out-werks.
       MOVE : t_mard-lgort TO t_out-lgort.
       MOVE : t_mard-labst TO t_out-labst.
        SELECT SINGLE matnr maktx
                    FROM makt
                    INTO CORRESPONDING FIELDS OF makt
                    WHERE matnr = t_mara-matnr.
        MOVE-CORRESPONDING makt TO t_out.
        LOOP AT t_mard WHERE matnr = t_mara-matnr.
          MOVE : t_mard-lgort TO t_out-lgort.
          MOVE : t_mard-labst TO t_out-labst.
          APPEND t_out.
          CLEAR : t_out-lgort, t_out-labst.
        ENDLOOP.
        CLEAR t_out.
      ENDLOOP.
      SORT t_out BY werks lgort matnr.
      IF
      p_alv = 'X'.
        PERFORM build_fieldcatalog.
        PERFORM display_alv_report.
      ELSE.
        DATA: tot_lgort TYPE labst,
        tot_werks TYPE labst,
        tot TYPE labst.
        LOOP AT t_out.
          NEW-LINE.
          WRITE :/ sy-vline,  t_out-matnr,
                  15 t_out-werks,
                  35 t_out-lgort,
                  45 t_out-labst,
                  85 t_out-meins,
                 100 t_out-mtart,
                 120 t_out-maktx,160 sy-vline.
          tot_lgort = tot_lgort + t_out-labst.
          tot_werks = tot_werks + t_out-labst.
          tot = tot + t_out-labst.
          AT LAST.
            ULINE.
            WRITE : / 'THE GRAND TAOTAL IS', 52 tot.
          ENDAT.
        ENDLOOP.
      ENDIF.
                           TOP-OF-PAGE                            *
    TOP-OF-PAGE.
      ULINE.
      WRITE : sy-vline, 'MATERIAL',
              15 'PLANT',
              32 'STOR LOC',
              56 'STOCK',
              80 'UNITS',
              95 'MAT TYPE',
             115 'MAT DESCR',160 sy-vline.
      ULINE.
    *&      Form  build_fieldcatalog
          text
    FORM build_fieldcatalog.
      fieldcatalog-fieldname   = 'MATNR'.
      fieldcatalog-seltext_m   = 'Material Number'.
      fieldcatalog-col_pos     = 0.
      fieldcatalog-outputlen   = 10.
      fieldcatalog-emphasize   = 'X'.
      fieldcatalog-key         = 'X'.
    fieldcatalog-do_sum      = 'X'.
    fieldcatalog-no_zero     = 'X'.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR  fieldcatalog.
      fieldcatalog-fieldname  =  'WERKS'.
      fieldcatalog-seltext_m  =  'Plant'.
      fieldcatalog-col_pos    =  1.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR fieldcatalog.
      fieldcatalog-fieldname =  'LGORT'.
      fieldcatalog-seltext_m  =  'Storage Location'.
      fieldcatalog-col_pos    =  2.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR fieldcatalog.
      fieldcatalog-fieldname =  'LABST'.
      fieldcatalog-seltext_m  =  'Stock'.
      fieldcatalog-col_pos    =  3.
      fieldcatalog-outputlen  =  15.
      fieldcatalog-do_sum     =  'X'.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR fieldcatalog.
      fieldcatalog-fieldname =  'MEINS'.
      fieldcatalog-seltext_m  =  'Unit of Measure'.
      fieldcatalog-col_pos    =  4.
    fieldcatalog-datatype   =  'PC'.
    fieldcatalog-reptext_ddic  = 'Unit of Measure'.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR fieldcatalog.
      fieldcatalog-fieldname =  'MTART'.
      fieldcatalog-seltext_m  =  'Material Type'.
      fieldcatalog-col_pos    =  5.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR fieldcatalog.
      fieldcatalog-fieldname =  'MAKTX'.
      fieldcatalog-seltext_m  =  'Material Description'.
      fieldcatalog-col_pos    =  6.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR fieldcatalog.
    ENDFORM.                      "build_fieldcatalog
    *&      Form  display_alv_report
          text
    FORM display_alv_report.
      gd_repid = sy-repid.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
        I_INTERFACE_CHECK                 = ' '
        I_BYPASSING_BUFFER                = ' '
        I_BUFFER_ACTIVE                   = ' '
         i_callback_program                = gd_repid
        I_CALLBACK_PF_STATUS_SET          = ' '
        I_CALLBACK_USER_COMMAND           = ' '
         i_callback_top_of_page            = 'TOP-OF-PAGE'
        I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
        I_CALLBACK_HTML_END_OF_LIST       = ' '
        I_STRUCTURE_NAME                  =
        I_BACKGROUND_ID                   = ' '
        I_GRID_TITLE                      =
        I_GRID_SETTINGS                   =
         is_layout                         = gd_layout
         it_fieldcat                       = fieldcatalog[]
        IT_EXCLUDING                      =
        IT_SPECIAL_GROUPS                 =
         it_sort                           = it_sortcat
        IT_FILTER                         =
        IS_SEL_HIDE                       =
        I_DEFAULT                         = 'X'
        I_SAVE                            = ' '
        IS_VARIANT                        =
        IT_EVENTS                         =
        IT_EVENT_EXIT                     =
        IS_PRINT                          =
        IS_REPREP_ID                      =
        I_SCREEN_START_COLUMN             = 0
        I_SCREEN_START_LINE               = 0
        I_SCREEN_END_COLUMN               = 0
        I_SCREEN_END_LINE                 = 0
        IT_ALV_GRAPHICS                   =
        IT_HYPERLINK                      =
        IT_ADD_FIELDCAT                   =
        IT_EXCEPT_QINFO                   =
        I_HTML_HEIGHT_TOP                 =
        I_HTML_HEIGHT_END                 =
      IMPORTING
        E_EXIT_CAUSED_BY_CALLER           =
        ES_EXIT_CAUSED_BY_USER            =
        TABLES
          t_outtab                          = t_out
       EXCEPTIONS
         program_error                     = 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.
    ENDFORM.                    "display_alv_report

    Hi Sai,
    Please do the following:
    While populating the fileld catalog for "MEINS".
    <u>
    add the shown code in bold:</u>
    fieldcatalog-fieldname = 'MEINS'.
    fieldcatalog-seltext_m = 'Unit of Measure'.
    <b>fieldcatalog-CFIELDNAME = 'MEINS'.
    fieldcatalog-CTABNAME = 'MARA'</b>.
    fieldcatalog-col_pos = 4.
    fieldcatalog-datatype = 'PC'.
    fieldcatalog-reptext_ddic = 'Unit of Measure'.
    APPEND fieldcatalog TO fieldcatalog.
    CLEAR fieldcatalog.
    This will bring you "EA" in place of ST.
    Hope this will work for you.
    Lanka

  • Moving average Price for Material is Negative

    HI Friends,
    I am doing MIRO for PO where its giving me error while posting the Invoice that
    Moving average price for material is negative
    Can any please help me to resolve this.
    what would be the implications if the price difference is too high b/w MAP in Invoice .
    Thnaks
    Purna Nalluri

    It is ofcourse bcoz there is price difference in the between PO and IR....
    so as per the calculations the MAP becomes negative....
    The formula for it is :
    Difference/Current stock holding + current moving average...
    Pls check you price entered at PO and IR....
    There are no any implecations...excepts the price differece is reflected in the MAP of MMR....
    hope it helps...
    Regards
    Priyanka.P
    Edited by: Priyanka Paltanwale on Sep 23, 2008 7:28 AM

  • How to setup a company code for material management

    Hi,
    While creating material in MM01, in sales org tab, when I gave plant XXXX, it is giving an error "Company code YYYY is not setup for material management".
    So can you help me , how to setup a company code for material management
    Help is appreciated
    thanks
    DIL

    Hello Sendil,
    You can maintain it with trns code OMSY or MMPI/MMPV.
    Hope this helps
    Regards
    Arif Mansuri

  • Error during creation of transfer orders for mateRIA

    hi gurus,
    I am getting an error while moving material from sl0c2 to sloc1 which is connected to wh by mvmt 321. the document is getting posted and the stock is coming to sloc1,but the error is
    "Error during creation of transfer orders for mateRIAL.how to correct the error.
    regards
    murugan

    Hi,
    The material is maintained at the Warehouse level, hence warehouse transactions have to be completed, by creating a transfer order and the confirmation of the same will create a transfer posting from SL1 to SL2 in the system. This is trigerred automatically depending on the sytem configuration.
    Regards,
    raghu

  • Valuation Type is missing for Material and Batch

    Hi Experts,
    I am facing issue related to delivery.
    While creating Order to cash cycle for one sales area, there is no error at all, but when I am trying to repeat the same cycle with same customer and material, different sales area and document type, I am not able to save delivery document. and receive error as "Valuation Type is missing for Material X and Batch Y".
    Kindly suggest possible errors.
    Regards,
    Himmanshu

    Check whether the required Valuation type is maintained in material master.  Also, update the error message number.
    G. Lakshmipathi

Maybe you are looking for