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.

Similar Messages

  • Exit / badi for individual service line item detail with internal orders.

    Hello guys,
    <b>Issue 1.</b>as per our scenario we want to get the individual service line item details with Internal Orders.
    Please provide me any exit/badi with each item level with individual service line item Internal Orders.
    <b>Issue 2:</b> Remain same for issue 3 for blocking status. We want to delete item level for particular line what about the service rows which assigned in particular item.
    point will be rewarded for the suitabel answers.
    please give me response  ASAP.
    With Regards
    yogesh

    Hey Yogesh,
    I have the same scenario... Could you please drop a mail to [email protected] with the details of BADI and other details that you implemted for the same.
    Thanks a lot in advance.

  • 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

  • Buyer change the PO line items and end up with Awaiting Approval status.

    Can you please help to look into this issue.
    1.Buyer change the PO line items and end up with Awaiting Approval status.
    2. But user claim that she got enough limit and should not route to her manager's approval. Also check with her manager and this PO do not exist his queue.
    Any clue or tips on how to investigate on this issue. All your tips are appreciated,
    -Rick

    You cannot change these POs because their changed version has status
    'Deleted'. My proposal to fix them will be the following:
    You will have to set changed version as closed(DOC_CLOSED set to X)
    and in active version set DOC_CLOSED to space.
    __-For the above statement, Can you guys please let me know, which table DOC_CLOSED belongs to and what are the steps to do this, as i come from a functional back ground.__

  • 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

  • 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

  • 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

  • How to Check Creation/Change data for PO Service Line item

    Hi, I was wondering what field(s) from what table(s) I would have to check if I wanted a report to look for the creation or chnaged date of a specific service item in a PO?
    Currently it is using the EKPO-AEDAT field to check if a PO line item has been changed, but I would like to narrow it down to just some service line items instead of capturing all the service lines in a recently changed PO line item.
    Thank you very much in advance for the advice!

    Hi Rashid, thanks for the advice, but it doesn't really solve my problem.
    What I want to know is if there is a field where the date of a service item was created in a PO line item is stored, so that an ABAP report can be written to retrieve newly created service items from POs.

  • 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 PO with Multiple service Line Items

    Hi,
    i am working on Service Po Creation by using BAPI BAPI_PO_CREAT1. I am able to create service for multiple line items but the problem is single line item my have multiple service line items in that case my object is not working. Can any one suggest solution for this.Here i am attachng what i written logic
               T_POITEM-PCKG_NO      = V_PACKNO.
            T_POSERVICE-PCKG_NO = V_PACKNO.                    "'0000000001'.
              T_POSERVICE-LINE_NO = V_LINENO.                    "'0000000001'.
              T_POSERVICE-OUTL_IND = 'X'.
              T_POSERVICE-EXT_LINE = '0'.           "V_EXTLIN.                  "'0'.
              T_POSERVICE-OUTL_LEVEL = '0'.           "V_EXTOUT.                "'0'.
              T_POSERVICE-SUBPCKG_NO = V_PACKNO + 1.               "'0000000003'. "(Dummy No.)
              T_POSERVICE-QUANTITY = ITAB-SERV_QUANTITY.
              T_POSERVICE-BASE_UOM = ITAB-BASE_UOM.
              T_POSERVICE-PRICE_UNIT = '1'.
              T_POSERVICE-GR_PRICE = ITAB-GR_PRICE.
              T_POSERVICE-SHORT_TEXT = ITAB-SERV_TEXT.             "'SERVICE TEST'.
              APPEND T_POSERVICE.
              V_LINENO = V_LINENO + 1.
    *          V_PACKNO = V_SUBPACKNO.
              T_POSERVICE-PCKG_NO = V_PACKNO + 1.
              T_POSERVICE-LINE_NO = V_LINENO.
              T_POSERVICE-EXT_LINE = V_EXTLIN + 10.             "'0'.
              T_POSERVICE-OUTL_LEVEL = '0'.                          "V_EXTOUT.                "'0'.
              T_POSERVICE-OUTL_IND  = SPACE.
              T_POSERVICE-QUANTITY = ITAB-SERV_QUANTITY.
              T_POSERVICE-SUBPCKG_NO = '0000000000'.
              T_POSERVICE-BASE_UOM = ITAB-BASE_UOM.
              T_POSERVICE-PRICE_UNIT = '1'.
              T_POSERVICE-GR_PRICE = ITAB-GR_PRICE.
              T_POSERVICE-SHORT_TEXT = ITAB-SERV_TEXT.                            "'SERVICE 1'.
              T_POSERVICE-PLN_PCKG   = V_PACKNO + 1.
              T_POSERVICE-PLN_LINE   = V_LINENO.
    *          T_POSERVICE-MATL_GROUP = '0082'.
              APPEND T_POSERVICE.    
    *          SET PCKG_NO AS SUB_PCKG_NO IN TABLE POSRVACCESSVALUES THIS:
              T_POSERVALUE-PCKG_NO = V_PACKNO + 1.                                       "'0000000003'.
              T_POSERVALUE-LINE_NO = V_LINENO.
              T_POSERVALUE-SERNO_LINE = '01'.                "'01'.
              T_POSERVALUE-SERIAL_NO = '01'.              "   '01'.
              T_POSERVALUE-QUANTITY = ITAB-SERV_QUANTITY.       "'10.000'.
              APPEND T_POSERVALUE.

    by following instructions in 420332 note.

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

  • Service Line Items

    Hi Gurus,
    I have a situation.
    we use service line items using the unplanned service function within SAP.  On PO line items, we assign an overall limit and  expected value.  
    Ok, now a bit of a background regarding one of the system changes we made in SAP.  About 2 years ago, we noticed that some users were changing the PO price after the GR was complete.  This obviously causes issues with GR postings, so we changed the logic to disallow price changes after a GR has been completed.
    The logic we applied around price changes has worked fine, with one exception--Service line items using the unplanned services function.   For example, if we create a PO with an overall value of $3,000, and only use $500 of that $3000, we want to be able to adjust the value to show what was actually done.  In other words, we would like to be able to change the PO value down to $500, closing out any open value on the PO.  With the price change logic, the system will not allow us to change the price because a GR/Service entry sheet has already been completed.
    So here is what my business is asking for
    1.     The logic around price changes to be modified when it comes to services. would like the ability to modify the overall limit and expected value, but only be able to modify it to a point where it is equal to, or greater than the actual value. And should not be able to drop the overall limit and expected value to anything below the actual value.
    Is there a way to do this.
    Please let me know.
    Thanks,
    Srikanth

    SInce you are working with enhancement check with ABAPer for logic and modify the program for Service PO's

  • 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

  • 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

  • BAPI_PR_CREATE for Service line items only

    Hi All,
    We are unable to create the Purchase Requistion Order using the BAPI_PR_CREATE for Service line items.
    The Error Message 436(06) " In case of account assignment, please enter acc. assignment data for item" is always received with respect to Account Assignment.
    We are currently using ECC 6.0 EHP 4. SAP instance to create the Purchase requisition order.
    We already did this analysis and came to this include previously for the Error Message 436(06) and could find thatt the accounting tables are not filled.
    Also, the accounting items table is refreshed and deleted in 3 places in the code.
    We did put debug on that u2026 but during debug, the control does not go to these places.
    I suppose there is some other major functionality related to Service PR is missing in the BAPI_PR_CREATE.
    Also we are unable to find the detailed documentation.
    Thanks and Regards,
    Shivakumar K.

    Hi Shivakumar,
                                                                                    Hi Shivakumar,
    in most of the cases this error - 06 436 - happens due to wrongly filled BAPI structures.
    Please check the entries in the x-structures in first line, for example:
    PRACCOUNT structure
    PREQ_ITEM                      00010
    SERIAL_NO                      01
    GL_ACCOUNT                     2222222     
    COSTCENTER                     SAP-DUMMY
    PRACCOUNTX structure
    PREQ_ITEM                      00010
    SERIAL_NO                      01    <<<<
    GL_ACCOUNT                     X
    COSTCENTER                     X
    SERVICEACCOUNT structure
    Line 1:
    DOC_ITEM                       00010
    OUTLINE                        0000000001
    SRV_LINE                       0000000010
    SERIAL_NO                      01
    SERIAL_NO_ITEM                 01
    SERVICEACCOUNTX structure
    Line 1:
    DOC_ITEM                       00010
    OUTLINE                        0000000001
    SRV_LINE                       0000000010
    SERIAL_NO                      01       <<<<
    SERIAL_NO_ITEM                 X     <<<
    Regards,
    Edit

