Update Asset details in AIBU transaction

Hi,
      If an asset has four invoices and these are settled to another asset using AIBU, the standard program settles the sender line items to the receiver as one line item in the receiver.
      Our requirement is  to settle each line item in the sender as a separate line item in the receiver. For that we are trying for BADIs,EXITS or Ehancement points.
     We were able to update the asset accounting details using the BADI,BADI_FIAA_DOCLINES but we were not able to update asset details( transaction type, assignment field etc) in ANEP,AUAS tables. The transaction type is changing and defaulting to 345(for sender) and 346(for receiver).  Please tell me how to achieve this.
Thanks in Advance,
Deepthi

Hi,
Thanks for reply.
I need to achieve my requirement through coding. I have created few enhancement spots and its working fine now. But accounting details were not updating correctly.  I need to update them(ACCIT table) with Assingment, item text etc in the BADI BADI_FIAA_DOCLINES. Could not find the link to update the reciver entries with sender details aptly. Please suggest me the solution for this.
Thanks,
Deepthi

Similar Messages

  • Getting Express document 'Update was Terminated' in Call Transaction AS02

    Hi All,
       I've written BDC for changing the Asset Master using Call Transaction Method. After the Call Transaction it it showing me the Success message that 'The Asset has been Changed'.But it is not reflecting in the Database table.When i navigate back from th e screen I'm getting the Express document as 'Update was terminated'.
    Please help me in this regard.
    Thanks and Regards.

    Hi,
    have you used commit statement after the call transaction statement, or if there is any enhancement for AS02 transaction remove the commit work statement from the enhancement.
    Regards, Qamar

  • Message no. AK005 - Asset is investment measure, transaction type not allow

    Dear All,
    I am getting following error while transfering Investment AuC to Main Asset.
    Message no. AK005 - Asset is investment measure, transaction type not allow
    I searched the Forum and got some input.., but in that I have a clarification.
    Please see my doubt and the forum input.
    Internal Order as Investment Measure:
    Can you explain me Step 10. Settle the amounts to Main Asset from AuC(Prcg type: Full) - KO88 once again.
    How we can give the Receiver Main Asset master in KO88. In KO88 we can only provide the Internal Order. But that Internal Order is already settled to AuC in Step 8.
    Please guide me.
    Thanks.
    Regards,
    nms
    Re: Settlement of cost center to final asset ?
    Posted: Oct 27, 2009 11:40 AM
    Hi,
    Are you doing any settlement using the AUC asset ?
    Normal practice is to Create an Auc Asset and settle cost to Auc. Once the asset is ready for use, finally settle the Auc to final asset.
    This can be done in two ways like - line item settlement / investment measure.
    Below are steps in two scenarios :
    Internal Order as Investment Measure:
    1. Define the AuC Asset Class (with investment measure) - OAOA
    2. Define the Asset Class u2013 for Main Asset - OAOA
    3. Define Investment Profile - OITA
    a. Assign the AuC Asset Class (Step-1) in the investment profile
    4. Assign Investment Profile to Model Order - OITA
    5. Define Order Type (Investment) - KOT2
    a. Settlement Profile - OKO7
    b. Maintain Allocation Structures - OKO6
    c. Planning Profile - OKOS
    d. Budget Profile - OKOB
    6. Create an Internal Order - KO01
    a. With the Investment Profile (Step-2)
    b. AuC automatically created by the system using Asset Class given in the Investment Profile
    7. Post the amounts to IO - FB01
    8. Settle the amounts to AuC from IO (Prcg type: Automatic) - KO88
    9. Create the Main Asset - AS01
    10. Settle the amounts to Main Asset from AuC(Prcg type: Full) - KO88
    AuC using Line Item Settlement:
    1. Define the AuC Asset Class (with Line Item Settlement) - OAOA
    2. Define the Asset Class u2013 for Main Asset - OAOA
    3. Define Order Type (Overhead) - KOT2
    4. Create an AuC-Asset (using Step-1 Asset Class) - AS01
    5. Create an Internal Order - KO01
    a. Assign the AuC u2013 Asset in Settlement Rule in IO
    6. Post the amounts to IO - FB01
    7. Settle the amounts to AuC from IO - KO88
    8. Create Main Asset (using Step-2 Asset Class) - AS01
    9. Assign the Main Asset in IO (Step-5) - KO02
    10. Settlement AuC u2013 Line Item List - AIAB
    11. Settlement AuC - Receiver - AIBU
    VVR

    nms,
    Your message is not very clear - while you have mentioned at what stage are you getting the above-mentioned error message, you haven't mentioned exactly what you were trying to do. The fact that you are getting this error is a straight-forward indication that you are attempting to do something that SAP does expect.
    However, answering your query about how to use KO88, you have to settle the AuC to a FA (fixed asset, with asset class other than AuC ), as that will close the open AuC, transfer the value from the AuC to the FA and from this point onwards, all transactions will happen to this FA. Your statement "in KO88, we can only provide the Internal Order" is incorrect.
    Hope this helps.
    Regards
    Gulshan

  • BAPI or Function Module to Update Vendor Details

    Hi Friends,
    I need to update Vendor Details (Street) in my program using a BAPI or Function Module. Is there such thing available which can do my job?
    Regards,
    Raju...

    Hi,
    Thanks for the Reply.
    I tried to use the FM Vendor_Update... It updates the adrress field in the table LFA1. But it is not reflected in the transaction FK02.
    So, Is there any thing that I have to do after the FM Vendor_Update is called so that the address field is also get reflected in address field of FK02 transaction.?
    Regards,
    Raju...

  • Where to find company related details in the transaction Me42

    I am reteriving the address like this Use table EKKO find the Bukrs field,use this field to find the adrnr field from the table ADRC. From adrc reterieve the values.
    Where do i find the company related details in the transaction Me42

    Hi,
    In Tcode: ME42, enter the request for quotation number (RFQ) and press enter. System will take you to 'Item Overview' screen. From menu select 'Header' -- 'Details' or press F6. Then the system will take you to 'Header screen' there you can see the 'company code' after RFQ number field.
    Or
    Directly from Tcode: ME42, enter the request for quotation number,then from menu select 'Header' -- details. Here you can have the company code field.
    The data for company here too will get updated in table and field EKKO-BUKRS.
    Hope this helps.
    Thanks,
    Viswanath

  • RG1 Updation with Wrong Classification - J1i5 Transaction

    Dear All,
    We are facing a problem related to RG1.
    User has wrongly updated RG1 register in J1i5 Transaction with classification " IDE" (Removal on payment of duty for export under no bond) . Record should have been updated with classification " IWE" (Removal without payment of duty for export under bond).
    Please advise how to change the classification for RG1 so that RG1 register comes correctly.
    Kindly help.
    Regards,
    KC Choudhury

    u201CRG1 there is no special cases for domestic and export, it is only the report to update part 1 entries (quantities) for the receipts and Issues for the finished product.---SAP standardu201D
    Even though excise invoice type is also maintain properly in J1IIN,
    for example: while updating of RG1 in J1I5 with classification IDH all entries is coming for updation including domestic sales, export sales, deemed export etc,
    After extracting the registers both with IDH and IWE differently, the extracted fille for IDH shows the qty under Removal from the factory On Payment of duty but with Zero excise values for Letter of undertaking and For deemed values coming but the both the case excise duties are coming in Rg1 register.
    and the IWE extract fils shows the Without payment of duty under Exports under this qty is updating and without  Values and Excise duties are coming in Rg1 register
    IWE Removal without payment of duty for export under bond
    Classification for Export in LoU - Letter of Undertaking ,BOND and DEEMED will be IWE classification .
    When you update the register in J1I5 ( Comp Code / Plant / Exc Group / Posting date / Classificaiton is required fields).
    based on selection system fetch all the material documents.
    Provide logic to the ABAPer,
    " first fetch all the Material documents & year from MKPF table= Header: Material Document
    now fetch the excise details from Excise header / item tables where (Excise transaction type / ref doc1 & ref indicator 1 for Excise details ) &  and
    (Excise transaction type / doc yr / doc no- from Excise header) as search criteria store in Internal table
    now delete the records from internal table, where classification equal to IDH- & Export indicator not equal to "----"(blank)
    then you will find the list of only domestic sales.
    (similarly for each classification, this coding should be incorporated in Tcode:SE37: J_1I7_USEREXIT_J1I5_VALIDATE).
    Is it valuable information or not.. this is i have faced in my ex client .. likes points

  • Can not update payment details

    I've been a CC subscriber since it began and last month funds were not in my account for the monthly subscription. Since then I have had an email to ask me to update my payment details. I know I probably shouldn't of done but I've waited until the last minute to do this. I have two days to make a payment so decided to update my details. I went to My Account - Plan Information - Update Payment info. I was asked for my password which I entered then proceeded to enter my payment details which are the same as previously. Then when you press save, nothing. Nothing happens. A message is at the top of page saying -
    We are still processing your payment.  Please check back in a few minutes or contact Customer Support.
    After I waited for an age, I checked back and the payment information hasn't changed. It has my card number checked out except the last 4 digits. My name isn't there and it says Amsterdam as my city which it isn't. I must of filled in the information 10 or more times and it doesn't change.
    I've tried Customer Services- chat and spoke to someone who said I will receive a call back. Still no call back after 3 hours when  I was told 10-15 mins.
    Any ideas what's going on? Is there any customer support I can contact directly?

    Change Payment Information
    Settings>iTunes and App Stores>Apple ID>View Apple ID>Sign-in>Payment Information

  • Dump when trying to reverse asset credit memo in transaction ab08

    Hi all!
    I am trying to reverse an asset credit memo in transaction ab08 but I get runtime error - short dump. Runtime error: mesage-type_x.
    And the following text is given:
    Message: GLT0/000
    Program: SAPLGLT0
    Termination point: AWSYS
    Anyone that knows what to do?
    Many thanks in advance!

    Hi
    Please forward this query to the ABAP guys in your firm.
    Rgds
    Zub

  • Error while updating bank details through ESS

    Hi All,
    While updating banks details through ESS, " change in the payroll past not possible".
    I have checked IT0003 and noticed that accounted to  31.08.2014.
    I assume this might be causing the error. Could you please advice with your expertise.

    Let me explain how it happens and why we don't allow change of bank records in past 1959820 - ESS: Wrong delimit of TC3 records For other scenarios where ESS behavior is similar to PA30 :
    An example i share
    For other scenarios where ESS behavior is similar to PA30 :
    Current date < End date of current payroll period
    Current date > Accounted to date in IT0003
    Payroll status: released for payroll Got error when reviewing the editin
    -g.
    Error: Online maintenance is locked in payroll area QM
    Current date < End date of current payroll period
    Current date < Accounted to date in IT0003
    Payroll status: released for correction Got error when reviewing the edi
    -ting.
    Error: Change in the payroll past not possible
    Current date < End date of current payroll period
    Current date < Accounted to date in IT0003
    Payroll status: released for payroll Got error when reviewing the editin
    -g.
    Error: Online maintenance is locked in payroll area QM
    When the infotype 0009 is modified, the system is regrouping data for the infotypes which are checked releavnt according to the table T582G. Retroactivity is checked via V_T582A In view V_T582A for infotype 0009 you will see, I guess, that the field 'Past entry all.' is maintained with an 'E'. This means that it is not allowed to maintain any infotype 0009 record for the payroll past. The important day for this check is the last day of the last accounted period. Retroactive change of infotype 0009 is not permitted as the bank transfer is already done. This is the reason why this infotype can not be changed retroactively. For bank records end user must not be allowed to maintain past date records and should not be allowed to change any other detail of record when payroll for that period is already run. for e.g. if current date is 26/11/2013. Then end user must not be allowed to edit other bank record effective from 25/11/2013. We should not allow end user to edit record effective from 27/11/2013 because payroll is already run for that period. If user is allowed to change then data maintained in infotype 9 and information send to payroll may be different. You can use BAdi HRXSS_PER_BEGDA,to default the next payroll period

  • Error at the time of PO creation - Asset is investment measure, transaction

    Hi all,
    When am assigning the Investment Order (order for AUC) against Asset at the time of creation of Asset PO, the system throws the following error:
    Asset is investment measure, transaction type not allowed
    Message no. AK005
    Diagnosis
    Asset 1700000 0 that is to be posted is an investment measure. You are not allowed to post transactions that affect acquisition value using the current transaction.
    Procedure
    Check the asset and transaction type 120.

    System expects you to enter the Investment Order rather than the asset as account assignment object in the PO.
    Regards
    Sreenivas

  • Asset  Details report  ,  AA-MM-FI link ?

    Dear All,
    I have to make a report for asset details (line item wise).
    In this report i have to display asset with G/L  no, purchasing doc no , service document no, qty, value etc.
    This report can be develop with the help of AA-MM-FI integration.
    i m not getting the link between MM-FI-AA.
    In my report G/L account no, Asset No. , Assest Class will be given as input.
    Can u help me to get releted table and links for AA-MM-FI ?
    points will be rewarded.
    Thnx in advance.
    Ashish Gautam

    use tables:
    anla field : posnr
    anlz fields: CAUFN, IAUFN, IPSNR
    and table EKKn for MM: fields anln1 and anln2
    A.

  • BAPI to update customer details

    Hi All,
    What is the BAPI that we should use to update customer details into SAP??
    What are the mandatory fields we need to update customer record in SAP?
    Thx
    Navin

    Hi,
    1)
    I tried BAPI_CUSTOMER_CHANGEFROMDATA1, imported to XI. But it has the following Parameter Names and corresponding Associated Types respectively:
    PI_PERSONALDATA, PI_PERSONALDATAX, PI_OPT_PERSONALDATA, PI_OPT_PERSONALDATAX, PI_COMPANYDATA, PI_COMPANYDATAX, PI_OPT_COMPANYDATA, PI_OPT_COMPANYDATAX
    BAPIKNA101_1, BAPIKNA101_1X, BAPIKNA105, BAPIKNA105X, BAPIKNA106,BAPIKNA106X, BAPIKNA105, BAPIKNA105X.
    For the above 8, I am getting following message in XI: Schema for type urn:sap-com:document:sap:rfc:functions: BAPIKNA106 (Category Data Type) not found
    2) SD_CUSTOMER_MAINTAIN_ALL
    It is not Remote-enabled module
    3) BAPI_CUSTOMER_EDIT
    I dont I can update details of the customer...I am not sure...Because it has only Customer ID in request parameters....If I want to change name or address...how would I send them in Request  to BAPI??
    Thx
    Navin

  • Problem: trying to update all detail rows on pre-commit (MASTER DETAIL FORM

    Hi:
    I got a MASTER DETAIL form... and I need to update every detail row of this form (if the master was updated) before commiting the changes. the problem is that i cannot do that for instance in PRE-COMMIT or ON-COMMIT... it's an "illegal operation". I achieved part of it by coding KEY-COMMIT... but that did not solve the all problem. first take a look of the kind of code i want execute before commiting.
    form trigger key-commit code is is somehow like this:
    DECLARE
    tot_line NUMBER (3);
    line NUMBER (3);
    begin
    IF NAME_IN ('system.form_status') = 'CHANGED'
    THEN
    GO_BLOCK ('DETAIL');
    LAST_RECORD;
    tot_line := GET_BLOCK_PROPERTY ('DETAIL', current_record);
    FIRST_RECORD;
    line:= 1;
    LOOP
    :detail.quant := :detail.quant + 1;
    EXIT WHEN line= tot_line;
    next_record;
    line:= line+ 1;
    END LOOP;
    FIRST_RECORD;
    GO_BLOCK ('MASTER');
    END IF;
    COMMIT;
    end;
    The problem is for instance when the users close form in the "X" button (right top, near minimize form) ... If they do that Forms ask "Do you want to save changes?" ... and with this i do not execute the update of the detail rows...
    But there are other situations when this happens... for instance if EXECUTE_QUERY when i change a record...
    Anyone help?
    Joao Oliveira

    Use PRE-UPDATE trigger (Master block).
    begin
    update <detail_table>
    set quant + 1
    where <detail_table>.<relaition_column1> = :<Master_block>.<relaition_item1>
    and <detail_table>.<relaition_columnN> = :<Master_block>.<relaition_itemN>
    and <detail_block_WHERE>;
    EXCEPTION WHEN OTHERS THEN NULL;
    end;

  • Control multiple updates and queries within one transaction in JPA

    Hi,
    I have a question regarding control multiple updates and queries within one transaction. We are using EclipseLink 2.3.1. With below code, will I be able to:
    - have all insert, update, select queries committed in one transaction;
    - queryGetBalance will return the latest OrgBalance after update;
    - if one fails, everything rolls back.
    Thanks!
    Jeffrey
    PS: I realized that I cannot use em.getTransaction().begin() and em.getTransaction().commit(), since I am using JTA.
    =============
    @PersistenceContext(unitName="Test")
    EntityManager em;
    em.setFlushMode(FlushModeType.COMMIT);
    newTransaction.setAmount(1000);
    newTransaction.setType("check");
    em.persist(newTransaction);
    orgAudit.setUpdateUser("Joe")
    orgAudit.setupUpdateTime(time);
    em.merge(orgAudit);
    Query queryUpdateBalance = em.createQuery("update OrgBalance o set o.balance = o.balance + :amount where orgId = :myOrgId");
    queryUpdateBalance.setParameter("amount", 1000);
    queryUpdateBalance.setParameter("myOrgId", 1234);
    Query queryGetBalance = em.createQuery("select OrgBalance o where o.orgId = :myOrgId");
    queryGetBalance.setHint("javax.persistence.cache.storeMode", CacheStoreMode.REFRESH);
    queryGetBalance.setHint("javax.persistence.cache.retrieveMode", CacheRetrieveMode.BYPASS);
    queryGetBalance.getResultList();
    em.flush();
    Edited by: JeffreyW on Dec 12, 2011 10:34 AM

    Yes, the operation will be in a single transaction, assuming you are using a JTA managed SessionBean and the code is part of a SessionBean method.

  • Asset Purchase through FBCJ transaction

    Hi
    First of all I wanted to know that is it possible to Asset Purchase through FBCJ transaction.
    If yes then what are the configuration settings I have to take care.
    Appreciate your inputs on this.
    Regards,
    Deepak

    Hello Deepak,
    The asset posting is not supported in standard R/3 systeM through transaction FBCJ. I have verified this with the relevant SAP Developer.
    Regards
    Ray

Maybe you are looking for