I created a purchase order and deleted it.

I created a purchase order and deleted it.
when i query the purchase order even in history table the PO is not avaialble. why?
The table i queried
In release r12
SELECT *
FROM apps.po_history_all

Your po archive is probably be set to Archive on "approval" or "communicate".
Since you deleted the po before approving, it never got archived.
Check your document types in PO Setup menu.
Hope this helps
Sandeep Gandhi
Omkar Technologies Inc.
Independent Techno-functional Consultant
513-325-9026

Similar Messages

  • To Find MIGO, MIRO No of a Purchase Order and List Of Vendors ?

    Hi Experts,
    Required your inputs on the Following, Please Guide.
    1) My End user has created a Purchase order, and he has done G.R and followed invoice also. And he doesnt remember the G.R Number and Invoice Number, for that Purchase Order.
    a) How and where to find GR Number and Invoice Number for that Purchase Order ?
    b) Please sugest is there any transaction to find the GR Number and Invoice Number ?
    c) How to Find the Open Purchase orders? Is there any transaction to look Over Open Purchase Orders ?
    2) My Enduser has Created Vendors with respect to different Company Code.
    a) Is there any Standard report to find the List of Vendors with respect to Company Code ?
    Please advice with your Valuable inputs.
    Best Regards
    Javeed

    Hi,
    Go to transaction code ME23N and then at item level click on tab called u2018Purchase order historyu2019 for the particular item. You can see both GR & Invoice doc. No.
    Transaction ME2L to see the open PO.In the selection screen of this T code please select Scope of List u2013 ALV AND Selection Parameters u2013 WE101 . Then execute. You will get open Pos.
    Regards,
    Manish

  • Creating a purchase order, cost price?

    hi, when im creating a purchase order and also producing an invoice for it obviously i want the item cost to be used rather the the selling price. however, for some reason the system continues to uses selling price, so when it comes to paying an invoice i need to change all the prices to the cost, which is very annoying.
    many thanks.

    Hi........
    Please check I guess you have assigned sepping price list to the vendors. Please unassign Price List from Vendors.......
    Regards,
    Rahul

  • Create a purchase order  using an existing PO

    I want to create a purchase order (ME21N) using an existing PO.
    Please help. how can i do that.
    Best regards,
    Satish

    Hi,
    In the item overview of the purchase order creation screen (ME21N), you have a column Purchasing Doc and next it item no.  You can give the existing purchase order number here with item no which will create a purchase order, and changes can be made wherever you require.
    Hope this helps.
    Thanks
    Krishna.

  • How create a purchase order without imputation using bapi: BAPI_PO_CREATE1

    Hello Forum
    I have an request for purchase order with imputation K (cost center, EBAN-KNTTP). During the liberation of the request for purchase order, and using the Bapi: BAPI_PO_CREATE1, I want to create a Purchase Order without imputation (imputation empty or charge empty).
    The system displays the following error: The request for purchase order, item (position) 10, is attributed to another order...
    I imagine that is because the request for purchase order has imputation (charged) K and the purchase order will have no type of imputation (imputation empty).
    However, manually, Yes, I can create the purchase order. That is, I first release, the request for purchase order. Then I create the order of purchase using ME21 and with reference to request for purchase order, and when SAP returns the items of the request for purchase order, I manually remove the imputation K, and these items to become the purchase order.
    Please support me want to know how to resolve this case, why can not I create a purchase order without imputation to from the request for purchase order with imputation K, using Bapi
    Thank you.
    Greetings,

    Hi,
    In the item overview of the purchase order creation screen (ME21N), you have a column Purchasing Doc and next it item no.  You can give the existing purchase order number here with item no which will create a purchase order, and changes can be made wherever you require.
    Hope this helps.
    Thanks
    Krishna.

  • Allow to create a purchase order with purchase requisiton item deleted

    Dear all,
    I have a question about creation purchase order process.
    Firstly, I have a purchase requisition with 2 items, first of them is deleted.
    If I try to create a purchase order thru transaction ME57N with the previous purchase requisition, I can only create it with one item (the one wich is not deleted)
    However, if I try to create the purchase order thru transaction ME21N, with purchase requisition as reference, I can create the PO with item that was deleted in PR.
    I don't understand why system allows to create a purchase order with an item that previously was deleted in PR.
    Does anyone have a explanation about this issue?
    Many thanks in advance
    Best Regards.

    Hi,
    In the document overview of ME21N you get all the items of the purchase
    requisitions, no matter if they are deleted or not.
    When you convert the deleted item into a Purchase Order you get message
    06 050 stating that this item is deleted in the purchase requisition.
    This message can be defined as an error message in the customizing
    transaction OME0. This way, it will not be possible to order an item
    which is deleted in the referenced purchase requisition.
    BR
    Nadia Orlandi

  • I am trying to generate purchase order and i create a BAPI also which is active. But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)".

    i am trying to generate purchase order and i create a BAPI also which is active.
    But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)".

    Hi,
    Yeah i tried my Z_BAPI in R3 and then giving some ERROR.
    This is my CODE-
    FUNCTION ZBAPIPOTV2.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(POHD) TYPE  ZPOHD OPTIONAL
    *"     VALUE(POITEM) TYPE  ZPOITEM OPTIONAL
    *"  TABLES
    *"      RETURN STRUCTURE  BAPIRET1 OPTIONAL
    data: ls_pohd type bapimepoheader,
             ls_pohdx TYPE bapimepoheaderx,
             lt_poit TYPE TABLE OF bapimepoitem,
             lt_poitx TYPE TABLE OF bapimepoitemx,
             ls_poit TYPE bapimepoitem,
             ls_poitx TYPE bapimepoitemx.
       MOVE-CORRESPONDING pohd to ls_pohd.
       MOVE-CORRESPONDING poitem to ls_poit.
       ls_pohdx-comp_code = 'x'.
       ls_pohdx-doc_type = 'x'.
       ls_pohdx-vendor = 'x'.
       ls_pohdx-purch_org = 'x'.
       ls_pohdx-pur_group = 'x'.
       ls_poit-po_item = '00010'.
       APPEND ls_poit to lt_poit.
       ls_poitx-po_item = '00010'.
       ls_poitx-po_itemx = 'x'.
       ls_poitx-material = 'x'.
       ls_poitx-plant = 'x'.
       ls_poitx-quantity = 'x'.
       APPEND ls_poitx to lt_poitx.
    CALL FUNCTION 'BAPI_PO_CREATE1'
       EXPORTING
         POHEADER                     = ls_pohd
        POHEADERX                    =  ls_pohdx
    *   POADDRVENDOR                 =
    *   TESTRUN                      =
    *   MEMORY_UNCOMPLETE            =
    *   MEMORY_COMPLETE              =
    *   POEXPIMPHEADER               =
    *   POEXPIMPHEADERX              =
    *   VERSIONS                     =
    *   NO_MESSAGING                 =
    *   NO_MESSAGE_REQ               =
    *   NO_AUTHORITY                 =
    *   NO_PRICE_FROM_PO             =
    *   PARK_COMPLETE                =
    *   PARK_UNCOMPLETE              =
    * IMPORTING
    *   EXPPURCHASEORDER             =
    *   EXPHEADER                    =
    *   EXPPOEXPIMPHEADER            =
      TABLES
        RETURN                       = return
        POITEM                       = lt_poit
        POITEMX                      = lt_poitx
    *   POADDRDELIVERY               =
    *   POSCHEDULE                   =
    *   POSCHEDULEX                  =
    *   POACCOUNT                    =
    *   POACCOUNTPROFITSEGMENT       =
    *   POACCOUNTX                   =
    *   POCONDHEADER                 =
    *   POCONDHEADERX                =
    *   POCOND                       =
    *   POCONDX                      =
    *   POLIMITS                     =
    *   POCONTRACTLIMITS             =
    *   POSERVICES                   =
    *   POSRVACCESSVALUES            =
    *   POSERVICESTEXT               =
    *   EXTENSIONIN                  =
    *   EXTENSIONOUT                 =
    *   POEXPIMPITEM                 =
    *   POEXPIMPITEMX                =
    *   POTEXTHEADER                 =
    *   POTEXTITEM                   =
    *   ALLVERSIONS                  =
    *   POPARTNER                    =
    *   POCOMPONENTS                 =
    *   POCOMPONENTSX                =
    *   POSHIPPING                   =
    *   POSHIPPINGX                  =
    *   POSHIPPINGEXP                =
    *   SERIALNUMBER                 =
    *   SERIALNUMBERX                =
    *   INVPLANHEADER                =
    *   INVPLANHEADERX               =
    *   INVPLANITEM                  =
    *   INVPLANITEMX                 =
    ENDFUNCTION.
    i am trying to generate purchase order and i create a BAPI also which is active. But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)". 

  • Creat SC from Old Purchase Orders and Templates - Price not copied

    Hi Experts,
    When Creating SC usinfg  Old Purchase Orders and Templates interface ,
    All details are copied from Old SC to the New one , except the unit price of the item (It is created with price O )
    Please advise where we can set to copy the price also.
    Best Regards,
    Moshe

    15.02.2010 - 14:10:05 CET - Reply by SAP     
    Dear Moshe,
    Thank you for contacting SAP Active Global Support.
    I have logged on to the system and have checked the behaviour with the
    SC: 1000007814. The item in this SC is an catalog item, that means it
    has an catalog price too, which is 0 in this case.
    If you are using the copy function, the system validate the item, and
    set the original values (in this case the price) back to the standard.
    This is the standard behaviour of the system.
    Please use the catalog with price, as designed scenario.
    Kind Regards,
    Laszlo Tordai
    Support Consultant
    Active Global Support - Logistics

  • Add restriction while create item by "Old Purchase Orders and Templates"

    We are consider to add restriction while create shopping cart item by "Old Purchase Orders and Templates".  After implement such restriction, create item by copying old shopping cart item is not allow for particular matereial group number.
    Is there any BADI can be used in our case?  If there is no, could modify HTML template the only solution?
    Regards,
    Donald

    Hi,
    If the restriction is for certain group of people,then you  have 2 options:
    1.Make the link invisible for those group of people by implementing the BADI BBP_SC_MODIFY_UI.In the BADI,first check the user attributes like particular role and based on that make the link invisible.
    2. Assign certain role to the  group of users who should not see the link "Old Purchase order and templates".You can hide this link in the MENU by removing this from the lits of trasctions in that particular role.In PFCG,go in that role and then under MENU tab,remove the entry for "OLD PURCHASE ORDER AND TEMPLATES".
    BR,
    Disha.
    Do reward points for useful answers.

  • DBIF_RSQL_INVALID_RSQL when creating a Purchase Order (ME21N)

    Hi,
    The system is generating a short dump DBIF_RSQL_INVALID_RSQL when a user tries to create a purchase order.
    what could be the cause of this? i have analysed the short dump in st22 and looked at sm21 and st11 and they are giving very little detaill.
                                                                                    Error in the module RSQL accessing the database interface.                                                                               
    What happened?                                                                               
    Error in ABAP application program.                                                                               
    The current ABAP program "SAPLZMM_GET_ACT" had to be terminated because one of    
    the                                                                               
    statements could not be executed.                                                                               
    This is probably due to an error in the ABAP program.                                                                               
    What can you do?                                                                               
    Print out the error message (using the "Print" function)                          
    and make a note of the actions and input that caused the                          
    error.                                                                               
    To resolve the problem, contact your SAP system administrator.                    
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer          
    termination messages, especially those beyond their normal deletion              
    date.                                                                               
    Error analysis                                                                               
    An exception occurred. This exception is dealt with in more detail below  
    . The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was  
    neither                                                                  
    caught nor passed along using a RAISING clause, in the procedure          
    "ZMM_GET_ACT_PLN" "(FUNCTION)"                                           
    Since the caller of the procedure could not have expected this exception  
    to occur, the running program was terminated.                            
    The reason for the exception is:                                          
    The SQL statement generated from the SAP Open SQL Statement violates a    
    restriction imposed by the database system used in R/3.                                                                               
    Possible errors:                                                          
    o The maximum size of an SQL statement has been exceeded.                
    o The statement contains too many input variables.                       
    o The space needed for the input data exceeds the available memory.      
    o ...                                                                               
    You can usually find details in the system log (SM21) and in the          
    developer trace of the work process (ST11).                               
    If an error occurs the developer trace often informs you about the        
    current restrictions.                                                                               
    How to correct the error                                                                               
    The exception must either be prevented, caught within the procedure             
    "ZMM_GET_ACT_PLN"                                                              
    "(FUNCTION)", or declared in the procedure's RAISING clause.                    
    To prevent the exception, note the following:                                   
    The SAP Open SQL statement must be divided into several smaller units.          
    If the problem occurred due to the use of an excessively large table            
    in an IN itab construct, you can use the addition FOR ALL ENTRIES               
    instead.                                                                        
    When you use this addition, the statement is split into smaller units           
    according to the restrictions of the database system used.                                                                               
    You may able to find an interim solution to the problem                         
    in the SAP note system. If you have access to the note system yourself,         
    use the following search criteria:                                                                               
    "DBIF_RSQL_INVALID_RSQL" CX_SY_OPEN_SQL_DBC                                     
    "SAPLZMM_GET_ACT" or "LZMM_GET_ACTU01"                                          
    "ZMM_GET_ACT_PLN"                                                               

    Hi,
    Wherever you have used SQL statement please do check all the fields here as some of the fields are not in correct order as they are required per the actual table in dictonary, to just verify that you can use addition of "INTO CORRESPONDING FIELDS OF INTERNALTABLE" in your SQL statement as this will not require the fields to be in order but this may cause performance issue.
    Thanks and Regards
    Sudharshan

  • Jump from Sales Order to Purchase Order and back again (all in change mode)

    Hi,
    Situation is this:
      - Sales Order is created with 10 items. 4 items are created with connection to Purchase Order.
      - User open Sales Order in change mode
      - User goes to item 20 that has a related Purchase Order
      - User wants to jump to related Purchase Order and make an update here
      - User wants to be able to jump back to Sales Order Item 20 from Purchase Order
    When user jumps to Purchase Order in change mode, then this Purchase Order will also block the same Sales Order, that was open. This can be handled with dequeue and enqueue.
    Problem is that when Purchase Order is saved it will make an update to the Sales Order in the background. When user jumps back to Sales Order then this Sales Order is still open with old data and these data does not reflect data that can have been updated by the Purchase Order.
    Also: When Purchase Order is making updates to the Sales Order then e.g. Message Out Table NAST is automatically updated (insert and delete records). If user then manually updates the Sales Order with old information, then System Dump appears as Sales Order tries to insert NAST records, that have already been inserted or delete NAST records that have already been deleted via the Purchase Order.
    This means that when user jumps back from Purchase Order to Sales Order Item 20 then Sales Order needs to be refreshed with new data after Purchase Order has saved the Sales Order.
    Are there any solution to do this in a standard way (from within SAPMV45A) ?  
    I prefer not to reopen Sales Order using syntax like CALL TRANSACTION.

    Hi,
    Thanks for reply.
    In third party PR gets created automatically but PO gets create manually.So changes get refelect in PR only not in PO.
    Can you give me the solution for completing this task.
    Thanks & Regards
    Jalaj garg

  • Does the system omit release procedure if a user creates a purchase order he is to allowed to approve?

    Dear experts,
    Can the SAP system omit triggering of a release strategy even though the conditions for starting a release strategy are being met?
    I created a release strategy where I am the user authorised to approve purchase orders in certain situations. When I create a new purchase order that meets those specific conditions, my system produces a message "Purchasing document 4500017515 cannot be released" after I try to release my purchase strategy using tcode ME29N.
    I would be thankful for your responses.
    All the best,
    Radoslaw

    Dear Jurgen,
    I have edited my release strategy so that each characteristic has a threshold value, and afterwards tried to create a purchase order (tcode ME21) where the purchasing organisation, purchasing group as well as net order value fulfilled the criteria for triggering a release strategy. I also made sure that the PO time&date is preceded by the recent changes that I have done to my release strategy. Unfortunately, my new purchase order was still not subject to the release strategy.
    I will now try to find a way to delete one of the unnecessary 'net order value' characteristics from class so that it is not included in the release strategy. I will also try to search for inconsistencies in my release strategy and purchase order in line with Bijay's advice above.
    Thank you for your comments.
    All the best,
    Radoslaw

  • Problem with purchase orders and cancelling order lines

    Hi,
    We have a problem with purchase orders and cancelling order lines. For example we have created PO no. 4300291277:
    We have made a GR 5000186897 on 03.09.2010 amount 1.920 and tried to cancel it with GR 5000208866, but it takes the invoice amount 1.724 instead of 1.920. What is the correct way to undo this orders, so we cancel the 1.920 and not the 1.724?
    Please help me, your help will be highly appreciated.
    Regards,
    Najma.

    hi,
    You have to cancel the IR first...and then do cancel the GR...
    yes, there will be diff. in the price(if the price changes in bwtn)..if no changes in the price , the price will taken as old one..
    Process:
    1. Cancel IR
    2. Then cancel GR..
    3. then go the PO and try to delete the line item..
    Regards
    Priyanka.P

  • Email of Purchase Order and Payment Advice

    Good Morning All
    We wish to implement the emailing of payment advice documents to our vendors. However, we are not sure if the changes to the vendor master data required for this will also mean that purchase orders for that vendor will also be emailed. Does anyone know if this is the case or not?

    Having done some testing I agree that the requirement for condition data for purchase order output makes it possible to email remittances and not purchase orders i.e. by not creating the MN04 condition data. However, in my testing, when I assigned an email address to the vendor for the purposes of emailing purchase orders, the payment advice produced by the next payment run was also emailed. I'm sure I must be missing something as, if nothing else, this would imply that the vendor would offer the same email address for both purposes. In desperation we are wondering whether we need to maintain multiple email addresses and use the standard number for purchase orders and somehow identify one of the other addresses as that to be used for the remittance.

  • Want to see combination of Purchase Order and A/P report at material level

    Hello,
    Anyone familiar with an InfoProvider that will show a combination of Purchase Order and A/P data combined?
    I'm specifically looking for a source that includes the PO information at the <b>Vendor / Material</b> level with order value and quantity at the time the PO was created AND accounts payable data at the <b>Vendor / Materia</b>l level with the invoiced amount and quantity (which may vary for the PO amounts).<b></b>
    Thank you,
    Jim

    Hi
    Have you seen all of the follwoing datasources......
    http://help.sap.com/saphelp_nw04/helpdata/en/df/fbb0d62f3a794d98d23609d17e1610/frameset.htm
    Hope this helps
    Regards
    N Ganesh

Maybe you are looking for

  • Issue while revoking AD from organization

    Hello, OIM VERSION=9.1.0.1 Weblogic = 10.3.1 O.S=WIN 2003 Server I have provisioned AD Group to an organization called Xellerate Users & its provisioned successfully & group gets created in AD,but when i try to revoke this AD Group it shows 'Delete A

  • Asset Transfer-Intercompany

    Hi I am doing intercompany asset transfer (ABT1N), while doing simulation i getting bellow errorMessage No AA548- Error when crating line items using line item schema SAP_100_003. furteher it says as bellow   A Value field was updated on the asset, a

  • I forgot my password to my iPod what do I do?

    I have no clue what to do

  • Problem in update database record with torque

    Can anybody correct my mistake. please........ Torque.init("E:/Upendra_working_directory/msh2.0/Torque.properties"); System.out.println("State:     " + Torque.isInit()); System.out.println("Connection Sucessfully........"); Criteria crit = new Criter

  • How to use internet sharing and airtunes?

    Question? how to use internet sharing and airtunes? OK I have following working separate situations. 1. I can share my internet connection : is a router to ethernet cable into mac. Then over airport built in to my iMac ....... to other wireless compu