Service purchase order, with price 0.

Hi again,
I have tested to create or modify a purchase order using (BAPIs CREATE1 and CHANGE) using the FREE_ITEM flag, but it doesn't work. There is a SAP note that explain that is not possible.
Anybody know any way to uptade a service purchase order line with price 0,
Thanks
BR
Jorge

hello,
please check with following code. this code works in SAP46C.
DATA: gs_ekpo TYPE ekpo.                           
DATA: gt_return TYPE TABLE OF bapiret2.            
DATA: gs_return TYPE bapiret2.                     
DATA: gt_bapimepoitem TYPE TABLE OF bapimepoitem.  
DATA: gt_bapimepoitemx TYPE TABLE OF bapimepoitemx.
DATA: gs_bapimepoitem TYPE bapimepoitem.           
DATA: gs_bapimepoitemx TYPE bapimepoitemx.         
parameters: P_EBELN like ekpo-ebeln.
parameters: P_EBELP like ekpo-ebelp.
CLEAR: gs_ekpo,             
       gs_return,           
       gt_return[],         
       gs_bapimepoitem,     
       gs_bapimepoitemx,    
       gt_bapimepoitem[],   
       gt_bapimepoitemx[].  
SELECT SINGLE * FROM ekpo INTO gs_ekpo              
WHERE                                               
      ebeln = p_ebeln AND                    
      ebelp = p_ebelp.                         
IF sy-subrc = 0.                                    
  gs_bapimepoitem-po_item = gs_ekpo-ebelp.          
  gs_bapimepoitem-free_item = 'X'.                  
  APPEND gs_bapimepoitem TO gt_bapimepoitem.        
  gs_bapimepoitemx-po_item = gs_ekpo-ebelp.         
  gs_bapimepoitemx-free_item = 'X'.                 
  APPEND gs_bapimepoitemx TO gt_bapimepoitemx.      
  CALL FUNCTION 'BAPI_PO_CHANGE'                             
    EXPORTING                                                
      purchaseorder                = gs_ekpo-ebeln           
*   POHEADER                     =                           
*   POHEADERX                    =                           
*   POADDRVENDOR                 =                           
*   TESTRUN                      =                           
*   MEMORY_UNCOMPLETE            =                           
*   MEMORY_COMPLETE              =                           
*   NO_MESSAGING                 =                           
*   NO_MESSAGE_REQ               =                           
*   NO_AUTHORITY                 =                           
*   NO_PRICE_FROM_PO             =                           
* IMPORTING                                                  
*   EXPHEADER                    =                           
   TABLES                                                    
     return                       = gt_return                
     poitem                       = gt_bapimepoitem          
     poitemx                      = gt_bapimepoitemx         
*   POADDRDELIVERY               =                           
*   POSCHEDULE                   =                           
*   POSCHEDULEX                  =                           
*   POACCOUNT                    =                           
*   POACCOUNTPROFITSEGMENT       =                           
*   POACCOUNTX                   =                           
*   POCONDHEADER                 =                           
*   POCONDHEADERX                =                           
*   POCOND                       =                           
*   POCONDX                      =                           
*   POLIMITS                     =                           
*   POCONTRACTLIMITS             =                           
*   POSERVICES                   =                           
*   POSRVACCESSVALUES            =                           
*   POSERVICESTEXT               =                           
*   EXTENSIONIN                  =                           
*   EXTENSIONOUT                 =                           
*   POTEXTHEADER                 =                           
*   POTEXTITEM                   =                           
*   POPARTNER                    =                           
  READ TABLE gt_return INTO gs_return WITH KEY type = 'E'.   
  IF sy-subrc EQ 0.                                          
*- errors                                                    
    WRITE:/ 'E', gs_ekpo-ebeln, gs_ekpo-ebelp, 'BAPI',       
    gs_return-message.                                       
  ELSE.                                                      
*- success                                                   
    IF p_test IS INITIAL.                                    
      CLEAR: gs_return,                                      
             gt_return[].                                    
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'    
EXPORTING                                      
   WAIT          = 'X'                             
       IMPORTING                                 
         return        = gs_return.              
If you have made a single test in SE37; the update doesnot work as it needs a exclusive <b>commit work</b>.
Hope this helps.
Best Regards, Murugesh AS

