Function Module Production order created via Variant Configuration conditio

Hi,
I am looking for a function module which can provide me with the following information.
the component selected in  a production order and the corresponding VC condition which forced this selection in the production order.
Any help appreciated.
Thanks!

Hello ,
There is no proper FM or BAPI that can do the way it is used that all the components are first selected buy FM get_stpo and then configured via FM cubx_configure_object or CUBX_CONFIGURE_STPOB. The ones that fulfill the condition gets deleted. For the Selection condition you can look at table STPO-KNOBJ.
Generally for configuration you should use FM vc_get_configuration_ibase..
Also for SO FM CUKO_ddb_has_components reads from the database but you can check if it can work for PO
Thanks
Amber

Similar Messages

  • Production Order BOM with Variant Configurable Material

    Hi,
    I have a requirement to process the document items in the Production Order BOM for a variant configurable martial. I am not sure which Function Module will do this purpose. I checked the FM: CS_BOM_EXPL_MAT_V2 and does not seem to be working.
    Can you please help me with a suitable Function Module or program that will process the Production Order BOM? Appreciate Your Help.
    Thanks,
    Kanan
    Edited by: Kannan SA on Jul 6, 2011 8:59 PM

    What are you doing with the characteristics right now ?
    If you want operations selected based on characteristic values, you need to have dependencies written just like you do (or in your case, will do) in your BOM components.
    I understand the business-push to not do things 100% at the start and just "oh we'll add that part later" but I would really push back to get that part included initially.

  • Add inspection characteristics to production order created via CO07

    Hi, all.
    We're creating production orders to perform production rework on assemblies using transaction CO07. 
    We have a requirement to inspect and make a usage decision on the reworked assembly.
    Since there is no material at the header level for CO07 orders, the system isn't allowing us to do an inspection because it has no material master QA view to reference.  Although the control key is marked for in-process inspection, the production order still won't allow it.
    I can't add "unplanned inspection characteristics", not can I manually create an inspection lot using QA01. 
    Is there a way to manually force in an inspection for an operation on a CO07 order?
    Thanks.
    Sarah

    Hi,
    We cannot do a inspection for a production order unless it has material assigned to it and the material got QM inspection type relevant to that.
    regards,
    Lenin. A

  • BAPI or FM to create/update variant configuration

    Is there a BAPI or FM to create/update variant configuraion?
    There is one for sales order BAPI_SALESORDER_CREATEFRONDAT1 to create VC while creating SALES order.
    How do you do create VC while creating PO?
    Thanks.

    HI,
    There are two different Function Modules used to create service product and material product in CRM system.
    CRMXIF_PRODUCT_MATERIAL_SAVE for creating product of type material
    and CRMXIF_PRODUCT_SERVICE_SAVE for creating product of type service.
    Regards,
    PP

  • Lock the production order creating without material for order type zp01

    Hi all,
    Good morning.My client wants to lock the production order creating without material for order type zp01.He does not want to create production order without material.Its very urgent.Please guide me the settings if any.
    Thanks and Regards
    Sukumar

    Hi Sukumar,
    You can do by applying user exit.
    Use PPCO0007 - Exit when saving production order.
    Function module - EXIT_SAPLCOZV_001.
    Include Program - ZXCO1U06
    Write your Code:
    *&  Include           ZXCO1U06
    Regards,
    Sankaran

  • CO40, Production Order Create

    Hello Experts
    I got one requirement for doning enhancement in CO40 -Production Order Create
    The senario is ..if there is difference in between planned order and production order (quantity is less than whatever is mentioned in planned order), a drop down giving reasons for the difference is required
    so I just want to confirm about is there any option from functional side to do the same, this option is already there in C011 - Production Order Confirmation (In case confirmed quantity is less than that in production order)
    Your replies will definately be appriciated
    Thanks in advance

    hi RA ,
    check the Profile.
    tcodes : OPP5/OR*.
    Regards
    Prabhu

  • How to find out the list of Production orders created for sales orders

    Dear All,
    Our company wants to generate a report for a List of Materials sold out in a particular Product Hierarchy. Along with that we want to know the list of Production orders created for the sales orders.
    How to identify the production orders which are created based on Sales orders.
    Kindly suggest.
    Regards,
    Mullairaja

    Check these threads
    [Sale Order & Production Order|Sale Order & Production Order;
    [Re: Linking Production Order against a Sale Order MRP run|Linking Production Order against a Sale Order MRP run;
    thanks
    G. Lakshmipathi

  • Exit/Badi in the transaction of production order create or change (CO02)

    hi all,
    I need an exit/Badi in the transaction of production order create or change (preferably during SAVE).
    I want to change structure AFVGD-usr02,AFVGD-usr03 .
    <b>PPCO0007 Exit when saving production order</b>
    the exit is not applicable EXIT_SAPLCOZV_001 .

    Hi
    we around 200 exit for this tcode i found only three badi for this tcode.
    AFABD_CHANGE          Change Relationship
    CAUFVD_CHANGE        BAdI: Overall Network Scheduling with Selection Option
    SIDAT_UPDATE            Change date of price simulation.
    check with this goto se18 and F4 thn give the Package as CO.enter u get this three.
    reward pointd if use full

  • Function module for to Create fund/Grant management Derivation rules

    Hi All,
    Is there any function module for to create a derivation rules for fund/Grant management.
    Thanks in Advance.
    Nara.

    Hi,
    Please try with FM KED0_CREATE_DERIVATION_TABLE
    Please let me know if you have some issues,
    Regards,
    Lijo Joseph
    *Assign Points ifuseful.

  • Function Modules for Order Settlement

    Hi,
    I need simulate the transaction KO88 for Order Settlement with a function module but without batch input. Please, somebody can tell me which function module I can use and give me a example?
    Also, I need another function module for order release...
    Thanks in advance,
    Regards,
    Irina

    Here`s the way to find out how its using ...
    GO to TR.SE93-> give "KO88" 0>  click display
    Double click program name and find "call fucntion" when list come up "serach "Settlement" . You`ll get idea.
    Hope this’ll give you idea!!
    <b>Pl... award the points.</b>
    Good luck
    Thanks
    Saquib Khan
    "Some are wise and some are otherwise"

  • Function Module / BAPI for Creating Material freight Group

    Hi All,
    Can anyone tell me the Function Module / Bapi for creating material freight group.
    Regards,
    Raj.

    Bapi for creating material freight group. :: You actually use mm01 or mm02 to change data for material flight.
    So you can use BAPI for mm02 and mm01
    For Ex:
    BAPI_MATERIAL_SAVEDATA
    Hope this helps

  • Production order created through procurement wizard but purchase order connected in SO

    SBO Localization: Korea
    SBO Version:SAP Business One 8.82 (8.82.073) PL: 10
    Production order created through procurement confirmation wizard on the base of sales order. In sales order "Procurement document" field production order number showing correct. But if click on document arrow then same number of purchase order opening where as we expect that production order should open. This is something like connection bug. This happens only if sales order approval workflow is active. In relationship map we can see production order is connected. See details in attached pic.
    I have also tested this case in Belgium localization the result is almost same. The difference is only if clicked on procurement document number arrow (from sales order document) then different number of purchase order opens.
    Is this known issue? Could someone please provide me the solution?
    Yogesh Chaudhari

    Hi,
    It is application error. Please check SAP note:
    1718843 - Blank production order or purchase request displayed if
    “Procurement Doc.” selected in “Form Settings” window
    Thanks & Regards,
    Nagarajan

  • Which user exit can be use before production order creating?

    which user exit can be use before production order creating?
    i want to check AFPO data,then show error message before production order creating.
    1.i try to use PPCO0001( enhancement when saving the order) to check AFPO data, then show some error message,sap system will generate a abap down error.
    2.i try to use PPCO0007(Exit when saving production order),
    i can show error message,but i can't check AFPO's data.

    Hi,
    You can access AFPOD structure using field symbols.
    Try below mentioned code in routing:
    constants: c_afpod TYPE char30 VALUE '(SAPLCOKO1)AFPOD' .
    FIELD-SYMBOLS: <fs_afpod> TYPE ANY .
    data: wa_afpod TYPE afpod.
    ASSIGN (c_afpod) TO <fs_afpod>.
    wa_afpod = <fs_afpod>.
    Then later you can use wa_afpod in exit PPCO0007. Hope this will work for you.
    Sumit

  • How production order create in MTS scenario

    hi
    Actually production order created based on Sales order,through MRP run(md02,04) , it will check the stock(avilability control), if it has less stock than sales it create the production order.
    Based on demand planning , we want to start the production ,so how production order created, we need to create directly CO01, OR  any process is there
    plz reply
    regards,
    sowmya

    Actually production order created based on Sales order,through MRP run(md02,04) , it will check the stock(avilability control), if it has less stock than sales it create the production order.
                I feel this is existing process of your client
    Based on demand planning , we want to start the production ,so how production order created, we need to create directly CO01, OR  any process is there
    1) If you want to consider both MTS and sale order in production then maintain strategy group 40 in MRP 3 view
    2) Create a PIR ( plan) in MD61
    3) Run a MRP in MD02/MD01
    4) As a result of MRP, you will get a plan order
    5) convert the plan order into production order in MD04

  • Function about production order component material

    WHO can tell me the function about  production order component material?
    When import production order number , the function export tables about component material.

    Hi!
    you can use FM CO_SF_RESB_READ
    or directly from RESB table
    select single rsnum  into lv_rsnum from AFKO where  aufnr = aufnr.
        SELECT * FROM resb INTO TABLE lt_resb WHERE  rsnum =lv_rsnum AND xloek NE 'X' .

Maybe you are looking for