Multiple Account Assignment details for Service PRs

Hi,
       I have developed a RFC for creating PRs. For multiple service PRs, multiple services are getting created but account assignment details getting created only for the first service line item. Iu2019m using BAPI_REQUISISTION_CREATE. Please provide me a solution.
Regards,
N.Senthil

hi all,
      the issue has been resolved by passing the below mentioned values.
      wa_item_data-distrib = '1'.      "FOR MULTIPLE ACCOUNT ASSIGNMENT based on the quanlity
      wa_item_data-part_inv = '1'.     "FOR MULTIPLE ACCOUNT ASSIGNMENT
solution got from
http://wiki.sdn.sap.com/wiki/display/ABAP/BAPI_REQUISITION_CREATE
http://www.sapnet.ru/viewtopic.php?p=9306
Regards,
N.Senthil

Similar Messages

  • Bapi_po_create1 ,No account assignment exist for service line 0000000000'. for po limits,how to create multiple service items in service po

    hi,
    Hello all, please help!! I used function BAPI_PO_CREATE1 to create PO with limit item but function returned message error '518 No account assignment exist for service line 0000000000'. Can anyone give me an idea to slove this problem?
    i am passing po header, po headerx, po item , po itemx, po account, po accountx, po limits, po services, po service values, to bapi. if i comment package number in po limits structure , po was creating but limits data not updating in po., if i pass package number i am getting above error.
    Thanks In Advance,
    regards

    hi Dinesh,
    am also having same error for bap po create1 . did it get resolved for you? please help its urgently needed for me here

  • Error message "SE 518 No account assignment exists for service li ne 000000

    Hi All,
    Customer is using SRM 7.0 Self-Service procurement
    Shopping cart created with multiple service items, once it approved. We get the Error message "SE 518 No account assignment exists for service li ne 0000000000" in Shopping cart Monitor. Could you please help me here why this issue happening.
    FYI:- Same user created another shopping cart with same data, this error not occurred. This error is happening a while not regular for the same item ordering.
    Could you please help me on this what may be issue here?
    Appreciated your help in Advanced.
    Cheers
    Raj

    Hi Raj,
    Have you already tried the notes below?
    499626     FAQ: BAPIs in the service procurement
    1472036     Limit PO with account assignment can not be transferred
    1140132     Error SE 518 when creating purchase order with contract
    1557395     SE 518 error message for service items during PO creation
    1226132     SE518 Error message from back-end system for service item
    Best regards,
    Christian Zeuch

  • 'No account assignment exists for service line' - BAPI_REQUISTION_CREATE

    Hello,
    Getting straight to the point.
    I am creatin a PR from one system to another system(SAP to SAP) thru BAPI_REQUISITION_CREATE by getting its detail from the former system thru BAPI_REQUISITION_GETDETAIL.
    PR for materials is working fine but when i create PR with service items it gives me error that, 'No account assignment exists for service line 0000000010'.
    Can anyone help me on this one or tell me why is it happendin and how to overcome it..
    Bundle of thanks..
    Shehryar Dahar

    Hello...anybody ?

  • SE 518 No account assignment exists for service li ne 0000000000 error

    Hello all,
    We have raised a Shopping cart for a service with reference to a contract with the account assignments item category "D" and account assignment category "P". the product type is 02 for the service. The shopping cart saves fine however when trying to transfer to create the PO in the backend we are getting the error "SE 518 No account assignment exists for service li ne 0000000000"
    we have checked all the notes below:
    1064139 already implemented.
    1222877 already implemented.
    767284 failed to correct the error.
    1140132 should be in our system but has been removed by note 1226132. I have checked all the other notes but they do not seem relevant in our scenario. Does anybody have any idea as to how we should solve this problem?
    Thanks

    Hi Andrew!
    There are other notes related to this issue. Please verify if they can help you.
    1244427    SE518 error in external requirement service shoppin
    1236355    BAPI_PO_CREATE1:Purchase Order created with ref. to
    1226132    SE518 Error message from back-end system for servic
    1030206    BAPI: Multiple service type items cannot be created
    1398742    Error message SE 518 PO transfer to backend
    Best regards,
    Christian Zeuch

  • BAPI Error: No account assignment exists for service line 0000000000

    I am using BAPI : BAPI_PO_CREATE1 to create a PO.
    I am getting this error while creating PO  "No account assignment exists for service line 0000000000"
    Please help.

    Yes...
    for each item i am creating one parent service record and one child service record with REQUISITION_SERVICES.
    the Package no for parent is the subpackage no for child.
    also for each item, I fill REQUISITION_ACCOUNT_ASSIGNMENT and REQUISITION_SRV_ACCASS_VALUES
    Still I get the Error.
    Thanks to help me resolve.

  • No account assignment exist for service line.

    Good Morning
    When I try to create a Purchase Order by Shopping Cart created directly in SRM it works normally but when I try to create a Purchase Order by Shopping Cart created based on Purchase Requisition from R/3 it gives me the follow message: "No account assignment exist for service line 10".
    I´m in SRM Server 5.5 SP 11 and the R/3 version 4.7.
    Someone could help me?
    Thanks
    Edited by: Victor Hugo Santos Sousa on Jul 4, 2008 3:00 PM

    try to use existing  package number + 1.
    select MAX( packno ) from eban into w_packno where packno NE ' ' .
    v_packno = w_packno + '0000000001'.
    W_REQUISITION_ITEMS-PCKG_NO = v_packno.
    and also ref. link.,
    http://wiki.sdn.sap.com/wiki/display/ERPSCM/MM-SRV-ACC+Account+Assignment

  • BAPI_REQUISITION_CREATE: Err-No account assignment exists for service line

    Hi Frnds,
    I am using bapi BAPI_REQUISITION_CREATE to create PR with mutiple Service line.
    I am getting an error message SE518 - No account assignment exists for service line 0000000000.
    Can anyone of you help me out to solve this issue?
    Thanks in advance
    Suganya

    HI
    I need to create pucharse-requisition for services with account assignment K.
    execute BAPI_REQUISITION_CREATE with an item with a service and work well.
    When I prove with two items each one with its service gives east error me
    "E518, No account assignment exists for service line 0000000010"
    my source is:
    REPORT Z_WGS_BAPI_REQUISIT_CREATE_002
                                      NO STANDARD PAGE HEADING LINE-SIZE 180
                          START-OF-SLECTION                              *
    DATA:
    W_NUMBER             LIKE  BAPIEBANC-PREQ_NO,
    W_REQUISITION_ITEMS LIKE BAPIEBANC           OCCURS 0 WITH HEADER LINE,
    W_REQUISITION_ACCOUNT LIKE BAPIEBKN          OCCURS 0 WITH HEADER LINE,
    W_REQUISITION_SERVICES LIKE BAPIESLLC        OCCURS 0 WITH HEADER LINE,
    W_REQUISITION_SRV_VALUES LIKE BAPIESKLC      OCCURS 0 WITH HEADER LINE,
    W_RETURN             LIKE BAPIRETURN         OCCURS 0 WITH HEADER LINE,
    W_RETURN1            LIKE  BAPIRET2          OCCURS 0 WITH HEADER LINE.
    START-OF-SELECTION.
    perform item_10.
    perform item_20.
    perform bapi.
    form item_10.
    **Item 10
    W_REQUISITION_ITEMS-DOC_TYPE = 'NB'.
    W_REQUISITION_ITEMS-PREQ_ITEM = '00010'.
    W_REQUISITION_ITEMS-ACCTASSCAT = 'K'.
    W_REQUISITION_ITEMS-ITEM_CAT = '9'.
    W_REQUISITION_ITEMS-PUR_GROUP = 306.
    W_REQUISITION_ITEMS-PURCH_ORG = '9000'.
    W_REQUISITION_ITEMS-PLANT    = 'CO95'.
    W_REQUISITION_ITEMS-PREQ_NAME = 'EORTIZ'.
    W_REQUISITION_ITEMS-DELIV_DATE = SY-DATUM.
    W_REQUISITION_ITEMS-SHORT_TEXT = 'Servicio 1'.
    W_REQUISITION_ITEMS-MAT_GRP = 'SER-0005'.
    W_REQUISITION_ITEMS-QUANTITY = '1.000'.
    W_REQUISITION_ITEMS-PCKG_NO = '0000000001'.
    W_REQUISITION_ITEMS-GR_IND = 'X'.
    W_REQUISITION_ITEMS-IR_IND = 'X'.
    W_REQUISITION_ITEMS-FIXED_VEND = space.
    W_REQUISITION_ITEMS-INFO_REC = space.
    APPEND W_REQUISITION_ITEMS. CLEAR W_REQUISITION_ITEMS.
    W_REQUISITION_ACCOUNT-PREQ_ITEM = '00010'.
    W_REQUISITION_ACCOUNT-SERIAL_NO = '01'.
    W_REQUISITION_ACCOUNT-COST_CTR = '0001010106'.
    W_REQUISITION_ACCOUNT-G_L_ACCT = '0063010001'.
    APPEND W_REQUISITION_ACCOUNT. CLEAR W_REQUISITION_ACCOUNT.
    W_REQUISITION_SERVICES-PCKG_NO     =  '0000000001'.
    W_REQUISITION_SERVICES-LINE_NO     =  '0000000001'.
    W_REQUISITION_SERVICES-EXT_LINE    =  '0000000000'.
    W_REQUISITION_SERVICES-SUBPCKG_NO  =  '0000000002'.
    W_REQUISITION_SERVICES-FROM_LINE   =  '1'.
    W_REQUISITION_SERVICES-PLN_LINE   =  '0000000001'.
    APPEND W_REQUISITION_SERVICES. CLEAR W_REQUISITION_SERVICES.
    W_REQUISITION_SERVICES-PCKG_NO     =  '0000000002'.
    W_REQUISITION_SERVICES-LINE_NO     =  '0000000002'.
    W_REQUISITION_SERVICES-EXT_LINE    =  '0000000010'.
    W_REQUISITION_SERVICES-SUBPCKG_NO  =  '0000000000'.
    W_REQUISITION_SERVICES-SERVICE    =  '000000000003000001'.
    W_REQUISITION_SERVICES-QUANTITY   =  '5.000'.
    W_REQUISITION_SERVICES-BASE_UOM   =  'UN'.
    W_REQUISITION_SERVICES-GR_PRICE   =  '150.0000'.
    APPEND W_REQUISITION_SERVICES. CLEAR W_REQUISITION_SERVICES.
    W_REQUISITION_SRV_VALUES-PCKG_NO    =  '0000000002'.
    W_REQUISITION_SRV_VALUES-LINE_NO    =  '0000000002'.
    W_REQUISITION_SRV_VALUES-SERNO_LINE = '01'.
    W_REQUISITION_SRV_VALUES-SERIAL_NO  =  '01'.
    W_REQUISITION_SRV_VALUES-PERCENTAGE  = '100.0'.
    APPEND W_REQUISITION_SRV_VALUES. CLEAR W_REQUISITION_SRV_VALUES.
    endform.
    form item_20.
    item 20
    W_REQUISITION_ITEMS-DOC_TYPE =   'NB'.
    W_REQUISITION_ITEMS-PREQ_ITEM = '00020'.
    W_REQUISITION_ITEMS-ACCTASSCAT = 'K'.
    W_REQUISITION_ITEMS-ITEM_CAT = '9'.
    W_REQUISITION_ITEMS-PUR_GROUP = '306'.
    W_REQUISITION_ITEMS-PURCH_ORG = '9000'.
    W_REQUISITION_ITEMS-PLANT    = 'CO95'.
    W_REQUISITION_ITEMS-PREQ_NAME = 'EORTIZ'.
    W_REQUISITION_ITEMS-DELIV_DATE = SY-DATUM.
    W_REQUISITION_ITEMS-SHORT_TEXT = 'Servicio 2'.
    W_REQUISITION_ITEMS-MAT_GRP = 'SER-0005'.
    W_REQUISITION_ITEMS-QUANTITY = '1.000'.
    W_REQUISITION_ITEMS-PCKG_NO = '0000000003'.
    W_REQUISITION_ITEMS-GR_IND = 'X'.
    W_REQUISITION_ITEMS-IR_IND = 'X'.
    W_REQUISITION_ITEMS-FIXED_VEND = space.
    W_REQUISITION_ITEMS-INFO_REC = space.
    APPEND W_REQUISITION_ITEMS. CLEAR W_REQUISITION_ITEMS.
    W_REQUISITION_ACCOUNT-PREQ_ITEM = '00020'.
    W_REQUISITION_ACCOUNT-SERIAL_NO = '01'.
    W_REQUISITION_ACCOUNT-COST_CTR = '0001010106'.
    W_REQUISITION_ACCOUNT-G_L_ACCT = '0063010001'.
    APPEND W_REQUISITION_ACCOUNT. CLEAR W_REQUISITION_ACCOUNT.
    W_REQUISITION_SERVICES-PCKG_NO     =  '0000000003'.
    W_REQUISITION_SERVICES-LINE_NO     =  '0000000003'.
    W_REQUISITION_SERVICES-EXT_LINE    =  '0000000000'.
    W_REQUISITION_SERVICES-SUBPCKG_NO  =  '0000000004'.
    W_REQUISITION_SERVICES-FROM_LINE   =  '1'.
    APPEND W_REQUISITION_SERVICES. CLEAR W_REQUISITION_SERVICES.
    W_REQUISITION_SERVICES-PCKG_NO     =  '0000000004'.
    W_REQUISITION_SERVICES-LINE_NO     =  '0000000004'.
    W_REQUISITION_SERVICES-EXT_LINE    =  '0000000010'.
    W_REQUISITION_SERVICES-SUBPCKG_NO  =  '0000000000'.
    W_REQUISITION_SERVICES-SERVICE    =  '000000000003000002'.
    W_REQUISITION_SERVICES-QUANTITY   =  '10.000'.
    W_REQUISITION_SERVICES-BASE_UOM   =  'UN'.
    W_REQUISITION_SERVICES-GR_PRICE   =  '90.0000'.
    APPEND W_REQUISITION_SERVICES. CLEAR W_REQUISITION_SERVICES.
    W_REQUISITION_SRV_VALUES-PCKG_NO    =  '0000000004'.
    W_REQUISITION_SRV_VALUES-LINE_NO    =  '0000000004'.
    W_REQUISITION_SRV_VALUES-SERNO_LINE = '01'.
    W_REQUISITION_SRV_VALUES-SERIAL_NO  =  '01'.
    W_REQUISITION_SRV_VALUES-PERCENTAGE  = '100.0'.
    APPEND W_REQUISITION_SRV_VALUES. CLEAR W_REQUISITION_SRV_VALUES.
    endform.
    form bapi.
    BAPI
      CALL FUNCTION 'BAPI_REQUISITION_CREATE'
      EXPORTING
        SKIP_ITEMS_WITH_ERROR          =
       AUTOMATIC_SOURCE                = 'X'
        IMPORTING
          NUMBER                         = W_NUMBER
        TABLES
          REQUISITION_ITEMS              = W_REQUISITION_ITEMS
          REQUISITION_ACCOUNT_ASSIGNMENT = W_REQUISITION_ACCOUNT
        REQUISITION_ITEM_TEXT          =
        REQUISITION_LIMITS             =
        REQUISITION_CONTRACT_LIMITS    =
          REQUISITION_SERVICES           = W_REQUISITION_SERVICES
          REQUISITION_SRV_ACCASS_VALUES  = W_REQUISITION_SRV_VALUES
          RETURN                         = W_RETURN.
        REQUISITION_SERVICES_TEXT      =
        REQUISITION_ADDRDELIVERY       =
        EXTENSIONIN                    =
    ejecuta commit
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          WAIT   = 'X'
        IMPORTING
          RETURN = W_RETURN1.
      LOOP AT  W_RETURN.          .
        WRITE: / SY-TABIX,
        / 'W_RETURN-TYPE:', W_RETURN-TYPE,
        / 'W_RETURN-CODE:', W_RETURN-CODE,
        / 'W_RETURN-MESSAGE:', W_RETURN-MESSAGE,
        / 'W_RETURN-LOG_NO:', W_RETURN-LOG_NO,
        / 'W_RETURN-LOG_MSG_NO:', W_RETURN-LOG_MSG_NO,
        / 'W_RETURN-MESSAGE_V1:', W_RETURN-MESSAGE_V1,
        / 'W_RETURN-MESSAGE_V2:', W_RETURN-MESSAGE_V2,
        / 'W_RETURN-MESSAGE_V3:', W_RETURN-MESSAGE_V3,
        / 'W_RETURN-MESSAGE_V4:', W_RETURN-MESSAGE_V4.
        ULINE.
      ENDLOOP.
    endform.

  • BAPI_PO_CREATE1-No account assignment exists for service line 0000000000

    Hi guys
    I'm trying to use the above BAPI to create purchase orders from legacy system. I have populated ALL of the required tables (including the Xs) but I was returned the above error: No account assignment exists for service line 0000000000.
    I have populated fields in the POLIMITS structure 
    POLIMITS-PCKG_NO
    POLIMITS-LIMIT
    POLIMITS-EXP_VALUE.
    Any solutions?
    Thanks in advance.
    Cheers!

    hi Dinesh,
    am also having same error for bap po create1 . did it get resolved for you? please help its urgently needed for me here

  • SE 518 No account assignment exists for service li ne 0000000000

    Hi ,
    I am using classic scenario.The Shopping cart (SRM5.0)creates Purchase Requisition in the backend ECC5.0.Things work fine for Describe Requirement Product Type=01(Goods).But for Product Type = 02(Service) getting the error "SE 518 No account assignment exists for service li ne 0000000000" while transferring to Backend.
    Limit Shopping cart works fine ...Creates Purchase Requisition with Item category"D" in the backend.
    Any Suggessions Please?
    Thanks and Regards,
    Sudhakar.

    Hi Yann,
    Yes ,i did open a Message .SAP came back with note # 966323.We had already applied this .Don't work.
    By the way what was the resolution for this issue in 4.7 please?
    Point here is that this used to work in Development Systems but not in Quality Systems. That surprises me.
    Thanks Yann for your quick response.
    Sudhakar

  • PO with hundreds of multiple account assignment lines on service line level

    Hi, experts,
    I want to create a external service PO with multiple account assignment.
    However, in the service line item level, when I click on the multiple account assignment, I could only enter 97 lines. But I need to create around 1000 account assignment lines for a single service line.
    Is it possible to extend the no. of account assignment lines inside the service line level? May I know how to do so?
    Thanks & regards,
    James

    I'm facing a similar error. 
    What I think it's happening is that for technical reasons the program involved only delivers 99 line items... To make things worse, When you try to create an invoice for that full item you are going to get an error bc the invoice reserves line 99 for unplanned account assignments.
    The suggestion from SAP is to create further items with 98 account assignment items or less.
    Have a look at these notes: 486808, 651784
    Regards,
    Nelson
    PS: Please rewards points for helpful answers

  • Ability to modify Account Assignment Category for Service Item Categories

    Dear experts,
    Our customer has a requirement to modify the account assignment category when the item category is set to "D" services on a PR and PO line item. This scenario is specific to indirect procurement scenarios in SAP ECC 6.0 MM.
    End users may potentially create a PR against a service item category with an incorrect account assignment category. These PRs are created using free form text. No service master exists in these scenarios. During the approval process or during PO creation, an approver or the buyer may need to correct the account assignment category. The account assignment category is "display" only and cannot be modified when the item category is set to "D". The user must delete the line item and create a new line item with the correct account assignment category. The copy function cannot be used because the account assignment copies from the existing line and cannot be modified.
    Any recommendations to this issue using standard SAP configuration solutions?
    Thanks,
    Jennifer

    Item Category to Account Assignment Category combination is already configured. For Service Item Category, we have three account assignment categories configured. All three categories are valid in different scenarios. Sometimes the user selects the incorrect account assignment category (out of the three available) depending on the business scenario. PT9F configuration is already set to Account Assignment category "optional". However, the account assignment category still cannot be modified on the PR when the item category is "D" service.
    Any other recommendations?

  • Multiple account assignment in automatic Service entry sheet

    In TRX VI01 I created a Shipping Cost document (SCD); this document automatically created a Service PO with account assignment category (AAC) "U" and also created a service entry sheet (SES) for this PO. The AAC in the SES is K.
    Since the PO and the SES are created automatically, I want to use a user exit, Bapi or similar to change the AAC to X and to enter multiple account assignment in the SES.
    Any user exit o Bapi that I can use to do this?
    Regards,
    CD

    B.K.
    I need the user exit in the SES no in the PO.
    Thanks,
    CD

  • Se518 no account assignment exists for service line

    Hi Experts,
    We are using SRM701 Patch 04. I am creating a RFx with a limit item then create the purchase order based on the accepted bid. We found the error message SE518 in backend system via /SAPPO/PPO2 when we are using the driver function "/SAPSRM/CL_SOA_ADPT_PO_CRT_ERP". But If I changed the Driver function to "CL_BBP_BS_ADAPTER_PO_CRT_ERP10", it can be created successfully.
    Please advise how to fix the issue when we are using /SAPSRM/CL_SOA_ADPT_PO_CRT_ERP. Thanks a lot
    regards,
    Jian

    Hiren,
    Every service line will have to be assigned to a G/L account or Cost Center. That is what the error message of the BAPI is.
    Pass the required account assignment details in the BAPI and that should get rectified.
    Regards,
    Ravi
    Note : Please reward the posts that are helpful

  • Multiple account assignment category for one line item in PO

    Dear Experts,
    We are on SRM 5.0 ECS
    One line item of a PO has multiple account assignment category with the cost distribution for
    1. Cost Center - 50%
    2. Order          - 50%
    Is it possible?
    As per my understanding one line item in a PO can have only one account assignment category
    Regards
    Mick

    Hi,
    Yes it is possible by Po line item.
    Just go to transaction bbp_poc through the web interface.
    Select your PO
    Select your line item PO.
    goto the account assignment tab (item overview)
    you get a cost distribution field in percentage
    then you get a cost distribution button : click it and you get several lines where now you can split your 100% in as many lines as you want.
    BR,
    Disha.
    Pls reward points for useful answers.

Maybe you are looking for

  • Navigation Problem

    In Answers, i have report1(Field a,Field b,Field c) Report2(Field b,field d,field e) Report3(field d , field e , field f) i prompted the 'Field b' in Report2 and 'field d' in report3 my rek is if i select the value in the 'field b' in report1 it shou

  • Sending Flat file as an Email Attachment

    Hi, I have configured Mail Adapter to send XML Payload as an attachment . But now i need to send Flat file as an attachment using Mail Adpater . Can any body help me out in this regard

  • When I downloaded Pages my Apple Works 6 now doesn't open.

    When I downloaded Pages my Apple Works 6 now doesn't open.

  • Local jndi lookup - present in 1 appln, lookup in 2nd appln (same server)

    Hi, I have deployed 2 applications ( A.ear, B.ear ) on the same server. There is ejb( has only local interface no remote interface ) which is present in A.ear. Now I want to do a local jndi lookup of the ejb in 2nd application (B.ear ) Can we do this

  • MacBook Air and iTunes Match

    How does one move an album purchased on an iPad set up with iTunes match to an iPod.  I have a MacBook Air, but the music does not sit locally on the device.  I used to have all my music installed locally on my MacBook Pro, (no problem here.  Sync an