Similar Messages

  • Service purchase order with quantity

    Hi all,
    Is it possible to create a service purchase order with quantity ?
    Our client is using sap b1 2005b pl39.
    Expecting you all valuable reply.
    Jeyakanthan

    Hi, Jeyakanthan,
    I guess there are 2 ways out for this:
    1. Define the Service as an item ...i.e. create aitem master for it.Then you can define the quantities for it.
    2. Use a UDF in the service type document as quantity and put a FMS to calculate the qty.
    Nagesh

  • Create service purchase order with negative value

    Hello,
    we created a service purchase order using the specific item category (value D) and with the service number details. We posted the entry service sheet with the transatcion code ML81N and we did the invoice verification.
    Now we need to reverse this document flow: in particular our requirement is to create a new purchase order (like a return order for goods) and then to post an entry service sheet with the opposite sign (both cost center and G/L account).
    Do you know whick document type I can use or how i can meet this requirement? Please consider that I cannot reverse the original document but I need to create new ones.
    Thanks in advance,
    Alessandro

    check below thread;
    service order
    yogesh

  • Service purchase order with network account assignment

    purchase requsition  made with N acct *** and D item category, value 1000 $ but quantity in PR given 1 now purchase order made from this requisition of value 700$ and quantity 1, migo miro also done......System is not allowing to use remaining 300 $ in PO saying quantity fully used. how to use this remaining 300 $ . in services tab service no given which is made in project system..pls help.. also purchase req value cant be changed to 700$

    Hi,
    Have you done service entry sheet in ML81N?
    For service procurement, the process is :
    1. Create PR with item catg. D ME51N
    2. Create PO from PR (ME21N) - Enter the services to be performed with the quantity in the services tab for the PO item.
    3. Make service entry sheet (ML81N) for the PO item. Here you confirm the quantity & amount of service performed.
    If only partial portion of the service is to be peformed, enter only partial qty & amount here.
    4. Vendor invoice (MIRO) - here you book the vendor invoice amount for the quantity of service performed.
    Please follow the above procedure and you should be able to handle this scenario.
    Regards
    Prabhu S

  • Service Purchase Order with Negative Value

    Hi Experts,
    is there a method of creating a purchase order of services that can have negative value on it?
    the requirement is that the PO, SES and Invoice of the previously issued PO needs to be adjusted by creating a new Purchase order.
    Please advise.
    Thank you,
    Barakzai.

    Hi,
    No need to create service PO with negative quantity!
    If payment not done for your servicePO, you can cancel invoice document and then revoke SES.
    If any other process involved you can do subsequent debit or subsequent credit  for your service PO in t.code:MIRO.
    Regards,
    Biju K

  • Import service Purchase order

    Hi Experts,
    I am facing  this problem when i am creating import service Purchase order with Purchase requisition. my import pricing procedure have Assessible value percentage condition type,which is coming in import service PO with certain percentage and condition type is coming  in display  mode. i am unable to change this condition type value in PO.
              Access sequence not maintained for this condition type although it is picking some percentage.How can i find where it is picking and i want to make as editable this condition type in PO.
             If i create import PO with material code, the condition type not picking any percentage and it is coming as editable mode.
                if i create import service po without purchase requisition, this condition type not picking any percentage.
              the problem is create import po with Purchase requisition only.
      Control data of condition type is:  Cond. class     A       Discount or surcharge
                                                           Calculat.type    A        Percentage                                                                               
    Cond.category  H       Basic price  
    Condition type is item condition.
    Kindly help me,
    Regards,
    Makarand.

    by going thru your problem, we understand that there are 2 different pricing procedures maintained.
    Pls check in transaction MEK3 give your assess value condition type and you will know where from the record is being read.
    To make condition editable and not editable. go to t.code M/06 and chnage "Manual entries" to "C Manual entry has priority:.
    Thanks & regards
    Hameed Pavez

  • Copy a service P.O. to create a new service purchase order

    I want to create a new service purchase order with items category D. However when I give ref. of some another purchase order the vendor and org. data fields become grey. How do I change these fields in new purchase order which I want to create? In case of material P.O. these fields are editable.
    Pl. help.
    Regards.

    Dear,
    Please check at the time of Service order creation the document type of purchase order is for services. If no please first change document type in ME21N select document type for service po then enter reference of document number in field of purchase order and it's line item at item detail level.
    So please compare your process of purchase order creation with below detail.
    Enter ME21N -Select document type for po.
    Then enter purchase order number in field of reference purchase order field. then check your data.
    Regards,
    Mahesh Wagh.

  • Price Change indicator in Service Purchase order

    Dear Friends
    I am making one service purchase order, at service item level one price change indicator appears if its selected then at the time of service entry sheet it is possible to change value
    But in my case,this indicator is not appearing at the time of raising PO, can anybody guide me at what screen level we can make field settings according to this.
    Regards
    VIvek

    I think it is invesible for you
    go to Item detail scree in the PO
    here you will see the Color squar at the corner of service tab
    here click on that Icon
    it will open the tablesetting pop up
    here click on administrator adn uncheck the ESLL-PRS_CHG field
    Than click on activate and save
    now you will see this field.

  • Purchase Order History not appearing for Purchase Order with service items

    A purchase order with a service item has been created.  A SES has been created and Miro transactions as well. When tcode ME2L is executed, the Purchase Order History field is blank. Any configuration missing or is there an applicable OSS note to fix  this?

    Hi,
    It is a coding error.
    Could you please check if you have applied the note 1049031 with the latest version 13?
    Regards,
    Edit

  • Net price on purchase order with reference to purchase requisition

    Hello!
    When I create a purchase order with reference to purchase requisition, the net price goes automatically to the purchase order.
    But It's possible change the net price on PO, and I must close this possibility.
    Do you know how can I do this?
    Thanks, Camila!

    Hello
    Try to search SCN for EVO
    You will find this: PR price in PO

  • Purchase order with zero price

    hello
    is i possible to create pos with zero price. i have a scenario that i need to create po with out paying to vendor.
    please help
    regards

    Hi,
    If yours is a Free Goods Scenario. Then Mark the Free Item Tab ( Next to Returns) in the Purchase Order detail tab.
    Now you can create a Purchase order with Zero Price. By the time GR thru. 511 Mov. Type (Material receipt with out charge) you can receive the material.
    Reg,
    Ashok
    Rewards Welcome.

  • Purchase Order with Invoice Plan

    Hi,
    I need to understand working with Invoicing plans for a Purchase Order. Especially the service PO for the rents and other related services.
    How the PO is linked to the Invoice Plan and how the process happens in SAP?
    Thanks in advance!

    Creating an Invoicing Plan  
    The following procedure describes how to create an invoicing plan with the pre-Enjoy ordering transactions (ME21, ME22, ME23).
    The procedure described is also applicable u2013 with certain restrictions u2013 to the Enjoy purchase order (ME21N, ME22N, ME23N).
    If you are using the Enjoy purchase order, you will find:
    ·         The Invoicing Plan button and the indicators for GR-based invoice verification (GR-Based IV), service-based invoice verification (Srv.-Based IV), evaluated receipt settlement (ERS), and invoice receipt (Inv. Receipt) among the item details on the Invoice tab page.
    ·         The account assignment among the item details on the Account Assignment tab page
    ·         The Goods Receipt and GR Non-Valuatedindicators among the item details on the Delivery tab page
    Prerequisites
    Vendor Master Record
    Before you can use the invoicing plan with automatic settlement, the Evaluated Receipt Settlement Delivery indicator must be set on the Purchasing Data screen in the vendor master record.
    (If you wish to enter invoicing dates manually, this is not necessary.)
    Purchase Order
    ●     We recommend using a framework order (that is a purchase order with a validity period and a reason for rejection). The invoicing plan can adopt the validity period specified in the PO header.
    ●     PO items for which you wish to use an invoicing plan must have account assignment irrespective of whether a material with a master record, a material described by a short text, or an external service is involved.
    ●     The GR/IR control facility must be set up in such a way that no goods receipt (or, in the case of services, no service entry) is expected - only an incoming invoice. If you wish to have automatic settlement, you must also set the Evaluated Receipt Settlement indicator.
    If you nevertheless wish to allow service entry sheets for the item (e.g. for information purposes only), you must set the GR Non-Val. indicator.
    Customizing
    Under Purchase Order à Invoicing Plan in Customizing for Purchasing, you can maintain data such as the desired invoicing plan types, date categories, and date descriptions.
    Procedure
           1.      Create a purchase order with account assignment (framework order).
    Click  to access the item overview (or the overview of service lines if you chose item category D for services).
           2.      Enter the desired material or service, the quantity, and the price.
           3.      Select the desired item and click  Account Assignments to access the account assignment screen. Enter the account assignment for this item.
           4.      Click  to access the item detail screen. Check that the GR/IR control indicators are set correctly on the item detail screen.
    ○     The GR and GR-Based Invoice Verification or Service-Based Invoice Verification indicators must not be set.
    ○     IR must be set.
    ○     You must set ERS if you wish to have Evaluated Receipt Settlement.
    ○     If you wish to have service entry sheets purely for information, for example, allow non-valuated goods receipt (i.e. select the GR Non-Val and GR indicators).
           5.      Choose Item ® Invoicing Plan. A window appears, in which the invoicing plan types predefined in Customizing are suggested. Choose the desired invoicing plan type and click  Continue.
    You can use the following invoicing plan types:
    ○     Periodic Invoicing Plan
    ■      You use the periodic invoicing plan if the total value of the PO item is to be invoiced in each period.
    ■      The system creates the invoicing dates automatically on the basis of the settings in Customizing.
    ■      The invoicing date and the amount to be invoiced are shown for each settlement period (e.g. month). In the case of the periodic invoicing plan, the amount represents the total value of the PO item.
    ■      You can change the suggested dates and block individual dates for automatic invoicing if necessary.
    ■      You can enter the start and end dates for the invoicing plan.
    ■      With the Dates from and Dates to fields, you can determine that an invoicing plan does not contain invoicing dates extending over the entire validity period of the purchase order but only for a certain period within that validity period. (E.g. within a validity period from 1.1. to 12.31, only dates within the period 1.1. to 06.30.)
    ■      With the Horizon field, you control how far into the future dates can be created. If you enter a date rule that adds six months to the current date here, invoicing dates will be created for just half a year in advance in each case.
    The system automatically creates new dates if you change the invoicing plan or when you invoke the transaction for Updating Periodic Invoicing Plans. See Generating Further Invoicing Plan Dates
    ■      The In Advance indicator allows you to specify whether the invoice is to be created with regard to a prior or subsequent period. (E.g. at the beginning of February, either in advance for the month of February or in arrears for the month of January).
    ■      In addition, fields with information on the existing invoicing plan are displayed (e.g. the calendar upon which the date determination process is based).
    ○     Partial Invoicing Plan
    ■      You use the partial invoicing plan if the total value of the PO item is to be invoiced in several partial amounts.
    ■      You get an empty date overview in which you can manually enter the desired dates.
    ■      If you work with a reference invoicing plan, the system automatically generates dates in accordance with the reference plan.
    You have the following options:
    ●      You create a reference invoicing plan in Customizing for the invoicing plan type.
    ●      You enter an existing invoicing plan as reference plan directly in the invoicing plan for the PO item.
    ■      You can flag a date in field B (Billing/Invoicing Rule) as follows:
    ●      As a down payment (percentage or value)
    ●      As an invoicing date (percentage or value)
    ●      As a final invoice
           6.      Click  to return to the item overview.
           7.      Click  to save the purchase order item with the invoicing plan.
    You can then start the automatic invoice creation process during invoice verification.
    For more information, refer to the section Settlement of Amounts Due Under Invoicing Plans.
    Once assigned to an item, the invoicing plan type (e.g. partial invoicing plan) cannot be changed. If you wish to assign a different invoicing plan type, you must delete the item and create a new one.
    Generating Further Invoicing Plan Dates  
    If you have assigned a periodic invoicing plan to a PO item but have not initially defined invoicing dates covering the entire validity period of the purchase order, you can generate further dates in due course.
    You have created a PO item with a periodic invoicing plan for a certain planned procurement. The purchase order is valid from 1.1. to 12.31. When creating the invoicing plan, you specified one invoicing date per month for the first half of the year. You have not yet planned any dates for the second half of the year because you do not wish information from the invoicing plan to be passed on to purchase order commitments at this stage, for example.
    By mid-June, it is clear that the PO is to proceed as envisaged, and you therefore wish to schedule invoicing dates for the remainder of its validity period.
    Procedure
    To schedule further invoicing dates, proceed as follows:
    Choose Purchase order ® Follow-on functions ® Period. invoicing plan
    Specify the purchase orders for which invoicing dates are to be generated in the invoicing plan and perform the function.
    A log can be created if desired.
    Result
    The system adds further dates on the basis of information such as the validity period or horizon from Customizing, the purchase order, and the invoicing plan.
    regards,
    indranil

  • SMBLN filed blank in case of service Purchase order for MSEG

    Hi expert
    SMBLN (Number of Material Document) filed blank in case of service Purchase order for MSEG.
    if i check for normal  po i get my number for which i have doing reverse.
    Case example
    when i check in mseg for Mvt 106  Material Docu No , in the field SMBLN i get for the  Material Docu No of 105 for normal PO.
    when i check in mseg for Mvt 102  Material Docu No , in the field SMBLN i dont get for the  Material Docu No of 105 for Servicel PO
    Regard
    Nabil
    Edited by: sayednabil on Apr 11, 2011 11:50 AM

    Hello andrewjkasten, 
    It's good to hear from you again, although I truly wish it were to share a more pleasant experience than when we previously conversed. It is always great to keep an eye on sales however you can so you don't miss them! I'm sorry to hear a technical issue may have caused your order to not reach our systems and missing out on a great sale price! 
    Using the information you registered with the forum, I've sadly been unable to locate your computer order. With that said, I would like to look further into this and am sending you a private message to gather the necessary information. I look forward to your correspondence! 
    Respectfully, 
    Tasha|Social Media Specialist | Best Buy® Corporate
     Private Message

  • DELIVERY COMPLETED indicator for Services Purchase Order

    hello experts,
    i'm working in SAP with R3 4.7 for developing funtion / BAPI for a mobile web application for services purchase order.
    i have a big problem:
    is it possibile to set the DELIVERY COMPLETED indicator (<i>ELIKZ</i>) in services purchase order via BAPI or Function Module?
    <i>I'm working with BAPI_PO_CHANGE but and i succeded with material PURCHASE ORDER but not with SERVICES PURCHASE ORDER</i>.
    can anyone help me?
    thanks in advance,
    Eliana

    For material:
    Delivery completion (DCI) tick available at line item level for each material (EKPO- ELIKZ)so you can check for the each material in PO the DCI is available or not.
    For Services:
    As Service code (Service line items) are maintained in details screen of Header line item. So whenever the DCI (Delivery completion indicator) marked for that Header line item it means that all the service line items are marked as DCI for that Header line.
    DCI indicator can mark manually in Change PO mode and automatically when service entry done as final for that Header line.
    So you can check the DCI for service same way as you do for material
    Hope it will help you
    Regards
    Vikrant

  • Purchase order with -ve Qty

    Hi,
    Is it Possible to create purchase order with negative  Quantity, right now it is issuing msg "negative Quantity will not be allowed for service based invoice verification".
    If yes please suggest the config steps.
    Regards,
    Rani

    not possible.
    negative stock can be maintained for storage location for goods issue

