Purchase Order from Requisition

My scenario is:
    I need to create a Purcahase Order based on Purchase Requisition as i need to add one new line item as a sample in the line item.If anybody has worked on the similar kind of scenario...kindly help me.
This is related to transaction ME21 .
Regards,
Rahul.

Hi Rahul,
Try for userexit,
Here are the list of available user exits for ME21.
EXIT_SAPMM06E_001 - Other Number Range or Own Document Number
EXIT_SAPMM06E_004 - User Exit for Cust.-Specific Control of Import Data Screens in Purchasing
EXIT_SAPMM06E_005 - Field Selection Control: Vendor Address Screen
EXIT_SAPMM06E_006 - Export Data to Customer Subscreen for Purchasing Document Header (PBO)
EXIT_SAPMM06E_007 - Export Data to Customer Subscreen for Purchasing Document Header (PAI)
EXIT_SAPMM06E_008 - Import Data from Customer Subscreen for Purchasing Document Header
EXIT_SAPMM06E_009 - Reset Customer Data at Beginning of New Document (Without Dialog)
EXIT_SAPMM06E_012 - Check Customer-Specific Data Before Saving
EXIT_SAPMM06E_013 - Update Customer-Specific Data in Purchasing Document
EXIT_SAPMM06E_014 - Read Customer-Specific Data when Importing Purchasing Document
EXIT_SAPMM06E_016 - Export Data to Customer Subscreen for Purchasing Document Item (PBO)
EXIT_SAPMM06E_017 - Export Data to Customer Subscreen for Purchasing Document Item (PAI)
EXIT_SAPMM06E_018 - Import Data from Customer Subscreen for Purchasing Document Item
EXIT_SAPMM06E_020 - User Exit: Change Document for Requisitions (Conversion into PO)
EXIT_SAPMM06E_021 - Fulfillment of Target Value: Release Orders Against a Contract
Find the available exits with the following program:::
*& Report ZFINDUSEREXIT
report zfinduserexit.
tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
tables : tstct.
data : jtab like tadir occurs 0 with header line.
data : field1(30).
data : v_devclass like tadir-devclass.
parameters : p_tcode like tstc-tcode obligatory.
select single * from tstc where tcode eq p_tcode.
if sy-subrc eq 0.
select single * from tadir where pgmid = 'R3TR'
and object = 'PROG'
and obj_name = tstc-pgmna.
move : tadir-devclass to v_devclass.
if sy-subrc ne 0.
select single * from trdir where name = tstc-pgmna.
if trdir-subc eq 'F'.
select single * from tfdir where pname = tstc-pgmna.
select single * from enlfdir where funcname =
tfdir-funcname.
select single * from tadir where pgmid = 'R3TR'
and object = 'FUGR'
and obj_name eq enlfdir-area.
move : tadir-devclass to v_devclass.
endif.
endif.
select * from tadir into table jtab
where pgmid = 'R3TR'
and object = 'SMOD'
and devclass = v_devclass.
select single * from tstct where sprsl eq sy-langu and
tcode eq p_tcode.
format color col_positive intensified off.
write:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
skip.
if not jtab[] is initial.
write:/(95) sy-uline.
format color col_heading intensified on.
write:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
write:/(95) sy-uline.
loop at jtab.
select single * from modsapt
where sprsl = sy-langu and
name = jtab-obj_name.
format color col_normal intensified off.
write:/1 sy-vline,
2 jtab-obj_name hotspot on,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
endloop.
write:/(95) sy-uline.
describe table jtab.
skip.
format color col_total intensified on.
write:/ 'No of Exits:' , sy-tfill.
else.
format color col_negative intensified on.
write:/(95) 'No User Exit exists'.
endif.
else.
format color col_negative intensified on.
write:/(95) 'Transaction Code Does Not Exist'.
endif.
at line-selection.
get cursor field field1.
check field1(4) eq 'JTAB'.
set parameter id 'MON' field sy-lisel+1(10).
Hope this will help.
Regards,
Phani.

