BAPI_PO_CHANGE (Services - ESLL)

Hello,
I want to change the quantity and price for Services on PO.
Please which fields and structures do I need to maintain in the BAPI.
Regards,
Abdullahi

The function module documentation is very comprehensive, it can be accessed via transaction SE37.
There is also a SAP note 499626 which contains FAQ's for the scenario you are describing.

Similar Messages

  • BAPI_PO_CHANGE + SERVICES

    Hi guys,
    somebody knows how to use this to crete a new line item with services, or some documentation about this BAPI?
    Tks,

    The function module documentation is very comprehensive, it can be accessed via transaction SE37.
    There is also a SAP note 499626 which contains FAQ's for the scenario you are describing.

  • Table for maint. Order & Service

    Hi All,
    I have created one maint. order with external service. In which table i could find the service against the order. I have checked ESLL but there is no Order link.
    regards
    sunil

    Hey Sunil,
    Pls check following.
    ESKL     Account Assignment Specification: Service Line     Services
    ESKN     Account Assignment in Service Package                     Services
    ESLA     Service Type Editions                                                     Services
    ESLB     Service Type Header of Standard Service Catalog     Services
    ESLH     Service Package Header Data                                     Services
    ESLL     Lines of Service Package                                     Services
    ESLP     Service Item                                                     Services
    ESLT     Service Item Short Texts                                     Services
    ESLZ     Service Type Lines                                                     Services
    ESSR     Service Entry Sheet Header Data                                     Services
    ESST     Service Item Short Texts                                     Services
    ESUC     Ext. Services Management: Unplanned Limits on Contract Item     Services
    ESUH     Ext. Services Management: Unpl. Service Limits: Header Data     Services
    ESUP     Ext. Services Management: Unpl. Limits on Service Package     Services
    ESUS     Services Management: Unplanned Limits on Service Types     Services
    Sundar

  • BAPI_PO_CHANGE Add Services

    Hi all,
    I need to update a PURCHASE ORDER with new services but im getting the error msg "Enter Quantity in service line" but my service line is a information line what could be the problem (poservices-inform = 'X'. poservices-serv_type = 'HZ' ).
    Im unable also to insert text information with POSERVICESTEXT.
    What could be missing?
    Test sequence
    Se37
    BAPI_PO_CHANGE
    BAPI_TRANSACTION_COMMIT
    TEST 1 (unable to insert POSERVICESTEXT information in PO, but the NZ lines are insert )
    Return
    T ID NUM MESSAGE
    S 06 023 Standard PO 4500000284 changed
    W ME 887 Error transferring ExtensionIn data for enhancement CI_EKKODB
    I ME 664 Change Order Unit could not be effected
    Parâmetros: PURCHASEORDER = 4500000284
    Parâmetros: VERSIONS
    POST_DATE = 00000000
    Parâmetros: POITEM
    PO_ITEM = 00010
    SHORT_TEXT = CHANGE
    MATERIAL = 000000000040000008
    QUANTITY = 1.000
    PO_UNIT = LE
    PCKG_NO = 0000000001
    Parâmetros: POITEMX
    PO_ITEM = 00010
    PO_ITEMX = X
    SHORT_TEXT = X
    MATERIAL = X
    QUANTITY = X
    PO_UNIT = X
    PCKG_NO = X
    Parâmetros: POSCHEDULE
    PO_ITEM = 00010
    SCHED_LINE = 0001
    QUANTITY = 1.000
    Parâmetros: POSCHEDULEX
    PO_ITEM = 00010
    SCHED_LINE = 0001
    PO_ITEMX = X
    SCHED_LINEX = X
    QUANTITY = X
    Parâmetros: POSERVICES
    PCKG_NO = 0000000001
    LINE_NO = 0000000001
    OUTL_LEVEL = 0
    OUTL_IND = X
    SUBPCKG_NO = 0000000002
    FROM_LINE = 1
    PCKG_NO = 0000000002
    LINE_NO = 0000000002
    EXT_LINE = 0000000010
    OUTL_LEVEL = 0
    SERV_TYPE = NZ
    QUANTITY = 5.000
    BASE_UOM = UN
    PRICE_UNIT = 1
    GR_PRICE = 10.0000
    SHORT_TEXT = SHORT 1
    USERF1_TXT = LINHA NORMAL
    PCKG_NO = 0000000002
    LINE_NO = 0000000003
    EXT_LINE = 0000000020
    OUTL_LEVEL = 0
    SERV_TYPE = NZ
    QUANTITY = 5.000
    BASE_UOM = UN
    PRICE_UNIT = 1
    GR_PRICE = 10.0000
    SHORT_TEXT = SHORT 2
    USERF1_TXT = LINHA NORMAL
    PCKG_NO = 0000000002
    LINE_NO = 0000000004
    EXT_LINE = 0000000030
    OUTL_LEVEL = 0
    SERV_TYPE = NZ
    QUANTITY = 5.000
    BASE_UOM = UN
    PRICE_UNIT = 1
    GR_PRICE = 10.0000
    SHORT_TEXT = SHORT 3
    USERF1_TXT = LINHA NORMAL
    Parâmetros: POSERVICESTEXT
    PCKG_NO = 0000000002
    LINE_NO = 0000000004
    TEXT_ID = LLTX
    FORMAT_COL = *
    TEXT_LINE = LONGO
    PCKG_NO = 0000000002
    LINE_NO = 0000000004
    TEXT_ID = LTXT
    FORMAT_COL = *
    TEXT_LINE = SUCINTO
    Second test
    Return
    T ID                   NUM MESSAGE
    E SE                   319 Please enter a quantity
    W ME                   887 Error transferring ExtensionIn data for enhancement CI_EKKODB
    E BAPI                 003 Instance 4500000284 of object type PurchaseOrder could not be changed
    Parameters:    PURCHASEORDER        = 4500000284                                                                               
    Parameters:    VERSIONS                       
    POST_DATE                      = 00000000
                                                                                    Parameters:    POITEM                         
    PO_ITEM                        = 00010
    SHORT_TEXT                     = CHANGE                                 
    MATERIAL                       = 000000000040000008
    QUANTITY                       = 1.000 
    PCKG_NO                        = 0000000001
                                                                                    Parameters:    POITEMX                        
    PO_ITEM                        = 00010
    PO_ITEMX                       = X
    SHORT_TEXT                     = X
    MATERIAL                       = X
    QUANTITY                       = X
    PCKG_NO                        = X
                                                                                    Parameters:    POSCHEDULE                     
    PO_ITEM                        = 00010
    SCHED_LINE                     = 0001
    QUANTITY                       = 1.000                                                                               
    Parameters:    POSCHEDULEX                    
    PO_ITEM                        = 00010
    SCHED_LINE                     = 0001
    PO_ITEMX                       = X
    SCHED_LINEX                    = X
    QUANTITY                       = X
                                                                                    Parameters:    POSERVICES                     
    PCKG_NO                        = 0000000001
    LINE_NO                        = 0000000001
    OUTL_LEVEL                     = 0
    OUTL_IND                       = X
    SUBPCKG_NO                     = 0000000002
    FROM_LINE                      = 1    
    PCKG_NO                        = 0000000002
    LINE_NO                        = 0000000002
    EXT_LINE                       = 0000000010
    OUTL_LEVEL                     = 0
    SERV_TYPE                      = NZ
    QUANTITY                       = 5.000 
    BASE_UOM                       = UN
    PRICE_UNIT                     = 1 
    GR_PRICE                       = 10.0000    
    SHORT_TEXT                     = SHORT 1                                
    USERF1_TXT                     = LINHA NORMAL                           
    PCKG_NO                        = 0000000002
    LINE_NO                        = 0000000003
    EXT_LINE                       = 0000000020
    OUTL_LEVEL                     = 0
    SERV_TYPE                      = HZ
    GR_PRICE                       = 10.0000    
    SHORT_TEXT                     = SHORT 2                                
    INFORM                         = X
    USERF1_TXT                     = LINHA INFO                             
    PCKG_NO                        = 0000000002
    LINE_NO                        = 0000000004
    EXT_LINE                       = 0000000030
    OUTL_LEVEL                     = 0
    SERV_TYPE                      = NZ
    QUANTITY                       = 5.000 
    BASE_UOM                       = UN
    PRICE_UNIT                     = 1 
    GR_PRICE                       = 10.0000    
    SHORT_TEXT                     = SHORT 3                                
    USERF1_TXT                     = LINHA NORMAL                                                                               
    Parameters:    POSERVICESTEXT                 
    PCKG_NO                        = 0000000002
    LINE_NO                        = 0000000004
    TEXT_ID                        = LLTX
    FORMAT_COL                     = *
    TEXT_LINE                      = LONGO                                                                               
    PCKG_NO                        = 0000000002
    LINE_NO                        = 0000000004
    TEXT_ID                        = LTXT
    FORMAT_COL                     = *
    TEXT_LINE                      = SUCINTO
    Thanks and Regards
    null
    Message was edited by:
            Luis  Constantino

    Thank you for reply.
    Yes, I read it, but I found a sap note that say:
    You can also change services using BAPI_PO_CHANGE. Up to now, it was only possible to add complete service or limit items.
    Using the new BAPI_PO_CHANGE, you can now make changes to services and with limits.
    Because in the production mode the interfaces are filled entirely from available documents by report, SAP always assumes that the services or limits to be changed are sent in full to the BAPI interfaces with all the data belonging to them, even if not all the data is changed. If required entry fields are missing, the system displays an error message, other data not filled is possibly initialized. (It is not necessary to assign the complete item.)
    - NOTE 561507 -
    "What BAPI_PO_CHANGE can now do:
    1. Changes to an already existing item:
                  For an existing item, you can
    a) Add, change or delete services.
    b) Add, change or delete limits (free limits and contract limits), provided that this does not cause the net value of the purchase order item to become "0".
    1. Account assignment change for item category B and D: For an existing item, the account assignment can be changed.
    a) Account assignment category U can be converted into another account assignment category allowed for the item categories, and vice versa.
    b) An existing account assignment can be changed.
    c) In case of services, a single account assignment can be converted into a multiple account assignment and vice versa - not with limits (with item category B), here multiple account assignment is not possible on-line either).
    2. Making changes to more than one item.
    3. Change outline layouts.
    What the BAPI_PO_CHANGE cannot do:
    Everything which is not possible on-line either."

  • BAPI_PO_CHANGE "No account assignment for service 0000010" SE 518 Error

    Hi  Friends,
    I am using BAPI_PO_CHANGE to add new line item with service data to purchase order.
    For one scenario BAPI give me above error is "No account assignment for service 0000010" SE 518 .
    basically when i pass outline aggrement and contract item to bapi i am getting this error.....according to my observation in outline agrement account assignment is maintain as 'U' but i want to pass outline agrement as 'K' or 'N' so i am passing this into BAPI parameters ,however i feel somewhere it is getting conflict  so it giving above error...
    Please guide,
    Thanks & Regards,
    Bhaskar

    Hi Seini,
    Thanks for reply ..
    I have pass contract number to BAPI ....and i also pass cost center and GL account to account assignment but still bapi giving same error.....I am totally stuck into this i tried a lot with different options..for other scenario BAPI works fine but when I pass contract number with account assignment 'U' and I want to change this 'U' to 'K' or 'N'  for this I pass account assignment to PO line item but BAPI fails in this perticular scenario.

  • Problem with BAPI_PO_CHANGE in adding services

    Hello,
    I have a problem in using BAPI_PO_CHANGE in adding new services for an existing po_item . I fill the table POITEM, POITEMX. Then I fill the POACCOUNT and POACCOUNTX table. Lastly I fill the table POSERVICES, POSRVACCESSVALUES. After running it with commit step. I get as return:
    The purchase order .... was updated. But if I look at my purchase order with trans. me23n, there was nothing added. Thus, I do not know what I forget. So it will be great, if someone can provide an example in correct filling the table.
    In Table POSERVICES I add for the field PCKG_NO the value : 0000000001, is this correct? because I will add new services positions.
    Thanks in advance for your support.
    Kind regards,
    Erkan

    Hello Anuradha,
    yes, I used the BAPI Commit command but it did not work.
    Kind regards,
    Erkan

  • Grey out out ESLL=TBTWR in Service purchase order

    Hi   I need to grey out out ESLL=TBTWR in Service purchase order when the status is released 'S'?
    I Tried Include LV69AFZZ - form userfield modification -it works for conditions tab but not for service tab.
    I need to grey out only for released PO , others cases allow user to edit.
    Kindly Suggest.

    everything there in snap,
    Go to function group MLSP,
    Screen 0400->PBO Module  MODIFY_SCREEN_ROW ->PERFORM MODIFY_SCREEN_ROW
    ->PERFORM FELDAUSWAHL.
    Here you have to do Implicit enhancement.
    Remember to add, If sy-tcode = 'ME22N'.

  • How to insert new service condition in PO using BAPI_PO_CHANGE?

    Hi all,
    I'm trying to insert a new condition under a service line in a PO. This can be seen in ME23N under the services tab of the PO item. Then click on conditions (the button with the dollar and yen symbol).
    I tried using the internal table POCOND and POCONDX. But these tables update the conditions of the PO item itself and not the service conditions. In ME23N this is the conditions tab of the PO item.
                build condition item table
                  wa_conditem-change_id = 'I'.
                  wa_conditem-itm_number   = wa_items-po_item.
                  wa_conditem-cond_type    = c_condtypz.
                  wa_conditem-cond_value   = l_plndisamt.
                  wa_conditem-currency     = l_poheader-currency.
                  APPEND wa_conditem TO it_conditem.
                  CLEAR wa_conditem.
                build condition item change parameter table.
                  wa_conditemx-itm_number    = wa_items-po_item.
                  wa_conditemx-itm_numberx   = 'X'.
                  wa_conditemx-cond_type     = 'X'.
                  wa_conditemx-cond_value    = 'X'.
                  wa_conditemx-currency      = 'X'.
                  wa_conditemx-change_id     = 'X'.
                  APPEND wa_conditemx TO it_conditemx.
                  CLEAR wa_conditemx.
      CALL FUNCTION 'BAPI_PO_CHANGE'
        EXPORTING
          purchaseorder    = wa_ekpo_u-ebeln
        TABLES
          return           = it_return
          poitem           = it_poitem
          poitemx          = it_poitemx
          pocond           = it_conditem
          pocondx          = it_conditemx
        EXCEPTIONS
          OTHERS           = 1.
    I tried using the internal tables POCONDHEADER and POCONDHEADERX but this doesn't seem to insert anything.
    Can anyone guide me how to insert a new service condition?
    thanks,
    Shafiq

    Found a SAP note 499626 quoted below. So it seems that it's not possible to use BAPI_PO_CHANGE.
    "Can I create or change conditions on the service level with BAPI_PO_CREATE1 or BAPI_PO_CHANGE?
    Answer:
    Such a function is currently not available."
    Anybody know any FM to do this?
    Edited by: shafiq shamsuddin on Mar 16, 2011 4:38 AM

  • Delete Service Line in a PO using BAPI_PO_CHANGE

    Hi Experts,
    I am able to create a new Service line using BAPI_PO_CHANGE in a Purchase Order. But not able to delete the existing service line. In the BAPI return log, it is showing 'PO Changed', still the service line exists.
    Please refer the code below and suggest me the changes required to delete the Service line from PO.
    Thanks in advance for your help.
    DATA: i_tab TYPE STANDARD TABLE OF ty_tab,
          w_tab TYPE ty_tab,
          poitem TYPE STANDARD TABLE OF bapimepoitem WITH HEADER LINE,
          poitemx TYPE STANDARD TABLE OF bapimepoitemx WITH HEADER LINE,
          poservices TYPE STANDARD TABLE OF bapiesllc WITH HEADER LINE,
          return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE,
          poaccount TYPE STANDARD TABLE OF bapimepoaccount WITH HEADER LINE,
          poaccountx TYPE STANDARD TABLE OF bapimepoaccountx WITH HEADER LINE,
          posrvaccessvalues TYPE STANDARD TABLE OF bapiesklc WITH HEADER LINE.
    poitem-po_item = '10'.
    poitem-pckg_no = '0000001329'.
    poitem-item_cat = '0'.
    APPEND poitem.
    poitemx-po_item = '10'.
    poitemx-po_itemx = 'X'.
    poitemx-pckg_no = 'X'.
    poitemx-item_cat = 'X'.
    APPEND poitemx.
    poservices-pckg_no = '0000001329'.
    poservices-line_no = '0000000001'.
    poservices-ext_line = '0000000010'.
    poservices-service = '000000000005000010'.
    poservices-subpckg_no = '0000000000'.
    poservices-delete_ind = 'X'.
    APPEND poservices.
    CALL FUNCTION 'BAPI_PO_CHANGE'
      EXPORTING
        purchaseorder = '7200000017'
      TABLES
        return        = return[]
        poitem        = poitem[]
        poitemx       = poitemx[]
        poservices    = poservices[].
    BREAK-POINT.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    Thanks & Regards,
    Revanth

    In method BAPI_PO_CHANGE, you can only create service items, you cannot change them.
    FU BAPI_PO_CHANGE                POSERVICES
    Short Text
    External Services: Service Lines
    Description
    This table contains the services and services specifications outline for the purchase order.
    Field OUTL_IND is used to flag a line as an outline line. The service lines are assigned to the outline lines using the fields PCKG_NO (for the service line) and SUBPCKG_NO (for the outline line).
    The outline hierarchy is mapped using the fields LINE_NO and HI_LINE_NO. Field HI_LINE_NO links to field LINE_NO of the hierarchically superior outline.
    Note
    In method BAPI_PO_CHANGE, you can only create service items, you cannot change them.
    For more information on the individual parameter fields, see the data element documentation in the ABAP Dictionary.
    Function Module
    BAPI_PO_CHANGE

  • Delete a Service in a PO with BAPI_PO_CHANGE

    Hi Experts,
    I am trying to delete a Service Line using BAPI_PO_CHANGE.
    Service line is not getting deleted but the RETURN table is showing a message saying "PO changed"
    Please refer the code below.
    DATA:
    poitem TYPE STANDARD TABLE OF bapimepoitem WITH HEADER LINE,
    poitemx TYPE STANDARD TABLE OF bapimepoitemx WITH HEADER LINE,
    poservices TYPE STANDARD TABLE OF bapiesllc WITH HEADER LINE,
    return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE,
    poaccount TYPE STANDARD TABLE OF bapimepoaccount WITH HEADER LINE,
    poaccountx TYPE STANDARD TABLE OF bapimepoaccountx WITH HEADER LINE,
    posrvaccessvalues TYPE STANDARD TABLE OF bapiesklc WITH HEADER LINE.
    poitem-po_item = '10'.
    poitem-pckg_no = '0000001329'.
    poitem-item_cat = '0'.
    APPEND poitem.
    poitemx-po_item = '10'.
    poitemx-po_itemx = 'X'.
    poitemx-pckg_no = 'X'.
    poitemx-item_cat = 'X'.
    APPEND poitemx.
    poservices-pckg_no = '0000001329'.
    poservices-line_no = '0000000001'.
    poservices-ext_line = '0000000010'.
    poservices-service = '000000000005000010'.
    poservices-subpckg_no = '0000000000'.
    poservices-delete_ind = 'X'.
    APPEND poservices.
    CALL FUNCTION 'BAPI_PO_CHANGE'
    EXPORTING
    purchaseorder = '7200000017'
    TABLES
    return = return[]
    poitem = poitem[]
    poitemx = poitemx[]
    poservices = poservices[].
    BREAK-POINT.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    Thanks,
    Revanth
    Edited by: Revnath on Jul 5, 2011 11:37 AM

    Hi Edith,
    Thank you very much for your reply.
    I changed my program by following your steps in the reply. Now the BAPI is showing error messages: "Instance 7200000060 of object type PurchaseOrder could not be changed" and "Price without service not allowed".
    Please refer my code below.
    poitem-po_item = '0010'.
    poitem-pckg_no = '0000001964'.
    poitem-item_cat = '9'.
    APPEND poitem.
    poitemx-po_item = '10'.
    poitemx-po_itemx = 'X'.
    poitemx-pckg_no = 'X'.
    poitemx-item_cat = 'X'.
    APPEND poitemx.
    Parent line
    poservices-pckg_no = '0000001964'.
    poservices-line_no = '0000000001'.
    poservices-ext_line = '0000000000'.
    poservices-subpckg_no = '0000001965'.
    poservices-matl_group = '01040107'.
    *poservices-delete_ind = 'X'.
    *poservices-quantity = ' '.
    *poservices-base_uom = ' '.
    *poservices-gr_price = ' '.
    APPEND poservices.
    CLEAR: poservices.
    Child line.
    poservices-pckg_no = '0000001965'.
    poservices-line_no = '0000000002'.
    poservices-ext_line = '0000000010'.
    poservices-quantity = '1'.
    poservices-service = '000000000005000010'.
    poservices-base_uom = 'EA'.
    poservices-gr_price = '150'.
    poservices-subpckg_no = '0000000000'.
    poservices-matl_group = '01040107'.
    poservices-delete_ind = 'X'.
    APPEND poservices.
    CALL FUNCTION 'BAPI_PO_CHANGE'
      EXPORTING
        purchaseorder = '7200000060'
      TABLES
        return        = return[]
        poitem        = poitem[]
        poitemx       = poitemx[]
        poservices    = poservices[]
        posrvaccessvalues = posrvaccessvalues[].
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    Regards,
    Revanth

  • BAPI_PO_CHANGE problems with Account Assignment in Services

    Hi,
    I´m facing a problem using BAPI_PO_CHANGE, this is the scenario, every time a PO is changed in ME22N for Company Code X, I need to change a "mirror" PO in Company Code Y which has the same information, this PO contains Services, to achieve this I implemented the Badi ME_PURCHDOC_POSTED and used the BAPI_PO_CHANGE.
    It works fine when I change the Service price or Delete an Item, the problem is when I need to remove the delete mark of the deleted item, in both Company the deletion mark is removed but the Account Assignment for the service on Company Code Y is lost even when I'm sending the accounts in the moment I call the BAPI_PO_CHANGE.
    Do you have any idea/solution for this?.
    Thanks and Regards,
    Fabian Fonseca

    hi,
    see this thread
    Re: Using BAPI_PO_CHANGE to change header text of PO
    thanks

  • BAPI_PO_CHANGE does not change LIMIT value for service PO with ref to IDOC

    Hi,
    I am trying to change the limit values for both ACCTASSCAT (K) and item cat (D ie service PO) with ref to message type PORDCH IDOC type PORDCH02, the IDoc is getting posted but the PO is not getting updated ie LIMIT value is not getting change and returning msg "No data changed".
    Could you please provide the way to change LIMIT value.
    Regards,
    Mojammil Khan

    Are you really sure that your IT_SCH has the same fields like POITEM?
    the delivery date and statistical delivery date are located in the schedule tab in ME23N and stored in the schedule table EKET, not in EKPO where the PO item data is stored.
    I think you should assign your IT_SCH to POSCHEDULE

  • 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

  • Updating Purchase Order data - BAPI_PO_CHANGE?

    Hi,
    I have been searching for a SAP standard tool that can update a Purchase Order upon its execution. The closest function module I could find was BAPI_PO_CHANGE. However, it was documented as a restriction that updating of service data is not possible with this function module (I have also tested this).
    Are there any other possible mechanisms which can be called/used for the purpose of updating a PO including its services? It would be most desirable if the following fields on a Purchase Order can be changed/updated via this mechanism (fields in bold are data found in a service):
    Field Field name
    Percentage EBKN-VPROZ
    Distribution Indicator EBAN-VRTKZ
    Project EBKN-PROJN
    Order EBKN-AUFNR
    Responsibility Cost Centre EBKN-ZZMRESP
    WBS Element EBKN-PS_PSP_PNR
    Cost Centre EBKN-KOSTL
    Unblocking User ESLL-USERF2_TXT
    User for Approval ESLL-USERF1_TXT
    Currency EBAN-WAERS
    Quantity EBAN-MENGE
    Price EBAN-PREIS
    Price unit EBAN-PEINH
    Overall Limit ESUH-SUMLIMIT
    Expected Value ESUH-COMMITMENT
    Net Value ESLL-NETWR
    Thanks in advance.
    ~ Andi

    Hi,
    You can try these FM to update info record.
    ME_DB_UPDATE_INFORECORDS
    ME_UPDATE_INFORECORD
    ME_UPDATE_INFORECORD_COND
    ME_UPDATE_INFORECORD_PD
    Check the sample code on BAPI_PO_CHANGE
    http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm
    Regards,
    Shiva Kumar

  • Msg SE181 on ML81N/ME21N- PR WITH MULTIPLE SERVICES ITEMS-1 ACC. ASSIGNMENT

    Hi,
    when trying to create a new order using transaction ME21N or creating an entry sheet  on an existing order based on a purchase requisition  with multiple items in the tab services , the system gives the error message SE181 .
    Debugging , i've discovered that the part of code in wich the system gets stuck , is the following :
    PROGRAM  DIMP_GENERAL_SAPLMLSP - INCLUDE LMLSPF3W
    Check if accounting data is in sync with service data "846124
               IF ACC_TOTAL NE COMSRV-NETPR and glob_empty_package NE 'X'.
                  IF SY-TCODE = 'ML81'.
                    MESSAGE I181.
                    EXIT.
                  ELSE.
                    IF GLOB_SUBSCREEN_INIT EQ SPACE.
                      ACT_PACKNO = ESLL-PACKNO.
                      MESSAGE E181.
                    ELSE.
                      perform add_message using comsrv-packno
                                          'E' 'SE' '181' '' '' '
    Someways , it risults that the total of the items value inserted in the tab services , is different from the total NETPR in eban .
    But that is not true . ACC_TOTAL is the variable in which the values of the multiline services is put ; I thought that maybe finding out how it is populated could help me to fix the issue , but I did'nt manage to do that .
    Can somebody help me , please?
    Thanks and Regards,

    Hi,
    I have found a note for this error:
    1102653 SE181 with correct account assignment data
    1159878    ML81N: SE181 is displayed when you delete a entry s
    I have also seen many customers with same error that also applied some of the following notes:
    1113594    BAPI_PO_CHANGE - No rounding in multiple acc -> SE1
    846124     ME21N: Account assignment prompt missing for subite
    800471     ML81: Commitments and reference problems
    784911     ML81N Problems with account assignment
    749021     Service selection with incorrect documents
    716030     ML81N: SE001 when copying a new entry sheet
    709163     ML81N - Multiple Account Assignments - Postings inc
    Best regards,
    Arminda Jack

Maybe you are looking for