Consumed project materials - inventory in ps ?

dear ps experts,
pl let me know whether projects materials consumed in project (ie., gr against nw pr-po done), can any where the same material shown as projects material inventory (virual)?
currently i am creating the automatic pr-material in network by using "n" item category, po is made against same pr and gr done against po, costs are posted in network, because mov type is 101.
my requirement is i wanted to show as inventory after gr done, is it possible,
why because, i wud like to raise sales order and do pgi and finally billing document.
is this possible or not?  how this is achieved.
the above requirement is against customer projects scenario, pl help in guiding how this is possible in ps. my people for raising sales order/billing document, the same project materials are to be available in storage location accordingly pgi is possible.
withough pgi how the sales order/billing document is raised against the customer projects?
thanks in advance
srihari

Hi Ediga,
A results analysis is usually carried out for the billing elements in sales projects. The results analysis data includes the costs and revenues of lower-level WBS elements and activities/orders. For this reason, only the results analysis elements are settled.
When the system derives settlement rules, it generates profitability segments that contain the characteristic values of the WBS elements and the sales orders assigned to them.
Settlement rules and results analysis keys are only ever assigned to billing elements. All other objects are assigned the settlement profile "Do not settle".
Please refer following link for result analysis
http://help.sap.com/saphelp_47x200/helpdata/en/90/ba7048446711d189420000e829fbbd/frameset.htm
Also refer following site for Resource related billing
http://help.sap.com/saphelp_47x200/helpdata/en/59/54fc37004d0a1ee10000009b38f8cf/frameset.htm
Regards
Tushar

