PPPI PI sheet to trigger HUM goods receipt and PI order confirmation

Hi gurus,
We're running into a problem when setting up our PI sheets.
We're using Handling Unit Management for our finished products and would like to use the PI sheet to post both the goods receipt of handling units and the order confirmation. For now let's assume all activities and ingredients are backflushed.
For the HUM section we've created a function module that combines transactions COWBPACK and COWBHUWE. When called by itself it works like a dream.
For the order confirnation we've successfully used standard SAP message category PI13, but also only when called by itself.
The problem is when we combine them:
When combining the Z function module to contain both COCI_CONFIRM_ORDER (from the PI13 message) and our ZHUM function modules, it appears that the COCI_CONFIRM_ORDER blocks the process order so the COWBHUWE part of our function module cannot be executed. This has something to do with the way SAP handles the "commit" in the function module.
Now, I noticed it's possible to include more than one message category in customizing for the PI sheet category (when configuring through the wizard).  The idea is then to process the messages with a background job, filtering through the message category so we do the HUM part immediately and the confirmation only at the end of the shift so they don't block each other.
However, when I do this still only one message category is created after processing the PI sheet.
Do you know how to create messages with multiple message categories from the same PI sheet? Or if that's not the way, is there a better way to set up this process?
Sorry for the long text, just wanted to be precise.  Any help is, as usual, greatly appreciated.
Kind regards,
Elt

Hi
1. What is quantity of the waste material you get as by product? Do not you wan it to be handled as scrap? What is the %age of scrap you have defined in the BOM for the material? You wll have some data regarding this. Or else how do you arrive at decission that after subcontract processes the waste you are paying him, Is it umpsum basis or material quantity basis. The best way is to have a Subcontract PO, but for that even though you do not weigh the watse quanity you must be having so historical data for the waste quantity generated and the conversion of the sane to other SFG , definitely you can arrive that on a pro_rata basis. Have a Code for the waste mateial. Release Subcontract PO for SFG which is what you get back, and issue the components( waste) to subcontractor.
Please remember your PO intially will be for Provisional quantity if you are unable to reach a fixed quantity. Amend the PO before GR as per the actual quanity for which you wish to pay the vendor.
For the waste quanity stock updation you use 262(w/o refe to Prd order) after the FG is confirmed.
Material price updation happens cirrectly in this process.
2. You can pay the vendor as you wish by by this process but what about the price updation for the ordered material SFG. When you can receive by product in separate Txn againt FG then why can not you follow the proces no. 1?
3. I would not liketo suggest 3 rd option as that becomes much comlicated for a simple operation.
Best Regards

