PO creation wrt PR

Hi,
There is a requirement that the same PR shall not be referenced more than once while creating a PO.
ie iF a PO has been created wrt a PR the same PR shall not be allowed to be used again in creating another PO.
Is there ant std setting.
Thanks,
Suz
Edited by: SuzaineK on Oct 7, 2010 7:37 AM

Hi SuzaineK,
Alternative method for BADI - You can check whether the current purchase requisition put in purchase order is present in some previous purchase order
You will need ABAPer help for executing the logic
You have to activate BADI for purchase order which can be accessed from SPRO
BADI name - ME_PROCESS_PO_CUST
METHOD IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM.
DATA:
LV_GL_AC TYPE MEPOITEM,
Selection logic - Select purchase requisition and item --> select BANFN BANFP from EKPO where EKPO-BANFN = MEPOITEM-BANFN and EKPO-BANFN = MEPOITEM-BANFN
Error message - If match is there --> if sy-subrc = 0
Put error message - MESSAGE E499(SY) WITH 'Purchase order has more than one purchase requisition as reference'
ENDMETHOD

Similar Messages

  • Error in po creation wrt pr

    i am creating a pr , releasing it and then creating a po with reference to pr...but i get this rror message.
    "PROCESSING STATE 01 VERSION IN PROCESS,DOESNT ALLOW PROCESSING OF DOCH EADER"
    regards

    hi
    plz check that if ur using VERSION management
    1) The PR wrt which the PO is created please check whether version management is active and the version is completed or not
    2) Check the same for PO

  • PO creation wrt PR only

    I want to make PR creation madatory for PO creation; PO shall always be created when a PR exists for it.
    Is there any std functionality or development is required.
    Thanx,
    Suz

    Define functional authorization in transaction OMET (numeric only) In that tick what are the reference object required. Tick PR also there without forget. Then assign that value to user in SU01 with parameter id EFB.
    Regards
    Antony

  • PO creation wrt PR - value not getting picked

    Hi,
    Purchase orders are created with respect to fully approved Purchase requistions (Release proc is set for PR) but net price is not getting copied to PO from PR.
    Please let me know how to resolve it
    Regards,
    Uzair

    If the info record (or contract) is not wanted, it is possible to "adopt" the price from the purchase requisition>
    Are you getting the error - 'Net price must be greater than 0' - For PO creation from a requisiton for materials the system tries to determine the price from a source (info records, quota arrangement, contract etc). It is possible to use configuration to have the purchase requisition price adopted (and hence not use any info record) for this you must make the following configuration.
    Material Management -> Purchasing -> Authorization management ->
    Define Function Authorization for Buyers.
    In here choose: "Function Authorizations: Purchase order"
    In here you may specify a number of Function Authorization keys.
    For each key, you may set rights for the key.
    The field in question is "Order price adoption" (T160D-EBPUEB) which
    must be ticked.
    Then back out and now choose "Maintain Users".
    In here choose tab "Parameters" and enter parameter ID "EFB" along
    with the value equal to the key you just maintained.
    (Remember to use Capitals when entering the key value)
    In ME51N in the item detail screen, tab "Valuation", the field
    "PO price" will now be visible and can be maintained via a dropdown.
    The field will have following possible values:
    - "Do not adopt"
    - "As gross price" and
    - "As net price"
    If "do not adopt" is selected (and this is deafult ) then the system will look for an info record, contract etc when creating PO
    If Other two options are selected the price from the PR will be adopted into the PO (info record will not be considered)

  • WBS change on PO creation wrt Sales Order

    Hi Abap'ers,
            While creating the Purchase Order with reference  to existing sales order;  the Purchase order by default selects the WBS element which is assigned against the sales order(while Account Assignment). My requirement is,  i need to check the WBS element while Account assignment on PO creation and update the latest WBS element which i fetch based on some criteria. Is there any Exit/BADI to update the WBS element on screen as well as in table "EKKN".
           Also kindly refer the screenshot for more information.
          Thanking You.
    Regards,
    Ketan

    Check customer exit LEINS001.
    'EXIT_SAPLEINS_001' User Exit to Populate Communication Structure, Purchasing Info. System
    It will help you.

  • TO Creation wrt VAS Delivery

    Hi All
    Vas scenario: for Gift Wrapping
    If I create TO after the VAS delivery its not reaching the 923 storage Type & VAS workcenter, instead its going to 916 storage type, ie as normal outbound scenario..
    1. maintained packing reference material in material master
    2. Have maintained the VAS template with Workcenter & packing Instructions.
    2. Maintained the Determination procedure for vas template.
    3. maintained Condition record for GW- Gift wrapping, TS- Technical Services.
    3. Created Sales Order with Usage field as GW- Gift wrapping
    4. Created delivery.
    5. TO wrt Delivery---- it suppose to hit storage type 923 & vas workcenter, but its going 916 st type..
    I just want to know anything I missed out, & am I following the right Steps?
    How can my TO can reach 923 stoarge type vas workcenter?
    Rgds

    Hi,
    Please check whether you ticked the check box for "Destination Bin" and "Qty Dest Bin" In SPRO->LE->Mobile Data Entry->Verification Control->Define Control.
    Regards,
    Vinaysagar

  • Production Order creation wrt Sales order

    Hi,
    I am having one doubt please clarify, In MTO scenario.
    Creating Production Order wrt sales order in co08 and also we can run mrp in md50.
    what is the use instead of going to md50 can we create directly from co08?
    Please clarify this.
    Thanks & Regards
    Venkat

    Dear Venkat
    You scenario is make-to-order i.e., you procure raw materails only on receipt of sales order.
    For the requirements calculation specific to the sales order you run MRP w.r.t. sales order in transaction MD50. This will create the relevant PR and planned orders for the shortage requirements.
    The PR  can be converted into PO for procurement activities. Once you receive the required raw mateirals you need to produce the product in inhouse for that you can convert the planned order to production order or you may create production orders manually in transaction CO08
    So MD50 is to calculate the requirements and raise PR and Planned orders i.e., procuremetns elements
    CO08 is to create production order manually w.r.t. sales order for producing the materail in inhouse.
    Regards
    Soundar

  • Getting error while TO creation wrt to inbound delivery`

    A Purchase has two Inb. delv we are getting error for the second inb. delivery.
    While creating a TO using  inbound delivery getting an error.(Del does not allow the required change)
    There is a Function(ME_CONFIRMATION_CHECK_QUANTITY) used in ABAP from which exception is getting trigger,
    Could somebody let me know what is the role of this function because there is no any documentation maintained in SAP.

    HI,
    Use ST22 for ABAP runtime error.
    =-=
    SAP Community
    Pradip Gawande

  • PR to PO quantity rounding off

    Hi Team
    I am facing a peculiar error when i am trying to create the PO with respect to PR
    I have created the PR for 1.130(one point one three zero) TO(tonnes). Now when i am creating the PO wrt to this PR then the PO quantity is coming as 2.000(1.130 is rounded off to 2.000)
    now the system is populating ERROR as - Materials of requisition 10000012 item 00010 alr. ordered in full
    Message no. 06076
    If i change the PO quantity manually to 1.130 then the error will vanish off.
    Please let me know how to get the same quantity(without rounding off) from PR to PO during PO creation wrt PR
    Thanking you in advance
    Regards
    Shuban

    Hi,
    This just because of rounding value maintained for the material in the MRP1 view either 1000 or 2000 which results in creating PO of 2000 even though the PR has created requirement of 1.130 assume if your requirement is under 1000 then still when your creating PO it would create for 1000 because of rounding value of 1000 maintained.
    If you donu2019t want this rounding value then remove it from Material Master, MRP-1view. Then the system will consider the order quantity from the purchase requisition during MRP run and same will flow in the purchase order. Hope this helps you.

  • Order confirmation and Order changes

    Hello Guru's,
    I am having following issue, please let me know ur inputs on the same how to handle below situation.
    There is Customer Vendor relationship under one system and under one company code.
    Customer orders goods from Vendor and this Vendor supplies goods against this PO. These are nothing but plants in reality.
    1) There is no issue when creating SO against the PO raised..
    2) Once the SO is created how to send sales order confirmation and how to add the confirmation line in PO?
    3) When the sales is changed and changes made at the time of sales order creation wrt to PO from customer: how to send these changes to customer and update his PO also.
    Please let me know if anyone has gone thr' such situation. This should happen via ALE IDOC only.
    Best regards,
    Prasad

    Hi Kris,
    It's ok.. as I knew the process.
    The problem I had, when I change sales order and trigger ORDERS05 and ORDRSP idoc then it shows changes but also it shows all the sales order data.
    The requirement which I have is as below:
    1) If the sales order is changed then send only changed data and update the PO at customer side which is in same system.
    i.e. let us say sales order is created and confirmation also send via ORDERS05 and ORDRSP. Now when SO is changed for quantity and price, then I want to send only these quantity and price changes via idoc and update PO accordingly.
    This also applies for back order processing or supersession, where date or item itself can be changed or added.
    Please come back if knows further.. Awaiting for ur reply.
    I am interested to know what steps I have to follow and even if any routine I need to write to capture these changes.
    Best regards,
    Guru

  • Pass output of one script to other

    Hy friends, I have created some 4 test scripts as below-
    Script-1:-PR Creation
    Script-2:-PR release
    Script-3:-PO creation wrt PR
    Script-4:-PO release
    Now I want to pass output of first script (PR No which is created) to third test script to create PO wrt PR No. so how can I do this? Pl guide.
    Regards,
    Yagnesh

    Hello Yagnesh
    Below you see a simple example of how to link two scripts:
    - First script multiplies input with factor 10
    - Second script add 8 to input
    ID_VALUE => type I(input)
    ED_RESULT => type E(export)
    LD_FIRST_CALCULATION => type V(local variable)
      REF ( ZUS_LINK_TESTSCRIPT_A , ZUS_LINK_TESTSCRIPT_A_1 ).
      REF ( ZUS_LINK_TESTSCRIPT_B , ZUS_LINK_TESTSCRIPT_B_1 ).
    That's the XML version of the first test script. As you can see the output is stored in the local variable.
      <?xml version="1.0" encoding="utf-8" ?>
    - <ecatt:ZUS_LINK_TESTSCRIPT_A xmlns:ecatt="http://xml.sap.com/2003/05/eCATT/ref_ecatt">
      <TESTCONFIG />
      <VARIANT />
    - <IMPORTING>
    - <ID_INPUT default="5">
      <valueRefName>ID_VALUE</valueRefName>
      </ID_INPUT>
      </IMPORTING>
    - <EXPORTING>
    - <ED_OUTPUT>
      <valueRefName>LD_FIRST_CALCULATION</valueRefName>
      </ED_OUTPUT>
      </EXPORTING>
      </ecatt:ZUS_LINK_TESTSCRIPT_A>
    The local variable is now used as input for the second script:
    <?xml version="1.0" encoding="utf-8" ?>
    - <ecatt:ZUS_LINK_TESTSCRIPT_B xmlns:ecatt="http://xml.sap.com/2003/05/eCATT/ref_ecatt">
      <TESTCONFIG />
      <VARIANT />
    - <IMPORTING>
    - <ID_INPUT default="5">
      <valueRefName>LD_FIRST_CALCULATION</valueRefName>
      </ID_INPUT>
      </IMPORTING>
    - <EXPORTING>
    - <ED_OUTPUT>
      <valueRefName>ED_RESULT</valueRefName>
      </ED_OUTPUT>
      </EXPORTING>
      </ecatt:ZUS_LINK_TESTSCRIPT_B>
    Regards
      Uwe

  • Warning message reg

    Hi SAP Gurus,
    A warning message should pop-up at the time of PO creation wrt PR if PO Qty is Greater than PR Qty.
    I selected the message as Order Qty is greater the PR qty.
    The system incorrectly allows multiple PO's for a single PR messgae is disputing with the above requirement.Already I selected the message 00 06 076 & 00 06 400.I need the message other than these two.
    Thanks is advance

    Hi Hanuma
    You can allot points to the  suitable  contributor
    Regards
    Vikrant

  • Creation of sales order wrt. scheduling agreement

    how to create a sales order wrt. a scheduling agreement?how to maintain copy control
    anubrota

    Hi
    As per my knowledge the subsequent process of scheduling agreement is delivery
    scheduling agreement contains fixed delivery dates and delivery quantities and the same are mentioned in the schedule lines of the SA
    scheduling agreement means the that itself is on order which is scheduled for delivery on certain fixed dates
    But in some scenarios i have read there is order prepared referring to SA and then delivery
    I havent worked on those scenarios
    For this i think you should take the similar settings of copy controls between Quantity contract QC to OR
    This qn i am also watching for some other friends who come out with better explanation
    Regards
    Raja

  • Duplicate Batch number creation during MIGO wrt PO

    Dear al SAP
    We have activated batch management at material level and set external number range. During MIGO say for the first line item, I have entered external batch number as 123. If I give the same batch number for the second line item of the same material code, system should throw an error message.
    Pls explain in detail SPRO setting required for this.

    In Logistics General -> Batch Management -> Creation of New Batches -> Define Batch Creation for Goods Movements select the option "E" Manual and check against external number range

  • Creation of Rebate agreement wrt rebate agreement

    My client requirement is when rebate agreement created with reference to old rebate agreement by using VBO1 , system should copy the rebate recipient (customer) & rebate type (montly etc) from old rebate agreement.
    Is there any copy control between rebate agreements to rebate agreement? Else how can this can be addressed?
    Kindly check and help me.
    Edited by: sapsduser on Mar 1, 2012 7:28 AM

    Hi,
    Go to VBO1 select your Agreement type next click on create with reference,give the agreement no form which you want to
    copy,click on copy button,it will take you to further screen there you can change if any thing you wan to change or you can
    save the document,system will generate new agreement no with old agreement values like same rebate recipient and rebate
    type.
    Regards
    Ram

Maybe you are looking for

  • EO on a db view

    Hello, Can anyone give me a use case of creating an EO on top of a database view. I mean, why not create a VO on top of a database view. Also how to you handle methods like create, remove when your EO is based on a database view? regards, Yora

  • Purchase price variance-Foreign exchange

    HI Experts, as per my business process PPV-fx means The Foreign Exchange rate difference between the average exchange rate of the month that the invoice is booked and the standard company xxxxx exchange rate that company xxxxx applies for actual cost

  • Regarding Run operating system command

    Hi experts, I have a requirement of creating an empty file onto the same folder where my reciever file adapter writes the result file. Is it possible in case of FTP as well or is just supported for NFS? Regards, Amol

  • Stop idocs from creation

    hi all, first of all let me tell you whats happenning presently with the system: on changing the final invoice flag in PO,the output types ZNE3 is detemined by nace config which results in creation of the idoc which are finally used to send across th

  • Re-Installing Final Cut Studio 5 on Mac OSX 10.6.8

    I used to use FCP 5 on my Mac using OS 10.5.8, after I upgraded to 10.6, I realize there's some problem opening FCP files, I tried to unistall and re-install FCP 5 on my Mac now, which is using 10.6.8 now, error message shows "Your computer does not