REG Purchase Order BAPI

Hi Experts,
My requirement is to get in to change mode of a PO's ,then
click on Messages Tab so that the Output type NEU gets triggered automatically for the list of PO's i have and then i save the PO.
I am trying to do a recording in ME22N .The recording seems to be working fine in Foreground and Background Mode.
When i try to Schedule it as a job in Background , it gives an
Error saying
'Unable to initialise ABAP Control Framework ...
Control Framework: Fatal error - GUI cannot be reached'.
Is there any BAPI which can solve my requirement.
I cannot use ME22 also as i dont have access to that TCODE.
Your help is very much appreciated.
Regards,
Nick

Hi,
U cannot use ordinary transaction as it takes mre amount of time  . for that use standard BAPI FM
BAPI_PO_CHANGE-- to change bapi PO and use method
purchaseorder.change to change PO.
BAPI_PO_CREATE
BAPI_PO_CREATE1
Depending upon u r req u use but it is better to use BAPI_PO_CREATE1 and dont forget to use
BAPI_Transaction_commit.
Reward if its usefull.
Regards
Durgaprasad.
Edited by: Durga Prasad on Apr 11, 2008 8:05 AM

Similar Messages

  • How to find a purchase order bapi

    Hi,
    can any one help how to find purchase order bapi.

    Hi,
    Please check with the transaction code - 'BAPI' & you can see the details in the below path:
    Material Management -> Purchasing.
    Please refer the bapi documentation.
    Regards,
    Selva K.

  • How to find purchase order bapi

    can any one help how to find purchase order bapi.

    This isn't a Web Dynpro Specific question - moving to ABAP general.
    However have you considered going to SE80 and searching for function modules that begin with the name BAPI and have purc in the name?  Or maybe going to the BAPI Browser transaction (T-Code BAPI) and searching either in the Hiearchy or Alphabetical list.  Probably not too difficult to find the purchase order object.

  • Purchase Order BAPI's

    Dear All,
    Could you please let me know the BAPI that can be used to check whether the Purchase order has been created for a particular material or not.
    Also to get the all the PO's that are created with the corresponding material details.
    Please the list of input fields that needs to be provided for these BAPI's
    Regards,
    Nithiyanandam

    Hi,
    Could you please make it clear, Because I dont have much knowledge in ABAP. I executed this BAPI through the Tcode SE37, by providing the Material number details in Import parameter. When executed, the return parameter provided the total count of the PO numbers for the material( as 500 etc for ex) and I am not getting any details in the PO_ITEMS tables.
    Let me know what else chould I provide.
    Thanks & Regards,
    Nithiyanandam

  • Problem in creating a SyncBo for Purchase Order BAPIs

    Hello Everybody,
    I am trying to create a smart sync application for Purchase Orders.
    I have used standard bapis like BAPI_PO_GETDETAIL AND BAPI_PO_CREATE1.
    I have developed my own wrapper functions using these std bapis. For the PO creation i only plan to insert the necessary and mandatory data. The problem i face is that some of the tables in the create bapi which are mandatory for a PO creation are freezed in the SyncBo.
    Tables like POITEMX, POADDRDELIVERY, POSCHEDULE and structure POHEADERX are all required for the creation of a PO. Without this minimum data a PO cannot be created.
    After i have created the syncBo, on the mapping screen i can only see these tables under the create BAPI. But i am not able to perform the mapping of their fields. These are non-editable or i must say that they are freezed.
    And if i cannot map them then i cannot pass data for them from the client. Although i can do the mapping for the table PO_ITEM and the structure PO_HEADER.
    I hope i am able to expplain my problem. Kindly get back to me if i am not clear. Any sort of help is welcome.
    Thanking in advance,
    Saurabh.

    Hi Saurabh,
    Hope you are aware of the prerequisites for creating the BAPI Wrappers.
    If you want to insert some data into the Business Object, then you have to include
    GETLIST, GETDETAIL and CREATE Bapi Wrappers.
    I think in your case,
    You might not have mapped those fields in your GETLIST Bapi Wrapper.Just check whether you have mapped those fields that are necessary for PO creation in your GETLIST and GETDETAIL BApi wrapper mapping screen.
    Those fields you have mapped in the GETLIST and GETDETAIL BAPI wrappers will be visible (for selection - checkboxes will be editable) in the mapping screen for CREATE BAPI Wrapper.
    So first of all, you have to map fields there in the mapping screens for GETLIST and GETDETAIL Bapi Wrappers...
    check this thing...
    refer these links..
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/library/mobile/mobile%20infrastructure/mobile%20development%20kit%202.5/content/appdev/smartsync/introduction.html
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/library/mobile/mobile%20infrastructure/mobile%20development%20kit%202.5/content/appdev/smartsync/bapi_wrapper_types.html
    In the second link, you can see one figure, which is explaining the things that are to be satisfied by the BAPI Wrappers for SyncBO creation...
    Let me know If you have doubts in the prerequisite section itself...
    Regards,
    Kishor Gopinathan

  • Reg : purchase order (ME21)

    hi friends..
    how to create purchase order?
    what are the mandatory fields to create purchase order ?
    how can i input the mandatory fields?
    what are all the tables i want to refer to create purchase order?
    how i upload data using BDC ?
    please help ...

    Hi Selva,
    For creation PO enter the following data in the ME21 screen:
    1st Screen
    Vendor
    PO Type
    PO Date
    Purch Organization
    Purchase group
    2nd Screen
    Material No
    PO quantity
    Order Unit
    Inforecord Number
    Material Group
    Regards,
    George
    reward points to useful tips

  • Reg: Purchase order no from accounting document no

    hi,
    I have to generate a report of vendor billing details,where i have to get the corresponding purchase order no for accounting document no.From bseg i am getting the ebeln field but i have fetched based on posting key bschl ='86' or '81'.for the corresponding document no.Without this can i get the ebeln from another table.
    'Docu.Dt',    'Posting Dt',      'Bline Dt',     'Docu.No',     ' Purchase Or.No'
    from,
    Dinamol

    Hi Sasi,
    Using accounting document number you can fetch the PO details from MSEG table.
    <b>Reward for helpful answers</b>
    Satish

  • Reg : Purchase order to requistion

    Hi,
    Suppose i am converting 3 requistions to Purchase order thro Autocreate ..Where i can see in the Purchase order , from what are the
    requistions from which the Purchase order has been created .
    ( To make it simple : From Purchase order how can i see the corresponding requistions)

    Now to make it just a bit technical also.
    Query for line_location_id in po_requisition_lines_all for your approved requisition & for whom you think PO is being created. This will be having Primary ID for PO_LINE_LOCATIONS_ALL which will give you the header ID of PO.
    Hope this may help you.
    Thanks
    Sachin Ahuja

  • Reg.Purchase order against sale order( E )

    Dear Experts
    I configured PO against cost centre (K - Cost center and G/L A/c is created) and it is working.But I want to configure against sale order (E).what is the configuration required. Pls advise in details
    Thanks
    Rajakumar.K

    Dear Raja,
    Third-party order processing (for direct-to-customer delivery/drop shipment) is triggered when a sales order containing a third-party item is created.
    When this occurs, the system automatically generates a purchase requisition item of the category u201Cthird-partyu201D for each delivery schedule line of the sales order item.
    This requisition item is converted into a purchase order (PO) item. Depending on the confirmation control key, the quantities/dates in the sales order are confirmed when the PO is created or an order acknowledgment is maintained.
    If you create a third-party item without referencing a requisition generated from a sales order, this is not third-party order processing in the foregoing sense: a matching-up of the data between the SD sales order and the purchase order cannot be carried out in such cases!
    Sales Order
    In the standard system, the sales order item for the third-party process has the item category TAS (this is found automatically if the item category group BANS has been set in the material master, or it can be changed manually). In the standard system, the schedule line category CS is found for the item category TAS. It is specified in Customizing for the schedule line category CS that a purchase requisition (type NB) with the item category '5' (third-party) and account assignment category 'X' is generated.
    The number of the requisition that is generated can be displayed via the delivery schedule lines in procurement.
    If a PO is generated from this requisition, it can be seen in the document flow for the SD sales order (Environment  Document flow).
    Purchase Requisition
    The requisition is generated via the function module ME_REQUISITION_EXT. An important characteristic is that the field EBAN-ESTKZ (creation indicator) contains a 'V'. If a third-party requisition is created in dialog mode, this field does not contain the indicator u2018Vu2019 u2013 that is to say, this is not a third-party process in the sense defined. A source determination process is carried out at the time of creation. The purchase order units found during this process are adopted! The account assignment, containing the number, item, and schedule line of the sales order, cannot be changed in the requisition. The account assignment is the u2018pointeru2019 between the requisition and the SD order!! Since Release 4.6, the delivery address cannot be changed either. The address of the goods recipient (ship-to party) from the SD order is adopted as the delivery address (caution: this can be located both at header and item level in the SD order).
    There is a requisition item for each delivery schedule line in the sales order!
    Purchase Order
    Purchase order items generated from the above requisitions contain EKPO-STATU = 'V'. The delivery address comes directly from the sales order (see LMEPOF3T MEPO_ITEM_FILL_ADDR) and cannot be changed. Neither can the account assignment be changed; here too it is the 'pointeru2019 between the PO and the sales order. In the standard system, the account assignment category is 'X', with KZVBR = ' '. Since the account assignment is located at item level, you must not convert several third-party requisitions into a single PO item, otherwise the update of the sales order is liable to fail!
    An 'actual' goods receipt does not take place with regard to a third-party item. The 'WEPOS' indicator is not set for the item categories 'S', but can be set manually. The posting of a GR results merely in a value update here. The entry of a vendor invoice can be made dependent on the prior entry of a GR. In the third-party process, this only makes sense if you wish to prevent the customer from receiving an invoice before having received the goods. A goods receipt should be recorded when the vendor reports the outward delivery.
    At the time of saving, the document flow and confirmations are updated in the SD order. If problems should arise on the SD side due to changes (e.g. the customer has been blocked), an error message is issued here first!
    In the case of third-party items generated without reference to a 'third-party requisition', i.e. the item category u2018Su2019 is merely entered manually, there can be no update between SD order and purchase order. Here, for example, the delivery address is not read from the sales order u2013 it must be entered manually (mandatory field).
    Sanjeev

  • Reg purchase order line item numbering

    Hi All ,
      Is  there any customization setting or possibility of cahanging the Purchase order line item number when the PO is created from the Purchase requisation , normally if the PO is created directly I am able to change the line item number as desired but if is created from a PR this is not allowed , please let me know any possibility of changing this .
    Thanks and Regards,
    Mallikharjun.

    Hi Mallikharjun,
    You can modify the Line Item numbering at IMG>MM>Purchasing>Purchase Requisition>Define Document Types.
    Here you can change the column ItmInt. which determines the line item number intervals.
    Hope it helps.
    Cheers
    Keshav

  • Reg purchase order history & Sales order history

    Hi ALL,
    In purchase order history we can see the document flow from purchase order to Invoice receipt.If i raised debit memo against purchase order this request also u can see in purtchase order history.But if u make payment to vendor against this it is not showing in purchase order history.What tratment i have to give to see.
    For each debit memo initially  request will be raised by purchase department, against debit memo request  Accounts department will make payment.so i want to see the payment in purchasde order history.
    Kindly advise me how to view the above thing.
    THX
    YSR

    Hi,
    You can try these FM to update info record.
    ME_DB_UPDATE_INFORECORDS
    ME_UPDATE_INFORECORD
    ME_UPDATE_INFORECORD_COND
    ME_UPDATE_INFORECORD_PD
    Are you sure to update info record from changing PO net price?
    Regards,
    Ferry Lianto

  • Reg.Purchase order against Sale order.

    Dear Experts
    I have configured newly in our Ides system for A/c assignment "K", and I want to configure against sale order " E ", what are the settings to be done. Plaase help.
    Thanks
    Rajakumar.K

    Dear Experts
    VA02 ->enter sale order -> press enter.. the following error occured
    " Field VBAP NTGEW is not defined in incompletion procedure 20 "
    " Field VBAP BRGEW is not defined in incompletion procedure 20 "
    Error 2nd :
    Subs.function purchase requisition from sales document not possible: Item 000002 is not completely configured.
    how to solve this problem.
    Thanks
    Rajkumar.K
    Edited by: Raja Kumar on Oct 3, 2008 9:21 AM

  • Reg Purchase order history update.

    Hello all,
    Please solve this problem.
    I am creating a Standard PO with help of info records(Net price comes from info records(me11 me12). When i change or modify the same po in ME22N, then the Changed net price should be replaced in info records(ME12). Please suggest me if there is any BAPI or BADI. If u have any sample codes, please send it.
    <b><REMOVED BY MODERATOR></b>
    Regards
    B.Ravi
    Message was edited by:
            Alvaro Tejada Galindo

    Hi,
    You can try these FM to update info record.
    ME_DB_UPDATE_INFORECORDS
    ME_UPDATE_INFORECORD
    ME_UPDATE_INFORECORD_COND
    ME_UPDATE_INFORECORD_PD
    Are you sure to update info record from changing PO net price?
    Regards,
    Ferry Lianto

  • Reg:purchase order

    Hi All,
    RE: Error message in PO : System error (error in method PO_POST)
    While  processing PO (Means trying to delete an item from po ) and try to save, it is giving above error message.
    What may be solution for this error.
    Thanks
    Best Regards
    siva

    hi buddy
    this po material might be already processed
    i.e. migo already happened
    check it
    reward if helpful
    regards
    kunal

  • Reg Purchase order history update(ME120

    Hi All,
    I have a requirement like this..
    Whenever end user creating or changeing PO(ME21N) then the net price for the changed material should be updated in Net price in Me12 transaction.
    There are lot of FM to update the same in database tables. But i want to update in ME12 transaction. Please provide me if have good solution for this.
    Also let me know how to catch the values in the screen into a field or internal table.
    There is possiblity to do this update using BDC. But i am expecting a Function module.
    Regadrs
    Ravi

    Hi,
    You can try these FM to update info record.
    ME_DB_UPDATE_INFORECORDS
    ME_UPDATE_INFORECORD
    ME_UPDATE_INFORECORD_COND
    ME_UPDATE_INFORECORD_PD
    Are you sure to update info record from changing PO net price?
    Regards,
    Ferry Lianto

Maybe you are looking for