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

Similar Messages

  • Purchase order with quantity range value

    Hi All,
    I want to have PO price to be taken from vendor info with quantity based values.
    For ex: The vendor has fixed a rate for 500 qty with X rate. and above 500 qty Y rate.
    My scenario is i want to raise the PO with this rate. How can i do this?
    Note: If i do first PO with 300 qty, then rate it is taking is X*300
    Now if i do second purchase order, with 300 qty, then the first 200 qty should go with X rate and remaining 100 should go with Y rate. ie, this purchase order will have combination of X & Y rate.
    Please give the solution for this.

    hi...
    U can perform this pricing by doing some modification in ur conditon type...
    In M/06 open ur condition type and under Scale tab...chooose scale type ..here assign scale type "D" i.e. Graduated-to interval sc
    And config the scale in purchase-info record..
    S Type    s quantity     amount            
         to            200               X
                         300               y
    then it will calculate : 200X+100y=Z
    try this out...
    Hope it works,,
    Thnks
    Edited by: ashish2210 on Jul 20, 2011 3:20 PM

  • 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 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

  • 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

  • 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.

  • 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

  • Purchase order with zero quantity

    Hi all,
    When a replenishment delivery is ceated in product view, APO automatically creates purchase order with zero quantity and the replenishment delivery's receipt element. APO does not transfer the purchase order to R/3. Do you have an idea about the problem?
    Thanks,
    Burak

    Plese try to send change pointer through /SAPAPO/C5 - Process Change Pointers .
    Also check your publication setting in Spro.( Maintain Distribution defination )
    Manish

  • 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

  • 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

  • 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

  • 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

  • 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

  • Service purchase order bapi_po_create1 error: maintain services or limits

    I am trying to create service Purchase Order.
    I am getting error: 'Purchase order still contains faulty items, Please maintain services or limits'.
    Struggling to solve this. Can anybody shed some light on this to solve.
    I would appreciate your any help.
    thanks.
    The following is the code I am working.
    REPORT  ZAUTO_PO_CREATE1                        .
    constants: c_x value 'X'.
    DATA: i_poitem TYPE STANDARD TABLE OF bapimepoitem,
    i_poitemx TYPE STANDARD TABLE OF bapimepoitemx,
    i_poitem_sch TYPE STANDARD TABLE OF bapimeposchedule,
    i_poitem_schx TYPE STANDARD TABLE OF bapimeposchedulx,
    i_acct_*** TYPE STANDARD TABLE OF bapimepoaccount,
    i_polimits type standard table of BAPIESUHC,
    i_acct_assx TYPE STANDARD TABLE OF bapimepoaccountx,
    i_services TYPE STANDARD TABLE OF bapiesllc ,
    i_srvacc TYPE STANDARD TABLE OF bapiesklc,
    i_return TYPE STANDARD TABLE OF bapiret2,
    wa_header TYPE bapimepoheader,
    wa_headerx TYPE bapimepoheaderx,
    wa_poitem TYPE bapimepoitem,
    wa_poitemx TYPE bapimepoitemx,
    wa_poitem_sch TYPE bapimeposchedule,
    wa_poitem_schx TYPE bapimeposchedulx,
    wa_acct_*** TYPE bapimepoaccount,
    wa_acct_assx TYPE bapimepoaccountx,
    wa_services TYPE bapiesllc,
    wa_srvacc TYPE bapiesklc,
    wa_return TYPE bapiret2,
    wa_BAPIESUHC type BAPIESUHC,
    ws_po TYPE bapimepoheader-po_number.
    data: wa_it_xlikp like line of it_xlikp.
    loop at it_xlikp into wa_it_xlikp.
    endloop.
    data: wa_it_xlips like line of it_xlips.
    loop at it_xlips into wa_it_xlips.
    endloop.
    data: wa_it_xvbpa like line of it_xvbpa.
    loop at it_xvbpa into wa_it_xvbpa.
    if wa_it_xvbpa-parvw = 'SP'.
    wa_header-vendor = wa_it_xvbpa-lifnr.
    endif.
    endloop.
    *data: it_komp type table of komp,
         wa_it_komp like line of it_komp.
         loop at it_komp into wa_it_komp.
         endloop.
    service PO is only for YLF delivery type.
    if wa_it_xlikp-lfart ne 'YLF'.
    exit.
    endif.
    shipping conditions.
    *case wa_it_xlikp-vsbed.
    *when '3P' or 'CP'.
    *exit.
    *endcase.
    wa_header-doc_type = 'YB'.
    wa_header-creat_date = sy-datum.
    wa_header-created_by = sy-uname.
    wa_header-vendor = '0005000000'.
    wa_header-comp_code = 'OB01'.
    wa_header-purch_org = 'OB01'.
    wa_header-pur_group = 'OB9'.
    wa_header-CURRENCY = 'USD'.
    wa_header-vper_start = '20061118'.
    wa_header-vper_end = '20061126'.
    wa_header-ref_1 = 1.
    wa_header-incoterms1 = 'AOS'.
    wa_header-incoterms2 = ''.
    wa_header-our_ref = 'N'.
    wa_headerx-comp_code = c_x.
    wa_headerx-doc_type = c_x.
    wa_headerx-creat_date = c_x.
    wa_headerx-created_by = c_x.
    wa_headerx-vendor = c_x.
    wa_headerx-purch_org = c_x.
    wa_headerx-pur_group = c_x.
    wa_headerx-vper_start = c_x.
    wa_headerx-vper_end = c_x.
    wa_headerx-ref_1 = c_x.
    wa_headerx-incoterms1 = c_x.
    wa_headerx-incoterms2 = c_x.
    wa_headerx-our_ref = c_x.
    wa_poitem-po_item = '00010'.
    wa_poitem-short_text = 'Automatic generation - Freight'.
    wa_poitem-plant = '0089'.
    wa_poitem-quantity = '1'.
    *wa_poitem-MATERIAL = '10'.
    wa_poitem-NET_PRICE = '23.00'.
    wa_poitem-po_unit  = 'ACT'.
    wa_poitem-item_cat = 'D'.
    wa_poitem-acctasscat = 'K'.
    *wa_poitem-matl_group = 'S1'.
    *wa_poitem-pckg_no = '10'.
    APPEND wa_poitem TO i_poitem .
    wa_poitemx-po_item = '00010'.
    *wa_poitemx-po_itemx = c_x.
    wa_poitemx-short_text = c_x.
    wa_poitemx-plant = c_x.
    wa_poitemx-quantity = c_x.
    wa_poitemx-net_price = c_x.
    wa_poitemx-po_unit = c_x.
    wa_poitemx-tax_code = c_x.
    wa_poitemx-item_cat = c_x.
    wa_poitemx-acctasscat = c_x.
    wa_poitemx-matl_group = c_x.
    wa_poitemx-pckg_no = c_x.
    APPEND wa_poitemx TO i_poitemx.
    wa_poitem_sch-po_item = wa_poitem-po_item .
    **wa_poitem_sch-delivery_date = ''.
    APPEND wa_poitem_sch TO i_poitem_sch.
    wa_poitem_schx-po_item = wa_poitem-po_item.
    wa_poitem_schx-po_itemx = c_x.
    wa_poitem_schx-delivery_date = c_x.
    APPEND wa_poitem_schx TO i_poitem_schx.
    wa_acct_***-po_item = wa_poitem-po_item.
    wa_acct_***-serial_no = 01.
    wa_acct_***-gl_account = '5210'.
    wa_acct_***-co_area = 'OB01'.
    wa_acct_***-costcenter = '36089'.
    wa_acct_***-funds_ctr = 'DUMMY'.
    APPEND wa_acct_*** TO i_acct_***.
    wa_acct_assx-po_item = wa_poitem-po_item.
    wa_acct_assx-serial_no = 01.
    wa_acct_assx-po_itemx = c_x.
    wa_acct_assx-serial_nox = c_x.
    wa_acct_assx-gl_account = c_x.
    wa_acct_assx-co_area = c_x.
    wa_acct_assx-costcenter = c_x.
    wa_acct_***-funds_ctr = c_x.
    APPEND wa_acct_assx TO i_acct_assx.
    *services/ limits
    *wa_BAPIESUHC-limit = '3000.00'.
    wa_BAPIESUHC-EXP_VALUE = '300.00'.
    wa_BAPIESUHC-no_limit = 'X'.
    *wa_BAPIESUHC-NO_FRLIMIT = 'X'.
    append wa_bapiesuhc to i_polimits.
    wa_services-pckg_no = '20'.
    wa_services-line_no = '2'.
    wa_services-service = '0005000000'.
    wa_services-subpckg_no = '10'.
    wa_services-quantity = '100'.
    wa_services-gr_price = '100'.
    wa_services-userf1_txt = 'TEXT'.
    wa_services-from_line = '1'.
    wa_services-to_line = '2'.
    APPEND wa_services TO i_services.
    wa_srvacc-pckg_no = '20'.
    wa_srvacc-line_no = '1'.
    wa_srvacc-serno_line = '02'.
    wa_srvacc-serial_no = '02'.
    wa_srvacc-percentage = '100'.
    APPEND wa_srvacc TO i_srvacc.
    CALL FUNCTION 'BAPI_PO_CREATE1'
    EXPORTING
    poheader = wa_header
    poheaderx = wa_headerx
    POADDRVENDOR =
    TESTRUN =
    MEMORY_UNCOMPLETE =
    MEMORY_COMPLETE =
    POEXPIMPHEADER =
    POEXPIMPHEADERX =
    VERSIONS =
    NO_MESSAGING =
    NO_MESSAGE_REQ =
    no_authority = c_x
    no_price_from_po = c_x
    IMPORTING
    exppurchaseorder = ws_po
    EXPHEADER =
    EXPPOEXPIMPHEADER =
    TABLES
    return = i_return
    poitem = i_poitem
    poitemx = i_poitemx
    POADDRDELIVERY =
    poschedule = i_poitem_sch
    poschedulex = i_poitem_schx
    poaccount = i_acct_***
    *POACCOUNTPROFITSEGMENT =
    poaccountx = i_acct_assx
    POCONDHEADER =
    POCONDHEADERX =
    POCOND =
    POCONDX =
    POLIMITS = i_polimits
    POCONTRACTLIMITS =
    poservices = i_services
    posrvaccessvalues = i_srvacc
    POSERVICESTEXT =
    EXTENSIONIN =
    EXTENSIONOUT =
    POEXPIMPITEM =
    POEXPIMPITEMX =
    POTEXTHEADER =
    POTEXTITEM =
    ALLVERSIONS =
    POPARTNER =
    ***confirms the document creation by database commit.
       CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          WAIT          = 'X'
    IMPORTING
      RETURN        =
    LOOP AT i_return INTO wa_return.
       WRITE wa_return-message.
    ENDLOOP.

    Fill this tables:
    GT_POSRVACCESSVALUES  TYPE STANDARD TABLE OF BAPIESKLC,
    GT_POCONTRACTLIMITS   TYPE STANDARD TABLE OF BAPIESUCC,
    Glauco

Maybe you are looking for

  • Letter of Guarantee Sales

    Dear Consultants, We are using Letter of Guarantee(LG) for sales, this guarantee for 1 year period, value of ex: SAR.100,000.00, sales order will create with ref. to LG. For example the order value SAR 50,000.00 then billing doc created of SAR.50,000

  • How do I save a change to a photo?

    how do I save a change to a photo?

  • How to add layers in Dreamweaver CS5

    I am using Dreamweaver CS5 for the first time and cannot find a way to insert layers. One comment I ran across on the internet suggested that layers are a thing of the past. If this is so, can someone please suggest another way to achieve the same re

  • Cannot update Bios through Live Update (Z77A-GD65)

    I've been trying to update the Bios from A.00 to A.B0.  I've tried it a few times but when I scan for updates it will always say that my current Bios is A.00 and the online version is A.B0.  I'm trying to get this update in the hope that it will fix

  • After downloading itunes then hw to sync

    after downloading i tune hw to syn ipod