Goods issue wrf to work order (ESM)

Dear All,
External Service Management.
my client had new scenerio.
if a work order is issued for Rs.10,000/-  conditon that consumables / any spares required to complete the job should born by contractor.
means : during the work if contractor need "gloves"  he should bring the gloves at his cost.
but, the scenerio is
my client is issuing those items with reference to that work order and at the time of billing he is deducting those cost and settling the bill.
kindly advise how to map this please.
Regards,
Adi

Dear Arul,
Kindly be clear, and advise how to mark the issue while migo with reference to Work order please.
regards
Adi

Similar Messages

  • Regarding Goods Reversal and Goods Issue process for Production orders

    Hi,
    I have a issue regarding <b>Goods Reversal</b> and <b>Goods Issue</b> process for <b>Production orders</b>.
    Actually I am having a Z - Function Module in that i am passing <b>production order number other details</b> to
    make the <b>Goods Reversal</b> happen.
    The code for the above is as below:
                       i_mvtit-material      = wa_mdfa-matnr.
                        i_mvtit-plant         = i_resb-werks.
                        i_mvtit-spec_stock    = 'Q'.          "New
                        i_mvtit-stge_loc      = 'ZWIP'.
                        i_mvtit-stge_type     = i_resb-lgtyp. "New
                        i_mvtit-batch         = i_resb-charg. "New
                        i_mvtit-orderid       = i_resb-aufnr.
                        i_mvtit-spec_stock    = i_resb-sobkz.
                        i_mvtit-entry_qnt     = i_resb-enmng.
                        i_mvtit-entry_uom     = i_resb-erfme.
                        i_mvtit-entry_uom_iso = i_resb-meins. "New
                        i_mvtit-wbs_elem      = v_frwbs.
                        i_mvtit-move_type     = '262'.
                        i_mvtit-xstob         = 'X'.
                        i_mvtit-gr_rcpt       = i_resb-aufnr. "New
                        i_mvtit-reserv_no     = i_resb-rsnum.
                        i_mvtit-res_item      = i_resb-rspos.
                        APPEND i_mvtit.
    * HEADER ELEMENTS
                        k_gmvt_code-gm_code    = '03'.
                        k_gmvt_head-pstng_date = sy-datum.
                        k_gmvt_head-doc_date   = sy-datum.
    * CREATE GOODS MOVEMENTS
                        CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
                          EXPORTING
                            goodsmvt_header = k_gmvt_head
                            goodsmvt_code   = k_gmvt_code
                          TABLES
                            goodsmvt_item   = i_mvtit
                            return          = i_return.
    The Above code does the <b>Goods Reversal</b> but then i will update one Z Table with fields like
    Production Order Number[AUFNR], Number of Reservation[RSNUM], Item Number of Reservation [RSPOS], Material Number [MATNR], Requirement Quantity [BDMNG], WBS element[PSPNR] etc. If Above BAPI runs sucessfully.
    That is happening correctly.
    But Then actual issue is i have do <b>Goods Issue</b> for those Z-Table records.
    There i will give Production order Number's & Storage Location in Selection-Criteria.
    Then i need to do <b>Goods Issue</b> for that order.
    The code i had written as follows.
    * POPULATE VALUES FOR BAPI CALL
            i_mvtit-material      = i_zpsi7603_01-matnr.
            i_mvtit-plant         = i_resb-werks.
            i_mvtit-spec_stock    = 'Q'.                "New
            i_mvtit-stge_loc      = p_sloc.
            i_mvtit-stge_type     = i_resb-lgtyp.       "New
            i_mvtit-batch         = i_resb-charg.
            i_mvtit-orderid       = i_resb-aufnr.
            i_mvtit-spec_stock    = i_resb-sobkz.
            i_mvtit-entry_qnt     = i_resb-enmng.
            i_mvtit-entry_uom     = i_resb-erfme.
            i_mvtit-entry_uom_iso = i_resb-meins.       "New
            i_mvtit-wbs_elem      = v_frwbs.
            i_mvtit-move_type     = c_261.
            i_mvtit-mvt_ind       = 'F'.                "New
            i_mvtit-xstob         = c_x.
            i_mvtit-gr_rcpt       = i_resb-aufnr.       "New
            i_mvtit-reserv_no     = i_resb-rsnum.
            i_mvtit-res_item      = i_resb-rspos.
            APPEND i_mvtit.
    * HEADER ELEMENTS
            k_gmvt_code-gm_code    = c_03.
            k_gmvt_head-pstng_date = sy-datum.
            k_gmvt_head-doc_date   = sy-datum.
    * CREATE GOODS MOVEMENTS
            CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
              EXPORTING
                goodsmvt_header = k_gmvt_head
                goodsmvt_code   = k_gmvt_code
              TABLES
                goodsmvt_item   = i_mvtit
                return          = i_return.
            CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
              EXPORTING
                wait = c_x.
            READ TABLE i_return INDEX 1.
            IF i_return-type EQ c_s.
              DELETE FROM zpsi7603_01 WHERE aufnr = i_resb-aufnr AND
                                            rsnum = i_resb-rsnum AND
                                            rspos = i_resb-rspos.
            ENDIF.
    If i run above code for <b>Goods Issue</b> it is giving error can anybody tell me what changes i need to do to make it work.
    The <b>Error Message</b> i am getting is as below:
    <b>Qty and / or "delivery completed" ind. or final issue ind. are missing</b>
    <b>Error Number for the above is : 264.</b>
    Can anybody solve my issue.
    Any help will be appreciated.
    Thanks in advance.
    Thanks & Regards,
    Rayeez.

    Hi,
    Thanks boss.
    It is working now correctly.
    The issue is the  i_mvtit-XSTOB should be equal space in case of Goods issue while incase of Reversal it should be equal to X.
    Thanks for ur efforts.
    I had awarded you points.
    Thanks a lot.
    Thanks & Regards,
    Rayeez.

  • Problem with MIGO goods issue to a Service Order

    Hello All
    I have checked through out the forum as well as google and can not find the answer to my issue.  Please read the below details and advise....
    In MIGO; when trying to perform a goods issue to a service order (created in IW31) I get an error message the document does not contain any selectable items.  I can not get passed this.  When I use the transaction MB11, it works just fine.  I went to the allowed transactions in OMJJ to ensure MIGO was listed as an allowed transaction... and MIGO is listed so I know that is not my issue.  It is not related to the service order not being released as it is and plus if it was not released it would not work in MB11.  I need this to work for the transaction MIGO....Please someone guide me in the proper direction of what is missing.

    Hi Kimberly,
    When you post the goods issue as an unplanned goods movement against the order, the reservation is not even read, so it is never updated.
    The data that you enter manually in this unplanned goods issue does not even need to match with the data in the reservation: the material, the plant... evrything can be different. The order is just a CO Account Assignment in this case and the reservation is not processed in any moment. This way, it is not possible to close the reservation when posting this kind of unplanned goods issue, as the reservation is not even considered (and, therefore, never updated).
    It is only when you post the planned goods issue referencing the order directly when you really post your goods issue with reference to the reservation behind the order. Only in this case is when the data in the posting is checked against the reservation (the material, the plant, etc cannot be changed because they are taken directly from the reservation). Also, it is only in this case when the quantity in the posting is checked against the quantity in the reservation. If we issue the total reserved quantity, the reservation is closed automatically.
    In the first case for the unplanned goods issue there is never an automatic update of the reservation because the posting does not even consider the reservation. It is only when you post the goods movement with reference to the order (in MB1A using "To Order..." and in MIGO "Goods Issue + Order") when the reservation is taken into account in the goods movement and, therefore, updated.
    You can also refer to the SAP Library:
    [http://help.sap.com/saphelp_erp2005/helpdata/en/a5/6337db43a211d189410000e829fbbd/frameset.htm]
    It says:
    "This withdrawal is unplanned because there is no reservation to be referenced."
    An unplanned goods issue with the movement 261 and the order (working as CO account assignment object) is more or less the same as a 201 for a cost center. The cost center and the order are just CO Objects in this scenario.
    I hope this helps you further!
    Best regards,
    Esther.

  • Goods issue for plant maintenance order

    Goods issue with ref to plant maintenance order( Componenets of the order) is not possible in transaction code MIGO. Error message " MIGO is not possible for the refurbishment order".
    Goods issue for the same order can be posted with transaction MB!A.

    hi santhosh
    kindly check the order type .i think you are using MB1A for refurbishment process.but it is not possible.only maintenance order can be posted via MB1A
    follow the procedure for goods issue in refurbishment order.
    Choose Logistics ® Plant maintenance ® Maintenance processing ® Completion confirmation ® Goods movement ® Goods movement.
    The entry screen for a goods issue appears.
    Choose the pushbutton For order.
    Enter the relevant order number in the dialog box and choose Continue.
    An entry screen appears.
    Choose Copy.
    The Maintain Serial Numbers dialog box appears.
    Choose Reference document.
    Enter the order number in the Refurbishment order group box and choose Execute.
    A list appears with the planned serial numbers for the refurbishment order.
    Check the selections of serial numbers, for whose material you want to post a goods issue, and choose Copy.
    The serial numbers are copied into the Maintain Serial Numbers dialog box.
    Choose Exit window.
    The goods issue is posted.
    regards
    thyagarajan

  • Post Goods Issue without reference to order

    Dear All
    We are using both Account and Costing Based COPA. We do post goods issue without reference to order. Now our problem is that at the time of post goods issue there is no Profit Analysis document posted in the system  and Profit Segment field is not modifiable. We have marked the field profit segment optional in movement type 601.
    Please let me know what can be the problem.
    Regards
    Farhan Qaiser

    Check the field status variant on GL (OBC4)

  • Issue with a work order

    Hi Team,
    I am having an issue with the work order having multiple line items for the same component. Out of all line items it is showing error for two line items mentioning,
    No status object available for CMP 81411471 0160 0110
    Double clicked on it msg no displayed BS.001
    Please help on this issue, Thanks in advance.
    Regards
    Nivas

    Are you using Work Clearance Management?? Please provide the detailed error message, if any.
    67826 - Restoring the status for orders RIORDST1
    http://scn.sap.com/thread/3209398
    Check the above details.

  • BAPI or FM to get material goods issue for a prod order

    Hi
    I need a FM to get the material goods issue for a prod order. Please let me know.
    Thanks and regards
    Harish

    Hi Harish,
    use FM <b>BAPI_GOODSMVT_CREATE.</b>
    have a look at this thread ..
    FM for good issue for production order
    Regards,
    Santosh

  • Restricted issue material in "work order"

    Hi All
    How to restrict the material at the time of the process of issue material in work order?
    we need to restrictive to Not to be wasteful.
    any can help my problem?
    thankyu..
    The pooh

    Hi PS
    Sorry if my question make you confused. but actually im need to have a system that we can restricted issue material.
    In our company have the rule that we can only take some part consumable.
    for example :
    in one month, we can only take the part just 100 pc. we not allowed to take the part more than 100 pc.
    so we must restrict that.
    Best Regards,
    the pooh

  • Goods return against maintenance work order exceeds goods issue

    Is there a way to prevent returning more quantity (262 movement type done within MB1A) than was issued (261 movement type done within MIGO_GI) against a maintenance work order component?
    Thanks in advance,
    Rick

    Hi,
    Movement Types 261 and 262 works in Planned as well as in Unplanned both ways.
    If you do Goods Issue w.r.t. Maintenance/Work Order (Movement Type - 261) then components and their quantity get defaulted from the reservation created automatically during order creation and system does not allow us to issue more that the quantity in reservation.
    Similarly when you cancel the Goods Issue Document then it hits Movement Type 262 automatically and does not allow to edit the quantity.
    The above two processes are planned ways.
    Now when you want to do extra consumption of components against Maintenance/Work Order then you do not do Goods Issue > Order, instead of this you do Goods Issue > Others and then specify all the necessary details manually (Like; material, quantity, etc...) and enter Maintenance/Work Order as an Account Assignment on which the cost is getting loaded.
    Similarly when you are receiving materials from Maintenance/Work Order using option Goods Receipt > Others then here also there is no control and you can receive any quantity from Maintenance/Work Order since here also Maintenance/Work Order is working as an account assignment not a control document.
    The above two processes are unplanned ways.
    So in short, there is not any control on this movement when it is unplanned.

  • Goods Issue (MB1A) for production order - no stock reduce happening in WM

    Hi,
    I try to do a Goods Issue with transaction MB1A for a production order, but no stock reduces happens within WM (HUM).
    I did the following.
    Created a Production order - CO01
    Created a TR - LB01 - (assigned production order to the TR)
    Created a HU for the materials. (HU02)
    Created a Transfer order to storage type 914 with L_TO_CREATE_MOVE_SU.
    At the end I want to do an goods Issue with MB1A. This seems not to work correctly. When I fill out the ordernumber and process the transaction a Delivery is created.The materials are already on 914, so it can be issued directly.
    What can I do to solve this.
    Thanks in advance.
    Regards,
    Alexander

    Please find out is there any accoun t assignment is there for the component in question.
    pl got production order disply screen and goto  --> material list
    check is there any value on the filed account assignment. If that is the case then you need to have special stcok for that account.
    If it is empty then check
    are you entereing the correct storage location and plant.
    if that is also fine then check whether the component is already issued, i.e. goto the component detailed screen and check wthere final issue tick is there for the component...or the componentb is deleted...
    come back after these checks.

  • Approval for material return issued against the Work Order

    Hello,
    We are using PM module and issuing materials against the work order.  Many times users are returning the un-used material back to stores.  This un-used material may come back <b>with or without</b> work order reference.  i.e. Sometimes they just return bunch of material but don't know the work order # against it was issued initially.
    We need to control this flow of un-used return material through proper system approval.
    How can do this.
    Thanks,

    Hi,
    In standard SAP There is no approval process to return the material.
    I have one work around , you can create one PM order to return the material & instruct your store people to receive the material only with reference to PM order.
    With out releasing a PM order, system will not allow to post the goods return.
    I hope it may help you.
    Regards,
    Manish

  • Calculation of goods issue date in sales order with routes

    Hello Gurus,
    This is my first post on SCN, I'm excited to share a new little problem I have.
    I have configured my routes determination as per our requirements.  For example, I have one route configured in 0VTC such that the transit duration is 1 hour.
    When I create a sales order, I enter that route (1 hour transit.dur) under shipping on the line item.  Then I set a delivery date sometime in the future to test out my config.  Looking at the shipping "Goods Issue Date", I see that the date is 2 hours earlier than my delivery date.  It's supposed to be 1 hour.
    I looked through many forums and found no help on this.  My factory calendar is configured such that all days, including weekends and holidays are production days.
    Please advise at your earliest.
    Thanks,
    Mido

    Hi TW Typewriter,
    Yes, I am changing the date in the "schedule lines" tab for the sales order to a date next week, say May 23, 2014.  When I click on the display "Shipping" info, I see:
    1) Delivery date: 05/23/2014 - 00:00
    2) GI Date: 05/22/2014 - 22:00:00
    The expectation is to have the GI date 23:00:00 since my config for the route on the sales order is for 1 hr of transit time only.
    See attached

  • How to fetch post goods issue date and sales order creation date

    Hi All,
    How to find out the difference between SD Sales Order Item Creation Date and final Post goods issue Date. I would like to know how to fetch those dates and what is the relationship between the tables from which i will get the dates.
    Please let me know the solution .
    Thanks in advance.

    Hi,
    Sales order creation date is when u raise a sales order in favor of the customer using VA01.......using ATP logic system purposes the material availability date....
    after saving ur sales order...when u raise the Delivery using VL01n  w.r.t to OR...than u have to perform picking ....In the picking Tab...specify the amount to be picked than press Post Good Issue....means the goods left the company premises ..
    You can the fetch the values using tables-  Use T code   SE12  or SE16
    Vbak-----order header
    Vbap-----order item
    Vbek-----order schedule line
    Likp-----Delivery header
    Lips----Delivery item

  • Regarding goods issue (reversal) against process order

    Dear friends,
    Recently i have noticed one strange thing in SAP.I have created one process order and against it i have done the confirmation.Now when i go to Transaction code mb1a and select movement type 262 (Goods Issue to process order-reversal) and give the storage location and in next screen i gave order number,material code and its qty.These material code is not maintained in the bom of order header material.And even in process order in material tab we haven't maintained this material.Also while doing the confirmation in goods movement we haven't maintained this material.Then also system allows me to do so.Which means material which i haven't issued against the process order, system is allowing me to do its reversal i.e (262).because of which system is creating the stock for that material, which is not correct.
    Can we control this behaviour of system.
    Thanking you guys in advance.

    Hi Jitendra,
    This is fact and there is no standard Control available for the same.Only thing you can do is put control over Movement type 262 or try it by implementing User Exit.
    I am not sure but you can use Enhancement CCOWB001 - Customer exit for modifying menu entries.
    Include is LXCOWBF01.
    Regards,
    Dhaval

  • Last goods receipt, last goods issue and last purchase order

    Hi Experts!!
    is there any table/info structure where I have the last goods receipt material document number, last goods issue material document number and last purchase order number? I want to extract this information to Business Warehouse.
    Best regards

    Are you looking for a report similar to MB51?
    If you put little more detail, i might be able to help. I don't know much about info structures but i can tell you the SAP tables.
    All Movement Details are in the below tables.
    MKPF- Material Document Header,
    MSEG - Material Document Detail -( you can put your material, plant for selection)
    Last PO  - you can get it from Info-record (EINE- EBELN, EINE-EBELP).
    Thanks,
    Shekhar Ramineni

Maybe you are looking for