Maybe you are looking for

  • Contact form not working :( Please Help...

    Hey guys, I am really in trouble with flash forms and need help please. Ive been trying to get a contact form working for a few weeks but have had no luck. Below is the code I am putting in to the flash form and php file. (this is the code I have put

  • How to configure PPPoE in solaris 10

    Hi As I have to configure Internet in one Intel based Solaris box [Solaris 10] can you tell me the steps how to configure it as I have Brodband connection of Iqara.

  • Nik/Google plugins crashes on OSX 10.9

    Photoshop CS6 crashes just after opening on OSX Mavericks. Tried opening PS CS4 as a test, and it crashed as well. Both functioned previously before latest update to Adobe Camera RAW. BTW, Bridge CS6 and ACR open and function fine. Here is the crash

  • [SOLVED] Transparency in termite gone

    So, the title states it pretty well. Updated last night, went to bed, booted everything like normally, woah! Transparency isn't working! And I'm pretty sure termite is to blame, somehow... But I don't know why. I've tested other terminals to rule it

  • Scheduling possible in XI?

    Hi,   I am working on a scenario R3>XI>FLAT file..My extraction from R/3 is based on several transactions. Is it possible to schedule an XI transmission similar to running a weekly report?? i.e Getting R/3 values from various transactions over a week