'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 ?

Similar Messages

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

  • 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

  • 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

  • Err "No a/c assignment exists for service line" when SC created for limit

    When I create a Shopping Cart or PO with Limit item, I get below error even though I have a account line in Account Assignment Tab:
    Back-End Error: No account assignment exists for service line 0000000000
    Pls help.

    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

  • 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

  • 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

  • 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

  • Account assignment model for customer line items

    Hi all
    As per SAP, account assignment models can be used for creating the entries for GL accounts. I have a scenario which requires similar type of feature for Customer and vendor items also..
    Is it possible to create an account assignment model for Customer and vendor line items..with posting key 01..?
    Thanks and Regards
    Rakesh

    Hi,
    Account assignment model is created using transaction code FKMT. It does allow using posting key 01, however unlike in GL Account - Customer accounts will not be always same. Hence, normally used for GL postings.
    In case if you are going to use for the same Customer / Vendor Account you can try it using transaction code FKMT.
    Thanks
    Murali.

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

  • Change account assignment category for services with ME22N

    Dear guru ,
    i have created a purchase order for a position with item category D(service) and account assignment category K(cost centre). I have inserted for the accounting view the cost center.
    After the saving If I a try to change the purchase order position with ME22N the system donu2019t allow to change the account assignment category (F order instead of K).
    I have verified that for other positions with account assignment category K(cost centre) but for Item category blank(standard) the system allow to change the account assignment category if not exist goods receipt or invoice.
    Whatu2019s the problem about services ?
    Thanks

    Hi,
    Usually the Account assigned PO's are fixed with Account assignment, you cann't modify the account assignment once it is saved.
    It depends on the IMG settings for Account assignment category.
    Check the following IMG Settings
    SPROMMPurchasingAccount assignment-Maintain account assignment categories
    Here check for "K" --Costcentre in the detailed information if the checkbox at Acct assignment changable then only you can modify the Account assignment category modification in PO, otherwise not possible.
    rgds
    gsc

Maybe you are looking for

  • Why can't i print a pdf it says it is a secure document??

    i'm trying to print a PDF form to apply for tri care every time i try i get grey areas with none of the questions  or any of the stuff i filled out !

  • Scrubber Not Working Properly

    All of a sudden my scrubber doesnt seem to be working properly in FCP 7. It moves back and forward ok but doesnt scrub through the frames, it just jumps to the end frame when I stop at when scrubbing. This only started happening today. I thought it m

  • I WANT TO FIND material report for 303 mvt

    i want to find the report for 303 mvt type plant wise but their 305 mvt type has not still done i gone through the mb51

  • Std. function module to find reporting employees.

    Hi all, i would like to find a std. function module by which  i can find the employees who reports to respected manager. For e.g, i have to pass manager's userid and i will get the list of employee no.s who reports to that manager. Pls help me. any h

  • Smart Forms&scripts

    hi all. I need your help. i need the procedure(from besic) for creation of a New Smartform. And how we will creat  New print program for that New smartform . And how will call that Smartform from print program. And how we will joint them.