Calculation for subcontracting item of type N (non stock) as it for type L(Stock)

Hi Gurus,
I have a Requirement for calculating the cost for Subcontracting  Non stock items N as it is getting calculated in standard functionality for subcontracting items of Type L.
This will be done in CK11n ( used to calculate the standard cost estimate of the product) for header as well as component materials.
please suggest the user exit or Badi where i can change.
Please refer the below logic-
BOM for the material 2000500 as Header and 1LPL0835298AB as a component and this component has an assembly with 7008508 as a component and this component is an Sub contracted item and this has an assembly with component 1LBA182151-3.
Price calculation for the material 7008508 (Item Category as N). Since this is sub contracted item the price will picked from field EINE-NETPR.
In EINA, pass the material (MATNR=7008508) to fetch the list of info records (INFNR) created for that material.
Then it has to input those info records to EINE table along with Purchasing organization (EINE-EKORG=PT02).
From the output of EINE table, it should compare the price (EINE-NETPR) of the PIR and should take the least price from those PIR`s.
If the currency is other than PLN, then it should be converted to PLN based on conversion charges.
For Material (MATNR=1LBA182151-3), it should pass the material number to table MBEW along with valuation area (BWKEY = WERKS).
From the output, it should check the Price control (VPRSV) ‘V’ or ‘S’
If ‘V’ the price will be picked from the field “VERPR”
If ‘S’ the price will be picked from the field “STPRS”
Also from the output, it should check the Price unit (PEINH) ‘1’ or other than ‘1’. If it is other than ‘1’ it should divide the VERPR or STPRS by PEINH. Then this is the price of the Material “1LBA182151-3”.
The material (MATNR=1LBA182151-3) should be passed to table “MARA” and will take the Base unit of measure from that table “MEINS”.
Br,
Surya

Hi Surya,
Please put breakpoints in any of the below BADI's and check if any of them will trigger for your
requirement:
VALUATION_CK                            BAdI for Valuation in Product Costing
CK_KALAMATCON2_CI                       BAdI for CI Fields for Table KALAMATCON2
COSTINGRUN_CK                           Edit Costing Run
COST_APPORTION_CK                       Maint Apportionment Structure Joint Production: Dist Rules
CO_PROD_COSTING_CK                      Cost Management for Joint Products (Costing, Target Costs)
DATA_EXTENSION_CK                       For Data Enrichment in Product Costing
DYNPRO_EXTENSION_CK                     BAdI for Interface Enhancement in Costing
ORDER_COSTING_CK                        Enables Header Data Changes in Preliminary Order Costing
QUANTITY_STRUCT_CK                      Enables Quantity/Structure Changes in Costing
SUR_STOCK_TRANSF_CK                     Overhead on Materials with Stock Transfer Between Plants
Thanks
Sri

Similar Messages

  • Calculation of cost for subcontracting item of type N (non stock) as it calculating for type L(Stock)

    Hi Gurus,
    I have a Requirement for calculating the cost for Subcontracting  Non stock items N as it is getting calculated in standard functionality for subcontracting items of Type L.
    This will be done in CK11n ( used to calculate the standard cost estimate of the product) for header as well as component materials.
    please suggest the user exit or Badi where i can change.
    Please refer the below logic-
    BOM for the material 2000500 as Header and 1LPL0835298AB as a component and this component has an assembly with 7008508 as a component and this component is an Sub contracted item and this has an assembly with component 1LBA182151-3.
    Price calculation for the material 7008508 (Item Category as N). Since this is sub contracted item the price will picked from field EINE-NETPR.
    In EINA, pass the material (MATNR=7008508) to fetch the list of info records (INFNR) created for that material.
    Then it has to input those info records to EINE table along with Purchasing organization (EINE-EKORG=PT02).
    From the output of EINE table, it should compare the price (EINE-NETPR) of the PIR and should take the least price from those PIR`s.
    If the currency is other than PLN, then it should be converted to PLN based on conversion charges.
    For Material (MATNR=1LBA182151-3), it should pass the material number to table MBEW along with valuation area (BWKEY = WERKS).
    From the output, it should check the Price control (VPRSV) ‘V’ or ‘S’
    If ‘V’ the price will be picked from the field “VERPR”
    If ‘S’ the price will be picked from the field “STPRS”
    Also from the output, it should check the Price unit (PEINH) ‘1’ or other than ‘1’. If it is other than ‘1’ it should divide the VERPR or STPRS by PEINH. Then this is the price of the Material “1LBA182151-3”.
    The material (MATNR=1LBA182151-3) should be passed to table “MARA” and will take the Base unit of measure from that table “MEINS”.
    Br,
    Surya

    Hi Surya,
    Please put breakpoints in any of the below BADI's and check if any of them will trigger for your
    requirement:
    VALUATION_CK                            BAdI for Valuation in Product Costing
    CK_KALAMATCON2_CI                       BAdI for CI Fields for Table KALAMATCON2
    COSTINGRUN_CK                           Edit Costing Run
    COST_APPORTION_CK                       Maint Apportionment Structure Joint Production: Dist Rules
    CO_PROD_COSTING_CK                      Cost Management for Joint Products (Costing, Target Costs)
    DATA_EXTENSION_CK                       For Data Enrichment in Product Costing
    DYNPRO_EXTENSION_CK                     BAdI for Interface Enhancement in Costing
    ORDER_COSTING_CK                        Enables Header Data Changes in Preliminary Order Costing
    QUANTITY_STRUCT_CK                      Enables Quantity/Structure Changes in Costing
    SUR_STOCK_TRANSF_CK                     Overhead on Materials with Stock Transfer Between Plants
    Thanks
    Sri

  • Create PO return for subcontracting item

    Dear Expert,
    I want to create PO Return for subcontracting item category.But when I tried to create it,the system prompted an error message:"Returns not possible for subcontracting items Message no. ME 548". Then I used SPRO to check the system message and there is no such a message in the system.Also I added this message into my system and set the catetory to "W". But when I create the PO Return,the same error occured.
    What should I do then?
    Any advice?
    Best Regard,
    Pauline

    Thanks for the reply.
    I have done one testing for PO return subcon item. I create the Normal PO return, and I create return delivery (mvt type 122) with reference to original material document.
    But when i checked in the subcon report ( ME2O/ MBLB/ MMBE) the subcon material dont have any effect when I create the return delivery. the subcon material should be increase as we return back the item to the vendor.
    Example here: we return back the boxes to the vendor, means the papers the we provided for them to produce the boxes should be increase ( means that they haven't done anything with the papers so the papers stock should increase)
    In the reports ( ME2O, MBLB, MMBE) they not show the changes in stock level of papers when there is return delivery transaction. I'm not sure whether I miss out something in the report ? or maybe there are other reports to show the subcon stock level.
    Pauline

  • Doing MIGO for subcontract item

    Hi Friends,
    When I am doing MIGO for Subcontracting items, I can explode the BOM & see the child parts. At that time I can change the qty. & unit of measure for child products. Is it possible to restrict these.
    I make BOM for the mail item & made PO accordingly.
    Because of this the value of the main item may be valued at higher or lower, which is not correct.
    Regards

    hi,
    the component u r attaching in the SC po, is planned consumption ratio, which is going to be used for conversion of finished goods-child material.
    here when u r making the GRN for child material, always there should be flexibility of changing the component conusmption, as there is always differance in planned and actual conumption.
    when u r sure that there is a change in conusmption pattern, u need to change the qty of the component while making the GR.
    (as per SC challan referance)
    if at after all goods receipt is done , and u observe the differance in component consumption, u can always adjust the same by MIGO_GS against PO-GRN.
    u cant make the component field in MIGO as blank and which is not advisable tooo.
    Edited by: manipal on Jan 8, 2008 6:15 AM

  • Account assignment question (for subcontracting item category)

    Hello
    Is it possible to have a account assignment category with a consumption posting indicator V work with a subcontracting item category L?
    Our scenario is that a SD item category TAB auto generates a Subcontracting PO with account assignment M and item category L.
    The problem with account assignment M is that it references sales order, and does not propose BOM component material/quantity, like a standalone subcontracting movement (541 reference to PO)
    We want to issue components to the subcontractor referencing a PO, and maintain visibility thru ME2O (Which account assignment M wont allow).
    Is this possible ?
    I tried tweaking the account assignment category M by changing the consumption posting indicator to V.
    This allowed me to do the subcontracting issue 541 movement referencing a PO.
    However, I got 2 accounting errors at MIGO.
    No direct postings possible to G/L account 03-010
    I then changed the FS00 settings to allow direct postings, but got the next error and was stuck. I guess if these accounts are postable, my problem is solved but I don’t know how to do that!
    Acct. 03-010 for trans./event key BSX, postable directly
    If anyone is knowledgeable on account assignments or knows how I can solve these, I would greatly appreciate your input.
    Regards
    Ken

    Thanks for replying again, Gopala.
    Let me clarify, the SAP error I am receiving is at MIGO, following the successful transfer posting at MB1B (mtype 541 referencing the PO number. If I can get the proper account postings at MIGO (as in a standalone MM subcon scenario) here, my problem is resolved.
    When I hit post at MIGO (Finished Product mov type +101/Component reduction is -543 O) I receive the error "Acct. 03-010 for trans./event key BSX, postable directly " I then goto FS00 (G/L accounts) and uncheck the 'post automatically only' box. But then when I goto re-post at MIGO, I get the message
    "No direct postings possible to G/L account 03-010"
    So I am stuck in this circular error.
    Is this correctable?
    Thanks Again
    Ken

  • Search for all items belong to parent, child or grand child content type

    Hi,
    The goal is to get all tasks from various site collection for a given farm. I have about 7 content types and their parent content type is Task. However, the following query is only returning where a list is setup with only parent content type "Task".
    {searchTerms} ContentClass:STS_ListItem_Tasks AssignedTo:{User.Name} 
    If I have a list and Task is the only default content type then the data from this list shows up using above query. However, I have a list say "Workflow Tasks" and it has several content types (Tasks, summary Task, Workflow Task) then items from dont
    show up in the search result. Remember, the workflow task content type's parent is task (ctype=0x0108). 
    Please suggest.
    Thanks

    Hi,
    Thank you for your sharing! It will be beneficial to others in this forum who meet the same issue in the future.
    Thanks,
    Wendy
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • 57F4 challan print - getting parent item no and po number for child item

    Hi ,
    In 57F4 challan, Subcontract components - i.e Child items are used for creating the challans.
    However while printing needs the parent item no with the purchase order number for that child item number.
    It is getting stored in RM07M structure.
    Any inputs / suggestions how to retrive parent item number and purchase order number for child item i.e for subcontract items?
    Thank you .
    Prasad.

    Thank you for the reply. I checked the table RSEG table for material document and PO details, however the RSEG gets populated when there is credit or debit entries.
    In this 57F4 challan there is no credit or debit enteries hence would not get in RSEG table.
    Appreciate your inputs for any other alternative.
    OR is there any table or Function Module to get the enteries of the struture of RM07M .

  • Standard O/P Type for Subcontract Challan PO

    Hi,
      For Subcontract Challan print out we have a made a seperate transaction code , but i want to know which is the std. o/p type for Taking the print out of Subcontract challan, like for po NEU is there   , so which is the o/p type is for taing the subcontarct challan print out  can u give the program name and form which is use for it.
      regards,
        zafar

    Hi,
    Standard Output type for SUBCONTRACT CHALLAN is J1IF
    You can give the Print for the subcontract challen in J1IF01 transaction, enter the Excise group and series group
    In the next screen you can find print parameters
    regards,
    santosh

  • TDS on subcontract items only

    Hi experts,
    We have a scenario in which
    1. We will send 4 items to the subcontractor
    2. The subcontractor will add 2 items to the assembly
    3. Invoice will be for the full assembly (6 items) + Value addition cost.
    Our requirement is that we need to pay the vendor for 2 items he has added and deduct the TDS for the service portion alone.
    suggest how to configure this in the system.
    Regards
    ACR.Ruben

    Hi,
    You need to define entire sub contracting process for the above scenario.
    Check the below links for more details :
    http://www.sap-img.com/materials/sub-contracting-cycle.htm
    before that you check the Constraints.
    The following functions are not supported in Subcontracting for MRO Processes:
    ·        Goods movement using the Goods Receipt Order function (transaction code MIGO). Other standard goods movement functions, such as goods issue using the Transfer Posting function (transaction code MB1B) and goods receipt for purchase orders (transaction code MB01), are supported.
    ·        Refurbishment orders (standard order type PM04) in PM/CS
    ·        Forward exchange, where a subcontractor returns a serviceable part before the unserviceable part has been sent to the subcontractor.
    ·        Subcontracting MRP area
    ·        Repair of configurable parts
    ·        Archiving programs for serial numbers (object lists) in purchase orders and for certain special stock type tables.
    ·        Grouping, Pegging, and Distribution (GPD) does not take into account Subcontracting for MRO Processes, especially with respect to goods movements and special stock at the subcontractor, that is any special stock that does not have stock type Q.
    ·        In the case of return material authorization (RMA) orders, which you can create from repair orders in Sales and Distribution, the following constraints exist:
    ¡        There is no special stock indicator for MROsubcontracting in the RMA order or the relevant purchase requisition.
    ¡        The system does not copy the serial number from the RMA order to the purchase order.
    ¡        The system creates the return delivery for the original material and serial numbers and does not consider material number changes or serial number changes.
    Hope clear.
    Regards,
    Kishore K

  • Schedule Lines for TATX items

    I know that by default, schedule lines are not active for TATX (text) items in sales documents.
    I'm also pretty sure that this option is not valid even if you activate it in the IMG.
    Can anybody tell me:
    1) Is my statement above correct ?
    2) If so, why are schedule lines not allowed for TATX items.
    3) Is there any way around this limitation ?

    Thanks for your input so far.  Perhaps you'll be kind enouth to stick with me a little more.
    Let me expalin what my user is doing:
    In the IMG configuration of our system, schedule lines were activated for TATX item category, however it still does not work as expected.
    User enters a quantity of deliverable product on line item 1 with item category of TAN.
    User creates a delivery schedule for line item 1 using schedule lines (category CP).
    For line item 2, user wants to send "DOCUMENTATION" for each schedule line.
    "DOCUMENTATION" exists in our SAP system as a material master, but no stock exists.
    User enters a quantity of DOCUMENTATION on line item 2 with item category TATX.
    User creates delivery schedule for line item 2.  (auto populates sched category CT).
    When delivery is created, the first schedule line for both items works fine.
    For subsequent deliveries, line item 1 continues to work, but the line item 2, DOCUMENTATION material does not show up.
    I suspect that we are trying to use the TATX item category differently than it was intended, and that some other method would be a better fit for making deliveries of non-stocked material.

  • MIGO Error for subcontracting scenario through PO

    Hello All,
    We have PR PO process where PR is created for subcontracting and then PO with BOM explode in PO for same material for in and out.
    User is getting error while posting MIGO for Subcontracting GR though PO.
    Though 541 stock has been transferred to vendor
    and though PR PO process we are doing subcontractor PO and MIGO 543 movement
    getting error with blank message in migo
    Message no. M7895
    Due to this not able to complete MIGO and stock transfer to plant from vendor
    Please check the attached file for error
    Thanks and regards
    Hard Vora

    I think it is still possible to place the cursor on the message and to click the icon with the question mark, this should then hopefully bring a pop-up with the message number.
    from there you can investigate further. e.g. if it is a Z or Y message, then it is a home made message, and you can get the info who created it from transaction SE91.
    In any case you should do the following in Migo:
    Open the sub-items before you press Save or before you click the Check button. Only then you can know whether the message belongs to the header or to the item.

  • Exchange generates failure report emails for Inbox items which haven't attempted to be synced

    Hello,Our ActiveSync client is reporting errors to the user when the user is sent certain types of recurrence invites. If an invite to a meeting is sent from the Outlook Web App to the user, and the user then syncs their Inbox (using our ActiveSync client and the Sync command), instead of receiving the correct email, they will get an email indicating an error:
    From: Microsoft Exchange on Behalf of *user’s name*
    Subject: Synchronization with your WinRT failed for 1 items.
    Body:
    Synchronization with your Winrt failed for 1 items.
    The following items couldn’t be sent to your mobile phone. They haven’t been deleted …
    Item Folder: Inbox
    Item Type: IPM.Schedule.Meeting.Request
    Item Created: *date*
    Item Subject: *subject of missing email*
    (WinRT is the name of our client currently.)
    This occurs consistently when the invite is for a recurring meeting, which occurs on the last day of a month, yearly. (Yearly on the nth day of the month)
    It also seems that after one of these error emails appears, other items start to be added in with it, although this could just be the result on my side from a lot of testing side effects.
    There’s two strange things to note about this error.
    The Exchange server never attempts to even send the items via ActiveSync to our client, so the error does not seem to be caused by our Sync request. I’ve used Fiddler to examine the calls, and we never receive the original message in any form.
    The Windows Mail client (in Windows 8.1), which uses ActiveSync, has no problem Syncing the very same items that are causing the errors to appear. This gives the impression that something can be done to remedy the problem, but I have no idea what.Thanks
    ArchieCoder

    Hello ArchieCoder,
    This is certainly not what I would expect to see. However, I can't say with certainty that it's related to the syncing issue.
    I went back and looked at the Fiddler trace you took from the Windows Mail client. It gets the same FolderSync response. The first three folders in the response look like I expect--Calendar has ServerId 1, Contacts has ServerId 2, and Deleted Items has ServerId
    3. After that, the ServerId value jumps to 11 for the Drafts folder, so it and all of the subsequent folders have a ServerId value that is 7 higher than what I would expect to see.
    What seems especially weird to me is that the Windows Mail client proceeds to issue a Sync request for the list of CollectionIds I reported earlier, despite several of them being absent from the FolderSync response. Furthermore, it looks like the Windows
    Mail client is getting Inbox items that are identified as being in CollectionId 5:
    <?xml version="1.0" encoding="utf-8"?>
    <airsync:Sync xmlns:airsync="AirSync">
       <airsync:Collections>
          <airsync:Collection>
             <airsync:SyncKey>933450273</airsync:SyncKey>
             <airsync:CollectionId>5</airsync:CollectionId>
             <airsync:Status>1</airsync:Status>
             <airsync:Commands>
                <airsync:Add>
                   <airsync:ServerId>5:391</airsync:ServerId>
                   <airsync:ApplicationData>
                      <email:Subject>Canceled: Last day of december</email:Subject>
    I'm really at a loss for what is going on with this. How difficult would it be for you to test this with your client assuming that Inbox is CollectionId 5 instead of the 12 that is returned from the FolderSync? I am afraid we might be focusing too closely
    on this particular aspect of the issue without being sure it could be causing the real problem, so I think it would be good if you can either reproduce the failure syncing CollectionId 5 instead of 12, or show that your client fails in some other way if it
    tries to sync CollectionId 5. A Fiddler trace of the outcome of that test including both the FolderSync response and Sync request/response would be the next logical step here, I think, assuming that that is doable. Please let me know what you think.
    Best regards,
    Matt Weber | Microsoft Open Specifications Team

  • Unable to create delivery for BOM items not in stock??

    Hi Experts,
    We have created a sales order with Parent item and its 3 BOM items, with pricing doen at BOM items. Of the three BOM items, stock exists for only 1 item. When we are trying to create the delivery, it is bringing only the stock item in delivery overview and not the items without stock. We would like:
    1. System to bring all the items while creating delivery. It may not permit picking and PGI till the stock is brought in system.
    2. System to not allow creating delivery till stock exists for all the required items.
    For the non-stock items, system is not allowing to carry out the availability check also. It can give a future date and confirm the quantity for future delivery!!
    Please provide your expert opinions asap. Points would be awarded to all helpful answers.
    Regards,
    Peeyoosh.

    Hi Peeyoosh,
    had you a look at the customizing of your item categories for delivery? Did you use the standard item category TAN? Perhaps the customizing of "availabilty check for delivery item" and "Check quantity 0" in your category for delivery will bring you forward.
    Regards Thomas

  • More contracts (with different suppliers) for one item

    Dear MDM Experts,
    is it possible to make more contracts (with different suppliers) for one item?
    Thanks and regards,
    Ádá

    Hi,
    Thanks for your answer. If I set my shopping cart for a contract with a supplier A, and I select an item with a supplier B, then after pushing button Transport to SRM on the shopping cart webdynpro UI, I would get the an error message, and the item wouldn't come to the SRM.
    If the item doesn't have any supplier, and I make a contract with it, the supplier of the contract goes to the item, and after that I can't make a contract with an other supplier for this item, because of the uppers.
    The type of field Supplier in table Catalog Items is Lookup field, and it can't be modified.
    Could you please write to me which can I set our system to be able to make contracts with many suppliers?
    Thanks and regards,
    Ádám Horváth

  • No control line for line item - error while posting bd to accounting

    Hi all,
    Billing document showing err "no control line for line item" while posting to accounting doc.Sales document is complete no in completion logs.
    Previous errr: g/l missing for line item" in order incompletion after maintaining company code for customer, then refresh the g/l missing for line item is no more logs and showing the error "no control line for line item" while posting bd to accts.
    Please help
    Regards
    anush

    Hello Anush,
    if the company data of the payer was not created when the sales order has been created, then the system could not create the correct records in table VBREVK. Once the company data has been maintained the VBREVK records could be corrected by re-saving the sales, but only if no billing document exists.
    In your case you already created the billing document.
    Please try these step:
    1. reverse billing document
    2. run VA02 add a blank char to PO number, save
    3. create new billing document
    Best regards,
    Ivano.

Maybe you are looking for