Subcontract PO tracking

Dear Gurus,
We have multiple POs for the materials sending to the outsourcing vendors directly.
I know I can get the requirement of component in ME2O, but about SC Stock can I  know it from which POs?
Thanks for any help...

Hi YCL,
MBLB is a standard report to fetch stocks with SC vendor which upon drilling down gets mat doc no and I feel  PO can be tracked thru this. But if you want PO no directly in the report then you have to create a query and get it,
Revert for further query..
Regards
Shiva

Similar Messages

  • Tracking PO for which Material is issued to Vendor in the Subcontracting

    Dear All,
    We issued material to the Vendor thru' MB1B for the subcontracting PO.
    Pls advise how to trace the PO for which the matl was issued as I don't get this information against the matl doc.
    Thnx & Rgds,

    There is no link between PO and delivery to subcontractor.
    ME2O shows you if the stock at the subcontractor is sufficient to fulfill your PO. Thats all you can check.

  • Report for Material at subcontract AND PO number

    We are preparing for Inventory verification at subcontractors.
    My boss believes it would be easier for the SC vendor if we could supply the PO number for which the material was shipped.
    I haven't found such a report.  Is there one?
    If you know the tables and links, I can write a ABAP query
    Thank you for any help that can be provided.
    Althea

    Hi,
    ME2O works fine if you want to track which subcontracting PO's are still open and what is the current stock at vendor.
    ME2ON is another version of the same basic ME2O report.
    Try also MBLB - Stocks at subcontractor.
    As far as PO to 541 link is concerned, I do not think it is possible to find it unless there is some specific business process being followed which is supported by custom code.
    The reason is that when you issue against 541, you are simply providing materials to vendor that the vendor needs.
    There might be multiple open SC POs for same material/batch and there is no point in tracking against a particluar PO. Its the same material/batch the vendor receives.
    When you post a PGR for a SC PO, then the stock from vendor premises is consumed by 543 and the track to your SC PO is maintained.
    I tried maintaining EBELN as required in OMJJ for 541 but still no MSEG-EBELN is populated. Maybe I am missing something.

  • 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

  • PO number and material issued against this PO for subcontracting

    How to know the link in between the PO number and material issued against this PO for subcontracting.
    I have checked that PO history is not getting updated.
    Thanks,

    Hi,
    We have 2 different scenarios where you can post a goods issue to Subcontract Venodrs.
    Scenarios 1: You can post the goods issue against a subcontrac vendor with out referencing the Subcon PO from ME2O, at this stage we will be knowing what is the stock at subcontract vendor but we will not be knowing the issues against which and how much Quantities are posted.
    So when we are post goods receipt, then we will come to know the consuption quantities.
    Scenario: 2, If we use the delivery concept then we can track the goods issues against the subcon POs.
    If you really keen to track the material issued to Subcon vendor against a PO so better use with delivery.
    Thansk,
    Satya.

  • Sale Order Subcontracting & Vendor wise stock

    Dear Gurus,
         I have one doubt we are doing sale order subcontracting transfer posting by 311 E to vendor. so is it really need to create vendor wise storage locations to track the stock at vendor end,  as we have no. of vendors for subcontracting and storage location is part of organization structure.
    so is it advisable to go like that ? or please suggest me any other way to track the stock at vendor end sale order wise.
    Thanks & regards,
    Akshay

    Hello Sir ,
    As it is not possible to send material which are already in special stock (sale order stock ) to subcontractor by 541 movement type , it is recommended to transfer by 311 E my MB1B or MIGO...
    while doing good receipt 101 E and 543 E will going to happen , for 543 E system will automatically ask storage location. i have done already this but there only one subcontractor was there,
    and in this client we have more than 80 subcontractor so i am hesitating to do this....
    Subcontracting for Sales Order Stock and Project Stock - Managing Special Stocks (MM-IM) - SAP Library
    Sale Order Subcontracting & Vendor wise stock 

  • Goods receipt for subcontracting material

    Hello friends,
    i  am doing operation subcontractiing. My first operation is subcontracted. So, I have assigned PP02 control key to first operation (external processing and no auto goods receipt indicator)  and maintained external processing data for opration in routing. When i saved the order, for that operation PR gets generated.
    Now, I converted PR into PO and assigned raw material that has to be send to vendor. By 541 mvt. type material is issued to vendor. When i do goods receipt in MIGO, system is not showing storage location field. I dont find material in stock anywhere.
    But i can see quantity received in external processing tab of first operation in routing overveiw in order.
    Then how can i issue the material from storage for second operation if it is not in stock?
    How can i get stock of subcontracted material by MIGO?
    Please help me.
    Thanks in advance!

    Kiran,
    Since your scenario is Subcontract of operations, you will not find a material referance in your PR/PO, so there is no GR of Material happening, in this Scenario GR means delivery of the operation.
    If you really want to track, then you need to create an additional material number and assign that material number with Special Procurement key "30", here in this case you can recieve the product after subcontract as this is product sub contract process. In this case Production order is not relevant.
    Regards,
    Prasobh

  • Serial numbers for subcontracting process

    Hello Experts,
    We are using SAP ECC 6.0 and trying to implement the subcontracting process with serial numbers. This scenario is focused on those materials that we need to keep track on how many times it has gone to repair (for example, a motor) by specific item. Suppose there's a material called "Material A". However, there are MANY "Motor A"'s, and thus, the need for serial number to keep track on the number of repairs each one has had.
    So, having said that, the scenario is working so far. However, the user CAN'T type in the serial number of the material at the REQUISITION LEVEL. This can be done at the PO level and at the goods receipt level.
    This brings a problem since the Purchasing dept. doesn't know the serial number. This information is known by the user, but there's "serial number" functionality in the requisition. Is there a configuration for this? Could it be possible for the serial number to be in the requisition and then inherit it to the PO?
    We want this in order to automate the process.
    The configuration we made was in the "Plant Maintenance and Customer Service" section, using procedures MMSL "Maintain goods receipt and issue doc." and POSL "Serial numbers in purchase orders". There's no procedure for purchase requisitions. If this can be also done from a Work Order, that will be just fine.
    Let me know if it is possible or if you have any idea on how to do this.
    Regards,
    Gilberto Gallardo.

    Hi,
    Serial no can be used for the following business transactions.
    1. Goods Receipt/Goods isssue and other inventory postings.
    2.sales orders and delivery notes
    3.maintenance orders
    4.production orders.
    Settings:
    1. create a serial number profile in customising.
    2. Assign the serial number profile in the material master record in work
    scheduling view for fert and raw material in plant data / stor2  view..
    Business procedures may be assigned in configuration to a serial number profile.
    The assignment to the serial number profile determines if serial numbers are required , can be assigned, must be assigned,are assigned automatically
    MMSL : Goods issue , receipts,stockj transfers,stock transport orders
    Thanks
    nandha

  • Free cost goods tracking

    Hi MEntors
    I am sending one projector to one  person to test it. then it's t's ok back to us.
    Here no cost will effect and .track the generator ( should not be pick any a/l accounts)
    How can I map this scenario in sap
    thanks for advance.
    Regards
    Laxman

    Hi
    U can map the process by going through Subcontracting Route.Steps are
    1  Create a Subcontracting PO with Item category L, Tick the free goods Indicator as you do not want any Liability to be generated
    2 In the material tab ,Component Overview Maintain the Item code of the Generator ,Thus both send items and Procured Item will    be same
    3 Issue the Generator to the Party via T code MB1B -541
    4 Perform GR when the Projector has arrived back after rectification
    Accounting entries created  in step 4 will be
    Stock account Cr - Eg Rs 100
    RM Consumption account Dr -Eg Rs 100
    Change in stock account Cr -Eg Rs 100
    Stock account Dr - Eg Rs 100
    Thus If you do the netting there will not be any balance in your Balance sheet account and P/L Account
    Regards
    Sandeep

  • Issue in Subcontract Challan Creation

    Dear All,
    We just started subcontractor challan process in sap for tracking the material supplied to vendor and finding the stock which will be laying at more than 180 days at vendor end.
    The issue we found is while creating subcontract challan excise group and other details not stored, since we are doing testing and it would be resolve before implementing.
    Regards,
    Malini

    Hi,
    Please do the necessary settings if customization is missing then you need to do it. If your asking how to making the settings please sit with FICO consultant and Client Discuss it and come with your questions
    Hope it is clear
    Shiva
    http://scn.sap.com/thread/1950603

  • ECC ehp4 A&D Subcontracting in combination with valuated sales order stock

    Hello Experts,
    a customer's Equipment (serialized material) is received in a valuated sales order stock (special stock E) and must be delivered to a third party service provider in subcontracting, with relevant spare parts (special stock O). The proces is originated in the Customer Service module where a "Returns and Repair" scenario supports the material return (inbound delivery) from Sales order type RAS Repairs / Service, on the plant, in a valuated sales order stock. Based on a repair procedure a Service order is created from the Repair order to track repair activities which are mainly executed at the workshop (planning plant). Our customer needs to deliver the component to an external service provider. Service order and Repair order have both a PS WBS account assignment.
    Tracking of vendor's stocks levels with related deliveries and outputs is a must for the customer. Main Equipment to be repaired is stored in the sales order stock A. Components are stored in a different plant, in (valuated) project stock.
    We activated the relevant business functions for Maintenance and Service processing in the Aerospace & Defense industry (MRO) including LOG_EAM_ROTSUB, A&D Maintenance, Repair and Overhaul AD_MRO_CI_1, Material Exchange with ATP Check AD_MRO_CI_2, Rotables/Sharing of Spare Parts, Subcontracting Improvements AD_MRO_CI_3 with exclusion of LOG_EAM_ROTSUB_2 for which EHP5 would be required.
    The result is an error (AD_SUBCON094) that occurs when you try to create the subcontracting purchase requisition stating "You are using Subcontracting for MRO processes. During maintenance of the purchase requisition item or purchase order item, you set the account assignment to a PM/CS order. If you are additionally using a valuated project or sales order you would have two real accounting objects, therefore this combination of account assignment and special stock is not allowed.
    Choose a different account assignment or a non-valuated special stock."
    I'm also investigating on note 863154 - A&D subcontracting components from special stock. This note states that components must be on the same special stock which seems preventing again the above mentioned scenario. Please advise if you already implemented a similar process and if you have any way to support the same.
    Thanks,
    Stefano

    Stefano,
    Do you have a solution for this?
    Best regards
    Jose Marin

  • Tracking of wip material in externally processed operation

    Hi All,
    As part of production process, most of the operations would be processed internally in the manufacturing plant and some of the operations would be
    performed by vendor at his own premises (outside the manufacturing plant). Material will be called as WIP (work in process) material if it completes some of the operations (two operations completed out of four operations) in production process without forming its final product shape
    WIP (work in process) material will be sent out to vendor against externally processed operation in production order. We’ve a business requirement to track the WIP (Work in Process, No inventory yet in system) material status details such as when was the WIP material shipped out to service provider by purchasing department or returned back to production floor from stores after receiving from vendor for externally processed operation in production
    order
    The scenario is explained below and the process in SAP would be as follows.
    1. Production order would be created for
    respective header material (semi-finished/finished) with required quantity with five operations to be processed, for example: OP10 (turning), OP20 (drilling), OP30 (milling), OP40 (shaping), OP50 (powder coating). OP10, OP20, OP40, OP50. would be processed internally in the shop floor of the manufacturing plant
    2.After finishing the internal processing at OP10 and OP20,  Operation no 30 (OP30-milling) for the respective header
    material would be processed externally by sending the partially processed part(WIP) to vendor outside the manufacturing plant. In SAP, the partially processed part doesn't have any material code and will not be updated in the inventory and will be treated as WIP (work in process) and automatic purchase requisition for external processing through production order is generated as follows
    For OP30 Milling (Externally processed operation), from PP module perspective, we would be maintaining a control key which supports external
    processing in the Operation 30 (OP30, external processed operation - An externally processed operation is not carried out within own organization, but is assigned to a vendor, who then does the work) with relevant information such as material group, purchase group, description of operation, cost element to track costs in the production order.
    When the respective production order is saved, system creates a purchase requisition for external processed operation 30. We can see
    the number of the purchase requisition on the external processing tab of operation details screen of OP30 in SAP Production order.
    Purchasing department generates a purchase order against the automatic purchase requisition generated in production order, which informs the
    vendor which service is required.
    With reference to the purchase order – service oriented, the WIP material (no material code exists in SAP) is sent out to vendor. After the material has been processed, the vendor delivers the material back to manufacturing plant. When a goods receipt against purchase order is posted at manufacturing plant, the system displays the received quantity on the external processing tab of operation details screen of the operation - OP30 in production order and also displays in order information system reports. It also possible to track the cost incurred for external operation. However, Goods receipt against production order does not cause an increase in the quantity and value of the warehouse stock of header material of production order.
    The above mentioned process is not a subcontracting process - where in we send raw materials and receive semi-finished/finished materials from vendor
    3. The respective partially processed part (WIP) received from vendor is sent to shop floor to complete the rest of the process
    in OP40 (shaping) and OP50 (powder coating).
    4. After OP50, the respective header material (semi-finished/finished) of the production order will be received (goods
    receipt against production order) as inventory in respective storage location.
    With reference to the above process, we can track the status of receipt of WIP material from vendor after processing at his premises;
    however, we can’t track when WIP material ( after completing processing at OP20) was sent out to vendor for external processing by purchasing department and when WIP material was returned back to production shop floor for further processing at OP40 after receiving from vendor by stores.
       Please provide your feedback for the possibility to track the details of WIP material (no material code exists in SAP system) sent out to
    vendor and received back at shop floor from stores for external processed operation of production order
    Thanks for help in advance.
    Regards,
    Rajesh

    Hi Rajesh,
    Process what ever you have explained is the right process with respective to operation wise subcontracting as per SAP Best practice. As you rihtly said in operation wise subcontracting PR is created with any material code. Once PR is created after PO and GR actual cost of that particular operation will be seen on the order. I believe sub contact operation after GR can be confirmed through confirmation transactions. Since it is subcontract operation specfic to peration seperate inventory is not tracked instead cost is reflecting directly on order
    If you to want to track the inventory of the intermdiate product then you need to have a seperate material code for intermediate product (Eg A) received after second operation and do seperate subcontacting PR for seperate new material (Eg B) by issuing the intermediate material (Eg. A). Upon receivng GR for PO inventory will be updated for the new material (Eg B).This new material can be issued to your final product which has operation 0040 and 0050. Here two different material codes will be required.
    Else follow the suggestion given by expert Caetano.
    Thanks & Regards,
    Ramagiri

  • How to track the issued diesel?

    Dear Experts,
    In my firm diesel is not taken in stock but issued to contractor. how can i track how much  amount of diesel issued to the particular contractor, so that i can raise the debit note against them. which scenario can work to track out the desired.pls help as i am a learner.

    Hi,
    In my view you should use Project Stock (WBS wise ) Subcontracting for the Tracking and Consumption of Diesel issued to Contractor.
    Please check the following link. This explains how you can manage Subcontracting Process with Project Stock.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/402891a3-7f89-2c10-3097-91556442b8b5
    With this you can get the Consumption report from Standard SAP Reports : MB5B mvt Type 543.
    Hope this Helps,
    best regards
    Amit Bakshi

  • Subcontracting with Items Sold to Vendor

    Hi SAP Experts,
    We have a scenario wherein we subcontract service/s from a certain vendor. But instead of providing the materials, we are selling the items to the vendor. We do this since we cannot issue the exact quantity of the items to the vendor (i.e. thread for sewing) and we cannot track the usage of such materials when issued to the subcontractor. Is there a way for us to handle such scenario in SAP? Please help.
    Thanks in advance!

    if you sell the components to your vendor, then this is a pure and standard SD process.
    In purchasing you create as well only a standard order for the finished good. The price will include service and components costs.

  • Regarding Subcontracting Challan:

    Dear SAP  Gurus.,
    One  Purchase order (Subcontract ) created with two Parent items (Say suppose A, B)
    (  Parent Item  A----> Child Componet (despatched to subcontractor)   X
       Parent Item  B----> Child Componet (despatched to subcontractor)   Y)
    Despatched the total two materials against one subcontracting challan two subcontractor at a time.
    One item is fully recieved and assigned the subcontracting challan accordingly
    and the second line item is received partially and assigned the partial quantity to that challan .
    Now the return date  (180 days is completed)
    After completion of 180 days the pending material has come from the vendor.
    As per 57AC rules the 180 days is completed and in this case how to proceed can anybody can guide me.
    whether i have to complete the challan
    or how to go about this.
    This is the first time the  the material crossed 180days from the subcontract.
    Please help me in this regard
    Rgds
    Surya

    Hi ,
    From the subcontractor  inward the material in 542 movement only for all the material what you have sent, it will be in your company stores account .(without billing)
    You can then send the subcontracting material by ME2O again to the subcontracting material.
    normal procedure is every month beginning  stores person will give the details of material lying in subcontractors end to have a track.
    G.Ganesh Kumar

Maybe you are looking for

  • In the tracing drop down menu, how come the custom is greyed out and can't be selected? It looks like its disabled!!

    in the tracing drop down menu, how come the custom is greyed out and can't be selected? It looks like its disabled!!

  • PP sub-contracting error

    Hi Experts, While creating routing with external operation details I am getting this error, same Mat.group is maintained in Mat.master and Info record Material class differs from material class  from info record Message no. 06354 Diagnosis The materi

  • Custom Axis handler deployment

    Hi! I have the requirements to develop custom handler for Axis adapter of PI 7.11. I`ve kindly looked through the SAP Note 1039369 FAQ XI Axis Adapter, but can`t find what have to be name and structure of sda file to be deployed to AS Java. From FAQ:

  • Updated Iphone and now just showing an unknown error (14)

    I updated the most recent update for my iphone. Once it had finished updating, it came up with an unknow error. My iphone is just showing the sign saying i should plug it into itunes. it tells me i need to restore. i restore it and it just says the e

  • Cloning drive?

    Hi, I just bought a used g5 2.0 dp. And I'm trying to determine the best way to transfer all my programs and files from old G4 1.25 dp MDD to my G5. I know that I can clone the drive although some people don't recommend this, or I can simply drag and