Similar Messages

  • Link between Project and Inventory?

    Could you please guide me how can i get link from inventory to project?

    Hi,
    If you want to expense inventory to a project, you can create a transaction type with project enabled.
    If you want to capture inventory cost for a project with inventory tracked, then license Project manufacturing, setups the PJM parameteres. Activate the locator control. With all these done, you can transfer inventory to projects.
    Make sure you run the project cost collection report and do the import of transactions by running PRC: Transaction import from projects with source inventory.
    Regards
    Leo

  • Is it possible to autocreate requisition from Projects for inventory items

    Is it possible to autocreate requisition from Projects for inventory items with destination type of inventory in a non-manufacturing organization?Also how ti budget for inventory items based on actual cost i.e. FIFO cost?
    Zeeshan

    Hi Dina,
    Hope you are fine and enjoyed the weekend.
    Thanks for your help, yes there was an error in the Material Transactions form, i have corrected and PA_TRANSACTIONS interface got updated. I issued the stock to Project and there was'nt any transaction transferred to Projects.
    I just want to confirm one more thing, we are using FIFO costing method, if i procure same item for 2 different projects like Qty 1 with Rate 10 for Project 123 on 1st Jan 2010 and then i receive same item Qty 1 Rate 20 for Project 124 on 10 Jan 2010. Then everything will be transferred to Projects and Projects Expediture will be updated with the receiving Transactions.
    Now what if, the stock is being issued in the reverse order than it was received. Like I enter Miscellaneous issue for Project 124 first, then as per FIFO rules system will pick Issue rate of 10 because it was received first......Due to this, dont you think its wrong from the system's point of view. Infact it should pick issue rate of 20 because it was received at 20.....
    One more thing, While doing Miscellaneous Transaction with Projects enabled, do the Locator Project Number and Source Project Number needs to be same. If No then whats the control that stock received for one project should be issued against that project only.
    Your thoughts on this scenario.
    Zeeshan

  • Projected Stock-Inventory Report for APO

    Hi All,
    I have to develop Projected Stock-Inventory Report for APO.
    I need to fetch data from APO and need to store it in BI for reporting purpose.
    Do you have any idea about how to get the required data from APO system?
    Where does stock data resides along with projected stock in any SNP aggregate or any table?
    Regards,
    Krunalkumar Rathod

    Hello,
    I suppose you mean you want to export the data "stock on hand" in SNP planning book to BW.
    This key figure is an auxiliary key figure that calculated by macro. The data is only diplayed in the planning book but not saved to any database table or liveCache.
    In order to save it, you can add your own time-series key figure to save the stock on hand. And you'll need to create your own macro to calculate or copy from the auxiliary key figure.
    A good way is you can  create a macro by copying the "stock balance" macro and just change the stock on hand key figure to your own time serires key figure. Then when you need the data, you can run the macro in background job. By doing this, the stock data will be saved to the time series key figure. Then you can extract it from liveCache as normal key figures.
    Please notice the time-series key figure must be assigned to correct aggregates in an SNP planning area.
    Best Regards,
    Ada

  • Project Materials and Normal Material as a part of Sales Order

    Dear Sir,
      Can any body tell me d scenario when I can create Project material and Normal materials in the same sales order ?
    My requirement is that I am using milestone billing. But this is applied for 1st 2 milestones only. For the rest it is delivery related billing.
    So my solution is to create project material for milestone billing and actual materials for delivery related billing. So in delivery it will pick from my project stock with 601 Q movement type.
    I cannot test this scenario in SAP due to some technical problem. Can anybody plz tell me that I can do this in Std SAP ?
    Thanks for co-operation
    Regards
    Keshav

    Dear Keshav,
    Probably you need not create two materials. Create a "Z" item category group and assign it in the material Sales org 2 tab. Under "Assign Item category Group" in SD configuration, you need to map the sales Document type, Item category group and Default item category. Have default item category as TAN and Manual item category as TAO. ( please choose the default as per your need). Once you are in the sales document, have TAN item category for the line item for which you require Delivery related billing and TAO for the line item for which you require milestone billing.( You can change the default item category ..which defaults based on your configuration). Double click and notice that now a billing plan tab appears for the item relavant for Milestone billing.
    I think you also have to configure the schedule line category so that the project stock is picked up while delivery. Please take help from your SD consultant.
    Warm regards,
    Srinivas Potluri

  • Can we have Cost of Manufactuirng sent to Projects while Inventory issue of these items to be through Sales Order Shipping. Can we do that?

    I want to send the cost of manufactured items to a Project/Task .
    Still I want to issue these items from inventory using a Sales Order (Sales Shipping).
    Billing shall be from the Project.
    Can we do the above cycle?
    In another scenario, what if I want to bill from the Sales Order?Dina Rotem@

    Hi,
    You will have to enable project manufacturing if you want to collect manufacturing cost on a project. Once you create a project, add this project to a project manufacturing organization through a PJM responsibility. Once you associate project and PJM org you will be able to put the PJM organization in the sales order line created on a Project sales order in Oracle OM. Also, mention the project number in that sales order.
    Once this sales order is shipped, run the cost collection program and it will bring in the manufacturing costs to project.
    Hope it helps
    Regards
    Kaushal

  • Project wise Inventory Management

    Hello
    My client is in construction business. Following is the existing business process he follows :
    1. Material is procured from the vendor and receive in inventory and then o demand it is released from the inventory to site of the project.  (this scenario occurs rarely)
    2.Material is procured from the vendor and send directly to the site of the project.
    Note :  One Project can have more than 1 site.
    Please let me know how to map the above process in best manner.
    thanks
    Tomas

    Hi Tomes......
    As I mentioned, you can issue the material through Goods Issue via only one document but as you want toi maintain it more that one site create a UDF called Location/Site and you may manage goods issue onr row per site.
    Let say if you want to issue material under project XYZ have three sites A, B And C
    And Qty as 10 Nos/Kgs on Site A with Project XYZ, 20 Nos/Kgs on Site B with Poject XYZ and 15 Nos/Kgs on site C with Project XYZ
    So OpenGoods Issue document and select itms on first line and select site in UDF as A and you can find Project column also activate it through Form Setting, there you select XYZ and give qty as 10Nos/Kgs.
    Second line and select site in UDF as B and you can find Project column also there you select XYZ and give qty as 20 Nos/Kgs
    Third line and select site in UDF as C and you can find Project column also there you select XYZ and give qty as 15 Nos/Kgs....
    I guess this way you can manage Inventory management Proejct with different site wise under one Goods Issue document. And same is applicable for all the marketing docs......
    Regards,
    Rahul

  • Pay on Receipt for project enables Inventory Item.

    Dear all,
    We have this Pay on receipt scenario enable for all the procuement transaction, but while creating Receipt for Inventory Items which is Project specific Invoice in not created in the system. Can any one help regarding this why only with Inventory related project Item its not creating Invoice working fine for expense scenarios.

    CAn you please provide additional information,on
    whether the records are interfaced to AP interface tables?
    Does they error out?
    Do review the MOS note "ERS Invoices Rejected In Payable Open Interface Due To Project Related Data in AP Interface Tables (Doc ID 1359013.1)"

  • Project related Inventory "misc transaction" accounting

    Hi Friends,
    Can any expert explain me that where from the system will determine the accounting information, when we create a "project related miscellaneous transaction" (issue/receipt) from inventory and import into Project module (ver 11.5.10.2).
    Thanks in advance.
    Surya

    Hi
    When user enters a Misc transaction he has to update the field Account on the Transaction form.
    That would be the debit account of a misc issue transaction, The system will creadit the material valuation account of the Inventory organization (based on setup).
    Dina

  • List of materials inventory - using ALV

    REPORT Z_LIST_MATERIALS.
    TYPE-POOLS: SLIS.
    TABLES:MARC, MARD, VBAP, LIPS, EKPO, VBFA, EKBE, MARM, VBBE, MARA, MBEW.
    SELECTION-SCREEN BEGIN OF BLOCK SEL WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS: S_WERKS FOR MARC-WERKS, " Plant
                    S_MATNR FOR MARC-MATNR, " Material
                    S_MTART FOR MARA-MTART. " Material Type
    SELECTION-SCREEN END OF BLOCK SEL.
    PARAMETERS: P_VARI LIKE DISVARIANT-VARIANT. " ALV Variant
    CONSTANTS: FORMNAME_TOP_OF_PAGE TYPE SLIS_FORMNAME VALUE 'TOP_OF_PAGE'.
    DATA: BEGIN OF INV OCCURS 100,
            WERKS LIKE MARD-WERKS, " Plant
            MATNR LIKE MARD-MATNR, " Material
            MTART LIKE MARA-MTART, " Material Type
            STPRS LIKE MBEW-STPRS, " Standard Price
            AVAIL LIKE MARD-LABST, " Available
            LABST LIKE MARD-LABST, " Unrestricted use
            INSME LIKE MARD-INSME, " Quality Inspection
            RETME LIKE MARD-RETME, " Returns
            TRANS LIKE MARC-UMLMC, " Stock in transit (calculated)
            UMLMC LIKE MARC-UMLMC, " Stock Transfer (plant)
            UMLME LIKE MARD-UMLME, " Transfer (SLoc)
            WESBS LIKE EKBE-WESBS, " GR Blocked Stock
            TRAME LIKE MARC-TRAME, " Stock in transit
            SPEME LIKE MARD-SPEME, " Blocked
            KWMENG LIKE VBAP-KWMENG, " Sales orders
            LFIMG LIKE LIPS-LFIMG, " Scheduled for Delivery
            MENGE LIKE EKPO-MENGE, " Open Purch. Orders
            VALUE LIKE MBEW-SALK3, " Stock Value (Calculated)
            MEINS LIKE MARA-MEINS, " Unit of measure
          END OF INV.
    DATA: FIELDTAB TYPE SLIS_T_FIELDCAT_ALV,
          HEADING  TYPE SLIS_T_LISTHEADER,
          LAYOUT   TYPE SLIS_LAYOUT_ALV,
          EVENTS   TYPE SLIS_T_EVENT,
          REPNAME  LIKE SY-REPID,
          F2CODE   LIKE SY-UCOMM VALUE  '&ETA',
          G_SAVE(1) TYPE C,
          G_EXIT(1) TYPE C,
          G_VARIANT LIKE DISVARIANT,
          GX_VARIANT LIKE DISVARIANT.
    INITIALIZATION.
      REPNAME = SY-REPID.
      PERFORM INITIALIZE_FIELDCAT USING FIELDTAB[].
      PERFORM BUILD_EVENTTAB USING EVENTS[].
      PERFORM BUILD_COMMENT USING HEADING[].
      PERFORM INITIALIZE_VARIANT.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_VARI.
      PERFORM F4_FOR_VARIANT.
    AT SELECTION-SCREEN.
      PERFORM PAI_OF_SELECTION_SCREEN.
    START-OF-SELECTION.
      PERFORM GET_MARD.
      PERFORM GET_UNIT_OF_MEASURE.
      PERFORM GET_MARC.
      PERFORM GET_EKPO.
      PERFORM GET_LIPS.
      PERFORM GET_VBAP.
      PERFORM GET_OPEN.
      PERFORM GET_PRICE.
    END-OF-SELECTION.
      PERFORM BUILD_LAYOUT USING LAYOUT.
      PERFORM WRITE_OUTPUT.
    *&      Form  INITIALIZE_FIELDCAT
          text
         -->P_FIELDTAB[]  text                                           *
    FORM INITIALIZE_FIELDCAT USING P_FIELDTAB TYPE SLIS_T_FIELDCAT_ALV.
      DATA: L_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    fixed columns (obligatory)
      CLEAR L_FIELDCAT.
      L_FIELDCAT-TABNAME    = 'INV'.
      L_FIELDCAT-FIX_COLUMN = 'X'.
      L_FIELDCAT-NO_OUT     = 'O'.
      L_FIELDCAT-FIELDNAME  = 'WERKS'.
      APPEND L_FIELDCAT TO P_FIELDTAB.
      L_FIELDCAT-FIELDNAME  = 'MATNR'.
      APPEND L_FIELDCAT TO P_FIELDTAB.
    totalized columns
      CLEAR L_FIELDCAT.
      L_FIELDCAT-TABNAME   = 'INV'.
      L_FIELDCAT-SP_GROUP  = 'A'.
      L_FIELDCAT-DO_SUM    = 'X'.
      L_FIELDCAT-FIELDNAME = 'LABST'.
      APPEND L_FIELDCAT TO P_FIELDTAB.
      L_FIELDCAT-FIELDNAME = 'INSME'.
      APPEND L_FIELDCAT TO P_FIELDTAB.
      L_FIELDCAT-FIELDNAME = 'RETME'.
      APPEND L_FIELDCAT TO P_FIELDTAB.
      L_FIELDCAT-FIELDNAME = 'UMLME'.
      APPEND L_FIELDCAT TO P_FIELDTAB.
      L_FIELDCAT-FIELDNAME = 'WESBS'.
      APPEND L_FIELDCAT TO P_FIELDTAB.
      L_FIELDCAT-FIELDNAME = 'SPEME'.
      APPEND L_FIELDCAT TO P_FIELDTAB.
    columns with different description
      L_FIELDCAT-FIELDNAME = 'KWMENG'.
      L_FIELDCAT-SELTEXT_M = 'Sales Orders'.
      L_FIELDCAT-SELTEXT_S = 'Sales Or'.
      L_FIELDCAT-SELTEXT_L = 'Sales Orders Qty'.
      APPEND L_FIELDCAT TO P_FIELDTAB.
      L_FIELDCAT-FIELDNAME = 'LFIMG'.
      L_FIELDCAT-SELTEXT_M = 'Sched. Delivery'.
      L_FIELDCAT-SELTEXT_S = 'Schd. Del'.
      L_FIELDCAT-SELTEXT_L = 'Scheduled for Delivery'.
      APPEND L_FIELDCAT TO P_FIELDTAB.
      L_FIELDCAT-FIELDNAME = 'TRANS'.
      L_FIELDCAT-SELTEXT_M = 'Stk. in transit'.
      L_FIELDCAT-SELTEXT_S = 'Stk. trns'.
      L_FIELDCAT-SELTEXT_L = 'Stock in transit (sum)'.
      APPEND L_FIELDCAT TO P_FIELDTAB.
      L_FIELDCAT-FIELDNAME = 'AVAIL'.
      L_FIELDCAT-SELTEXT_M = 'Available'.
      L_FIELDCAT-SELTEXT_S = 'Avail.'.
      L_FIELDCAT-SELTEXT_L = 'Stock Available'.
      APPEND L_FIELDCAT TO P_FIELDTAB.
      L_FIELDCAT-FIELDNAME = 'MENGE'.
      L_FIELDCAT-SELTEXT_M = 'Open Orders'.
      L_FIELDCAT-SELTEXT_S = 'Open Ord'.
      L_FIELDCAT-SELTEXT_L = 'Open Purchase Orders'.
      APPEND L_FIELDCAT TO P_FIELDTAB.
    columns not displayed
      CLEAR L_FIELDCAT.
      L_FIELDCAT-TABNAME   = 'INV'.
      L_FIELDCAT-SP_GROUP  = 'A'.
      L_FIELDCAT-NO_OUT    = 'X'.
      L_FIELDCAT-FIELDNAME = 'MEINS'.
      APPEND L_FIELDCAT TO P_FIELDTAB.
      L_FIELDCAT-FIELDNAME = 'UMLMC'.
      APPEND L_FIELDCAT TO P_FIELDTAB.
      L_FIELDCAT-FIELDNAME = 'TRAME'.
      APPEND L_FIELDCAT TO P_FIELDTAB.
      L_FIELDCAT-FIELDNAME = 'STPRS'.
      APPEND L_FIELDCAT TO P_FIELDTAB.
      L_FIELDCAT-FIELDNAME = 'VALUE'.
      APPEND L_FIELDCAT TO P_FIELDTAB.
    ENDFORM.                               " INITIALIZE_FIELDCAT
    *&      Form  BUILD_EVENTTAB
          text
         -->P_EVENTS[]  text                                             *
    FORM BUILD_EVENTTAB USING P_EVENTS TYPE SLIS_T_EVENT.
      DATA: LS_EVENT TYPE SLIS_ALV_EVENT.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
           EXPORTING
                I_LIST_TYPE = 0
           IMPORTING
                ET_EVENTS   = P_EVENTS.
      READ TABLE P_EVENTS WITH KEY NAME = SLIS_EV_TOP_OF_PAGE
                               INTO LS_EVENT.
      IF SY-SUBRC = 0.
        MOVE FORMNAME_TOP_OF_PAGE TO LS_EVENT-FORM.
        APPEND LS_EVENT TO P_EVENTS.
      ENDIF.
    ENDFORM.                               " BUILD_EVENTTAB
    *&      Form  BUILD_COMMENT
          text
         -->P_HEADING[]  text                                            *
    FORM BUILD_COMMENT USING P_HEADING TYPE SLIS_T_LISTHEADER.
      DATA: HLINE TYPE SLIS_LISTHEADER,
            TEXT(60) TYPE C,
            SEP(20) TYPE C.
      CLEAR: HLINE, TEXT.
      HLINE-TYP  = 'H'.
      WRITE: TEXT-101 TO TEXT+23.
      HLINE-INFO = TEXT.
      APPEND HLINE TO P_HEADING.
      CLEAR TEXT.
      WRITE: 'User: ' TO TEXT,
             SY-UNAME TO TEXT+6,
             'Date: ' TO TEXT+25,
             SY-DATUM TO TEXT+31,
             'Page: ' TO TEXT+50,
             SY-PAGNO TO TEXT+56.
      HLINE-INFO = TEXT.
      APPEND HLINE TO P_HEADING.
    ENDFORM.                    " BUILD_COMMENT
          FORM TOP_OF_PAGE                                              *
    FORM TOP_OF_PAGE.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
           EXPORTING
                IT_LIST_COMMENTARY = HEADING.
    ENDFORM.
    *&      Form  INITIALIZE_VARIANT
          text
    FORM INITIALIZE_VARIANT.
      G_SAVE = 'A'.
      CLEAR G_VARIANT.
      G_VARIANT-REPORT = REPNAME.
      GX_VARIANT = G_VARIANT.
      CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
           EXPORTING
                I_SAVE     = G_SAVE
           CHANGING
                CS_VARIANT = GX_VARIANT
           EXCEPTIONS
                NOT_FOUND  = 2.
      IF SY-SUBRC = 0.
        P_VARI = GX_VARIANT-VARIANT.
      ENDIF.
    ENDFORM.                               " INITIALIZE_VARIANT
    *&      Form  F4_FOR_VARIANT
          text
    FORM F4_FOR_VARIANT.
      CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
           EXPORTING
                IS_VARIANT = G_VARIANT
                I_SAVE     = G_SAVE
           IMPORTING
                E_EXIT     = G_EXIT
                ES_VARIANT = GX_VARIANT
           EXCEPTIONS
                NOT_FOUND  = 2.
      IF SY-SUBRC = 2.
        MESSAGE ID SY-MSGID TYPE 'S'      NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ELSE.
        IF G_EXIT = SPACE.
          P_VARI = GX_VARIANT-VARIANT.
        ENDIF.
      ENDIF.
    ENDFORM.                               " F4_FOR_VARIANT
    *&      Form  PAI_OF_SELECTION_SCREEN
          text
    FORM PAI_OF_SELECTION_SCREEN.
      IF NOT P_VARI IS INITIAL.
        MOVE G_VARIANT TO GX_VARIANT.
        MOVE P_VARI TO GX_VARIANT-VARIANT.
        CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
             EXPORTING
                  I_SAVE     = G_SAVE
             CHANGING
                  CS_VARIANT = GX_VARIANT.
        G_VARIANT = GX_VARIANT.
      ELSE.
        PERFORM INITIALIZE_VARIANT.
      ENDIF.
    ENDFORM.                               " PAI_OF_SELECTION_SCREEN
    *&      Form  GET_MARD
          text
    FORM GET_MARD.
      SELECT MATNR WERKS LABST INSME RETME UMLME SPEME
             FROM MARD
             INTO CORRESPONDING FIELDS OF INV
             WHERE MATNR IN S_MATNR
             AND   WERKS IN S_WERKS.
        COLLECT INV.
      ENDSELECT.
      PERFORM FILTER_BY_MATERIAL_TYPE.
    ENDFORM.                               " GET_MARD
    *&      Form  FILTER_BY_MATERIAL_TYPE
          text
    FORM FILTER_BY_MATERIAL_TYPE.
      LOOP AT INV.
        CLEAR INV-MTART.
        SELECT SINGLE MTART
               INTO INV-MTART
               FROM MARA
               WHERE MATNR EQ INV-MATNR
               AND   MTART IN S_MTART.
        IF SY-SUBRC EQ 0.
          MODIFY INV.
        ELSE.
          DELETE INV.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " FILTER_BY_MATERIAL_TYPE
    *&      Form  GET_MARC
          text
    FORM GET_MARC.
      LOOP AT INV.
        SELECT SINGLE UMLMC TRAME
               FROM MARC
               INTO CORRESPONDING FIELDS OF INV
               WHERE MATNR EQ INV-MATNR
               AND   WERKS EQ INV-WERKS.
        IF SY-SUBRC EQ 0.
          INV-TRANS = INV-UMLMC + INV-TRAME.
          MODIFY INV.
        ENDIF.
      ENDLOOP.
    ENDFORM.                               " GET_MARC
    *&      Form  GET_EKPO
          text
    FORM GET_EKPO.
      DATA: WESBS LIKE INV-WESBS,
            SHKZG LIKE EKBE-SHKZG,
            MEINS LIKE EKPO-MEINS,
            LMEIN LIKE EKPO-LMEIN.
      LOOP AT INV.
        CLEAR: WESBS, SHKZG, MEINS, LMEIN.
        SELECT YWESBS YSHKZG XMEINS XLMEIN
               INTO (WESBS, SHKZG, MEINS, LMEIN)
               FROM EKPO AS X JOIN EKBE AS Y
               ON   XEBELN = YEBELN
               AND  XEBELP = YEBELP
               WHERE X~MATNR EQ INV-MATNR
               AND   X~WERKS EQ INV-WERKS
               AND   X~LOEKZ NE 'L'.
          IF SHKZG EQ 'H'.
            MULTIPLY WESBS BY -1.
          ENDIF.
          IF MEINS NE LMEIN.
            PERFORM CONVERT_UNIT_OF_MEASURE CHANGING INV-MATNR MEINS WESBS.
          ENDIF.
          ADD WESBS TO INV-WESBS.
        ENDSELECT.
        MODIFY INV.
      ENDLOOP.
    ENDFORM.                               " GET_EKPO
    *&      Form  GET_LIPS
          text
    FORM GET_LIPS.
      DATA: LFIMG LIKE INV-LFIMG.
      LOOP AT INV.
        CLEAR: LFIMG, INV-LFIMG.
        SELECT OMENG
               INTO LFIMG
               FROM VBBE
               WHERE MATNR EQ INV-MATNR
               AND   WERKS EQ INV-WERKS
               AND   VBTYP EQ 'J'.
          ADD LFIMG TO INV-LFIMG.
        ENDSELECT.
        MODIFY INV.
      ENDLOOP.
    ENDFORM.                               " GET_LIPS
    *&      Form  GET_VBAP
          text
    FORM GET_VBAP.
      DATA: KWMENG LIKE INV-KWMENG.
      LOOP AT INV.
        CLEAR: KWMENG, INV-KWMENG.
        SELECT OMENG
               INTO KWMENG
               FROM VBBE
               WHERE MATNR EQ INV-MATNR
               AND   WERKS EQ INV-WERKS
               AND   VBTYP EQ 'C'.
          ADD KWMENG TO INV-KWMENG.
        ENDSELECT.
        INV-AVAIL = INV-LABST - INV-INSME - INV-KWMENG - INV-LFIMG.
        MODIFY INV.
      ENDLOOP.
    ENDFORM.                               " GET_VBAP
    *&      Form  GET_UNIT_OF_MEASURE
          text
    -->  p1        text
    <--  p2        text
    FORM GET_UNIT_OF_MEASURE.
      LOOP AT INV.
        SELECT SINGLE MEINS
               FROM MARA
               INTO INV-MEINS
               WHERE MATNR EQ INV-MATNR.
        MODIFY INV.
      ENDLOOP.
    ENDFORM.                               " GET_UNIT_OF_MEASURE
    *&      Form  GET_OPEN
          text
    FORM GET_OPEN.
      DATA: BEGIN OF XTAB OCCURS 10,       " Open orders table
               WERKS LIKE EKPO-WERKS,
               LGORT LIKE EKPO-LGORT,
               MATNR LIKE EKPO-MATNR,
               MENGE LIKE EKPO-MENGE,
               MENGK LIKE EKPO-MENGE,
             END OF XTAB.
      RANGES: L_WERKS FOR MARD-WERKS.
      LOOP AT INV.
        REFRESH XTAB.
        CLEAR: XTAB, L_WERKS.
        MOVE INV-WERKS TO L_WERKS-LOW.
        CALL FUNCTION 'MB_ADD_PURCHASE_ORDER_QUANTITY'
             EXPORTING
                  X_MATNR = INV-MATNR
                  X_MEINS = INV-MEINS
                  X_ELIKZ = SPACE
                  X_LOEKZ = SPACE
             TABLES
                  XTAB    = XTAB
                  XWERKS  = L_WERKS.
        MOVE XTAB-MENGE TO INV-MENGE.
        MODIFY INV.
      ENDLOOP.
    ENDFORM.                               " GET_OPEN
    *&      Form  GET_PRICE
          text
    FORM GET_PRICE.
      LOOP AT INV.
        SELECT SINGLE STPRS
               FROM MBEW
               INTO INV-STPRS
               WHERE MATNR EQ INV-MATNR
               AND   BWKEY EQ INV-WERKS
               AND   BWTAR EQ SPACE.
          IF SY-SUBRC EQ 0.
            INV-VALUE = INV-STPRS *
                      ( INV-LABST + INV-INSME + INV-TRANS + INV-SPEME ).
            MODIFY INV.
          ENDIF.
      ENDLOOP.
    ENDFORM.                    " GET_PRICE
          FORM CONVERT_UNIT_OF_MEASURE                                  *
          text                                                          *
    -->  P_MATNR                                                       *
    -->  P_VRKME                                                       *
    -->  P_QUANT                                                       *
    FORM CONVERT_UNIT_OF_MEASURE USING P_MATNR P_VRKME P_QUANT.
      DATA: UMREZ LIKE MARM-UMREZ,
            UMREN LIKE MARM-UMREN.
      SELECT SINGLE UMREZ UMREN
             INTO (UMREZ, UMREN)
             FROM MARM
             WHERE MATNR EQ P_MATNR
             AND   MEINH EQ P_VRKME.
      IF SY-SUBRC EQ 0.
        COMPUTE P_QUANT = ( P_QUANT * UMREZ ) / UMREN.
      ENDIF.
    ENDFORM.
    *&      Form  BUILD_LAYOUT
          text
         -->P_LAYOUT  text                                               *
    FORM BUILD_LAYOUT USING P_LAYOUT TYPE SLIS_LAYOUT_ALV.
      P_LAYOUT-F2CODE       = F2CODE.
      P_LAYOUT-ZEBRA        = 'X'.
      P_LAYOUT-DETAIL_POPUP = 'X'.
    ENDFORM.                               " BUILD_LAYOUT
    *&      Form  WRITE_OUTPUT
          text
    FORM WRITE_OUTPUT.
      SORT INV BY WERKS MATNR.
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
           EXPORTING
                I_PROGRAM_NAME     = REPNAME
                I_INTERNAL_TABNAME = 'INV'
                I_INCLNAME         = REPNAME
           CHANGING
                CT_FIELDCAT        = FIELDTAB.
      IF SY-SUBRC <> 0.
        WRITE: 'SY-SUBRC: ', SY-SUBRC, 'REUSE_ALV_FIELDCATALOG_MERGE'.
      ENDIF.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
           EXPORTING
                I_CALLBACK_PROGRAM = REPNAME
                I_STRUCTURE_NAME   = 'INV'
                IS_LAYOUT          = LAYOUT
                IT_FIELDCAT        = FIELDTAB
                I_DEFAULT          = 'A'
                I_SAVE             = G_SAVE
                IS_VARIANT         = G_VARIANT
                IT_EVENTS          = EVENTS[]
           TABLES
                T_OUTTAB           = INV.
      IF SY-SUBRC <> 0.
        WRITE: 'SY-SUBRC: ', SY-SUBRC, 'REUSE_ALV_LIST_DISPLAY'.
      ENDIF.
    ENDFORM.                               " WRITE_OUTPUT
    by: akshat

    Hi ,
    User transaction MC.9 it will show inventory , value etc  as per yor requirement.
    Regards
    Hari

  • Sale of consumed Maintenance Materials

    Hi
    Gurus, pls give ur valuable input for the below my Requirement.
    our Plant people consumed one material say ( consumable). Against the Maintenance order tat material is issued to maintenance dept. and they used it. after tat the used item, ( it can be sale material) our client is wanted to sale . sale material which will be different group like scrab
    how to do the above process
    waiting for your reply
    Regards
    Charles

    Dear,
    S u are right,and  i can understand the process,
    wat i have to do for this,
    created one maintenance order, and goods issue for ( X material ) through movement type 261 & which we want to sale the scrab (material Y) is get back to stores by movement type 262 against same maintenance order no.
    am i right ?
    Regards
    charles

  • Monitoring of materials used in projects

    hi,
    we use projects for construction projects..
    at start of projects, we have list of all materials needed for the project (from estimating department)
    during the project, materials and qty have changes due to variations and wrong estimates
    at the end of project, the actual materials used is different from initial estimates..
    now what i need is how to best maintain/monitor/track the materials at the beginning, during and after the project in terms of variance and change in materials and quantities..
    any input would be appreciated..
    thanks in advance..

    Hello Ramesh
    I understand your response on the plan version, but rather than a plan version, have you considered a project version.
    I have used this technique before when I want a snapshot of the project at the time of release so that I can compare changes to the dates at time of approval (effectively my baseline) against the current scheduled dates as the version dates would not be able to be changed or rescheduled.
    I did not have material ordered from projects so I cannot say whether the material/price is also captured in the version snapshot.
    You may need to develop custom reports to read the project version that is stored to compare against the current active/operating version.
    Regards
    Stuart

  • Report to list Inventory transactions according to their Project Code

    Dear Experts,
    Is there any standard report in SAP to list the Inventory transactions according to different Projects?
    If not, please advice me on the query that is necessary for it.
    Much Thanks!
    Warmest Regards,
    Chinho

    Hi!
    You can use Inventory Posting List Report under Inventory Reports.
    Click Expand option on the same and select your project and inventory documents there.

  • Projects Inventory Destination PO Charge Account

    Hi,
    Can anyone tell me, where does the PO Charge Account defaults from in case of a Project related PO with Inventory Destination.
    Does it default from the Cost Group attached to the Project using PJM ?
    Or does it default from the Inv Org Level ?
    Regards,

    Charge Account comes from Inventory Org setup and for receiving as well, In case of projects
    for Inventory Items - -> It comes from inventory org setup , if you define project mfg setups as cost group as Project and Inventory and transfer of accounting to Gl (from projects or Inventory) based on the options you set the accounting is derived
    for Non Inventory Items @ PO - Charge account, generally you customize the workflow PO:Default Account generator to derive the accounts
    same in case on REQ as well
    hope this answers
    Best Regards
    Krishna

  • Slow moving items report for project stock

    Hi ALL,
    We are using project stock to manage all of our inventory. As the standard slow moving items report (MC46) does not contain project stock (special stock Q), we would like to develop a report then. "Slow moving" should be identified by material, plant, storage location and WBS.
    Has any had this experience? What's the main data logic for this report?
    Thanks a lot!!

    Dear,
    Do One thing.. First goto MB5B - stocks on posting date and select to display only special stock indicator Q (Project). By this you can abstract all Project materials. Save the output into Excel. (The main aim is first abstract the project stock materials into a list with a suitable transactions - MB5B or MB52).
    Then run MC50 or MC46 using these materials saved in excel file.
    Try this.
    Regards,
    Syed Hussain.

Maybe you are looking for

  • Spinning wheel of death while using photoshop, chrome and spotify

    I have a fairly new MacBook Pro which – on a bad day – keeps showing me 5x a day the spinning wheel of death for about 15 min, then it catches up again. the programms which are mostly unresponsive are photoshop, Chrome, spotify, skype. I tried lots o

  • Valuation Type Error

    Dear Frndz, I have to create a PO for a material against a vendor. In my Material master I have given H (Orgin)  as my valuation category. I have assigned valuation types(which includes my vendor also) for this Valuation category. Now when I create a

  • Any tool like pkgtool2 exists for simple packaging

    I have used pkgtool2 [from Slackware] and know enough to get by with making TGZ out of a tree and some about making RPMs if there a tool in the works for simplfying package building ?

  • Read from a file(integers)

    I have a data.txt file like: 40 2 4 5 How can I read those four integers from the file? Thanks

  • Backup / sync icon remains red

    Even when i login to PS.com when i launch Organizer, the backup/sync icon remains red. When i click on icon for backup/preferences setting, it tells me to login again.