Assignment Number for Special G/L Account

Hello,
Doing some tests in version ECC 6.0 the field BSEG-HZUON (G/L allocation number) is not being filled while I am manually inputting the assignment (BSEG-ZUONR).
When I search items in FBL3N I cant see the assignment number because the special g/l account assignment is not being filled.   This doesnt happen in version 4.6c.
What could be the reason for this?
Thanks,
Alex

HI Alex,
A distinction is between reconciliation account and non-reconciliation account. For reconciliation account:-
The sort key in the master data of the G/L account fills field BSEG-HZUON. Field BSIS-ZUONR is filled via field BSEG-HZUON here.
Field BSEG-ZUONR can be filled manually or, for example, via the sort key of a customer (if it is a reconciliation account for customers Sort key reconciliation account   > BSEG-HZUON   > BSIS-ZUONR
Please refer to note 334466,and 676338 on how field BSIS-ZUONR is filled?
Please assign points if it useful.
Regards
Ravinagh Boni

Similar Messages

  • Po number as assignment number for each item in MIR4 using substitution

    Hi All,
    Using substitution rule in GGB1 iam getting assignment number as PO number only for GL documents.
    But i need the same PO number as assignment number for cleared item documents...
    iam getting YYYYMMDD field as assignment number for each line item....but i need PO number...
    how can i achieve it...
    pls help experts...
    Regards
    Ram
    problem solved
    Edited by: gajeramesh on Feb 3, 2010 2:25 PM

    Hi,
    After creating the items you can write your own text upload program to upload the item texts. Note it cant be uploaded through BAPI or BDC.
    Search the forum for SAVE_TEXT FM, you will get lots of examples for this.
    Also Read the FM documentation for the above FM in SE37.
    Regards
    Karthik D

  • Withholding tax type for special G/L accounts

    Hi,
    Is there a way to define a witholding tax type for a special G/L account type? Up now we can define a withholding tax type for a vendor, but we need to define withholds for particulars vendors/special GL accounts type combination.
    What we need is each time an invoice is posted, a withold is made for the vendor only if the posting account has a particular special G/L account type associated.
    I hope reqs. beeing understandable.
    Any idea is welcome.
    mr.

    Hi
    Withholding tax type for special G/L or advance payment can be created as per tax type defined for general invoice/bill entry.
    But here the description will be different and '"central invoice proportionate" radio button has to be ticked.As it will help in deducting the tax which has been paid in advance.
    So that balance tax can be adjusted when invoice will be entered.
    Plz assign points if it is helpful.
    Regards
    Tapan

  • Have Adobe Standard CS 5 (Student), and would like to upgrade to Creative Cloud (Non-Student) - won't accept my serial number for special pricing for existing users

    I currently use Adobe Standard CS 5. It was bought with the Education discount. I would like to upgrade to Creative Cloud and see that they have special pricing for existing customers that use past versions of Creative Suite. I am no longer in Education, so I will have to buy a full version. This is fine, but it won't accept my serial number for the discounted pricing. Is there something else I should be doing?

    Hi there
    Please contact our Sales team who will assist with your order - 800-585-0774
    Thanks
    Bev

  • Post foreign currency valuation for special G/L accounts

    Dear experts,
    Our client wants to evaluate the balance of down payment account after each partial clearing with invoice.As down payments are being posted by special G/L indicators, they are not able to post to the down payment account directly.
    and there is no possibility to post foreign currency valuation by SG/L indicators in F-05 and FBB1 transaction codes.
    Could you please tell me how we can evaluate a SG/L account directly?
    Best Regards,

    Hi Rezvan,
    That is not possible also this is not required.
    Because unrealized gain/loss we post to Balance sheet adjustment account and Fx gain/loss accounts.
    We don't post any differences directly to sub ledgers.
    you can use F.05 or FAGL_FC_VAL trasanction for Foreign currency valuation.
    where you can have option of valuate the Spl GL too in selection screen.
    Also
    When you select Vendor option in FAGL_FC_VAL, program valuates all the line items including special gl items.
    And this valuation difference can be posted to balance sheet adjustment account which you maintain in OB09.
    Regards
    Atul

  • How to enter an account assignment category for a material.

    Hi guys:
       I am facing following error prompt,please tell me how to enter an account assignment category for a material.
    thanks
    Account assignment mandatory for material 0000000N6451 (enter acc. ***. cat.)
    Message no. ME062
    Diagnosis
    There is no provision for value-based inventory management for this material type in this plant. Account assignment is thus necessary.
    Procedure
    Please enter an account assignment category.

    HI Shyam :
    Go to transaction type OMS2. Check whether the material type u are using is ticked for Value update.
    If not,
    a. Use a different material type
    b. or Use an account assignment category.
    How to use B,that is hot to enter an account assignment cateogory

  • Number for support in sydney australia?

    Can anybody help me with a number for Adobe Business Catalyst account support?
    Thanks
    --dust

    Hi Dusty
    There is no phone support with Business Catalyst so you won't get them via phone (in Australia or in USA).
    You'll need to log your support request via a support ticket inside of your website.
    OR, if you need dedicated phone support feel free to call my office on 02 9212 4485 and I'll get one of my Business Catalyst web developers OR my trainer to help you out.
    The difference here is that we offer paid dedicated support as we're a private company.
    Good luck.
    Brett
    www.prettydigital.com.au

  • System don`t check an order number for CO account assignment

    hi,
    I have this problem. When I creta a sales order in CRM and then system creates as a follow up document a sales order in SD system don`t check an order number for CO account assignment. If I want to create a sales order not as a follow up document, but directly in transaction VA01 and I use exactly the same data system gives me a message " The CO account assignment object belongs to company code X, not Y
    You want to make a posting in company code Y.
    At the same time, a CO account assignment object was specified that is assigned to company code X.
    This is account assignment object with object type ORD, and object key 1xxxxxxxxxxx...".
    My question is why system don`t check order number when a sales order in SD is created as a follow up document and what should I do to correct this.
    Regards,
    Mateusz

    Check note
    a)  352261  or
    b)  557562
    thanks
    G. Lakshmipathi

  • Do not enter an account number for a masked account type

    Good Morning
    1)
    I am trying to give some account number in open / close posting period window. From acount field (Lower limit of the G/L account numbers ) is not accepting the value. I have also tried with ZZZZZ and many other options. Can any one help what could be he reason ?
    This is the Error Message
    Do not enter an account number for a masked account type
    2) Who is responsible to create the Authorization Group? What is FICO consultant role here ?
    Eg: I want to give some privileges to one of the users in Management to open and close the posting period for all the nominals for all posting periods.
    who creates the Authorization Group
    Regards
    Amar

    Hi,
    1, For account group the error may be comimg because already data is created. In lower limit donot enter ZZZZZ as it is considered as the highest value.  You can try the lowest account number.
    2. Creating a role is job of bais based on the FICO tcode given by FICO consultant. For special privilages to a role you can ask to basis guy to create a separate role and assign to user.
    Regards
    Milind Sonalkar

  • How to create a SO that can be taken as account assignment object for PO?

    Dear all,
    I am trying to create a PO with ME21n and I want to assign the item to sales order item (SO). I put in account assignment group "C", but everytime I enter the SO number I get the message: "Account 612200 requires an assignment to a CO object                                                   
        Message no. KI235"
    So it seems that it does not recognize the SO as an CO object, although the help says you can assign to a sales order.
    What has to be done to get this assignment working?
    By the way "E" is also not working.
    Unfortunately I am neither in an individual purchase order scenario (because we do not always require a PR and moreover the material/service we must buy depends on many factors, so a subcontracting scenario with a BOM won't help neither) nor in a 3rd party order scenario.
    My scenario is: SO is entered. Sometimes we have to buy either a service or a material. Shipping is directly to us and we pay the supplier. When the whole SO is fulfilled we bill our customer for the material/services we bought for them and hopefully can put a little margin on top.
    Any ideas?

    Hi,
    i tried the same scenario, i was getting the same error but FICO consultant assigned the CO object to the GL acoount then it works i used the account assignment category C. but still i am testing this scenario because the cost is not going on SO.
    regards,
    Qasim

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

  • Error "Account assignment 00 for  purchase document does not exist " when u

    Hai,
    I am encountering the following problem when posting a PO based Invoice using BAPI_INCOMINGINVOICE_CREATE.
    The error says " account assignment 00 for purchasing document does not exist".
    The scenario is very simple.  I need to raise an Invoice against a PO. the PO has a single line item of quantity 10 net price 10.  Tax code is U2 ( 7% tax).
    I am passing the following at header level.
    Invoice_indicator ( as 'X'),company code,doc date , posting date, gross amount (107, currency USD, calc tax indicator as 'X'.
    At line item i am passing Invoice document item 000001, po number , po item number, tax code(U2) item amount (100),
    Does this error has got any thing to relate configuration matters?
    Regards,
    Upender

    Hi Upender,
    In some cases, depending on the type of PO / Posting,
    you might have to populate the accounting data itab and pass in the BAPI parameter.
    you can select the accounting data from EKKN for the PO.
    Again it depends on the PO category, wether you need to populate Qty & Unit in accounting data.
    Further, the accounting data should be exactly the same as there in EKKN ( all the fields except Qty & Unit ).
    Thanks,
    Ram

  • BAPI_PO_CREATE1 - In case of account assignment, please enter acc. assignment data for item

    Hi,
    Currently I'm facing an error "In case of account assignment, please enter acc. assignment data for item" when create a Purchase Order using BAPI_PO_CREATE1. The condition of the data that need to pump into the system is that this PO is an open item PO where does not require a metarial code for input, but it will pump in Short Text and Material Group. Other than that, the account assignment category is "K" and the item category is "9".
    Below is the coding that I have implemented.
    IF wa_temp_upr1-waers IS NOT INITIAL.
           MOVE wa_temp_upr1-waers TO wa_header-currency.
           wa_headerx-currency = abap_true.
         ENDIF.
         MOVE: wa_temp_upr1-lifnr TO wa_header-vendor,
               wa_temp_upr1-unsez TO wa_header-collect_no,
               wa_temp_upr1-bukrs TO wa_header-comp_code,
               sy-datum      TO wa_header-doc_date,
               sy-langu      TO wa_header-langu,
               'KTN1'        TO wa_header-purch_org,
               wa_temp_upr1-bkgrp TO wa_header-pur_group,
               wa_temp_upr1-zterm TO wa_header-pmnttrms.
         wa_headerx-collect_no = abap_true.
         wa_headerx-po_number = abap_true.
         wa_headerx-comp_code = abap_true.
         wa_headerx-vendor = abap_true.
         wa_headerx-doc_date = abap_true.
         wa_headerx-langu = abap_true.
         wa_headerx-purch_org = abap_true.
         wa_headerx-pur_group = abap_true.
         wa_headerx-pmnttrms = abap_true.
         IF wa_temp_upr1-meins IS NOT INITIAL.
           MOVE wa_temp_upr1-meins TO zunit_e.
           CALL FUNCTION 'CONVERSION_EXIT_CUNIT_INPUT'
             EXPORTING
               INPUT                =  zunit_e
               LANGUAGE             = 'E'
             IMPORTING
               OUTPUT               = zunit_e.
           IF SY-SUBRC <> 0.
    * Implement suitable error handling here
           ELSE.
             MOVE zunit_e TO wa_temp_upr1-meins.
           ENDIF.
           MODIFY it_upr1 FROM wa_temp_upr1.
         ENDIF.
         ADD 10 TO line_item.
         CALL FUNCTION 'NUMBER_GET_NEXT'
           EXPORTING
             NR_RANGE_NR = '01'
             OBJECT      = 'SERVICE'
           IMPORTING
             NUMBER      = pckg_no.
         IF SY-SUBRC <> 0.
    * Implement suitable error handling here
         ENDIF.
         CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
           EXPORTING
             INPUT  = wa_temp_upr1-matnr
           IMPORTING
             OUTPUT = wa_po_item-material.
         MOVE: line_item TO wa_po_item-po_item,
               wa_temp_upr1-ewerks TO wa_po_item-plant,
               wa_temp_upr1-lgort TO wa_po_item-stge_loc,
               wa_temp_upr1-matnr TO wa_po_item-material,
               wa_temp_upr1-menge TO wa_po_item-quantity,
               wa_temp_upr1-peinh TO wa_po_item-price_unit,
               wa_temp_upr1-netpr TO wa_po_item-net_price,
               wa_temp_upr1-meins TO wa_po_item-po_unit,
               wa_temp_upr1-afnam TO wa_po_item-preq_name,
               wa_temp_upr1-eeind TO wa_po_item-price_date,
               ' ' TO wa_po_item-gr_ind,
               'X' TO wa_po_item-ir_ind,
               'X' TO wa_po_item-prnt_price,
               ' ' TO wa_po_item-distrib.
         wa_po_item-acctasscat = 'K'.
         MOVE pckg_no TO wa_po_item-pckg_no.
         wa_po_itemx-pckg_no = abap_true.
         IF wa_temp_upr1-bismt IS INITIAL.
           MOVE: wa_temp_upr1-short_text TO wa_po_item-short_text,
                 wa_temp_upr1-matl_group TO wa_po_item-matl_group,
                  '9' TO wa_po_item-item_cat.
           wa_po_itemx-short_text = abap_true.
           wa_po_itemx-matl_group = abap_true.
           wa_po_itemx-item_cat = abap_true.
           wa_potext-po_item = wa_po_item-po_item.
           wa_potext-text_id = 'F01'.
           APPEND wa_potext TO it_potext.
         ENDIF.
         MOVE wa_po_item-po_item TO wa_po_itemx-po_item.
         wa_po_itemx-plant = abap_true.
         wa_po_itemx-po_itemx = abap_true.
         wa_po_itemx-stge_loc = abap_true.
         IF wa_po_item-material IS NOT INITIAL.
           wa_po_itemx-material = abap_true.
         ENDIF.
         wa_po_itemx-quantity = abap_true.
         wa_po_itemx-price_unit = abap_true.
         wa_po_itemx-net_price = abap_true.
         wa_po_itemx-po_unit = abap_true.
         wa_po_itemx-preq_name = abap_true.
         wa_po_itemx-price_date = abap_true.
         wa_po_itemx-acctasscat = abap_true.
         wa_po_itemx-gr_ind = abap_true.
         wa_po_itemx-distrib = abap_true.
         wa_po_itemx-part_inv = abap_true.
         APPEND wa_po_item TO it_item.
         APPEND wa_po_itemx TO it_itemx.
         CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
             EXPORTING
               INPUT  = wa_temp_upr1-kostl
             IMPORTING
               OUTPUT = wa_temp_upr1-kostl.
           wa_account-costcenter = wa_temp_upr1-kostl.
           ADD 1 TO l_acc.
           ADD 10 TO v_po_item.
           MOVE v_po_item TO wa_account-po_item.
           MOVE '01' TO wa_account-serial_no.
           APPEND wa_account TO it_account.
           wa_accountx-costcenter = abap_true.
           MOVE v_po_item TO wa_accountx-po_item.
           MOVE '01' TO wa_accountx-serial_no.
           wa_accountx-SERIAL_NOX = abap_true.
           wa_accountx-po_itemx = abap_true.
           APPEND wa_accountx TO it_accountx.
    *********** services
           wa_services-pckg_no = pckg_no.
           wa_services-line_no = '0000000001'.
           wa_services-outl_ind = 'X'.
           wa_services-subpckg_no = pckg_no + 1.
           wa_services-quantity = wa_temp_upr1-menge.
           wa_services-base_uom = wa_temp_upr1-meins.
           wa_services-price_unit = wa_temp_upr1-peinh.
           wa_services-gr_price = wa_temp_upr1-netpr.
           IF wa_temp_upr1-short_text IS NOT INITIAL.
             wa_services-short_text = wa_temp_upr1-short_text.
           ENDIF.
           APPEND wa_services TO it_services.
           CLEAR:  wa_services,
                   val_lin.
           wa_services-pckg_no = pckg_no + 1.
           wa_services-line_no = '0000000002'.
           wa_services-quantity = wa_temp_upr1-menge.
           wa_services-base_uom = wa_temp_upr1-meins.
           wa_services-price_unit = wa_temp_upr1-peinh.
           wa_services-gr_price = wa_temp_upr1-netpr.
           IF wa_temp_upr1-short_text IS NOT INITIAL.
             wa_services-short_text = 'SERVICE 1'.
           ENDIF.
           IF NOT wa_temp_upr1-matl_group IS INITIAL.
             wa_services-matl_group = wa_temp_upr1-matl_group.
           ENDIF.
           APPEND wa_services TO it_services.
    ************* service account assignment
           wa_services_acc-pckg_no = pckg_no + 1.
           wa_services_acc-line_no = '0000000002'.
           wa_services_acc-serno_line = '01'.
           wa_services_acc-quantity = wa_temp_upr1-menge.
           wa_services_acc-serial_no = '01'.
           wa_services_acc-net_value = wa_temp_upr1-netpr.
           APPEND wa_services_acc TO it_services_acc.
           CALL FUNCTION 'BAPI_PO_CREATE1'
             EXPORTING
               POHEADER          = wa_header
               POHEADERX         = wa_headerx
               TESTRUN           = pa_test
               NO_PRICE_FROM_PO  = 'X'
             IMPORTING
               EXPPURCHASEORDER  = va_ebeln
               EXPHEADER         = wa_expheader
             TABLES
               RETURN            = it_return
               POITEM            = it_item
               POITEMX           = it_itemx
               POACCOUNT         = it_account
               POACCOUNTX        = it_accountx
               POSERVICES        = it_services
               POSRVACCESSVALUES = it_services_acc
               POTEXTITEM        = it_potext.
    I have done some search regarding this error and try to implemented it, but still does not working.
    example website that i found for this error is:
    David Klein's Corner: SAP Purchase Order Creation Error via BAPI - &quot;In case of account assignment, please enter acc…
    PO Upload through BAPI_PO_CREATE1 - Problem in Service Item
    Currently my system is using: SAP_APPL SAPKH60604
    I am really stuck on this error. Hope you all can help me on this matter.
    Thanks.

    Hi,
    Filling the service line have the problem,
    while filling the services we must follow correct order,
    Here You entering the new services, first manually create purchase order after that observe the table
    'ESLL' and use the FM;-' MS_FETCH_SPEC_FOR_LIST' how the services are inserting after that you also follow the same order.
    if service entries are created before the creation of the PO.
    then follow as bellow....
    SELECT * FROM esll INTO TABLE lt_esll WHERE packno = wa_tmp_spec-packno.
       IF sy-subrc = '0'.
         LOOP AT lt_esll.
           CLEAR :  lt_poservices.
           lt_poservices-pckg_no    = lt_esll-packno .
           lt_poservices-line_no    = lt_esll-introw .
           lt_poservices-ext_line   = lt_esll-extrow .
           lt_poservices-outl_level = lt_esll-rang .
           lt_poservices-outl_no    = lt_esll-extgroup .
           lt_poservices-outl_ind   = lt_esll-del .
           lt_poservices-subpckg_no = lt_esll-sub_packno .
           lt_poservices-service    = lt_esll-srvpos .
           lt_poservices-edition    = lt_esll-ausgb .
           lt_poservices-ssc_item   = lt_esll-stlvpos .
           lt_poservices-ext_serv   = lt_esll-extsrvno.
           lt_poservices-quantity   = lt_esll-menge .
           lt_poservices-base_uom   = lt_esll-meins .
           lt_poservices-ovf_tol    = lt_esll-uebto .
           lt_poservices-ovf_unlim  = lt_esll-uebtk .
           lt_poservices-gr_price   = lt_esll-tbtwr .
           lt_poservices-from_line  = lt_esll-frompos .
           lt_poservices-to_line    = lt_esll-knt_introw.
           lt_poservices-short_text = lt_esll-ktext1 .
           lt_poservices-distrib    = lt_esll-vrtkz .
           lt_poservices-pers_no    = lt_esll-pernr .
           lt_poservices-wagetype   = lt_esll-lgart .
           lt_poservices-con_pckg   = lt_esll-knt_packno.
           lt_poservices-con_line   = lt_esll-knt_introw .
           lt_poservices-matl_group = lt_esll-matkl .
           lt_poservices-taxjurcode = lt_esll-txjcd.
           lt_poservices-tax_code   = lt_esll-mwskz .
           lt_poservices-date       = lt_esll-sdate .
           APPEND  lt_poservices TO lt_poservices[].
           CLEAR lt_esll.
         ENDLOOP.
       ENDIF.
       CALL FUNCTION 'MS_FETCH_SPEC_FOR_LIST'
         EXPORTING
           spec_packno            = wa_tmp_spec-packno
    *     ONLINE_DATA            = ' '
    * IMPORTING
    *     LIMIT                  =
         TABLES
           servicetab             = lt_ml_esll1
    *     LIMITTAB               =
         EXCEPTIONS
           no_specification_exist = 1
           OTHERS                 = 2.
       IF sy-subrc <> 0.
    * Implement suitable error handling here
       ENDIF.
       LOOP AT lt_ml_esll1 INTO DATA(ls_ml_esll1).
         CLEAR :  lt_poservices.
         lt_poservices-pckg_no    = ls_ml_esll1-packno .
         lt_poservices-line_no    = ls_ml_esll1-introw .
         lt_poservices-ext_line   = ls_ml_esll1-extrow .
         lt_poservices-outl_level = ls_ml_esll1-rang .
         lt_poservices-outl_no    = ls_ml_esll1-extgroup .
         lt_poservices-outl_ind   = ls_ml_esll1-del .
         lt_poservices-subpckg_no = ls_ml_esll1-sub_packno .
         lt_poservices-service    = ls_ml_esll1-srvpos .
         lt_poservices-edition    = ls_ml_esll1-ausgb .
         lt_poservices-ssc_item   = ls_ml_esll1-stlvpos .
         lt_poservices-ext_serv   = ls_ml_esll1-extsrvno.
         lt_poservices-quantity   = ls_ml_esll1-menge .
         lt_poservices-base_uom   = ls_ml_esll1-meins .
         lt_poservices-ovf_tol    = ls_ml_esll1-uebto .
         lt_poservices-ovf_unlim  = ls_ml_esll1-uebtk .
         lt_poservices-gr_price   = ls_ml_esll1-tbtwr .
         lt_poservices-from_line  = ls_ml_esll1-frompos .
         lt_poservices-to_line    = ls_ml_esll1-knt_introw.
         lt_poservices-short_text = ls_ml_esll1-ktext1 .
         lt_poservices-distrib    = ls_ml_esll1-vrtkz .
         lt_poservices-pers_no    = ls_ml_esll1-pernr .
         lt_poservices-wagetype   = ls_ml_esll1-lgart .
         lt_poservices-con_pckg   = ls_ml_esll1-knt_packno.
         lt_poservices-con_line   = ls_ml_esll1-knt_introw .
         lt_poservices-matl_group = ls_ml_esll1-matkl .
         lt_poservices-taxjurcode = ls_ml_esll1-txjcd.
         lt_poservices-tax_code   = ls_ml_esll1-mwskz .
         lt_poservices-date       = ls_ml_esll1-sdate .
         APPEND  lt_poservices TO lt_poservices[].
         CLEAR ls_ml_esll1.
       ENDLOOP.
       CLEAR : lt_poservices.
    *& Filling the po service values internal table from service internal table
       LOOP AT lt_poservices[]  INTO lt_poservices WHERE gr_price GT 0.
    READ TABLE lt_ml_esll1 INTO wa_msll WITH KEY  packno = lt_poservices-pckg_no
                                               introw = lt_poservices-line_no
                                            extrow = lt_poservices-ext_line..
         IF sy-subrc EQ 0.
           CLEAR lt_posvalues.
           lt_posvalues-pckg_no    = wa_msll-packno.
           lt_posvalues-line_no    = wa_msll-introw.
           lt_posvalues-quantity   = wa_msll-menge.
    *      lt_posvalues-net_value  = wa_msll-netwr.
           lt_posvalues-serno_line = '01'.
           lt_posvalues-serial_no  = '01'.
    *      lt_posvalues-percentage = '100'.
           APPEND lt_posvalues TO lt_posvalues[].
           CLEAR : wa_msll.
         ENDIF.
       ENDLOOP.
    note:- if  it is correct give points

Maybe you are looking for

  • Pci slot x1 not detecting card

    Hi I have An msi gaming 3 mobo. I've recently purchaced a pci e x1 sata controller (jmicron) to solve a incopatbity with my ssd if I install it to the first pcie x1 slot it won't show in the device manager in win7. So I installed it to the pcie x8 sl

  • Combing functions in an SQL query

    I am trying to create a query on the CRD1 table to retrieve a list of business one addresses and I need to show the address type. The address type however is either "B" or "S" and I need to translate these values into "Bill-to" and "Ship-to". I can a

  • Is it possible to play video directly from my GoPro2 using the connector kit and memorycard?

    Hi, I have the new GoPro2 action cam and a Ipad2. I bought the connector kit for memorycard and USB. I was hoping that I just could take the memorycard and upload the videos to my Ipad2, but I was wrong. I don't work! I have been filming on the highe

  • Problem in displaying PDF using JSP

    I stream a PDF to the browser in my JSP. I set the content type in response header to "application/pdf". The pdf gets displayed most of the times. Sometimes the browser displays some junk characters. Need help in preventing the browser displaying the

  • Word 2011 crashes when using "save as" in mountain lion

    Dear fellow Mac-users, I have recently re-installed Mountain Lion 10.8.3 (I stepped down from Mountain Lion to Lion due to exchange server frustrations), and I have noticed that it is completely impossible to use "save as" without crashing word 14.3.