Creating contract with service line items

Hi,
My requirement is to create contract with multiple service line item. The issue is my system is ECC5 so i don't have BAPIS like BAPI_CONTRACT_CREATE or BAPI_SERVICE_CREATE .How do we achieve this without writing a bdc. Do we have any equivalent bapi in ECC5.

Hi,
Check this Fm BAPI_CONTRACT_CREATEFROMDATA

Similar Messages

  • SRM 7.0 EhP 1 central contracts with service lines

    Hi,
    I have a question concerning the use of SRM 7.0 EhP1 central contracts with service line items. I know that for SRM EhP 1 you would require EhP 5 in ECC. However, since my organisation just went to EhP 4 last weekend I am wondering if there's any option to use services in central contracts without going to EhP 5 in ECC.
    Kind regards,
    Bastiaan

    Hi Laurent,
    Yes.
    When Central contract was designed in SRM 7.0 with ERP EhP4, it was designed with no service hierarchy. But in SRM 7.01 Central contral was enhanced to handle service hierarchy and it works with ERP EhP5. The problem is when we have SRM 7.01 and ERP EhP4. To handle this complication SRM 7.01 was designed to send flat service lines to EhP4 and lower release even though Central contract in SRM has service hierarchy. So while transfering to ERP EhP4 system in standard, all outlines are not consider for transfer and only service lines (Functional items) are transferred to ERP. To do so user needs to maintain the backend destination information of the connected backend system in table BBP_BACKEND_DEST via SM30 transaction with correct system type (for EhP4 system it will be ERP_4.0 and for EhP5 ERP_5.0). SAP Standard program checks this while XML generation for transfer and if system type is ERP_4.0 system it removes all outlines from temp table before generating the XML data. When it is done, ERP has only service lines in its XML and it does the manupulation to create the replication of central contract.
    Master Guide (Including Upgrade Information) - SAP SRM 7.01 states:
    "The use of SAP NetWeaver PI is optional but it is required for outbound XML-based messaging or for connecting non-SAP planning or execution systems."
    So service hierarchy is possible in SRM 7.01 and ECC 6.04 but only with PI. For other CCM functionalities, SRM 7.01 and ECC 6.04 without PI works fine.
    Best regards,
    Christian Zeuch

  • Unable to create PR with Service Line & also no entry in ESLH table using

    Hi Experts,
    I am using BAPI => BAPI_REQUISITION_CREATE to create PR and it is successful to create PR but when I try to create PO is become fail (proably missing entry in ESLH table).
    Now my requirement is to create PR with Service Line and an entry in ESLH table (should be filled by SAP automatically). I have been passing the service related/account assigment tables into BAPI but still not working.
    Will you please give a solution to create PR with Service Line and also need an entry in ESLH table (its important to my req)?
    Also provide some input on Service Line, if possible(How to check Service Line for PR + Account Assignment to Service Line + etc.)?
    Note that: If I create PR manually then there have entry in ESLH and hence I can create PO.
    Definately the quick solution help me lot...
    Thanks
    AKG

    Hi Experts,
    I am using BAPI => BAPI_REQUISITION_CREATE to create PR and it is successful to create PR but when I try to create PO is become fail (proably missing entry in ESLH table).
    Now my requirement is to create PR with Service Line and an entry in ESLH table (should be filled by SAP automatically). I have been passing the service related/account assigment tables into BAPI but still not working.
    Will you please give a solution to create PR with Service Line and also need an entry in ESLH table (its important to my req)?
    Also provide some input on Service Line, if possible(How to check Service Line for PR + Account Assignment to Service Line + etc.)?
    Note that: If I create PR manually then there have entry in ESLH and hence I can create PO.
    Definately the quick solution help me lot...
    Thanks
    AKG

  • Unable to create PO with multiple line items through LSMW-BAPI method

    Hi All,
    I have a requirement of creating PO through LSMW. I can't use LSMW standard batch input program since there are some fileds not available and also it has many limitations. I'm using LSMW-BAPI method ( Business object BUS2012) which create IDOC and uses BAPI_PO_CREATE1 to ultimately post the PO in the system. I am trying to create PO from a single file which contains both Header and Item data.
    Now my problem is that everytime PO is being created with Single line item only. Everytime I am giving multiple item data in the source file LSMW is preparing multiple IDOCs for multiple line items. As per my understanding this is happenng since header and item is in the same hierarchy level of IDOC type PORDCR102 and the control record is inserted for every line item in the source file.
    It seems that through LSMW-BAPI  it is not possible to create PO with multiple line items. Can anybody provide some input regarding this? Thanks in advance.
    BR,
    Atanu Mukherjee

    Solved by myself.
    Earlier the problem was that LSMW was not being able to recognize items under same header. It was creating new IDOCs every time it gets a new item. To enable this we need to create two structure HEADERDATA and ITEMDATA.  Two additional identifier fields with identifier value 'H' and 'I' should be added in these two structures respectively. Then we need one sequential file with the identifiers field followed by the header and Item data. Example:
    H~header data
    I~item data
    I~item data 
    This would help the standard program to understand what are the items under same header and ultimately create PO with multiple line items.
    BR,
    Atanu Mukherjee

  • Creating POs with multiple line items

    Hi,
    Is it possible to create a PO with multiple line items from the Sharepoint. The developer guide shows sales order creation with a single line item. If yes, please let me know how it can be done.
    Thanks,
    Pranil

    Hi Pranil,
    You can achieve the user case to create a PO with multiple line items in 1 step by creating a custom solution UI in SharePoint. This is not possible if you simply use the out of box UI (as depicted in the guide).
    It depends on how to define the ESR data type. You can create a data type with header details of PO and collection of items with cardinality as 0..n and create a complex BDC model using SPD --> then create a custom UI.
    Other option would be keep it as 2 lists (2 step action). First create a PO header and then add item by item in 2 steps as foreign key relationship. You can see the example of Account and Activity in pre-shipped contents to get an idea.
    Thanks,
    Girimurugan

  • Where/ how do I set SNP to create Planned orders with multiple line items?

    Hi
    Currently our SNP is generating planned orders on a daily basis, it creates a single order with a single line item per location.
    Where/ how do set SNP to create planned orders on a daily basis to generate a single order with multiple line items per location, so therefore one planned order with multiple line items for a single location.
    Thanx
    Keegan

    Hi Keegan,
                   In SNP (APO) it is not possible to create order with multiple line items.
    But you can do some settings so that while planning system can do aggregation and disaggregation.
    But your requirment should be set on Aggregation/Dis-aggregation logic.
    Please follow the follwing links:
    http://help.sap.com/saphelp_scm2007/helpdata/en/2c/c557e9e330cc46b8e440fb3999ca51/content.htm
    Aggregation:
    http://help.sap.com/saphelp_scm2007/helpdata/en/42/f731d078e73ee4e10000000a1553f6/content.htm
    Disaggregation:
    http://help.sap.com/saphelp_scm2007/helpdata/en/a6/ebefaf32e22e468355da304cc59387/content.htm
    Please be sure that the setting of this logic will be at planning area level.
    You can't change aggregation/disaggregation logic further.
    Regards,
    Santosh

  • Service line item History for Contracts with item cat - D and Acc Assg P

    Hello Gurus,
    We have a situation where we create contract with item category D (Service) and account assignment category P (Projects). And for the line items of the PO we have difference services (without a service master) and each service line item has the price and quantity and other required fields. Now it is required to change the price or the quantity or both for this service line time and again (business requirement).
    The task is to to track the price changes and the quantity changes that have happened to the serive line item from the original and we require the report to diplay the original price and the present price on the service line.
    The question is: Is there a standard report in SAP to handle this? Or which are the tables where a service line items history is stored so that it can lead to a development.
    Regards - SS

    Hi Pankaj,
    We are using a Percentage based case (Prorata case)
    For Eg : For Eg for 65% (65KAI )material Price 1000 Rs
    If the Purity percentage varies payment will be done as per the same. For eg : for 70% (70KAI ) Price 1200 Rs. (approx)
    In this case unit of measurement is KAI (kilo active ingredient) .
    Actually we are dealing with dealer price where duties are entered Inclusive of the total price and entered at the time of making GR. and the payment is made as per the same;
    we have one po for 5000 MT. where we received material at first time Qty being 1993 MT.The duties manuallyentered are as follows :BED :24,167.00
    AED : 7,076.00
    ECS : 483.00
    SECES : 242.00
    These duties are flowing correctly in MIRO
    and the MIRO has been Posted and payment is also made.
    But while the balance quantity 2982 kg we received next time and those duties are as flowing as follws:
    BED : 36160
    AED : 10587
    ECS : 723
    SECS : 362
    But here at the MIRO the following duties are flowing instead of above
    BED : 36,526.08
    AED : 10,694.18
    ECS : 730.32
    SECS : 365.66
    What might be the error at this stage.
    waiting for solution at the earliest .
    Regards,
    Girish.C.M.
    09377077122

  • With  'BAPI_REQUISITION_CREATE' not able to create service line item

    Hi Experts
    Please help me with this.
    Am working with 'BAPI_REQUISITION_CREATE'. Able to create PR ( with constant data) but the service line item is not seen with ME53N. No error message displayed. Have checked the SAP note 420331.
    The code is as below:
    move '9' to  it_BAPIEBANC-ITEM_CAT. 
    move 'sdfgsdfgdfsg'  to     it_BAPIEBANC-SHORT_TEXT. 
    move 'F' to it_BAPIEBANC-ACCTASSCAT.
    move 1 to       it_BAPIEBANC-QUANTITY.
    move 'M2' to      it_BAPIEBANC-UNIT.
    move '1'  to  it_BAPIEBANC-DEL_DATCAT. "it_file-del_date_cat
      move sy-datum to      it_BAPIEBANC-DELIV_DATE.
      move '100CC' to        it_BAPIEBANC-MAT_GRP.
      move '1CEN'  to it_BAPIEBANC-PLANT.
      move 'CIVIL' to it_BAPIEBANC-PREQ_NAME.
        move '1001' to it_BAPIEBANC-PURCH_ORG.
      move 'P11' to it_BAPIEBANC-PUR_GROUP.
      MOVE 'NB' TO it_BAPIEBANC-DOC_TYPE.
    MOVE 'X' TO it_BAPIEBANC-GR_IND.
    MOVE 'X' TO it_BAPIEBANC-IR_IND.
    CALL FUNCTION 'NUMBER_GET_NEXT'
           EXPORTING
                NR_RANGE_NR = '01'
                OBJECT = 'SERVICE'
           IMPORTING
                NUMBER = v_packno
                RETURNCODE = RCODE.
      it_BAPIEBANC-PCKG_NO = v_packno.
      MOVE '00010' to it_BAPIEBANC-PREQ_ITEM.
      APPEND it_BAPIEBANC.
      CLEAR it_BAPIEBANC.
      move '000001000341'  to  it_BAPIEBKN-ORDER_NO.
      move 'AMINFRA'  to     it_BAPIEBKN-COST_CTR.
      move '0040401100' to    it_BAPIEBKN-G_L_ACCT.
      MOVE '00010' to it_BAPIEBKN-PREQ_ITEM.
      MOVE '01' to it_BAPIEBKN-SERIAL_NO.
      APPEND it_BAPIEBKN.
      CLEAR it_BAPIEBKN.
    move v_packno to IT_BAPIESLLC-PCKG_NO.
    IT_BAPIESLLC-subpckg_no = v_packno + 1 .
    move '0000000001' to IT_BAPIESLLC-LINE_NO.
    move '0000000000' to IT_BAPIESLLC-EXT_LINE.
    MOVE 'sdfgsdfgf'  TO  IT_BAPIESLLC-SHORT_TEXT.
    IT_BAPIESLLC-OUTL_IND = 'X'.
    IT_BAPIESLLC-FROM_LINE = '1'.
      APPEND IT_BAPIESLLC.
      CLEAR IT_BAPIESLLC.
    **service with master
      IT_BAPIESLLC-PCKG_NO = V_PACKNO + 1.
      IT_BAPIESLLC-subpckg_no = 0 .
      move '0000000002' to IT_BAPIESLLC-LINE_NO.
      move '0000000010' to IT_BAPIESLLC-EXT_LINE.
      move '000000000003000193' TO  IT_BAPIESLLC-SERVICE.
      MOVE 'sdfgsdfgf'  TO  IT_BAPIESLLC-SHORT_TEXT. "it_file-DESC(40)
      MOVE 1      TO  IT_BAPIESLLC-QUANTITY. "it_file-QTY
      MOVE 'M2'      TO  IT_BAPIESLLC-BASE_UOM. "it_file-UNIT
      IT_BAPIESLLC-UOM_ISO = 'MTK'.
      MOVE 1      TO  IT_BAPIESLLC-price_unit .
      IT_BAPIESLLC-GR_PRICE = 100.
      APPEND IT_BAPIESLLC.
      CLEAR IT_BAPIESLLC.
    service without master
      IT_BAPIESLLC-PCKG_NO = V_PACKNO + 1.
      IT_BAPIESLLC-subpckg_no = 0 .
      move '0000000003' to IT_BAPIESLLC-LINE_NO.
      move '0000000020' to IT_BAPIESLLC-EXT_LINE.
    move '000000000003000193' TO  IT_BAPIESLLC-SERVICE.
      MOVE 'sdfgsdfgf'  TO  IT_BAPIESLLC-SHORT_TEXT. "it_file-DESC(40)
      MOVE 1      TO  IT_BAPIESLLC-QUANTITY. "it_file-QTY
      MOVE 'M2'      TO  IT_BAPIESLLC-BASE_UOM. "it_file-UNIT
      IT_BAPIESLLC-UOM_ISO = 'MTK'.
      MOVE 1      TO  IT_BAPIESLLC-price_unit .
        IT_BAPIESLLC-GR_PRICE = 100.
      APPEND IT_BAPIESLLC.
      CLEAR IT_BAPIESLLC.
    it_BAPIESKLC-PCKG_NO = v_packno + 1.
    it_BAPIESKLC-LINE_NO = '0000000002'.
    it_BAPIESKLC-SERNO_LINE = '01'.
    it_BAPIESKLC-SERIAL_NO = '01'.
    it_BAPIESKLC-PERCENTAGE = '100'.
    it_BAPIESKLC-QUANTITY = 2.
      APPEND IT_BAPIESKLC.
      CLEAR IT_BAPIESKLC.
    it_BAPIESKLC-PCKG_NO = v_packno + 1.
    it_BAPIESKLC-LINE_NO = '0000000003'.
    it_BAPIESKLC-SERNO_LINE = '01'.
    it_BAPIESKLC-SERIAL_NO = '01'.
    it_BAPIESKLC-PERCENTAGE = '100'.
    it_BAPIESKLC-QUANTITY = 2.
      APPEND IT_BAPIESKLC.
      CLEAR IT_BAPIESKLC.
      CALL FUNCTION 'BAPI_REQUISITION_CREATE'   IMPORTING
         NUMBER                               = REQ_NO
        TABLES
          REQUISITION_ITEMS                   = it_BAPIEBANC
          REQUISITION_ACCOUNT_ASSIGNMENT      = it_BAPIEBKN
         REQUISITION_SERVICES                 = IT_BAPIESLLC
         REQUISITION_SRV_ACCASS_VALUES        = it_BAPIESKLC
        RETURN                               = IT_BAPIRETURN.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    Thnx and Regards
    Ebrahim

    First read [Note 499626 - FAQ: BAPIs in the service procurement|https://service.sap.com/sap/support/notes/499626] and especially  [Note 420331 - BAPI_REQUISITION_CREATE: Template for services|https://service.sap.com/sap/support/notes/420331]
    Regards,
    Raymond

  • Copy service line items to new line items in the same contract (ME32K)?

    Hello friends,
    Requirement: There are many contracts (account assignment K) has service line items  (type 9). I need to copy a contract line item along with its service line items (1 or more) into a new line item in the same contract. I tried bapi_po_change but it says Contracts can't be processed with it, as only in this bapi we have a structure for ESLL services. BAPI_CONTRACT_CHANGE or create don't have structure for ESLL..how to achieve this through a bapi or a fm?
    So, in what way I could accomplish this? I came across some threads, which was helpful, but is not solving the purpose
    Any guidance here would be of great help.
    Thanks in advance.
    Mayank

    Use BAPI_AGREEMENT_MAINTAIN
    This BAPI can be used to create new service items in the contract but won't change existing lines. You can query the contract lines that you want to copy and later call the BAPI to recreate them

  • Confirmation of service PO with multiple line item

    Hi SAP Experts,
    We are using SRM 7EhP1(classic scenario).
    I have a question regarding confirmation of service shopping carts/POs with several line items.
    We created a SC (and successively a PO) with N service positions.
    When we try to create a SRM confirmation, it seems that we can only confirm one position at a time.
    For material SC, in the list of SCs open for confirmation we have a line for each shopping cart, and you can create a single confirmation for the whole shopping cart.
    On the contrary, for service SC we have a line for each SC line. In this case, we cannot process all the lines in a single confirmation, but we need to create multiple confirmations.
    Is that correct? Is there a way to confirm at the same time all the service positions of the SC?
    Thanks!
    Cinzia

    Hello Cinzia,
    Regarding creating service confirmations we can create only one confirmation for one line item of SC. If there are N line items we have to create N confirmations. This is because activation of Service bundling switch in SRM and this switch is irreversible. This switch is a facility/convenience for SRM PO's replicated to ECC to view all service line items in ECC without bundling. This scenario happens for both Service and Limit items.
    I hope service bundling switch in your SRM system 7 EHP1 is activated.
    There is no other way to create service confirmations for all items at one go.
    We do have this inconvenience and raised this concern with SAP and no reply.
    Hope, this answers your question.
    Best Regards,
    Kalyan

  • Error while editing PO - deleting service line item and creating material line item.

    In SAP SRM Extended classic scenario, PO is in 'ordered' status and contains a service line item. While editing this PO, I delete the service line item and create a new material line item. This gives me the following error.
    Back end error: Enter G/L account
    Back end error: LIne item still contains faulty items.
    This happens only with service- material comibination and no other combination(material-service, service-service, material-material).
    I need to know the reason for this issue and how it can be solved?

    PO Values (Inc Tax):
    Item 1: INR 228 L
    Item 2: INR 27.83 L   (Payment also done in 2008)
    GR for Item 1: INR 207.46 L
    Remaining Comm = INR 21.01 L
    Item 1 having 73 sub line items.... fo some of the sub-line items GR for some qty already done in last fiscals.
    User changing for remaining qty.
    Budget Report values:
    Previous Years:  Budget, Actual & Assigned = 304.85 L
                                Available = 0      (Carry Forward done for Budget & Commitments)
    2011:                   Budget = 75.15 L
                                Actual = 53.86 L
                                Comm = 21.01 L   (Same as Remaining Commitment)
                                Avai = 0.28 L
    Hope this will help.

  • Post Invoice for Service Entry with many Service line item-MM-LIV

    Dear All,
    I have a problem to post Invoice for Service Entry with many Service line item. The problem is as follow:
    I have created 1 Service Entry which has 5 Service line item in it. Three of the service line item are subject to Value Added Tax (VAT), the others aren't. Then, i wanted to post Invoice for the Service Entry, however, it just display 1 item which amount in total. How can i segregate each service line item in Service Entry thus i can post Invoice for all Service line item with subject to VAT and all service item with not subject to VAT, if just 1 Service Entry created for it ?
    Please help me.
    Thank You

    Hi Ganda,
    If you mark the 'service based invoice verification' checkbox in your PO item, your service items will be in your invoice as seperate invoice lines. Then you can modify the taxcodes on service item level.
    Kind regards, Dick Hendriks.

  • Service Procurement with Multiple Service Line items

    Dear Experts,
    We have the following Business Scenario. Request your inputs in addressing this issue.
    Business scenario : Most of the Procurement for our client is of services. So, we need to configure services with multiple service line items. This Shopping cart to create PR in ECC. PR to PO conversion to take place in ECC. Now onwards client needs Supplier integration for confirmation of services and sending invoices by Vendor.
    Guidance required in the following
    1 In Shop functionality if we select services, PR is being created in ECC with only one Service Line item. Whereas if we go for Request functionality, then always it is routing to Bidding process (which is not required for client). Can we create SC with multiple service line items with out request functionality?? Or Can we root the Request functionality with out Bidding process??
    2 If we convert the PR to PO in ECC (Classic Scenario), can we go for SUS integration. In such case which is the best way of supplier integration. Can you please guide us on basic steps on installation (can we go for different client in the same server) and configuration.
    Request your inputs in this regard
    Thank you,
    Ravi

    Hello,
    We suffered the same problem in our company.  We have found a way to work with the SRM shopping cart multiple line rollup to ECC single line purchase order.
    If the multiple shopping cart line items contain the same location code and cost assignment they will rollup into one ECC purchase order.  The system seems to 'think' it is helping you by consolidating your information.
    In the Basic Data section of the shopping cart there is a Service line item field.  If you enter something in each in that field for each line it will keep it's own line in ECC.
    Your implementation may differ slightly from ours but I recommend playing with the location code, cost assignment and Basic Data service line fields until you can see a pattern.  Basically you need to find a method to make each line a separate entity so they don't rollup.
    Good luck,
    Corinne

  • Issue with PO change output - Service line items

    Hi All,
    This is issue with PO change output. We have PO with line item 10, 20 and item 10 has 4 service line items. PO is approved and initial print out is taken.
    Some one goes and makes changes to 1st service line items of PO line item 10.
    A change output gets triggered. When this output is printed, it prints line item 10 details. This is standard functionality as this item is changed. But its printing all the service line items for this PO line item. Consider a case where there are 3000 service lines for a PO item. If I add 1 service item to this PO line item, the change form prints 3001 services for that line item. There were no changes done to first 3000 service line items.
    Currently PO change form takes care of changes at PO line item but it does not take care of changes at service line item level.
    Is there any setting that needs to be done for this so that it only considers the changes at Service line item level also.
    Regards,
    Shahu

    If you're using a standard form, send a message to SAP. Otherwise make a change in the form.

  • Error whil creating Service Line item in ME51N using BAPI_PR_CREATE

    Hi Experts,
                Am able to create PR number using BAPI_PR_CREATE, but when am trying to create Service line item am getting acc assignment error please check my code and solve my issue. ..its very adj  please help me .
    DATA : t_bapimereqitemimp TYPE TABLE OF bapimereqitemimp ,
          t_bapimereqaccount TYPE TABLE OF bapimereqaccount,
          t_bapimereqaccountx TYPE TABLE OF bapimereqaccountx,
          t_pritemx    TYPE TABLE OF bapimereqitemx,
          wa_bapimereqitemimp        TYPE bapimereqitemimp,
          pr_number  TYPE bapimereqheader-preq_no,
          wa_prheader  TYPE   bapimereqheader,
          wa_prheaderx TYPE  bapimereqheaderx,
          wa_pritemx   TYPE  bapimereqitemx,
          wa_bapimereqaccountx TYPE bapimereqaccountx,
          wa_bapimereqaccount TYPE bapimereqaccount,
          t_return     TYPE TABLE OF bapiret2,
          wa_return    TYPE bapiret2.
    DATA : t_bapi_srv_limit_data TYPE TABLE OF bapi_srv_limit_data,
            wa_bapi_srv_limit_data TYPE bapi_srv_limit_data.
    DATA servicelimitx  TYPE TABLE OF bapi_srv_limit_datax.
    DATA w_servicelimitx  TYPE bapi_srv_limit_datax.
    DATA : t_servicelines TYPE TABLE OF bapi_srv_service_line,
            w_servicelines TYPE bapi_srv_service_line,
            t_servicelinesx TYPE TABLE OF bapi_srv_service_linex,
            w_servicelinesx TYPE bapi_srv_service_linex,
            t_bapi_srv_acc_data TYPE TABLE OF bapi_srv_acc_data,
            w_bapi_srv_acc_data TYPE bapi_srv_acc_data,
            t_bapi_srv_acc_datax TYPE TABLE OF bapi_srv_acc_datax,
            w_bapi_srv_acc_datax TYPE bapi_srv_acc_datax.
    DATA : t_bapimereqitem TYPE TABLE OF bapimereqitem,
            w_bapimereqitem TYPE bapimereqitem.
    DATA :  t_bapimereqitemx TYPE TABLE OF bapimereqitemx,
            w_bapimereqitemx TYPE bapimereqitemx.
    wa_prheader-pr_type  = 'RV'."lv_doc_type.
    wa_prheaderx-pr_type = 'X'.
    wa_bapimereqitemimp-preq_item  = '1'."wa_eban-item.
    wa_bapimereqitemimp-pur_group  = '100'."wa_eban-ekgrp.
    wa_bapimereqitemimp-preq_name  = 'E.R. TITTO'."wa_eban-afnam.
    wa_bapimereqitemimp-short_text = 'AC Fitting'."wa_eban-txz01.
    wa_bapimereqitemimp-material   = ' '."wa_eban-matnr.
    wa_bapimereqitemimp-plant      = '1000'."wa_eban-werks.
    wa_bapimereqitemimp-store_loc  = 'ST00'."wa_eban-lgort.
    wa_bapimereqitemimp-matl_group = 'Z13'."wa_eban-matkl.
    wa_bapimereqitemimp-quantity   = '1'."wa_eban-menge.
    wa_bapimereqitemimp-unit       = 'AU'."wa_eban-meins.
    wa_bapimereqitemimp-deliv_date =  '20140604'."wa_eban-lfdat.
    wa_bapimereqitemimp-preq_price = '100'."wa_eban-preis.
    wa_bapimereqitemimp-item_cat   = 'D'."wa_eban-pstyp.
    wa_bapimereqitemimp-acctasscat =  'K'."wa_eban-knttp.
    wa_bapimereqitemimp-fixed_vend = ' '."wa_eban-flief.
    wa_bapimereqitemimp-purch_org  = '1000'."wa_eban-ekorg.
    wa_bapimereqitemimp-currency   = 'INR'."wa_eban-waers.
    wa_bapimereqitemimp-pckg_no = '00000001'.
    wa_bapimereqaccount-preq_item  = '1'."wa_eban-item.
    *wa_bapimereqaccount-serial_no  = '01'.
    wa_bapimereqaccount-gl_account = '0000002244'."wa_eban-sakto.
    wa_bapimereqaccount-costcenter = 'OPSD'."wa_eban-kostl.
    APPEND wa_bapimereqitemimp TO t_bapimereqitemimp.
    APPEND wa_bapimereqaccount TO t_bapimereqaccount.
    wa_pritemx-preq_item  = '1'."wa_eban-item.
    wa_pritemx-pur_group  = 'X'.
    wa_pritemx-preq_name  = 'X'.
    wa_pritemx-short_text = 'X'.
    wa_pritemx-material   = 'X'.
    wa_pritemx-plant      = 'X'.
    wa_pritemx-store_loc  = 'X'.
    wa_pritemx-matl_group = 'X'.
    wa_pritemx-quantity   = 'X'.
    wa_pritemx-unit       = 'X'.
    wa_pritemx-deliv_date = 'X'.
    wa_pritemx-preq_price = 'X'.
    wa_pritemx-item_cat   = 'X'.
    wa_pritemx-acctasscat = 'X'.
    wa_pritemx-fixed_vend = 'X'.
    wa_pritemx-purch_org  = 'X'.
    wa_pritemx-currency   = 'X'.
    wa_pritemx-pckg_no   = 'X'.
    wa_bapimereqaccountx-preq_item  = '1'."wa_eban-item.
    *wa_bapimereqaccountx-serial_no  = '01'.
    wa_bapimereqaccountx-preq_itemx = 'X'.
    wa_bapimereqaccountx-serial_nox = 'X'.
    wa_bapimereqaccountx-gl_account = 'X'.
    wa_bapimereqaccountx-costcenter = 'X'.
    APPEND wa_pritemx TO t_pritemx.
    APPEND wa_bapimereqaccountx TO t_bapimereqaccountx.
    **Service item limit
    *wa_bapi_srv_limit_data-doc_item = '10'.
    wa_bapi_srv_limit_data-overall_limit = '1000'.
    wa_bapi_srv_limit_data-exp_value = '800'.
    APPEND wa_bapi_srv_limit_data TO  t_bapi_srv_limit_data.
    *w_servicelimitx-doc_item = '10'.
    w_servicelimitx-overall_limit = 'X'.
    w_servicelimitx-exp_value = 'X'.
    APPEND w_servicelimitx TO servicelimitx.
    w_bapimereqitem-preq_item = '10'.
    ***w_bapimereqitem-preq_name = 'E.R. TITTO'.
    ***w_bapimereqitem-plant = '1000'.
    ***w_bapimereqitem-store_loc = 'ST00'.
    ***w_bapimereqitem-matl_group = 'Z03'.
    ***w_bapimereqitem-quantity = '1'.
    ***w_bapimereqitem-unit = 'AU'.
    w_bapimereqitem-item_cat = 'D'.
    w_bapimereqitem-deliv_time = '20140604'.
    w_bapimereqitem-acctasscat = 'K'.
    **w_bapimereqitem-consumpt = 'U'.
    APPEND w_bapimereqitem TO t_bapimereqitem.
    **w_bapi_srv_acc_data-doc_item = '1'.
    **w_bapi_srv_acc_data-outline = '0000000001'.
    *w_bapi_srv_acc_data-srv_line = '20'.
    w_bapi_srv_acc_data-serial_no = '10'.
    w_bapi_srv_acc_data-serial_no_item = 'D'.
    *w_bapi_srv_acc_data-quantity = '1'.
    *APPEND w_bapi_srv_acc_data TO t_bapi_srv_acc_data.
    **w_bapi_srv_acc_datax-doc_item = '1'.
    **w_bapi_srv_acc_datax-outline = '0000000001'.
    *w_bapi_srv_acc_datax-srv_line = '20'.
    **w_bapi_srv_acc_datax-serial_no = '01'.
    **w_bapi_srv_acc_datax-serial_no_item = '01'.
    *w_bapi_srv_acc_datax-quantity = '1'.
    *APPEND w_bapi_srv_acc_datax TO t_bapi_srv_acc_datax.
    w_servicelines-service = '00000001'.
    APPEND w_servicelines TO t_servicelines.
    w_servicelinesx-service = 'X'.
    APPEND w_servicelinesx TO t_servicelinesx.
    CALL FUNCTION 'BAPI_PR_CREATE'
       EXPORTING
         prheader        = wa_prheader
         prheaderx       = wa_prheaderx
       IMPORTING
         number          = pr_number
       TABLES
         return          = t_return
         pritem          = t_bapimereqitemimp
         pritemx         = t_pritemx
         pritemexp       = t_bapimereqitem
         praccount       = t_bapimereqaccount
         praccountx      = t_bapimereqaccountx
         servicelimit    = t_bapi_srv_limit_data
         servicelimitx   = servicelimitx
         servicelines    = t_servicelines
         servicelinesx   = t_servicelinesx
         serviceaccount  = t_bapi_srv_acc_data
         serviceaccountx = t_bapi_srv_acc_datax.

    Hi,
    Check this Thread , Thread1 . It might help you to resolve the issue.
    Thanks
    KH

Maybe you are looking for

  • Unable to uninstall Starter Editions 3.0 and 3.01

    I have previously had Starter Edition 3.0 installed on my Windows XP O.S. but it was deleted in error. Use of the "Search" facility shows that there are NO Photoshop folders or files now installed in my system. I downloaded Starter Edition 3.2. with

  • Unable to see Arch in rEFInd on MacBook Pro 11,3

    Hello fellow Arch users! I installed Arch on my MBP as per the wiki, using the latest arch boot-network.iso on a USB stick.  The stick booted just fine from rEFInd after using dd to copy the image to the stick.  After the installation (sans bootloade

  • Subtitles causing "video bit rate too high" error

    At least I think they are. My media was all encoded through compressor and when the build gets to: - Preparing Subtitles... - Muxing VTS011.VOB the next message is red... - Video Bitrate Too High - Build cancelled - Formatting finished. me... weeping

  • Basic report, Interactive report

    Hi i am new in report . Anybody can help me regards this . I need material with examlpe (Proper coding also ).  Help me in interactive report also. send through my mail id [email protected] Edited by: supriya satapathy on Oct 14, 2008 7:29 AM

  • Restore archived logs

    Hi, in 10g R2 , my DB is backed up (all database, control files and Archived logs) every day. Now I need to restore the archived logs (from first of may to 15 of may) in a folder. How can I do that ? Thank you.