Look up account assignment via BAPI/RFC

Hello,
I would like to look up Account Assignment data from an external application to post the a similar invoice every month using the bapi BAPI_INCOMINGINVOICE_CREATE. I cannot find a RFC FM or BAPI available. Can someone suggest an example FM or method so I can retrieve this information? Which tables are used?
Thanks,
Aaron

HI,
Try to find some enhancement for BAPI_INCOMINGINVOICE_CREATE1 to achieve your requirement.
Regards,
Sid

Similar Messages

  • Account assignment while creating reservation using bapi

    Hi , I am creating reservation using BAPI  (BAPI_RESERVATION_CREATE1), but when I seeing the open reservation account assignment field is blank, could any on ehelp me on this, i.e what parameter I am missing in BAPI for account assignment.
    best regards
    pankaj

    Hi,
    there is not field to assign the account assignment in Bapi..
    you need to assignt he account manaually.
    Assign account assignment category.
        SELECT * FROM eban INTO TABLE lt_eban WHERE banfn = w_banfn .
        IF sy-subrc = 0.                                     
          LOOP AT lt_eban .                 
            lt_eban-knttp = 'J'.    "assign your own account categeory
            MODIFY eban FROM lt_eban.
            COMMIT WORK AND WAIT.                            
          ENDLOOP.
    endif.
    Regards,
    Prabhudas

  • Revoked SES with account assignment distributed by quantity cannot be modified or deleted

    Hi All
    I have users who are posting service entry sheet with the account assignment distributed
    on a quantity basis across multiple maintenance orders.  The acceptance works perfectly but we are having problems if a correction or cancellation is required.
    The service acceptance can be revoked successfully but afterwards it is not possible to change the service quantity or to delete the service entry sheet.  When we try we receive an ABAP runtime error:
    Runtime Errors         COMPUTE_BCD_OVERFLOW
    Exception              CX_SY_ARITHMETIC_OVERFLOW
    Date and Time          08.07.2014 14:25:12
    Short text
         Overflow during the arithmetical operation (type P) in program
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "CL_EX_MMSRV_ACC_DIST_SAP======CP" had to be
          terminated because it has
         come across a statement that unfortunately cannot be executed.
    What can you do?
         Note down which actions and inputs caused the error.
         To process the problem further, contact you SAP system
         administrator.
         Using Transaction ST22 for ABAP Dump Analysis, you can look
         at and manage termination messages, and you can also
         keep them for a long time.
    Error analysis
         An exception occurred that is explained in detail below.
         The exception, which is assigned to class 'CX_SY_ARITHMETIC_OVERFLOW', was not
          caught in
         procedure "IF_EX_MMSRV_ACC_DIST_SAP~DISTRIBUTE_ACC_ASSIGNMENTS" "(METHOD)", nor
          was it propagated by a RAISING clause.
         Since the caller of the procedure could not have anticipated that the
         exception would occur, the current program is terminated.
         The reason for the exception is:
         An overflow was discovered in an ongoing arithmetical operation with
         operands of type P. Possible causes are:
         1. The result field of type P is too small for the result.
         2. The result or a intermediate result has more than 31 decimal places.
    This problem does not occur if I run the same scenario any of the following variations so I'm confident the problem is related to the account assignment distribution by quantity:
    Single account assignment
    Distributed account assignment via percentage
    No service acceptance/revoke has been posted
    There are ways to get around the problem but I'm trying to find a SAP Note that may be relevant.  I haven't had any luck yet.  Does this problem ring a bell with anybody who might be able to point me towards an appropriate note?
    Thanks
    Robyn

    Hi,
    Kindly refer the below OSS Note, which explains the reason and correction for the error which you are facing.
    1715475 - MAA2: ML81N/MIRO: false postings for Service PO

  • CO account assignment on a GR/IR Account (Balance sheet Account)

    The GR/IR account line item on Goods Receipt(GR) documents picks up the account assignment ( WBS Element, Cost center or an Order) from the Purchase order account assignment.
    The GR/IR account is defined as a Balance sheet account. So it is abnormal to pick up a CO account assignment on the GR/IR account line item on a Goods receipt or Invoice document.
    I shall appreciate if some expert here lets me know if there is a fix(an OSS note)  in order for the GR/IR account NOT to pick up a CO account assignment on the subsequent documents(Goods receipt and Invoice) from the Purchase order.
    Thanks in advance.
    Vijayanth

    Hi Vijaynath,
    If you have the modules like CO, PS, FM, IM and activated the above modules, at the time of the GR system compulsarly will ask for account assignment. Because PO might be crated for a project or cost center. In the above 2 cases system will look for account assignment.
    I guess system picksup the cost center or WBS against the Raw Material account but not for the GR/IR clearing account. Please check it.
    For the raw material and asset accounts you can create statistical cost elements.
    Thanks & Regards,
    shashi kanth.

  • Account Assignment category in Limit order confirmations in SRM 4.0

    Hello
    We are using SRM 4.0 in extended classic scenario.
    When entering the confirmations for limit orders in SRM, users add the limit/ service items.
    After SP14 recently, the " account assignment category" is not set in the added lines , same as the
    PO .
    Rather the account assignment category is the first one from the available list.
    Any suggestions / notes for this issue?
    Regards
    Kedar

    Hi,
    1. In customising (SPRO) in R/3 you need to create the corrpesponding account assignment category with the relevant fields specified.
    2. In customising (SPRO) in SRM you need to create the new account assignment category and specify it as active plus the backend system reference. You can then assign the cost assignment types that are applicable and those that are mandatory.
    I haven't got access to a system at the minute so can't give you the menu paths in customising but for R/3 it is under Materials Management > Purchasing and then look for Account Assignment. For SRM it is in Cross Application Components and then look for Account Assignment.
    Regards
    Chris

  • Meaning of error AA449 Auxiliary account assignment to asset not possible

    We are having problem posting asset entries created by GJT3 - JVA Asset Retirement.  Entries process successfully through cutback GJCB but post of asset entries fails with error AA449 - Auxiliary account assignment to asset not possible. 
    KOSTL is activated for account assignment via Financial Accounting -> Asset Accounting -> Integration with General Ledger -> Additional Account Assignment Objects -> Activate Account Assignment Objects. 
    I added KOSTL for all TTypes in Specify Account Assignment Types for Account Assignment Objects (ACSET).  This did not fix the problem.
    Can anyone help please?  I have searched all forums and OSS on error AA449 and have found no solution.
    Steve

    Hello Steve
    I am not currently accessing SAP system, so mentioning specific T codes is difficult.
    However, in SAP menu, go to SAP>FI>Asset Acctg>Master records>display
    Now when u check the record, you can make out if cost assignments are completed
    Now coming to dep area checking, you need to go to IMG > FI>AA>Lean implementation> depreciation area settings.
    I amy be wrong, but pls recheck
    assign pts if useful

  • Customized Account Assignment Category In SRM 4.0

    Hi All,
    We are using SRM 4.0 & SAP R/3 4.6c in classic scenario. we need to map account assignment category (Balance Sheet) in SRM which is having fields Profit Center (mandatory), G/L account (optional) & partner (optional).
    I want map this account assignment category in SRM. Please tell me how to do this.
    Help me out in this.
    Thanks & Regards,
    Ajay Pakhale

    Hi,
    1. In customising (SPRO) in R/3 you need to create the corrpesponding account assignment category with the relevant fields specified.
    2. In customising (SPRO) in SRM you need to create the new account assignment category and specify it as active plus the backend system reference. You can then assign the cost assignment types that are applicable and those that are mandatory.
    I haven't got access to a system at the minute so can't give you the menu paths in customising but for R/3 it is under Materials Management > Purchasing and then look for Account Assignment. For SRM it is in Cross Application Components and then look for Account Assignment.
    Regards
    Chris

  • Problems with multi-account assignment in batch-input program

    Hi everybody!
    I'll create purchase orders with multi-account assignment via batch input.
    When processing dynpro SAPMM06E 0113 I get the message:
    "Batch-Input data for dynpro SAPMM06E 0113 are not available".
    But all data are already filled in the accounting fields. 
    There is no way to go back to the position overview.
    Here you can see the batch input coding of the multi-account assingment:
         PERFORM dynpro USING: 'X' 'SAPMM06E'        '0113',
                                ' ' 'BDC_CURSOR'      'EKKN-TWRKZ',
                                ' ' 'BDC_OKCODE'      '/00',
                                ' ' 'EKPO-WEPOS'      'X',
                                ' ' 'EKPO-WEUNB'      'X',
                                ' ' 'EKPO-VRTKZ'      wa_ekko_ekpo-vrtkz,
                                ' ' 'EKPO-TWRKZ'      wa_ekko_ekpo-twrkz.
          PERFORM dynpro USING: ' ' 'BDC_CURSOR'      'EKKN-ANLN1(14)',
                                ' ' 'BDC_OKCODE'      '/00',
                                ' ' 'EKPO-WEPOS'      'X',
                                ' ' 'EKPO-WEUNB'      'X',
                                ' ' 'RM06E-MKNTM(14)'  ekkn_menge2,
                                ' ' 'EKKN-ANLN1(14)'   wa_ekko_ekpo-anln1,
                                ' ' 'EKKN-ABLAD(14)'   wa_ekko_ekpo-ablad,
                                ' ' 'EKKN-WEMPF(14)'   wa_ekko_ekpo-wempf.
                               ' ' 'BDC_SUBSCR'      'SAPLKACB'.
    *(this is repeated for every accounting position)
         PERFORM dynpro USING: ' ' 'BDC_CURSOR'      'EKPO-VRTKZ',
                               ' ' 'BDC_OKCODE'      '=AB',
                               ' ' 'EKPO-WEPOS'      'X',
                               ' ' 'EKPO-WEUNB'      'X'.
    Regards,
    Anke
    Message was edited by:
            Anke Chittka

    Hi,
          1 .First record properly depen upon ur requirment,
          2. Test ur recorded code
          3. Note all OK-Code ( when u press any button) * this is important
          4. After that split ur recorded coding dep ur requirment (if u know all OK-Code u can split the recorded coding)
          5. call ur splided coding in ur prg.
    i am having coding for PO but this is Dep my requirment

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

  • How to update Assignment field in Accounting Document through BAPI ?

    I need to change Assignment field in already posted accounting document through bapi or some other automatic method. Please tell me exactly which bapi I should use and how can I pass the changed assignment field?

    Hey,
    I couldnt find any BAPIs which update an accounting document. I think the safest way is to record FB02 and use BDC/Call Transaction.
    -Kiran
    *Please reward useful answers

  • An error occurred in system during account assignment RFC way

    Hello Partners.
    I created a function ( FM ) type RFC and this FM call CRM_ORDER_MAINTAIN .
    The function creates Service Reques 'BUS2000223'.
    When I test the function locally, All is ok.
    But when the function is called from SAP IS-U, I have a problem
    The operation is created but with an error:
    An error occurred in system XXXXX during account assignment
    Errors occurred when assigning an account assignment object to a business transaction
    CRM_ORDER_MISC 060
    CRM_OFI 002
    I don´t have standard integration with the service request with sap IS-U. 
    Regards.
    Roberto

    Hi Manoj
    You need to assign the Controlling object type and as per the standard there are 3 controlling object types those are,
    1) Single object Controlling --> The service order replicated to ECC creates a Internal order and finally cost and revenues are posted or settled in the cost center
    2) Mass Object Controlling --> The cost and revenues of the service order are directly posted to CO-PA(Cost & Profitability Analysis)
    3) No Controlling
    Based on the business requirements you need to define the Controlling obejct,you will find the IMG customization path in ECC as follows,
    IMG>Integration with other mySAP components>CRM>Settings for Service Processing>Controlling integration-->Establish Controlling type, Controlling scenario & Controlling level.
    I hope this helps.
    Thanks
    Arun

  • Account Assignment is not populated while creating service PO using BAPI

    Hi All,
    I am creating a service PO using BAPI_PO_CREATE1 and Its creating PO, But when I go to ME23n and check Account Assignment in Services then Its empty.
    Please help me as I am not able to understand what could be the problem...
    Thanks & Regards,
    Prabhat Pandey

    Thanks for your most valuable answer.
    Regards,
    Prabhat

  • Account Assignment Group for Customer........

    Hi Experts,
    We have created few new account assignment groups as per our customer requirement.....now if we want to update those new AAG for the already created documents like open sales order,sale order with delivery & open billing,how to proceed with that?.....any transctions do we have to execute this?.........Looking forward for your reply..........
    Regards,
    S.Kumar

    Hi,
    You can change the account assignment group in completely open orders via tcode "MASS" by selecting object type BUS2032.
    since the account assignment group will be picked from sales order, need not to be changed in open delivery or billing.
    Also for partial processed order would advise pls do not change the account assignment group. Another option could be to close the open orders and creat equivalent qty new order with correct account assignment group.
    Pls check & revert.
    Regards
    Sanjay

  • Update Parked Non PO invoice - FBV2 functionality via BAPI or FM not BDC

    Good day all,
    after searching many days, I have found many threads similar to this request but none have been properly answers.  My scenario: I need to change a header field (ZUONR) and account assignment related fields (KOSTL, AUFNR, etc) in the document items.
    I have tried many FM for this but can't seem to overcome the fact that parked, non-po invoices have no entry in the BSEG table.  I have progressed a long ways with the BAPI
    PP_CHANGE_DOCUMENT_FBV2_ENJ
    But I get an error message:
    No item information transferred into Accounting
    Message no. RW002
    Diagnosis
    The interface into Accounting requires:
    Header data
    Item data
    Currency data
    The item data is missing.
    System Response
    Processing of the data in the Accounting interface is not possible.
    Procedure
    This is a system error of the application which was called up.
    This message seems to derive from a missing set of field what should be coming from the FM
    AC_DOCUMENT_CREATE
    I can't seem to debug there the internal table T_ACCIT should be getting it's values
    Please help troubleshoot this.
    Cheers
    M

    SG- Thank you for the reply.
    I have been playing with BAPI_INCOMINGINVOICE_PARK and I'm not sure if it is doing exactly what we want, but it is something that I have considered in the past. I plan on looking into BAPI_ACC_INVOICE_RECEIPT_POST this morning, hopefully that will provide some more for us.
    If possible I'd like to avoid BDC sessions because this program could hypothetically interface with multiple SAP systems with different configurations.
    I will check into those FM's and thank you very much.

  • 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

Maybe you are looking for

  • Problems setting up testing server CS5 with existing PhP site copied to hard drive

    A couple of years ago I dabbled in CS3 & PhP, but haven't touched it since 2009.  I still have WAMP loaded on my machines.  I'm now in a work situation where I was asked to see if I could make some simple copy updates to sites written in PhP.  I copi

  • Can no longer print

    all was good on tuesday but on wednesday could not print, either wireless or thru USB. Originally said printer was offline when it wasnt. Have wound up completely reinstallig printer....says install went fine, test report shows connected although low

  • How to use sql in region footer

     

  • Redo log files are not applied in DR of primary

    Hi All, I have a DR database of primary on QA Serevr. The Redo log files are not properly applied in the DR database. The Oracle version is 11.2.0.1 Some of the files get shipped and applied to DR database automatically but not all. SQL> select statu

  • FBRA -should open correspondence should be deactivated

    Hi Friends, when i am resetting a document iam getting the above message please advise what is this correspondence here iam resetting a vendor line item. Thanks, SRINI.