Define default for purchasing data in prod. order creation

Hi Experts,
Could You, pls help me to define default parameters for production order related purchasing data?
We have a special production, when no BOM used for component list, but components are identified one-by-one in production order. And out of this unique demand we create a PR.
When a component (with no material number) is defined in production order, purchasing value also need to be maintained (such as purchasing group, G/L account , material group). These data always need to be added manually, whoever they are rather standard - so I have tried to set default value as parameter, using parameter ID, but it did not work.
Do You happened to know, how to set default value for this feature?
Thanks in advance

OBYC is not used only for automatic account determination for goods movements (stock items).
For instance, it is used in shipment costing too:
http://help.sap.com/saphelp_erp60_sp/helpdata/en/93/744148546011d1a7020000e829fd11/frameset.htm
G/L acocunt is determined in the shipment cost document, after that of course it will be used by system when posting the goods receipt (service item).
In production order, in the component overview, the G/L account is determined in the way as I discribed. When creating the PR system uses account assignment category "F", and for this G/L account can be determined by OBYC - this is what is happeneing, just a step before, in the production order and it will be copied to PR (I guess).
(I tried to modify the G/L account in OBYC and the change was reflected in PrdOrd for the component, so it is working fine)
As for the user exit: be careful when testing it by debugging. Program run several times reaches it, it is not enough to overwrite the values in the internal structures only once (I'm speaking here about G/L account --> the mentioned account determination overwrites it values a few times - I would set the G/L account not via the exit, but by OBYC)
Edited by: Csaba Szommer on Feb 9, 2011 10:24 AM

Similar Messages

  • MESSAGE TYPE DEFAULT FOR PURCHASE ORDER

    Dear All,
    I want to set default message type ZNEU for all purchase order. I try this with T-CODE MN04 AND MN05 but it is not working.
    SO HOW I MAKE MESSAGE TYPE DEFAULT FOR PURCHASE ORDER
    Regards,
    Pankaj

    Hi,
    Miantain the all the conditions records in t.code : MN04. after that check for the "Define Partner Roles for Purchase Orde" what did you mentioned for new or change as per that,
    Check you had fine tune the output (message) type in following path:
    SPROMMPurchasingMessageOutput controlMessage tyoesDefine message type for Purchase Order--Fine-Tuned Control: Purchase Order
    Select the check box coresponding to your output(message) type ZNEU to have print output for this message type .......
    Now try creating PO & u will have default message type ZNEU......
    Hope this will help you.......
    BR,
    Patil

  • Advance Queue - Define schema for Events Data

    Hi All,
    we want to implement oracle Advanced Queue within BPEL processes. and i want to create a Publish Event document.
    now I want to define schema for events data. can anybody point me to such schema ?
    Thanks,
    pp

    Hello,
    We are using Jdeveloper 10.1.3 / oracle 10g / Oracle Fusion Middleware (BPEL) 10g and want to create a sample POC using BPEL process, any kind of Publish Event sample schema, Publish Event sample XML, Advance Queue adapter in jdev and be able to publish (enqueue) messages on sample AQ and be able to consume those messages (dequeue) by subcriber.
    as you see, this is just a sample POC .... nothing concrete as yet.
    I searched "Oracle By Example" for such sample code or zip that i can download. but did not find one.
    Can you point me to such sample code, i can open in jdeveloper and test ?
    thanks
    pp

  • ME51N- Purchase req- default for delivery date

    I am running into issue where the delivery date field is populating a default date- today's date. I want make this field mandatory so the requisitioner has to complete this field.
    I would like to delete this default - where is the config for it
    need help
    Thanks
    Raj

    Hello Raj,
    As previously said, the delivery date is calculated by the system based on the material master / inforecord data (i.e. planned delivery period, GR processing time)
    Try this, create default purchasing
    SPRO --> Mat management --> Purchasing --> Environment data > Define Default Values for Buyers> Settings for Default Values--> on "source determination check" tab uncheck "Check delivery date in source determination process"
    Assign this value to the user with EVO parameter.
    Hope this helps.
    Regards
    Arif Mansuri

  • To find dataelements for Purchasing data

    Hi All,
      I want to know how to find <b>source table name</b> for keyfigures in<b> purchasing data</b>, i tried in help.sap, and in metadata repository, but i could not find that .
    eg: <u><b>Delivery Date Variance 1</b></u>for this keyfigure i want to know the fields , dataelements and source table name..i tried in this link http://help.sap.com/saphelp_nw2004s/helpdata/en/ed/62073c44564d59e10000000a114084/frameset.htm
    but i m not getting for some keyfigures
    can one help me in this issue
    thanks and regards
    Pushpa L

    Hi,
    The delivery date variances 1-5 are the numbers of deliveries assigned to the time windows 1-5 on the basis of their delivery date variance.
    The key figures are updated at the time of goods receipt as per the entry date.
    The delivery date variance is evaluated with the aid of a grid whose windows you can define in Customizing for the Logistics Information System (LIS). You can define a total of four window limits, so that altogether five windows are available for evaluation purposes. The grid is defined in dependence on the purchasing organization.
    You should take a look at the links below.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c5/a26f37eb997866e10000009b38f8cf/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/3e/812f387ef4311ce10000009b38f889/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/15/5dd6384e4bd811e10000000a114084/content.htm
    Regards,
    ®

  • How to exclude "Blocked for Purchase" error message in PO creation for particular Order Type

    In Article master some times we used to set Site-Specific Article Status = '01'. (MARC-MMSTA)
    01
    Blocked for Purchase
    02
    Blocked for Purchase/Sale
    My requirement is that when Creating PO in ME21N for a particular Order Type (Purchasing). This check need to be removed.
    Now if we try creating the PO we will be getting the below error message.
    Status "Blocked for Purchase" of article XXXXXX does not allow external procurement.
    Is there any exit or BADI where i can put logic to remove this check.

    Hi ,
    You can use BADI ME_PROCESS_PO_CUST or customer exist EXIT_SAPMM06E_013
    Regards,
    Pravin

  • Custom defined FM for purchase price determination

    Hi all,
       can anybody help me with the problem below..
      In IS-retail im assigning a custom defined function module for purchase price determination (MM42 -> sales view -> PP det. seq - 06).
    example FM for which is WV_EXAMPLE_01.
      but in the import parameter (structure KALP) im not getting the vendor number eventhough it is specified in the screen..
      I need vendor number along with material(which im getting) to calculate purchase price..
      Can anyone tell me wat the problem is and a solution for it.
      Thanks in advance.

    Hi ,
    In VKP5 calculation,Purchase price Schema is pulled from Purchase price determination sequence.
    In PP Determination sequence we can give PP schema based on PP determination type.
    If the PP type is A,system will fetch the PP Schema from Standard schema maintained in MM.
    Regards,
    Krish

  • Default for baseline date  in Payment terms

    Hi All,
    Can anyone please explain me the options in OBB8 default for base line date 1. No Default 2. Posting Date 3. Document date 4. Entry Date while creating payment terms with examples.
    It's very very very Urgent!!!!!!!!!!!!
    Thanks in advance.
    Boppana

    Hi,
    The following are the examples:
    1. No default:  Self explanatory, hence system does not consider any default value to start for calculation of due date. The baseline date has to be entered manually at the time of Invoice creation.
    2. Posting Date: The date of entry in the system 31-Jul-11 (after two days).
    3. Document Date: The date on the physical Invoice which we key in at the time of Invoice entry. Say for example 25-Jul-11.
    4. Entry Date: This is the system date i.e. todayu2019s date 29-Jul-11. This date is internal in the system and not controllable or editable.
    To summarize, for 2, 3 & 4 the system defaults the baseline date (changeable) at the time of Invoice entry but, for 1 system does not default any baseline date.
    Regards,
    Kiron Kumar T.

  • KSCHL (condition type) for Purchasing data source?

    hi experts,
    here is my client requirement.
    The Purchasing department needs the possibility to make analysis on Purchasing data. E.g. to support the purchasing department in negotiations with the vendors. They must be able make analysis on
    material,
    vendor,
    quantity invoiced,
    quantity received,
    values (price) in both document currency and local currency.
    The bust be able the see the price  u201CPB00 Gross Priceu201D and all Pricing Elements to the be able to see the real cost of the purchased material e.g. u201CFRC1 Freight/Quantityu201D
    through which data source i can get the Quantities and values, and from which table i can get the KSCHL so that i can enhance to my data source.
    in sdn i have seen KSCHL from KONV table. if that is the table can you plz specify the data source and logic to meet my requirements.
    regards
    venuscm
    Edited by: venugopal vadlamudi on Nov 11, 2010 5:52 AM
    Edited by: venugopal vadlamudi on Nov 11, 2010 10:30 AM

    Hi Venugopal,
    The Datasource that you need to enhance would definitely be 2LIS_02_ITM.
    To fetch the gross price you can use the below mentioned logic:
    DATA: l_t_MC02M_0ITM LIKE MC02M_0ITM OCCURS 0 WITH HEADER LINE,
          wa_MC02M_0ITM LIKE LINE OF l_t_MC02M_0ITM,
          tp_KBETR LIKE KONV-KBETR,
          tp_KPOSN LIKE KONV-KPOSN,
          tp_KNUMV LIKE EKKO-KNUMV.
    LOOP AT C_T_DATA INTO wa_MC02M_0ITM.
          CLEAR tp_KBETR.
          CLEAR tp_KPOSN.
          CLEAR tp_KNUMV.
          tp_KPOSN = wa_MC02M_0ITM-EBELP.
          SELECT SINGLE
          KNUMV
          INTO tp_KNUMV
          FROM EKKO
          WHERE EBELN EQ wa_MC02M_0ITM-EBELN.
    *     Select query to Fetch the Gross Price (KBETR) for a PO
          SELECT SINGLE
          KBETR
          INTO tp_KBETR
          FROM KONV
          WHERE KNUMV EQ tp_KNUMV AND
                KPOSN EQ tp_KPOSN AND
                KSCHL LIKE 'PB%'.
          IF SY-SUBRC EQ 0.
            wa_MC02M_0ITM-YYKBETR = tp_KBETR.
            MODIFY C_T_DATA FROM wa_MC02M_0ITM.
          ENDIF.
      ENDLOOP.
    You may still want to check with the functional person for the exact logic.
    Regards,
    Hemant Khemani

  • Capture the purchase price during sales order creation

    Hi,
    User wanted to capture the item purchase price when a sales order is raised.
    Currently, the sales order capture the VPRS whcih is coming from the material valuation (MAP) price.
    Is there a standard condition type that will captured the purchase price in the PIR record or the PP condition?
    Thanks

    Hi
    As far as i know it is not possible to fetch the purchase price in sales order.
    May be you can define an another condition type asa statistical and maintain the condition records for that. But it will be a tedious job for maintaining all the things.
    regards
    Prashanth

  • Prod.Order Creation- Using Reference Operation set.

    Hi
    While creating a production order of particular order type,after entering the quantity and order finish date as today's date(05.06.2007),backward scehduling,it's showing no routing found for the material (as we are using REM-Repetitive manufacturing,we are having rate routing) ,and in the same mesaage box itself I choosed the Reference operation set(that I have created today) and entered the  group no,and after entering its showing me an error as <b>Ref. operation set 50000008 is not valid according to the selection conditions</b>,
    So I created a routing for the same material nd in MRP4 view of the same material under for selection method i kept blank(Selection by order qunatity) and tried to create Prod.order,and there was no problem,but if the same i'm trying to create using Reference operation set I'm not able to create the Production order.
    Kindly give me a solution for this,Is there anything to do with order type dependent parameters of the particular order type?
    Thanks & Regards
    Raj

    Hi,
    Is your problem solved ?
    One more solution to create a order with reference operation set,is to use a trigger point.
    Once you create a reference operation set.
    Use T.code co31 to create a trigger point, chosoe create order with reference & choose a system status eg: PCNF. & click the user parameter tab.
    The system will aks for the reference operation set no & group counter.
    Then assign this reference operation set to the routing operation.
    When you do partial confirmation of this operation, this will trigger the generation of a order.
    Regards,
    Senthilkumar SD

  • Prod order creation problem

    Hi PP gurus..
                         Pls help me in problem abt prod order..i creat material with type FERT  with order type PP01and go through it all sequence but when i creat prod order abt same system show msg.valuation type INLAND is not allow in in house production..
    Regards.and thanx in advance
    Amit Naik

    Hi
    I think while creating material in MM01 you had selected the valuation type which is not define for INhouse production that you are getting this error. See setting for valuation type.
    Regards
    Abhijit Gautam

  • LO-VC  Variant Config - update STPO-SANKA field at Plan/Prod Order Creation

    Hi All VC Expert,
    We are facing an issue with the update by reference characteristic of the field STPO-SANKA Cost relevancy indicator on the BOM.
    We are on SAP ECC 6.0 release 700 on Oracle
              Hot Package
                   - SAPKA70015 on ERP Cross Application componenent
                   - SAPKH60013 on SAP-APPL Logistics and accouting
    We are using material variant
    We are on the first level of configuration
    Classically, we built a procedure to set X to this data base field as below :
    $self.STPO_SANKA = 'X'
    We assigned this procedure to the relevant items
    Here is the result we have:
    At the creation of the Plan Order, this is not working
    At the creation of the Prod Order, this is not working
    When we do a Reload PP master data, this is working very well
    On CU50/VA02 when we check the trace,  the procedure is executed.
    Do somebody have an idea or already facing this and solve it ?
    Thanks in advance for your appreciated help.
    Edited by: Fabien MAUPIN on Jan 24, 2012 11:49 AM
    I still have issue with this object characteristics. I didn't find Oss note to correct the issue.
    Do somebody is facing the same issue as me and find a solution ?
    Edited by: Fabien MAUPIN on Jan 24, 2012 11:51 AM

    Hi Fabien,
    I have series of questions to ask.
    1. How are you creating the Planned order or Production Order. Is it created directly in PP module or through the requirement transfer from SD.
    2. What do you mean by PP master data.
    If you trigger the BOM for the planned order or production order from Sales order and some other reqmt trigger, what is your precondition for updating the cost relevancy indicator.  If you some script some lines of your process, I can check if you should include the $PARENT clause somewhere. I think the problem lies somewhere in the origin of configuration.

  • Prod order creation using a BOM

    Hi Experts,
    I am trying to create a production order for a BOM which has one line item. I could create a prod. order for the line item, but when i am trying to create the prod. order for the BOM, I am getting  a message "No Default value mentioned for Op. generation for order type PP01 (material name BOM). What do I do?
    Pls advise.
    Vijay

    Hi,
    Maintain the default operation for plant & order in OPJG
    Manu

  • Restrict picking of valuation type at Prod. order Creation

    Hi,
    We have extend the current semi finish material to Valuation type IH.
    While creating production order system automatically assign valuation type IH to the order,
    how to restrict this assignment to prod. Order?????????
    Regards,
    Devendra

    Hi,
    During order creation system default pick up valuation type under TAB Goods receipt,
    Is there any setting into prod. Order dependent parameters,scheduling profile so that system should update valuation type,
    I have check into system ,there is no setting for Batch into production order dependent parameters,
    pl. suggest.
    Regards,
    Devendra

Maybe you are looking for