Subcontracting(Internal)

Hi,
I'm having the scenario of Subcontracting(Internal). Here Finished and semifinished product need to produced. Sales order will be created for finished product. The customer will give the raw materials. So, we are receiving the stock as customer stock.
When i run the MRP for Finished product, requirements will be generated. When i convert to production order, the dependent materials will have the special stock indicator 1 for packaging materials.
For the semifinshed product, planned order created with out sales order reference. But my raw material stock is with special stock indicator. If i'm giving the special stock indicator as1 for all raw materials manually in the process order for semifinished product system is throwing the error as
You cannot make an assignment to make-to-order stock
Message no. CO684
i changed settlement profile to SD1 and tried. Same error i'm getting.
Please help me to resolve.
Naren

Hi,
I maintained the 2 in Individual/Collective Req. While doing the goods issue for the raw materials, i'm not getting the stock for the goods issue. Raw materials stock is available with the sales order number. But in the process order there is no refernce for raw materials.
How to handle this scenario.
I dont have sales order for semifinished product. I tried to put special stock indicator 1 in process orders components list. When i'm maintaing i got the error as mentioned above.
Pls help me.
Naren

Similar Messages

  • Internal Order error in GRN of subcontract PO

    Dear All
    i have created subcontracting PO without any account assignment category.
    While doing GRN of Finished good the following error occurs
    Internal Order entered  in not Correct. Please check.
    Message no. /ISDFPS/FDPDAHHM019
    i am wondering that I have not entered any internal order in PO but system throughs the above error
    Please help me
    Thnks
    Ranjith

    Hello
    have you checked the setting of your accounts? Maybe the GBB/VBR account is defined as cost element.
    Cheers
    Aude

  • Internal Subcontracting (Toll Processing)

    Dear Logistic/MM expert,
    We have requirement that our sister company is doing subcontracting to us (toll manufacturing).
    Basically our sister company is supplying us the main raw material and then
    we add our company own material plus some overhead.
    The problem is we need our company to recognize the COGS during we produce
    in the same period.
    Example: in April we produce 1000 CTN, we dispatch the goods to customer (sister company) 800,
    we want to recognize the COGS on April based on 1000 CTN (not based on 800). The remaining
    200 we just need to record quantity.
    My question is:
    - What is SAP best practice of internal subcont (toll manufacturing)?
    - Any idea how to recognize COGS in produced quantity?
    something cross in our mind is we sell all  right after we produced and receive remaining qty in virtual Plant non valuated.
    That means once 1000 CTN  is produced we sell it immediately (to recognize 1000 CTN as COGS),
    then remaining stock of 200 CTN (physical dispatched 800 CTN) we need to GR again in different plant (which is non valuated)
    or
    Is there any idea to simplify this process?  :roll:
    Moreover we implement material ledger   
    Thanks in advance,
    Subur

    Dear Logistic/MM expert,
    We have requirement that our sister company is doing subcontracting to us (toll manufacturing).
    Basically our sister company is supplying us the main raw material and then
    we add our company own material plus some overhead.
    The problem is we need our company to recognize the COGS during we produce
    in the same period.
    Example: in April we produce 1000 CTN, we dispatch the goods to customer (sister company) 800,
    we want to recognize the COGS on April based on 1000 CTN (not based on 800). The remaining
    200 we just need to record quantity.
    My question is:
    - What is SAP best practice of internal subcont (toll manufacturing)?
    - Any idea how to recognize COGS in produced quantity?
    something cross in our mind is we sell all  right after we produced and receive remaining qty in virtual Plant non valuated.
    That means once 1000 CTN  is produced we sell it immediately (to recognize 1000 CTN as COGS),
    then remaining stock of 200 CTN (physical dispatched 800 CTN) we need to GR again in different plant (which is non valuated)
    or
    Is there any idea to simplify this process?  :roll:
    Moreover we implement material ledger   
    Thanks in advance,
    Subur

  • Service Internal Subcontracting (Toll Processing)

    Dear SAP Expert,
    We have requirement that our sister company is doing subcontracting to us (toll manufacturing).
    Basically our sister company is supplying us the main raw material and then
    we add our company own material plus some overhead.
    The problem is we need our company to recognize the COGS during we produce
    in the same period.
    Example: in April we produce 1000 CTN, we dispatch the goods to customer (sister company) 800,
    we want to recognize the COGS on April based on 1000 CTN (not based on 800). The remaining
    200 we just need to record quantity.
    My question is:
    - What is SAP best practice of internal subcont (toll manufacturing)?
    - Any idea how to recognize COGS in produced quantity?
    something cross in our mind is we sell all  right after we produced and receive remaining qty in virtual Plant non valuated.
    That means once 1000 CTN  is produced we sell it immediately (to recognize 1000 CTN as COGS),
    then remaining stock of 200 CTN (physical dispatched 800 CTN) we need to GR again in different plant (which is non valuated)
    or
    Is there any idea to simplify this process?  :roll:
    Moreover we implement material ledger   
    Thanks in advance,
    Subur

    Dear SAP Expert,
    We have requirement that our sister company is doing subcontracting to us (toll manufacturing).
    Basically our sister company is supplying us the main raw material and then
    we add our company own material plus some overhead.
    The problem is we need our company to recognize the COGS during we produce
    in the same period.
    Example: in April we produce 1000 CTN, we dispatch the goods to customer (sister company) 800,
    we want to recognize the COGS on April based on 1000 CTN (not based on 800). The remaining
    200 we just need to record quantity.
    My question is:
    - What is SAP best practice of internal subcont (toll manufacturing)?
    - Any idea how to recognize COGS in produced quantity?
    something cross in our mind is we sell all  right after we produced and receive remaining qty in virtual Plant non valuated.
    That means once 1000 CTN  is produced we sell it immediately (to recognize 1000 CTN as COGS),
    then remaining stock of 200 CTN (physical dispatched 800 CTN) we need to GR again in different plant (which is non valuated)
    or
    Is there any idea to simplify this process?  :roll:
    Moreover we implement material ledger   
    Thanks in advance,
    Subur

  • Internal Subcontracting (Toll Manufacturing)

    Dear SAP Expert,
    We have requirement that our sister company is doing subcontracting to us (toll manufacturing).
    Basically our sister company is supplying us the main raw material and then
    we add our company own material plus some overhead.
    The problem is we need our company to recognize the COGS during we produce
    in the same period.
    Example: in April we produce 1000 CTN, we dispatch the goods to customer (sister company) 800,
    we want to recognize the COGS on April based on 1000 CTN (not based on 800). The remaining
    200 we just need to record quantity.
    My question is:
    - What is SAP best practice of internal subcont (toll manufacturing)?
    - Any idea how to recognize COGS in produced quantity?
    something cross in our mind is we sell all  right after we produced and receive remaining qty in virtual Plant non valuated.
    That means once 1000 CTN  is produced we sell it immediately (to recognize 1000 CTN as COGS),
    then remaining stock of 200 CTN (physical dispatched 800 CTN) we need to GR again in different plant (which is non valuated)
    or
    Is there any idea to simplify this process? 
    Moreover we implement material ledger   
    Thanks in advance,
    Subur

    Hi Subur
    Dont worry.. Its quite a common scenario and I have myself implemented it in the past...
    The main challenge in this case is that for your Company its a Non valuated stuff.. however, for the Sister Company, its a valuated stuff.... With right kind of settings, you can achieve it....
    The way I have implemented is as below
    1. Use MTO scenario where Sales Order is the CO object...
    2. IMG Settings
    a. Create a requirement class in IMG > CO > Prod Cost Contr > Cost Obj Contr > Product cost by Sales order > Control of Sales-Order-Related Production/Product Cost by Sales Order > Check Req Class
    Assign Account Assignment Catg = E; Valuation Field = Blank; And a Settlement Profile
    b. Assign this requirement class to your requirement type and hand it over to your SD guy... The SD guy needs to assign this Req Type to his item category and always determine this Item category in the Inter Company Sub contracting Sales order...
    Its advisable you create a separate sales order type for it
    3. Process
    a. Create a Sales order in Company A (Company B is the Sister Concern)
    It may have 2 materials i.e. One material will be the FG and another will be service material for Sub contracting charges
    b. Receive the raw material supplied by Company B against the sales order... Mvt Type 501 E.... (This would receive the stock in your books as Non valuated i.e. @ Zero value)
    c. Create a Production order for the FG associated with the Sales order.. (CO08)
    d. Issue the goods to the prod order / Confirm the operations
    e. Do the GR from prod order... The GR will be Non valuated in Company A.... Only Qty will be updated in the stock.. No Value
    f. At period end, settle the Prod order upon sales order.... With this, the total cost of 1000 will be settled to Sales order
    g. Do the billing, which will also post to the Sales order....
    h. Settle the sales order from VA88... This will settle the total cost of 1000 CNT to COPA....
    4. Ensure that the Item Category / Req Class you use in this process for Company A, should not be used for Company B.. Else, it would also be treated as Non valuated GR in Company B as well
    br, Ajay M

  • Internal Subcontracting

    Hi All,
    I need kind help in mapping the following scenario..
    My client does the subcontracting work for the customer. The input materials are provided by the customer and after doing the production process the produced material is sold to the customer. I am using PP-PI and that too without MRP.
    Please let me know the complete cycle right from procurement of the customer supplied material to production and than to sales to the customer.
    Thanks and Regards,
    Anup Dubey

    Hi
    http://sap-img.com/sap-sd/consignment-sales-process-in-sap.htm
    Hope this will be help full
    Thanks
    Prashanth
    Reward point if this info was usefull

  • REPORT FOR SUBCONTRACTING

    DEAR FRIENDS,
    I am making a program for tracking the materials given (mb1b 541 movt.) for subcontracting and taken by me (101 for actual good receipt, 543 for the given material- stock type inward, 545 for the scrap returns). but while i made the program i am unable to pick up the materials BOM from the PO which is essential to take the difference between these and the supplied quantities taken-in by GR.
    following is the program.
    Please suggest the changes.   Thanks,
    Deepak
    *& Report  ZMM_SUBCONTRACTING_PO_REPORT
    *& Author:
    *& Date  :
    *& Reason: Sub Contracting PO Report.
    *&         Find Discreprancy in PO and BOM. according to 543 and 545
    REPORT  ZMM_SUBCONTRACTING_PO_REPORT NO STANDARD PAGE HEADING
                                         LINE-SIZE 157.
    *& TABLES DECLARATION
    TABLES: EKKO,
            EKPO,
            EKBE,
            ENT5303.
    *& SELECTION-SCREEN.
    SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS: S_MATNR FOR EKPO-MATNR,
                    S_WERKS FOR EKBE-WERKS OBLIGATORY.
    PARAMETERS:     P_BUKRS LIKE EKKO-BUKRS OBLIGATORY.
    SELECT-OPTIONS: S_BUDAT FOR EKBE-BUDAT OBLIGATORY,
                    S_EBELN FOR EKKO-EBELN,
                    S_BELNR FOR EKBE-BELNR,
                    S_GJAHR FOR EKBE-GJAHR.
    SELECTION-SCREEN: END OF BLOCK B1.
    *& INTERNAL TABLES DECLARATION.
    DATA: BEGIN OF IT_EKKO OCCURS 0,
          EBELN LIKE EKKO-EBELN,
          END OF IT_EKKO.
    DATA: BEGIN OF IT_EKBE OCCURS 0,
          EBELN LIKE EKBE-EBELN,
          EBELP LIKE EKBE-EBELP,
          GJAHR LIKE EKBE-GJAHR,
          BELNR LIKE EKBE-BELNR,
          BUZEI LIKE EKBE-BUZEI,
          BEWTP LIKE EKBE-BEWTP,
          BWART LIKE EKBE-BWART,
          BUDAT LIKE EKBE-BUDAT,
          MENGE LIKE EKBE-MENGE,
          DMBTR LIKE EKBE-DMBTR,
          LFBNR LIKE EKBE-LFBNR,
          MATNR LIKE EKBE-MATNR,
          WERKS LIKE EKBE-WERKS,
          BUKRS LIKE WB2_V_EKKO_EKPO2-BUKRS,
          MENGE_I LIKE WB2_V_EKKO_EKPO2-MENGE_I,
          LIFNR LIKE WB2_V_EKKO_EKPO2-LIFNR,
          COUNT TYPE P DECIMALS 4,
          BMENGE LIKE EKBE-MENGE,
          MENGE101 LIKE EKBE-MENGE,
          MENGE543 LIKE EKBE-MENGE,
          MENGE545 LIKE EKBE-MENGE,
          DIFFER   LIKE EKBE-MENGE,
          TMENGE   LIKE EKBE-MENGE,
          RATE     LIKE EKBE-DMBTR,
          NAME1 LIKE LFA1-NAME1,
          LINE_COLOR(4),
          END OF IT_EKBE.
    DATA: WA LIKE IT_EKBE.
    DATA: BEGIN OF IT_FINAL OCCURS 0.
          INCLUDE STRUCTURE IT_EKBE.
    DATA: END OF IT_FINAL.
    DATA: BEGIN OF IT_FINAL_TEMP OCCURS 0.
          INCLUDE STRUCTURE IT_EKBE.
    DATA: END OF IT_FINAL_TEMP.
    DATA: BEGIN OF IT_BOM OCCURS 0.
          INCLUDE STRUCTURE CAPP_ITM.
    DATA: END OF IT_BOM.
    DATA: BEGIN OF IT_BOM_HEAD OCCURS 0.
          INCLUDE STRUCTURE CAPP_BOM.
    DATA: END OF IT_BOM_HEAD.
    *& DATA DECLARATION.
    DATA: COUNT TYPE P DECIMALS 4,
          V_CNT TYPE P DECIMALS 4 VALUE '0.0001' ,
          V_MENGE LIKE EKBE-MENGE,
          V_DELETE.
    TYPE-POOLS: slis.
    DATA:  l_date(12) TYPE c,
           l_date1(12) TYPE c,
           l_time(10) TYPE c,
           l_list(60) TYPE c.
    DATA:  CATALOG TYPE SLIS_FIELDCAT_ALV, "FIELDCAT
           TCATALOG TYPE SLIS_T_FIELDCAT_ALV, "IT FIELDCAT
           EVENT TYPE SLIS_ALV_EVENT, "EVENT
           TEVENT TYPE SLIS_T_EVENT,  "IT EVENT
           LAYOUT TYPE SLIS_LAYOUT_ALV, "LAYOUT
           PG_TOP TYPE SLIS_FORMNAME VALUE 'TOP_OF_PAGE',
           PG_HEAD TYPE SLIS_T_LISTHEADER,
           EXIT1  TYPE SLIS_EXIT_BY_USER,
           VAR1 LIKE DISVARIANT,
           VAR2 LIKE DISVARIANT.
    *& START-OF-SELECTION.
    START-OF-SELECTION.
    PERFORM PROCESS_SELECTION.
    PERFORM DELETE_CANCELLED_DOCUMENTS.
    PERFORM EXPLODE_BOM_FOR_101.
    SORT IT_FINAL BY COUNT.
    PERFORM DISPLAY_OUTPUT.
    FREE IT_FINAL_TEMP.
    *& ALV FORMATTING
    *&                  ALV DISPLAY
      PERFORM GENERATE_ALV_FIELDCAT.
    PERFORM EVENTS USING TEVENT.
    PERFORM TEXT USING PG_HEAD.
      PERFORM ALV_SHOW.
    *& FORM PROCESS_SELECTION.
    FORM PROCESS_SELECTION.
    SELECT
      A~EBELN
      A~EBELP
      A~GJAHR
      A~BELNR
      A~BUZEI
      A~BEWTP
      A~BWART
      A~BUDAT
      A~MENGE
      A~DMBTR
      A~LFBNR
      A~MATNR
      A~WERKS
      B~BUKRS
      B~MENGE_I
      B~LIFNR
    FROM
      EKBE AS A
    JOIN
      WB2_V_EKKO_EKPO2 AS B
    ON
      AEBELN = BEBELN AND
      AEBELP = BEBELP_I
    INTO
      CORRESPONDING FIELDS OF TABLE IT_EKBE
    WHERE
    A~MATNR IN S_MATNR AND
      A~WERKS IN S_WERKS AND
      A~BUDAT IN S_BUDAT AND
      A~EBELN IN S_EBELN AND
      A~BELNR IN S_BELNR AND
      A~GJAHR IN S_GJAHR AND
      A~VGABE IN ('1', '7') AND
      A~BEWTP IN ('E', 'O') AND
      ( A~BWART IN ('101', '545', '543') OR
      ( ABWART = '102' AND ABEWTP = 'E' ) ) AND
      B~BUKRS = P_BUKRS AND
      B~BSTYP = 'F' AND
      B~BSART = 'SUBC'."AND
    B~LOEKZ <> 'X'.
    SORT IT_EKBE BY EBELN EBELP GJAHR BELNR BUZEI.
    ENDFORM.
    *& FORM DELETE_CANCELLED_DOCUMENTS.
    FORM DELETE_CANCELLED_DOCUMENTS.
    DELETE IT_EKBE WHERE BWART = '102' AND BEWTP <> 'E'.
    LOOP AT IT_EKBE WHERE BWART = '102'.
      READ TABLE IT_EKBE INTO WA WITH KEY BELNR = IT_EKBE-LFBNR.
      IF SY-SUBRC = 0.
        DELETE IT_EKBE WHERE BELNR = WA-BELNR.
      ENDIF.
    ENDLOOP.
    CLEAR WA.
    DELETE IT_EKBE WHERE BWART = '102'.
    ENDFORM.
    *& FORM EXPLODE_BOM_FOR_101.
    FORM EXPLODE_BOM_FOR_101.
    CLEAR COUNT.
    LOOP AT IT_EKBE WHERE BWART = '101' OR
                          BWART = '543'.
    IF NOT IT_EKBE-MATNR IN S_MATNR.
      V_DELETE = 'X'.
    ELSE.
      CLEAR V_DELETE.
    ENDIF.
    IF V_DELETE <> 'X'.
    COUNT = COUNT + 1.
    IT_EKBE-COUNT = COUNT.
    V_MENGE = IT_EKBE-MENGE.
    MODIFY IT_EKBE.
    IT_FINAL = IT_EKBE.
    APPEND IT_FINAL.
    ENDIF.
      call function 'CABM_READ_BOM'
        exporting
          I_MATNR               = IT_EKBE-MATNR
          I_WERKS               = IT_EKBE-WERKS
          I_STLAL               = '01'
          I_STLAN               = '3'
          I_DATUV               = IT_EKBE-BUDAT
        TABLES
          EXP_BOM_DATA          = IT_BOM_HEAD
          EXP_ITM_DATA          = IT_BOM
       EXCEPTIONS
         NO_RECORD_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.
      ELSE.
    *START RK 18.06.2007
      DELETE IT_BOM WHERE DATUV > IT_EKBE-BUDAT.
    END : 18.06.2007
        IF V_DELETE = 'X'.
          LOOP AT IT_BOM.
            DELETE IT_EKBE WHERE MATNR = IT_BOM-IDNRK.
          ENDLOOP.
          REFRESH IT_BOM.
        ELSE.
          PERFORM CHECK_BOM_GR.
        ENDIF.
      endif.
    ENDLOOP.
    FREE IT_EKBE.
    ENDFORM.
    *& FORM CHECK_BOM_GR.
    FORM CHECK_BOM_GR.
    DATA: WACNT TYPE P DECIMALS 4.
    WACNT = COUNT.
    LOOP AT IT_BOM.
      READ TABLE IT_EKBE INTO WA WITH KEY EBELN = IT_EKBE-EBELN
                                          MATNR = IT_BOM-IDNRK.
      IF SY-SUBRC = 0.
        WACNT = WACNT + V_CNT.
        WA-COUNT = WACNT.
        WA-BMENGE = IT_BOM-MENGE.
        WA-TMENGE = V_MENGE.
        APPEND WA TO IT_FINAL.
        DELETE IT_EKBE WHERE EBELN = WA-EBELN AND
                             EBELP = WA-EBELP AND
                             MATNR = WA-MATNR AND
                             BELNR = WA-BELNR AND
                             BUZEI = WA-BUZEI.
    **START : ADDED BY .... KUMAR ON 14.06.2007
      ELSE.
        WACNT = WACNT + V_CNT.
        WA-COUNT = WACNT.
        WA-BMENGE = IT_BOM-MENGE.
        WA-MATNR  = IT_BOM-IDNRK.
        WA-TMENGE = V_MENGE.
        APPEND WA TO IT_FINAL.
    **END ADDED BY .... KUMAR ON 14.06.2007
      ENDIF.
    CLEAR WA.
    ENDLOOP.
    REFRESH IT_BOM.
    ENDFORM.
    *& FORM DISPLAY_OUTPUT.
    FORM DISPLAY_OUTPUT.
    Populate color variable with colour properties
    Char 1 = C (This is a color property)
    Char 2 = 3 (Color codes: 1 - 7)
    Char 3 = Intensified on/off ( 1 or 0 )
    Char 4 = Inverse display on/off ( 1 or 0 )
              i.e. wa_ekko-line_color = 'C410'
    IT_FINAL_TEMP[] = IT_FINAL[].
    LOOP AT IT_FINAL.
    CLEAR IT_FINAL-DMBTR.
    ********added by .... .... on 17.02.2007
       if it_final-bmenge  < 0.
    IT_FINAL-DIFFER = IT_FINAL-TMENGE * IT_FINAL-BMENGE * -1.
       else.
    *********end by .... .... on 17.02.2007
    IT_FINAL-DIFFER = IT_FINAL-TMENGE * IT_FINAL-BMENGE.
    ********added by .... .... on 17.02.2007
    endif.
    *********end by .... .... on 17.02.2007
      IF IT_FINAL-BWART = '101'.
        IT_FINAL-LINE_COLOR = 'C210'.
        IT_FINAL-MENGE101 = IT_FINAL-MENGE.
        IT_FINAL-DIFFER = 0.
        LOOP AT IT_FINAL_TEMP WHERE BELNR = IT_FINAL-BELNR AND
                                    EBELN = IT_FINAL-EBELN AND
                                    EBELP = IT_FINAL-EBELP.
          IF IT_FINAL_TEMP-BWART <> '545'.
            IT_FINAL-DMBTR = IT_FINAL-DMBTR + IT_FINAL_TEMP-DMBTR.
          ELSE.
            IT_FINAL-DMBTR = IT_FINAL-DMBTR - IT_FINAL_TEMP-DMBTR.
          ENDIF.
        ENDLOOP.
        IT_FINAL-RATE = IT_FINAL-DMBTR / IT_FINAL-MENGE101.
        SELECT SINGLE
          NAME1
        INTO
          IT_FINAL-NAME1
        FROM
          LFA1
        WHERE
          LIFNR = IT_FINAL-LIFNR.
        IF SY-SUBRC <> 0.
          CLEAR IT_FINAL-NAME1.
        ENDIF.
      ELSEIF IT_FINAL-BWART = '543'.
        IT_FINAL-MENGE543 = IT_FINAL-MENGE.
        IT_FINAL-LINE_COLOR = 'C200'.
        IT_FINAL-DIFFER = IT_FINAL-DIFFER - IT_FINAL-MENGE543.
        CLEAR: IT_FINAL-LIFNR,
              IT_FINAL-EBELN,
              IT_FINAL-BELNR,
              IT_FINAL-MENGE_I,
              IT_FINAL-BUDAT.
      ELSEIF IT_FINAL-BWART = '545'.
    ******added by .... on 17.02.2007
       IT_FINAL-MENGE = IT_FINAL-MENGE * -1.
        IT_FINAL-MENGE = IT_FINAL-MENGE.
    *******end by .... on 17.02.2007
        IT_FINAL-MENGE545 = IT_FINAL-MENGE.
        IT_FINAL-LINE_COLOR = 'C200'.
        IT_FINAL-DIFFER = IT_FINAL-DIFFER - IT_FINAL-MENGE545.
        CLEAR: IT_FINAL-LIFNR,
              IT_FINAL-EBELN,
              IT_FINAL-BELNR,
              IT_FINAL-MENGE_I,
              IT_FINAL-BUDAT.
      ELSE.
        IT_FINAL-LINE_COLOR = 'C200'.
        CLEAR: IT_FINAL-LIFNR,
              IT_FINAL-EBELN,
              IT_FINAL-BELNR,
              IT_FINAL-MENGE_I,
              IT_FINAL-BUDAT.
      ENDIF.
    MODIFY IT_FINAL.
    ENDLOOP.
    ENDFORM.
    *&      Form  GENERATE_ALV_FIELDCAT
          text
    FORM GENERATE_ALV_FIELDCAT.
    DATA: POS TYPE I.
      POS = POS + 1.
      CLEAR: CATALOG.
      CATALOG-COL_POS = POS.
      CATALOG-FIELDNAME = 'COUNT'.
      CATALOG-TABNAME = 'IT_FINAL'.
      CATALOG-SELTEXT_L = 'S. No.'.
      CATALOG-NO_ZERO = 'X'.
      CATALOG-FIX_COLUMN = 'X'.
      APPEND CATALOG TO TCATALOG.
      POS = POS + 1.
      CLEAR: CATALOG.
      CATALOG-COL_POS = POS.
      CATALOG-FIELDNAME = 'MATNR'.
      CATALOG-TABNAME = 'IT_FINAL'.
      CATALOG-SELTEXT_L = 'Mat. No.'.
      CATALOG-NO_ZERO = 'X'.
      CATALOG-FIX_COLUMN = 'X'.
      APPEND CATALOG TO TCATALOG.
      POS = POS + 1.
      CLEAR: CATALOG.
      CATALOG-COL_POS = POS.
      CATALOG-FIELDNAME = 'BMENGE'.
      CATALOG-TABNAME = 'IT_FINAL'.
      CATALOG-SELTEXT_L = 'BOM Qty'.
      CATALOG-NO_ZERO = 'X'.
      CATALOG-FIX_COLUMN = 'X'.
      APPEND CATALOG TO TCATALOG.
      POS = POS + 1.
      CLEAR: CATALOG.
      CATALOG-COL_POS = POS.
      CATALOG-FIELDNAME = 'EBELN'.
      CATALOG-TABNAME = 'IT_FINAL'.
      CATALOG-SELTEXT_L = 'PO No.'.
      CATALOG-NO_ZERO = 'X'.
      CATALOG-FIX_COLUMN = 'X'.
      APPEND CATALOG TO TCATALOG.
      POS = POS + 1.
      CLEAR: CATALOG.
      CATALOG-COL_POS = POS.
      CATALOG-FIELDNAME = 'MENGE_I'.
      CATALOG-TABNAME = 'IT_FINAL'.
      CATALOG-SELTEXT_L = 'PO Qty'.
      CATALOG-NO_ZERO = 'X'.
      CATALOG-FIX_COLUMN = 'X'.
      APPEND CATALOG TO TCATALOG.
      POS = POS + 1.
      CLEAR: CATALOG.
      CATALOG-COL_POS = POS.
      CATALOG-FIELDNAME = 'BELNR'.
      CATALOG-TABNAME = 'IT_FINAL'.
      CATALOG-SELTEXT_L = 'Gr. No.'.
      CATALOG-NO_ZERO = 'X'.
      CATALOG-FIX_COLUMN = 'X'.
      CATALOG-HOTSPOT = 'X'.
      APPEND CATALOG TO TCATALOG.
      POS = POS + 1.
      CLEAR: CATALOG.
      CATALOG-COL_POS = POS.
      CATALOG-FIELDNAME = 'BUDAT'.
      CATALOG-TABNAME = 'IT_FINAL'.
      CATALOG-SELTEXT_L = 'GR Date'.
      CATALOG-NO_ZERO = 'X'.
      CATALOG-FIX_COLUMN = 'X'.
      APPEND CATALOG TO TCATALOG.
      POS = POS + 1.
      CLEAR: CATALOG.
      CATALOG-COL_POS = POS.
      CATALOG-FIELDNAME = 'MENGE101'.
      CATALOG-TABNAME = 'IT_FINAL'.
      CATALOG-SELTEXT_L = '101 Gr Qty'.
      CATALOG-NO_ZERO = 'X'.
      CATALOG-FIX_COLUMN = 'X'.
      APPEND CATALOG TO TCATALOG.
      POS = POS + 1.
      CLEAR: CATALOG.
      CATALOG-COL_POS = POS.
      CATALOG-FIELDNAME = 'MENGE543'.
      CATALOG-TABNAME = 'IT_FINAL'.
      CATALOG-SELTEXT_L = '543 Gr Qty'.
      CATALOG-NO_ZERO = 'X'.
      CATALOG-FIX_COLUMN = 'X'.
      APPEND CATALOG TO TCATALOG.
      POS = POS + 1.
      CLEAR: CATALOG.
      CATALOG-COL_POS = POS.
      CATALOG-FIELDNAME = 'MENGE545'.
      CATALOG-TABNAME = 'IT_FINAL'.
      CATALOG-SELTEXT_L = '545 Gr Qty'.
      CATALOG-NO_ZERO = 'X'.
      CATALOG-FIX_COLUMN = 'X'.
      APPEND CATALOG TO TCATALOG.
      POS = POS + 1.
      CLEAR: CATALOG.
      CATALOG-COL_POS = POS.
      CATALOG-FIELDNAME = 'DIFFER'.
      CATALOG-TABNAME = 'IT_FINAL'.
      CATALOG-SELTEXT_L = 'Difference'.
      CATALOG-NO_ZERO = ' '.
      CATALOG-FIX_COLUMN = 'X'.
      APPEND CATALOG TO TCATALOG.
      POS = POS + 1.
      CLEAR: CATALOG.
      CATALOG-COL_POS = POS.
      CATALOG-FIELDNAME = 'LIFNR'.
      CATALOG-TABNAME = 'IT_FINAL'.
      CATALOG-SELTEXT_L = 'Vendor'.
      CATALOG-NO_ZERO = 'X'.
      CATALOG-FIX_COLUMN = 'X'.
      APPEND CATALOG TO TCATALOG.
      POS = POS + 1.
      CLEAR: CATALOG.
      CATALOG-COL_POS = POS.
      CATALOG-FIELDNAME = 'NAME1'.
      CATALOG-TABNAME = 'IT_FINAL'.
      CATALOG-SELTEXT_L = 'Vendor Name'.
      CATALOG-NO_ZERO = 'X'.
      CATALOG-FIX_COLUMN = 'X'.
      APPEND CATALOG TO TCATALOG.
      POS = POS + 1.
      CLEAR: CATALOG.
      CATALOG-COL_POS = POS.
      CATALOG-FIELDNAME = 'RATE'.
      CATALOG-TABNAME = 'IT_FINAL'.
      CATALOG-SELTEXT_L = 'Rate'.
      CATALOG-NO_ZERO = 'X'.
      CATALOG-FIX_COLUMN = 'X'.
      APPEND CATALOG TO TCATALOG.
      POS = POS + 1.
      CLEAR: CATALOG.
      CATALOG-COL_POS = POS.
      CATALOG-FIELDNAME = 'DMBTR'.
      CATALOG-TABNAME = 'IT_FINAL'.
      CATALOG-SELTEXT_L = 'Value'.
      CATALOG-NO_ZERO = 'X'.
      CATALOG-FIX_COLUMN = 'X'.
      APPEND CATALOG TO TCATALOG.
    ENDFORM.
    *&      Form  ALV_SHOW
          text
    FORM ALV_SHOW.
      LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
      LAYOUT-BOX_TABNAME = 'IT_FINAL'.
      LAYOUT-INFO_FIELDNAME = 'LINE_COLOR'.
      LAYOUT-ZEBRA = 'X'.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          I_CALLBACK_PROGRAM      = SY-REPID
          I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
          IS_LAYOUT               = LAYOUT
          IT_FIELDCAT             = TCATALOG
          IS_VARIANT              = VAR1
          I_SAVE                  = 'A'
          IT_EVENTS               = TEVENT[]
        TABLES
          T_OUTTAB                = IT_FINAL.
    ENDFORM .                    "ALV_SHOW
    *& FORM USER_COMMAND.
    FORM USER_COMMAND USING
              R_UCOMM LIKE SY-UCOMM
              SELFIELD TYPE SLIS_SELFIELD.
    DATA: TABIX LIKE SY-TABIX,
          WA LIKE IT_FINAL.
    TABIX = SELFIELD-TABINDEX.
    READ TABLE IT_FINAL INTO WA INDEX TABIX.
    IF NOT WA-BELNR IS INITIAL.
    set parameter id : 'MBN' FIELD WA-BELNR.
    CALL TRANSACTION 'MB03' AND SKIP FIRST SCREEN .
    ENDIF.
    ENDFORM.

    Hi,
    U can try this standard report for subcontracting:
    J1IFR (Transaction name),
    Not sure how much this will be useful to u.
    regards,
    Viji

  • Subcontract Charges and it should not affect GR/IR Clearing Account

    Hi expert
    I have subcontracting process in house production, i send my ROH  material from my one plant to another plant for subcontracting process. my subcontractor's is my other plant, because this is my internal/in house production, i dont want do the Miro for my plant which is my vendor. is there any solution that i can closed mt po with doing a miro.
    regard
    nabil

    Dear Nabil
    As per the Experts it is better to Use the Free Good indicator in Purchase order ,by this Gr/IR clearing GL account will no hit the value,Even Po doesnt ask for the Vendor Price.Though it is your companies requirement,did you think about the process cost that your other plant is investing?How will you calculate the  process cost or expenditure that other plant has invested on the first plant.
    Please discuss  this with your company head once again ,if value is negotiable go for the "Free Goods" Indicator which is the best choice

  • Goods Receipt through internal order with movement type 262

    Dear Friends,
    some of our users  making entries like the following
    1. created Internal Order 
    2. Creating Reservation with movement type 262 ( which not issued material through movemnt type 261)
    3. Stock  updated
    i just want to confirm, we not issued like X  material,  even stock not available,  we can make entries like the above, To receive X material from Internal order/ subcontractor using movement type 262.
    kindly advice please  if it is wrong then tell me the process.
    Regards,
    Rajesh G

    HI,
    if we receive material from subcontractor what process we can do...
    can you explain your issue exactly what problem you have at your end .
    I think you want to take subcontracting material inside which is not in sap system now,it may finished material or it may component.If you don't want to show this material as at vendor now
    then you can try movement type 501  or through physical inventory  t-code MI10
    Regards
    Kailas Ugale

  • Production operation external processing goods receipt for subcontract PO

    Hi PP/MM experts,
    I searched for existing forum entries but no luck or final answer.
    I have a question about the goods receipt for a subcontracting PO that is account assigned to an operation of a production order (external processing for operation).
    The following situation:
    Production order type PP02 - external processing
    There is only one operation in the production order with control key PP02 - external processing. I marked the control key PP02 in configuration for 'Automatic goods receipt'.
    I created a PO for the PR is the operation
    When I'm doing the goods receipt of the subcontrating PO a 101 posting is triggered for the finished product and components are consumed by 543 O movements. So far so good. But the inventory for the finished style is not increased. In MIGO I even see that even a batch number for the finished product is determined. Looks like that only the service is posted but not the inventory. I assumed when I mark the operation contol key for 'goods receipt' that the MIGO will also post the inventory for the finished style.
    Reason for PP order and not only subcontract order is that we want to manage capacities of external suppliers with PP capacity planning.
    Is that a bug in our system or normal behaviour? We use SAP ERP 6.5 with IS AFS.
    Thanks in advance for your answers.
    Best Regrads,
    Harry

    Hi Rizzi and all others,
    thanks for your replies.
    I'm using a production order for the following reasons:
    We want to use capacity planning for external suppliers. At least to have some overview of work they have to do in a month
    The external assembly can also be changed to internal assmebly and for that reason we will start always with the same kind of document -> production order.
    But one more thing what is really confusing. In the materials document list MB51 the 101 movement for the service is listed even if the inventory was not increased. That is really confusing for the users.
    Best Regards,
    Harry

  • Return deliver for subcontracting materail in QA11/QA12

    Hi,
    After GR for subcontracting materail we  doing result recording.Materails which will not meet quality parametrs are  rejexted by Quality dept in QA11/QA12.Batch management ia activeted for all material in plants.
    While doing Return delivery tio Vendor in QA11/12, getting error message (M7 389)
    Pl. suggest.
    Rgd,
    Ganesh

    Hi,
    Please refer sapnote_0000645119 :Problems with subcontracting using delivery
    Some of imprt points of note :
    The only alternative is to recreate the component batches during
    the goods receipt in the background of the return delivery. To do
    this, you must make the following settings:
    - As described in Note 566147, message M7 389 must only be set as
    a warning message (transaction: OMCQ).
    - For the movement type 544, automatic batch creation must be
    allowed in transaction OMJJ (field: V_156_VC-CHNEU).
    - For movement type 544 O, you must not define a search scheme
    for the batch determination (transaction: OMCG).
    - Internal batch number assignment must always be activated
    (transaction: OMCZ).
    Regards,
    Sanjay

  • Internal Order not allowed for revenue posting

    Hello all,
    I have a problem, while doing migo for subcontracting materials(movement type 105) following error has occurred:
    Message no. KO014:Order 5000012 cannot carry revenues
    Steps i have followed:
    Step-1: In transaction MB1B materials are transferred to stock with subcontractor with movement type -541(Transfer posting to stock with subcontractor from unrestricted.-use stock) and with reference to scheduling agreement number. (A material document is generated).
    Step-2: Creation of Subcontracting Challan through T-code-J1IF01 with reference to material document generated in step-1 above.
    Step-3:  Goods receipt through T-Code-MIGO with movement type 103(Goods receipt for purchase order into GR blocked stock) with reference to scheduling agreement number mentioned above. (A material document number is generated)
    Step-4: Release of GR blocked through T-Code-MIGO with movement type 105(GR from blocked stock) and with reference to material document generated in step-3 above.
    When the material document is checked, system does not give any error but at the time of posting the same system displays the following message:
    Order 5000012 cannot carry revenues
    The above order is an internal order and is assigned to Stock Change Account (a primary cost element) in OKB9 (Default account assignment).

    Hi
    Go to T.code KO02 and check in the Control data tab if your Internal Order is blocked for Revenue Posting or not.
    Regards
    Hari

  • Subcontracting with external service / non-stock material

    Hi,
    I have a scenarion in subcontracting when i provided the components / raw materials to the in-house workshop (workshop treated as an internal vendor) and further more our workshop required some external services / non-stok material from third party... now how i will incured this service / non-stock material cost on finished product.
    (PP moudule is not implemented on project)
    Regards,
    Ali

    Hi,
    Please refer the following links ..it may help you...
    Subcontracting service to a FERT material.
    http://books.google.co.in/books?id=LDyarcerUu0C&pg=PA571&lpg=PA571&dq=Subcontractingwithexternalservice/non-stockmaterialinsap+mm&source=bl&ots=vj5kUO9dto&sig=vrlCpSZ0-V0BseN96Qw9rTVhsQ0&hl=en&ei=cJKRTs5_0MmsB6rrgIsB&sa=X&oi=book_result&ct=result&resnum=10&ved=0CG4Q6AEwCQ#v=onepage&q&f=false
    Regards,
    Udaya

  • Multiple schedule line doesn't support subcontracting PO

    Hi experts,
       I have a question about
      There's a material A which can be procured by internal production and external. It has two components B and C.
      I created a PO for A with item category = 'L'(Subcontracting) manually. The quantity is 13pc. At first, there's only 1 schedule item line with qty=13. Therefore the 2 bottons in tab 'Material data' for its components were showed, and I could explore its BOM to review it.
      But after I split this item into 2 schedule item lines, the 2 bottons for exploring BOM in tab 'Material data' disappeared! I tried several time, there was  the same situation.
      Could you tell me why?
      Thank you in advance!

    I've found this botton for showing the components in multiple delivery schedule. It's at view 'Delivery schedule'. The botton in this view is the correct botton!

  • Using a subcontract routing

    We would like to start using the subcontract functionality to send material out to sterilization.  From what I understand we would use the routing for this purpose by selecting external processing in the routing and selecting the subcontract button.  Doing this however, does not allow the creation of purchase Req. in the production order.  It automatically sets the field "res/Purchase Reqs" in the external processing tab to "1" which is never create Purchase req.  If the subcontract field is not selected it allows purchase reqs.  Am I missing some other setting that is required to make this work?

    I checked OPL8 and found that it is set up to create purchase reqs immediately.  I did the steps recommended below.  My Production order still does not suggest purchase reqs.  I think it has something to do with the subcontract indicator being turned on in the routing, which is pulling in a "1" (no purchase reqs)  in the "res/Purchase Reqs" in the external processing tab on the production order. 
    This is a material that is internally manufactured, but is going to to a vendor for sterilization and coming back as a sterlized part.
    1. create pur info rec (Me11)
    2. In routing set op control key PP02.Header enter sub contractor info rec no
    save.
    3.MD61/MD02/MD04
    4.Op confirm CO11N
    5. note the PR number from co02 from op overview.
    6. convert PR To PO ( ME58)
    7. ME2O Send the material to subcontractor.
    8. Thru MIGO receive the material
    9. confirm the external processing op.
    10. Mb31 GR Posting.

Maybe you are looking for

  • How do I get itunes to stop downloading john adams high def every frickin time i go to itunes?

    Every time I go to itunes, it starts downloading john adams in high def (only 11 hours to go)! I have watched john adams, I am done with john adams, i don't want it, it is taking all my downloading time, how do i make it stop forever? I don't ever wa

  • Export integration interface error

    I am getting error "'Program internal error:null" when trying to run export integration interface in Demantra where i have specified view as well as filename(comma delimiter). Does anyone know what could be possible reason? It works when i remove fil

  • Two materials with the same EAN

    We use standard and promotional material code with the same EAN. The issue we should solve is that EDI recognises the material based on the EAN code. In the Order message I need material_1 during promotional period and material_2 when the promotion f

  • One Key Recovery 8.0 - windows 8.1 - create new partitions

    Dear Members, Looks like I am again back to the start of the loop regarding the one key recovery after checking with Lenovo customer support. Can you help me on the below. However, I still feel that the well documented procedures for One Key Recovery

  • Unable to sync old data in Itunes

    I have a 3g phone activated and everything work, yet I am unable to sync it in iTunes. I am trying to sync it with all my old iPhone data and I keep getting an error message that says that there is a problem with my phone and I need to contact Apple.