Similar Messages

  • How to create Purchase order from Requisitions!

    Hi there,
    Please help me in this case:
    I was created a outline agreements for item MN.001 (4600000014), and then created and released success for Requisition  10000180. After that I want to create PO from above Requisition (use T-code  ME25 -Vendor Unknown). These steps as follow:
    1. Navigator to T-Code : ME25
    2. Refer to Req : 10000180
    3. Assign Source to Agreement : 4600000014
    4. click button Generate to create PO from REQ --> system message that "Item blocked for order processing (function not possible)"
    Please help me!
    thanks for your advise!
    Viettq.

    hi,
    When you are using the outline agreement for the PR and then shd use for the PO...from where this RFQ comes in the scene??
    Also PR is already asigned to the source as outline agreement...
    Regards
    Priyanka.P
    Edited by: Priyanka Paltanwale on Nov 7, 2008 6:03 AM

  • User-exit for ME59 - Automatic creation of Purchase Order from Requisitions

    Hi,
    In ME59, is there a way to prevent PO of being saved, but instead created with the « hold » option?

    Hi,
    I tried this for ME59N and struggled.
    I think EXIT_SAPMM06E_013 cannot change EKKO (it only imports it as the exit is for posting customer data) and BAdi ME_PROCESS_PO_CUST cannot change MEMORY because method SET_DATA uses mepoheader (and later mepoheaderx). 
    Check the two structures in SE11, in our ECC5 system mepoheaderx doesn't have field "memory" so the BAdi can work out its been changed (via method SET_DATA).
    Even though lots of people have asked this question and the same exits/BAdi get highlighted I cannot see anyone confirming that they have managed to do it.
    If anyone has then please share the details.
    Thanks, Matt

  • Two purchase orders from one purchase requisition

    Hi experts,
    i'm getting this strange behavior. How is possible to create 2 purchase orders from one purchase requisition ??
    If i look to sales order flow i see two purchase orders.
    Thank you.

    Hello Dan M,
    When u enter the material and qty in Item the system might be doing Availability check. Then u might be going to schedule line and then "check mark on "Fix qty/date". Here once again the system might be doing Availability check and then u press  "Dely proposal".
    I suggest u to check the Purchase Requisition Item No. (the field next to Purchase Requisition No.). Keep watch here after every step u perform. Watch before and after u press every button.
    Do carefully analysis step by step u will get the reason.
    Any thing required write on the forum.
    Thanks & regards,
    Shailendra Panhale

  • Create Purchasing Order from Purchasing Requisition

    Hi,
    I need to create in a report a Purchasing Order from Purchasing Requisition. I have seen the Bapi BAPI_PO_CREATE; Can I create order from requisition without fill all field and only 
    the requisition and ther obligatory field?
    Thanks
    Francesco

    Hi
    Try out what all parameters are obligatory in case of Purchase Requsition using the FM - 'BAPI_REQUISITION_CREATE' in R/3 back-end..
    and then try creating PO using 'BAPI_PO_CREATE1' or 'BAPI_PO_CREATE' Function modules.
    Also try creating P Req manually using ME51N / ME51 Transactions and debug the process to get further details, if any.
    Regards
    - Atul

  • Purchase order from Purchase requisition

    Hi all,
    How can we create purchase order from Purchase requisition number?
    Any BAPI or Function Module for changing purchase requisition  to purchase order .........
    Thanks in advance for all your help.
    Regards,
    Anukool

    Hi,
    Have you had a look through transaction BAPI to see if there is anything suitable?
    I've just had a quick look and found BAPI_REQUISITION_RELEASE_GEN which should release the PR and then maybe you could use BAPI_PO_CREATE1 and see if there is a way to reference the PR?
    Or what about looking at the transaction ME59N to see how that works?
    I'm just guessing here sorry.

  • Source of supply is not updating in me53n from fiori App order from Requisition

    Hi,
    I am using Order from Requisition APP, to create a PO from Approved PRs.
    while doing this, there is a step assign Supplier, i am assigning the supplier and created the PO Successfully.
    But in backend, when i checked in t-code ME53N for Source of supply tab for a particular PR item. that tab is not updated with vendor details.
    when i checked in created PO it gets updated there.
    Purchase REquisiton
    PO CREATed with above PR
    Is there any workaround to update the source of supply in backend.
    Thanks,
    Venu
    Tags edited by: Michael Appleby

    Hi,
    We are using classic scenario in SRM 5.0.
    We are using desired vendor in the purchase requisition, whenever the Purchase requisition is moving into the SRM Sourcing cockpit. We are unable to see the source of supply.
    Source of supply is missing in sourcing cockpit (SOCO).
    desired vendor number which is not updating, instead it is showing empty.
    I have found some BADI like BBP_SOS_BADI and BBP_SOS_BADI_ICC, this BADI will trigger when a shopping cart has contract GUID, but we donu2019t have contract for this purchase requisition.
    Could you please tell me the BADI or user EXIT name, by using this BADI I can populate the populate the source of supply and vendor in SOCO.

  • Automatic posting of purchase order from sales order

    hiii
    experts,
    i m doing automatic purchase order from sales order. i have generated purchase requisition number from sales order now when i m trying to do automatic po the system says no suitable purchase requisition available.I have maintained info record, source code,automatic po tick in material master and in vendor master.what could be the problem .waiting for ur valuable inputs.
    warm regards
    thanks
    subhash kulkarni

    Hello,
    Please check all the things mentioned by our experts e.g Source allocation ,infor record, source list.
    Beside that I would suggest check document flow whether already PO is created or not.
    If every thing is in place then try to create PO with reference to PR by transaction ME21N & see what error you receives.
    Hope this help you ,
    Regards,
    Prashant

  • Standard Purchase order from MRP

    Hi
    I am trying to create standard purchase order from MRP using quotation, asl,sourcing rule ,assigement sets, but it is only going upto Requisition.For the same item if i run the min-max planning it does generate Req as well as standard PO.
    Am i correct that i can create standard po by using Quotation etc ?? if so what is wrong with setup ??
    Thanks
    Anshuj

    Sorry for posting. works fine.
    anshuj

  • Intercompany Text-Based Standard Purchase Order from Production Order

    We have a business scenario where a material is made in a plant and then another plant performs a service on that material.  The customer wants the purchase requisition that is created from the production order from the producing plant to apply a vendor that is an intercompany vendor.
    The issue is, these purchase orders are text based purchase orders.  This process works perfectly when there is a material master.
    Scenario:
    Plant X = Production Order to make Material A
    Plant X = Production Order creates a purchase requisition in Plant X; Intercompany Vendor is assigned
    Buyer = Creates the purchase order from the purchase requisition
    Error Message: SAP issues an error message that this vendor cannot be used.
    We are looking for a way to create a text based purchase order (that represents a service) and assign to a intercompany vendor.

    The exact error message we receive is:
    Diagnosis
    You are entering an ordering transaction involving a vendor to whom a plant has been assigned. Normally, materials would be supplied by one plant to another in such a transaction.
    This process involves a delivery and billing document in the SD system. The PO for this appears directly in the delivery due list of the issuing plant (vendor) and therefore does not need to be transmitted.
    However, items without a material master record cannot appear in the delivery due list.
    Procedure
    Items without a material master record can only be ordered from vendors without a plant assignment.
    The point is if we create a vendor without a plant assignment, how can the inter-company posting be accommodated.

  • How to bring 'Firm' Purchase Orders from legacy system through PDOI

    Hi
    we are interacing the purchase orders from a legacy system through Open Interface i.e PDOI.
    Here i have to enable the Firm_Flag for all these PO before converting to oracle. I found that there is a column firm_flag in po_headers_interface table , but when i am populating taht column to 'Y' also, the firm flag at the PO window , by clicking the Terms button, is not reflecting.
    Please let me know why PDOI is not picking up the value at the header table. Any help is really helpful.
    Thanks
    Vyaghresh

    Vyaghresh
    Can you tell us your version?
    Thanks
    Nagamohan

  • Re: Error in submitting Import Standard Purchase orders from Pl/Sql

    Hi All,
    Iam using the following code to submit a concurret program
    "Import Standard Purchase orders" from pl/sql
    Program is sucessfully submittted but it is Completing in error status i am stuck there please help me in resolving this
    My instance R12
    My Code
    ======
    DECLARE
    v_request_id VARCHAR2 (100);
    BEGIN
    mo_global.set_policy_context ('S', 204); --org_id for the operating unit which the purchase order records belong too
    mo_global.init ('PO'); -- sets the application
    FND_GLOBAL.APPS_INITIALIZE (1013436, 50578, 201); --Consists of the user_id, responsibility_id, responsibility_application_id which is 201 for purchasing
    v_request_id :=
    fnd_request.submit_request (application => 'PO',
    program => 'POXPOPDOI',
    description => NULL,
    start_time => NULL, -- To start immediately
    sub_request => FALSE,
    argument1 => '31348', -- Buyer_ID
    argument2 => 'STANDARD', -- Doc Type
    argument3 => '', -- doc subtype
    argument4 => 'N', -- update items
    argument5 => '', -- create sourcing rules not used
    argument6 => 'INCOMPLETE', -- Approval status
    argument7 => '', -- release generation method
    argument8 => '1021387', -- batch_id
    argument9 => '', -- operating unit null
    argument10 => '', -- global agreement null
    argument11 => '', -- enable sourcing null
    argument12 => '', -- sourcing level null
    argument13 => '', -- inv org enabled null
    argument14 => '' -- inv org null
    DBMS_OUTPUT.put_line ('Request submitted. ID = ' || v_request_id);
    COMMIT;
    EXCEPTION
    WHEN OTHERS
    THEN
    DBMS_OUTPUT.put_line (
    'Request set submission failed - unknown error: ' || SQLERRM
    END;
    output
    =====
    when i check output i am getting the follwing error
    DECLARE
    ERROR at line 1:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at line 133
    Log message
    ==========
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    31348
    STANDARD
    N
    INCOMPLETE
    1021387
    Start of log messages from FND_FILE
    To get the log messages for PDOI, please use the following id to query against FND_LOG_MESSAGES table:
    AUDSID = 945297
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_sys_parameters.0
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_startup_values.10
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure start_process.50
    User-Defined Exception in Package po.plsql.PO_PDOI_Concurrent. Procedure POXPDOI.30
    End of log messages from FND_FILE
    Thanks
    Manoj kumar

    Pass NULL instead of ''
    Check the flag
    SELECT multi_org_category
      FROM fnd_concurrent_programs
    WHERE concurrent_program_name = 'POXPOPDOI'Update it as per the below MOS Doc
    R12 / POXPOPDOI - 'ORA-01422' Error While Running 'Import Standard Purchase Orders' [ID 457628.1]
    Otherwise,
    Follow the below doc and insert values to the interface tables (headers, lines and distribution) and run the Import Standard Purchase Orders from the front end.
    How To Diagnose Problems With Importing Standard Purchase Orders [ID 781351.1]
    HTH
    Cheers,
    ND
    Use the "helpful" or "correct" buttons to award points to replies / Mark the thread as answered, if your question is answered.

  • Creation of Purchase Order Without Requisition

    Hi Experts iam new to this forum
    Can u please explain with navigation that how to create a Purchase order without requisition ??

    Navigate to purchasing responsibility.
    use menu --> Purchase order --> Purchase order form.
    This is a very detailed note on how to do that:
    How to Create Purchase Orders (Doc ID 168237.1)
    Regards,
    Paarthy

  • Excluding price of last purchase order from cost estimate

    Good morning,
    we have the issue described below:
    we would like to exclude a price of some purchase orders from valuation in cost estimate in case of valuation is made by price from purchasing info record.
    In this case valuation considers price of last purchase order even if there is a valid agreement used.
    Our customer would like to have valuation with price of purchasing agreement and not price of the standard purchase order closed, but if agreement is older and during creation of standard PO is setted the "InfoUpdate" flag, system updates the inforecord and in CK11N during cost calculation it uses this price for subcontracting.
    We have done some tests...Is there a standard SAP solution to have price of valid purchase agreement?
    Many thanks.
    Giusy Castiglione
    Accenture Outsourcing

    Hi,
    Your requirement seems to be very unique and hence you need to try out through by selecting the valuation through user exit where we can request the system take the po price from purchase agreement instead of purchase orders. This selection deftly resolve this unique requirement instead of searching for a std solution.
    Trust this helps much!
    Regards,!
    Ashok Singh

  • Quantities captured in Purchase Order from Sales Order

    Hi,
    Here is the scenario:
    1. Sales Order: Ordered 2 units of item A.
    2. Item A in warehouse = 1 unit. Therefore, I'm short of 1 unit.
    3. Tick Purchase Order in the logistic tab.
    4. When I click Add sales order, Purchase Order confirmation window appear.
    5. Quantities captured in the PO confirmation order is 2 units.
    The quantities for PO should be 1 unit, isn't it?
    This is weird. I tested this a few days ago. The PO only captured the quantities that I'm short of, not the full quantities.

    Hi Joyce
    As per your scenario if there are two items in sales order and if u make a purchase order out of it it would have 2 items in it
    because it does not take into account the MRP aspect it directly links a direct link between sale and purchase order in the backend and also there exist a link between line items and there quantities
    if u wana run the system eeping in mind the MRP concept then u would require to run the purchase order from MRP
    Regards
    Manish

Maybe you are looking for

  • Certain Apps Crashing on iphone 5 ios 6.1.4

    Certain apps like Asphalt 7,Asphalt 8 , Plants vs Zombies ,Real Racing 3, Flashlight, Minion Rush crash immeditely after the startup logo.....other apps like N.O.V.A 3,Gangster rio work fine so i dont think it is a memory problem... The crash report

  • Display resolution on external monitor

    I have purchased a MacBook Pro 17" and happy with the high screen resolution using it as a laptop. Successfully making my Windows desktop obsolete :-), has left me with a nice Dell 30" monitor (which have been running very high resolutions on using W

  • Learning PL/SQL in Oracle 10G XE

    Successfully installed Oracle 10G XE on my desktop. I'm a newbie Oracle user who wants to learn PL/SQL through Oracle 10G XE. Is this possible? Hope you can give me tips and advice on how I would start with this? Thanks!

  • How to avaoid tables declaration in abap object 's

    Hi Folks, I realised that in abap objects we should not declare tables statement, instead we have to declare wa type dbtable. But my qsn is i am using select single * from dbtable in at selection-screen for validation, in that situation in that situa

  • Which kernel components should be applied together?

    Hi all, I thought there was a SAP note, which described the kernel components that should be applied together. And I thought this was a i5/OS specific note. There was a list from some component which always should be applied together and not seperate