Similar Messages

  • Restricting Good Receipt Unless Production Order Confirmed

    Hi
    Experts,
    I want to Restricting Good Receipt Unless Production Order Confirmed
    I am doing following thing but the error is occured.
    Use Tcode BS02 ( Customising USer status profile).
    2. Select the order type which you want to configure (eg:PP000001) and choose "Details" button.
    3. In the User status table do the following:
    a. In the status no field type"1" , status field "Sta1", short text"GR not allowed",  lowest no "1",  Highest No "2". Mark a tick in the initial stats check box.
    b.Next line, type status no field "2" ,status field "sta2", short text"Gr allowed", lowest no "2" , highest no "2".
    4. Select the STA1 line and choose details. select the "create"button.select the "GR for prod order", mark "forbidden
    radio button" and "set radio button".
    5. Select the STA2 line and choose details. Selct the "create"button. select "confirm order", mark "permitted radio button" and "set radio button". Next choose "GR for prod order" , mark "permitted radio button".
    6.Save.
    Create a prod order and check whether the required scenario is working.
    I have created user status profile as PP000001   GR
    ERROR
    First define allowed object types
    Message no. BS218
    Diagnosis
    The object types for which a status profile may be used define which business transactions are included in business transaction control.
    Procedure
    First define for which object types this status profile can be used.
    What is object type how to define?
    Thanks & Regards
    Pert

    Hi,
    Refer to the below thread which addresses the same need:
    Re: GR not allowed :BS02
    Revert if you face any issues.
    Regards,
    Vivek

  • DTW Problem ---- Goods Receipt and Purchase Order

    Hi Owen Slater and Suda
    Your reply helped me a lot in loading in linking the GR with PO via DTW.But still i m having a small problem.
    In Document_Lines of Purchase Order and Purchase Delivery Notes i specifed two Taxcode as "Exempt" and "VAT@4" under the column "Taxcode" and initially loaded the purchase order,the tax code get added correctly to the purchase order and when i tried to load the GR for the same line item with same tax code,the tax code is not getting added to the GR line item and the tax amount get deducted in the GR.
    For more information: SAP Business One SDK
    Edited by: Rui Pereira on Nov 7, 2008 1:23 PM

    Purchase Order Documents
    Recordkey  Cardcode  DiscountPercent  DocDate   DocDueDate  DocNum  DocTotal
    Recordkey  Cardcode  DiscountPercent  DocDate   DocDueDate  DocNum  DocTotal
       1         AA01        0            20080912   20080912     1       
    oPurchaseOrder:Document_Lines
    Recordkey  LineNum AccountCode DiscountPercent     ItemCode  Linetotal  Price  Quantity  Taxcode   WarehouseCode
    Recordkey  LineNum AccountCode DiscountPercent     ItemCode  Linetotal  Price  Quantity  Taxcode   WarehouseCode
       1                1211005        0           ITM01                850     45        VAT@4     Godown1
       1                1211005        0           ITM02                750     55        VAT@4     Godown1
    As per your suggestion i left the "DocTotal" column of  PO --- Document and "Line Total" and "Line Num" column of PO ---Document_Lines as blank and also the Discount column is assigned to 0 and this get imported correctly.
    oPurchaseDeliveryNotes:Documents
    Recordkey  Cardcode  DiscountPercent  DocDate   DocDueDate  DocNum  DocTotal
    Recordkey  Cardcode  DiscountPercent  DocDate   DocDueDate  DocNum  DocTotal
       1         AA01        0            20080912   20080912     1       
    oPurchaseDeliveryNotes:Document_Lines
    Recordkey  LineNum AccountCode  BaseEntry  BaseLine  BaseType  DiscountPercent      ItemCode  Linetotal  Price  Quantity   Taxcode   WarehouseCode
    Recordkey  LineNum AccountCode  BaseEntry  BaseLIne  BaseType  DiscountPercent      ItemCode  Linetotal  Price  Quantity   Taxcode   WarehouseCode
       1                1211005        1          0          22           0             
       1                1211005        1          1          22           0             
    When it is imported like this ,it get imported successfully.
    But when i change the WarehouseCode or give new WarehouseCode in oPurchaseDeliveryNotes ---> Document_Lines
    like this
    oPurchaseDeliveryNotes:Document_Lines
    Recordkey  LineNum AccountCode  BaseEntry  BaseLine  BaseType  DiscountPercent      ItemCode  Linetotal  Price  Quantity   Taxcode   WarehouseCode
    Recordkey  LineNum AccountCode  BaseEntry  BaseLIne  BaseType  DiscountPercent      ItemCode  Linetotal  Price  Quantity   Taxcode   WarehouseCode
       1                1211005        1          0          22           0                                                                Godown1
       1                1211005        1          1          22           0                                                                Godown2
    1)Here i m chaging the Warehousecode of  ITM02 to Godown 2,its getting imported successfully.But when this imported record is viewed in Purchasing - A/P ->Goods Receipt PO of  SAP B1 GUI , the matrix (GR_DocumentLines) does not have the taxcode  i.e the TaxCode column is left empty.
    2)Also even when the taxcode is specified under the oPurchaseDeliveryNotes_DocumentLines and importing the same problem occurs ,the matrix (GR_DocumentLines) does not have the taxcode  i.e the TaxCode column is left empty when it is viewed through SAP B1 GUI.
    Edited by: Rui Pereira on Dec 9, 2008 5:10 PM
    Edited by: Rui Pereira on Apr 28, 2009 12:18 PM
    Edited by: Paulo Calado on Jun 18, 2009 5:20 PM

  • Standard web services for Goods receipt and purchase order

    Hi,
    Can you please tell me the std web services for creating the Purchase order and Goods receipt?
    Is there a link where i can get the information on this implementation?
    Thanks
    Srini

    Hi,
    Please reffer ES workplace.
    [Order to Cash|http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DE0426DD9B0249F19515001A64D3F462&id=9B0DDD8CCC484FA79EBBBA7F78B57DA7]
    Thanks
    Farooq

  • Goods Receipt and Subcontract/Service confirmation

    Dear SAP Guru,
    I have one scenario to map.
    Some waste will be generated because of nature of FG production and processing of this waste will be carried out within factory premises by sub-contractor. As material issued will be waste, no weighing of material issue is done. But after sub-contractor process it, it is supplied back as SFG which has some value and hence weighing is done.
    Now my question is how to mapp it:
    1) Standard Sub-contracting scenario: Its not possible as weight of material supplied to sub-contractor is not known as its not feasible considering that its waste material. Or can we have sub-contracting without any material issue to vendor but only GR for SFG?
    2) Service Contract: Service order can be created and against that service entry sheet can be used for service provided by sub-contractor on the basis of weight of SFG received from sub-contractor. And SFG material can be received as by-product against FG order by seperate transaction.
    3) An extra operation can be defined in recipe of FG as external processing but then what details should be sub-contracting or service (which info record standard/sub-contracting) and how the whole cycle would be?
    Please give your comments on each option.
    Thanks and regards,

    Hi
    1. What is quantity of the waste material you get as by product? Do not you wan it to be handled as scrap? What is the %age of scrap you have defined in the BOM for the material? You wll have some data regarding this. Or else how do you arrive at decission that after subcontract processes the waste you are paying him, Is it umpsum basis or material quantity basis. The best way is to have a Subcontract PO, but for that even though you do not weigh the watse quanity you must be having so historical data for the waste quantity generated and the conversion of the sane to other SFG , definitely you can arrive that on a pro_rata basis. Have a Code for the waste mateial. Release Subcontract PO for SFG which is what you get back, and issue the components( waste) to subcontractor.
    Please remember your PO intially will be for Provisional quantity if you are unable to reach a fixed quantity. Amend the PO before GR as per the actual quanity for which you wish to pay the vendor.
    For the waste quanity stock updation you use 262(w/o refe to Prd order) after the FG is confirmed.
    Material price updation happens cirrectly in this process.
    2. You can pay the vendor as you wish by by this process but what about the price updation for the ordered material SFG. When you can receive by product in separate Txn againt FG then why can not you follow the proces no. 1?
    3. I would not liketo suggest 3 rd option as that becomes much comlicated for a simple operation.
    Best Regards

  • How to get rid of Open Goods Receipts and PO's that were never invoiced

    Hi we use SAP Business one 2007A PL:08. I need to learn a way to delete all the open good receipts and purchase orders that were never invoiced. How do I do it?
    Please let me know!!
    Thanks

    Purchase orders do not have any accounting entries, so Right Click> Close will close the document.
    The same action will also close a GRPO, but this will create an accounting entry as the Goods Receipt created a debit to stock and a credit to the allocation account.  The closing entry will clear the allocation account & credit a cost of sales account which is determined in the account determination. I think it is discounts received account from memory.

  • Goods Receipt and Amoratization to Internal Orders (CO)

    Dear SAP Gurus -
    Please could you kindly assist in this matter.
    Our Production department is unable to upload the plan cost / unit cost to the 1st impression production order number, as stock was received before for the old title.
    Instead of creating new ISBNs the business used these existing 40 ISBNs and just changed the  titles.
    As such the plan cost /unit cost was uploaded to 2nd impression 02, goods
    receipt and actual invoice received also captured into 2nd impression 02.
    However for the internal order via KO03 for the 40 new titles were captured into 1st impression '01'
    Production dept is able to upload the plan cost
    / unit cost to the first cost internal order the last two digits carry 01 and
    actual invoice received is captured into 1st impression first cost 01.
    Will the First cost internal order amortised for 12 months upon the goods receipt.
    Question Can the 1st impression 01 first cost order internal order created via KO03 read the goods receipt
    which is captured in 2nd impression 02 in production order?
    I believe the business want to know if the goods receipt they have done against Production order 02 will trigger the amortisation of the costs on First cost internal order 01.
    So basically the concern is that the first cost internal order number 01 for these 40 titles maybe will be amortised upon
    the actual goods receipt as the receipt is captured in 2nd impression 02 for the production order.
    Please provide some feedback.
    Thanks.

    Hello,
    I try it from development environment , Create the  transport organize and transport it to product environment, then use SM56 transaction for reset buffer ( object CO_ABRECHN ) and put the NR status. so, you can transport it without preoccupation.
    Regards.

  • Performing goods receipt based on TO confirmation for putaway

    Hi All,
    I am testing the possiblity of creation/confirmation of TO that will post goods receipt the purcharse order or inbound delivery. I have set the Shipping control value to 2 - Copy WM quantity as delivery quantity and post GR/GI. But what is the process to make sure when I perform the confirmation of putaway transfer order it performs the goods receipt. I tried creating a PO followed by creation of TO manually using LT01 for 101 movement type (yes i made config changes to allow 101 to be used for manual TO creation). And finally confirmed the TO. Nothing happened.. there is deficit in 902 storage type.
    Or is this functionality just for picking??

    Hello,
    1. If you are using Handling Unit you can configure the posting of the delivery before or after the TO.
        For that you should go into the IMG and select: Logistics - General->Handling Unit Management->Basics->Delivery->Define                                                                               
    Sequence of Transfer Order - Goods Receipt.
        Within you can specify for each warehouse and delivery item category when to post.
        Remarks:
             1. For working with inbound delivery you should set the Control Confirmation Key to 0004 in the PO/Info rec.
             2. You can not post before TO together with Partial posting of HU. you need to decide.
    2. If you do not work with HU then you will have the minus in 902 area till you post GR.
        option 1: you post the GR with transaction MIGO and create the TO imidiately automatically after posting (customizing via the
                       WM&IM interface).
        option 2: you can use the user exit at the end of TO confirmation and call the function "BAPI_GOODSMVT_CREATE" to post the GR
                       with the TO confirmation quantities. Remark: you need to execute commit before you call the BAPI again.
    Yours Sincerely,
    Yair Ben-Shaul
    SAP LE Senior consultant,
    Ness Ltd.

  • Goods Receipt and Serial Numbers

    I'm getting the following error "[IGN1.WhsCode][line: 1] , 'This entry already exists in the following tables (ODBC -2035)'" when trying to add a goods receipt document containing a single item that is serial number managed via the DI API.  We are running against Business One version 2005A SP01 PL9.  The Goods Receipt PO transaction is reporting the same error.  The Goods Issue and Delivery transaction appeared to work correctly. The Goods Receipt transaction posted correctly when created in the B1 Client (GUI) application.  So it is an issue with the DI API.  We are using the SBODemo_US company database but we added a new item and configured it for serial number management.  This same code works with B1 2004A.  Our application is suppose to work with both versions of B1, so our application is built with version 2004A DI API.  Should this work, or do I need to use the 2005A version of the DI API when communicating with a 2005A system?  Would this version of the DI API work correctly with a 2004A system?
    Thanks,
    Jason Eiler

    I remembered encountering the same problem working with B1 2004A.  For the Goods Receipt and Goods Receipt PO documents, when receiving items that are serial managed I would fill in the InternalSerialNumber data member of the Document Lines Serial Numbers object.  The fix was I also had to provide some value for the SystemSerialNumber field.  I just always set it to a value of 1.  In B1 2005A, this issue must have been resolved, because when I commented out this line of code, the document was added successfully.  I don't have to provide a SystemSerialNumber, the system must generate one, as I would expect.

  • Automatic creation of transfer orders from goods receipt of purchase order.

    Hi experts
    The project i am currently working on requires the following;
    When goods receipting a purchase order i have a requirement for the system to create automatic transfer orders to put the stock away into storage bins.  I am aware that the stock goes straight into the 902 area once goods receipted.  Is it possible to have the transfer orders created automatically out of 902 once the goods receipt has been posted.
    In support of this, i have made an entry in transaction OMKX for the following;
    Reference Movement Type - 101
    Movement Indicator - B (goods movement for purchase order)
    Movement Type - 101
    TR Create Transfer requirement - X
    Immed. TO Creation - A
    Addl Data - X
    Once i receipt the PO it just sits in 902 and does not create any automatic transfer orders.
    Could someone please help me
    Thanks
    Simon

    Please try to process the material document of the GR manually by LT06 in foreground to find out the root cause of the error.
    You may also want to setup the mail control (V_T321-MAILK) for immediate TO creation in OMKX. The system will send you a express message (depending on your setup) if TO creation is failed.

  • MIGO - Goods Receipt against Purchase order. PO rate dispaly.

    Is it possible to display purchase order line item rate in MIGO - Goods Receipt against purchase order - Quantity tab.
    In Quantity tab - System is showing Qty in Unit of Entry, Qty in SKU, Qty in Delivery Note, Quantity Ordered, alongwith these fields we also want display of Purchase order rate/each of that line item.
    Please guide.

    BTW you are getting PO number at MIGO and clicking over that you will get entire PO then why you want PO rate display here??

  • Report to Purchase Orders with Good Receipt and pending for Invioce Receipt

    Hello,
    I'm looking a report bring me Purchase Orders with Goods Receipt and waiting for Invioce Verificacion (MIRO).
    I appreciate any help.
    Regards,
    Hector

    Hi,
    ME2N - In selection screen, enter Selection parameters as
    WE102 i.e. Goods receipt exists and in output screen put a filter on "Still to be invoiced (qty)" and "Still to be invoiced (val.)" as not equal to zero OR greater than Zero.
    OR use RECHNUNG i.e. Open invoices and execute the report
    OR Use MB5S - GR/IR Balances

  • Error while doing Goods receipt for process order. Error code: "BS027"

    I am getting error while doing GR for a day whereas previous day(s) GR is already done and also 2 days post that day are also done successfully.
    Error :  ""Goods receipt for prodn. order" is not allowed (ORD XX-CEMTSAL) " (XX = First two characters of plant code)
    Error code: BS027.
    Thanks to all in advance.

    Hello,
    This issue would occur when you want to post a confirmation for a production order. The error message is generated if you wanted to post a backflush for a component and if this component was assigned to a sales order stock. The sales order itself was assigned to a work breakdown structure element which should be debited with the actual costs. However, the business transaction 'Confirm' is not permitted for a work breakdown structure.
    Please look into SAP Note 62367 and 64370
    Hope the information is helpful
    regards

  • During Goods Receipt of Production Order

    Dear Friends
    Myself Prasanna R, This is regarding <b>Error while doing goods receipt of Production order</b>, I have done MRP run, and converted planned order to production order, and based on the Production order, i have done Goods Receipt, durning GR(Goods Receipt) this error occurs: Check table TFBEFU_CR: entry 10   does not exist
    Message no. M7001; In table TFBEFU_CR the entry 10   is missing.
    i am working on 5.0 version, kindly help me out, so that i can proceed.
    Thanks in Advance.
    Regards
    Prasanna R

    Hi Ranganth
    I can get into the MIGO, but unable to post the GR.
    Kindly help me out. and error message as follows:
    Check table TFBEFU_CR: entry 10   does not exist
    Message no. M7001
    Diagnosis
    In table TFBEFU_CR the entry 10   is missing.
    Procedure
    Make sure your entries are correct.
    If table  has not been maintained correctly, please inform your systems administrator.
    Thanks & Regards
    Prasanna R

  • Price change for material with Goods Receipt with out Order reference?

    hi all,
    Our client company have some finished products produced from raw materials. But we are not using Production planning module. So in MM we are receiving these products with Goods receipt with out order reference(521).
    The issue is, the price for this product will change monthly. This new price will affect the existing stock as moving average price calculation.
    ex:
                                     Quantity             Price             Value
    Stock balanace        100To                 2.00/To         200 
    Newly produced      100To                 2.20/To         220   
    after the GRN for newly produced is done. The price also need to change as below.
    Total                         200To                 2.10/To         420
    This is easy if we receive goods with PO price, as moving average price will updae in the master record.
    But here no reference. So only quantity updated with existing price. 
    So how to achieve the change of price ? Please help.
    Thanks,
    Aravind

    Hi Bijay,
    Thanks for the reply. I will use the posting method suggested by you.
    but how you are arriving  newly produced material quantity & price!
    The reply for your comment is,
    Every month My client company revise the price of the produced material based on various factors including the
    raw material purchase cost.
    The price will be fixed for the whole month.
    While posting the GRN, the accounts updated are,
    Dr  Material account
    Cr Production Cost
    Please let me know what you have asked is answered or not.
    So that i can brief more. This is my initial project. So your feedback is very helpful to me.
    Thanks,
    Aravind

Maybe you are looking for