Maybe you are looking for

  • 8 gig iPod nano shuts down when put on hold.

    I've got a second generation 8 gig nano here that shuts itself off when you put it on hold. Turning off hold turns the nano back on, but it makes me then choose my language again as if it is the first time it has been powered up. I've tried rebooting

  • Can no longer past formatted text into Mail in iOS 5...

    With iOS 4.x on my iPad, I was able to past in rich, formatted text from other apps.  So I could compose an email with colored text, different fonts/sizes, bulleted lists, etc. in another app and past it into Mail.  It would keep all of it's formatti

  • Gallery App Help/Lost ability to control whether to resize a photo when emailing

    When emailing photos and using the Gallery App I had the option to resize or not. I could select a new size and select "Always" or "Just Once". I don't have the option anymore and I really need to get it back. What do I do? Example: I'd begin to comp

  • How to use Threading Concept in oracle

    Hi all, I am having requirement such that i have to execute a function after insert of data in one table.due to performance issues i have to execute this function using java pooling.if anybody having idea regarding this one please share. I have tried

  • The extractor in RSA7 is RED

    Hello Friends, The extractor 2LIS_03_UM in RSA7 is RED and when I try to check the entriesin the delta queue, it errors with the message" There are still no parameters available for the delta transfer". How to correct this error. Thanks Simmi