BAPI/Function to change Accounting Document

Hi All,
I have requirements to change Assignment field and text field in the accounting document for each item.
Anyone know BAPI/Function to do that?
Thanks,
Victor.

Hi Sandipan,
I can't find Change accounting document BAPI from the link that you gave.
Manually, how user change  the text and assignment fields is using FB02 t-code and double click each line item, from there we can change the text and assignment fields.
I tried to record those steps and will create BDC program for that. But the problem is for each line item the subsequent screen can be vary and i think it depends on the G/L account that tied for each line item.
So i don't think BDC is a good idea to do this.
Any suggestion guys to do this?
Best Regards,
Victor.

Similar Messages

  • MV50AFZ1 - Change Accounting Document During PGI

    Using MV50AFZ1 User - Exit ,can i change accounting document during PGI.I want to change the Business Area.
    If not ,please tell me which User Exit can help me in this.
    Thanx,
    Viru

    Hi
        business add-in LE_SHP_GOODSMOVEMENT for ur requirement
    Discuss with the abaper and proceed according to ur requirement and be very specific so that it should not influence the others.
    This badi during processing of PGI u can change the data related to accounting document.According to ur requirement the business area can be changed during PGI.
    Edited by: sameer basha on Mar 25, 2009 7:41 AM

  • Is there any Standard BAPI to handle  ' Change Parked Documents' .

    Hi,
      Is there any Standard BAPI to handle  ' Change Parked Documents'  or
      Transanction FBV2.
      Please Send reply to My mail id : [email protected]
      Please send ASAP.
    Thanks & Regards.
    Vanitha.

    hi,
    I think this link will help you to find that.
    list of all bapis:
    http://www.planetsap.com/LIST_ALL_BAPIs.htm

  • Change Accounting Document FB02 without BDC

    Hi All,
    I want to created ABAP program for Change Accounting Document Information like transaction FB02.
    but i dont want to use BDC, cause i don't want to give user authorization FB02,
    Can somebody give me the solution.
    Best Regards,
    Ferry

    Hi,
    Use the concept of Transaction variants.(Transaction SHD0) You need not copy the standard program for FB02, Just create a transaction variant for FB02 and assign a custom transaction code(also called variant transaction) to access the transaction
    Also you can assign authorizations for the custom transaction.
    Using transaction variant, you can hide some fields(business critical), input disable, make mandatory and default some values on the screen fields of FB02.
    Also note: If you active the transaction variant as Standard variant, then when ever you call FB02, the transaction variant is called with the screens(of the transaction variant)
    Documentation for transaction variants is available in SHD0 -> Application tool bar -> icon
    Hope this helps
    Regards
    Shiva

  • BAPI to Park the Account document

    Dear All,
    I need a BAPI to PARK an account document. Will you please help me out in finding the exact BAPI for this.
    Thanks in advance,
    Ranjan

    check this BAPI and its documentation
    <b>BAPI_INCOMINGINVOICE_PARK</b>
    regards
    Prabhu

  • Change Accounting Document header text

    I want to change the Accounting document header text (BKPF-BKTXT).
    I dont want to use Call transaction for this.
    Please tell me if there is any function module or BAPI available?

    >
    lavanya koduganti wrote:
    > I want to change the Accounting document header text (BKPF-BKTXT).
    Do you want to change the A/c'ing doc. header text for an existing doc? I think that CALL TRANSACTION would be easier. Why do you think otherwise?
    Any specific reason for this?
    BR,
    Suhas

  • BAPI/FM for Change Park Document

    Hi Experts,
    Is there any BAPI or FM to change PARK document (remove payment block).
    Please suggest,
    Regards,
    Kaustubh.

    Hello Kaustubh,
    I would like to suggest the following BAPIs:
    1) BAPI_INCOMINGINVOICE_PARK (parking invoice document)
    2) BAPI_INCOMINGINVOICE_CHANGE (changing a parked document),
    3) BAPI_INCOMINGINVOICE_POST (posting a parked document) and
    4) BAPI_PARKEDINVOICE_DELETE (deleting a parked document).
    Please refer to documentation of these function modules.
    hope this helps.
    regards
    Ray

  • Change Accounting document

    Hi All,
       I have to update Amount in Accounting Document. Is there any BAPI or FM availabe for it?
      One option is to reverse the accouting document and create a new one. But my requirement it to update the amount in the same accouting document.
    Thanks,
    Punit

    >
    punit.sap wrote:
    >     But my requirement is such, that I have to update the same accounting document.
    Your requirement seems poorly thought out.
    Has anyone talked to your auditors to get their opinion. When a document is posted, there is generally supporing documentation. If you change the amount, that documentation cannot be counted upon to support the data.
    If a document amount is changed, but the document had already been cleared, your accounting system will be a mess.
    Ask the person who gave you the requirements to think the process through fully.
    Rob

  • Urgent !!! How to change Accounting document using Billing document numb

    Hi experts,
    I have one requirement where I have to modify the accounting document using report. User will enter billing document no and I have to find out respective accounting document and change header data of it.
    I am very new to these modules so please give me solution.
    Thanks
    Sameer

    Hi
    Go to VF03- Display Billing document. From here you should be able to find the corresponding accounting document. Do note that there are only limited field such as text that is allowed to be changed once posted.
    Rgds
    Nadini

  • Urgent !!! How to change Accounting document using Billing document number

    Hi experts,
    I have one requirement where I have to modify the accounting document using report. User will enter billing document no and I have to find out respective accounting document and I have to change header data..
    I am very new to these modules so please give me solution.
    Thanks
    Sameer

    Hi,
    Get a record from BKPF where
    AWTYP = 'VBRK' & AWKEY = VBRK-VBELN .Once you get the accounting header document you can always fetch item level records from BSEG where bukrs =bkpf-bukrs
    BELNR = BKPF-BELNR & GJAHR = BKPF-GJAHR.
    I hope this helps,
    Regards
    Raju chiatle

  • BAPI/FM to update accounting document (FB02 transaction code )

    Hi ,
    Please let me know is there any BAPI/FM to update base line date and discount at header lelvel in accounting document
    (FB02 transaction code ) . basically to update vendor open invoices documents
    thanks
    Naveen

    Ok i finally figures out how to get around this issue.
    USe FM: PRELIMINARY_POSTING_DOC_WRITE

  • BAPI for copying an Accounting Document

    Hi,
    I have to copy an existing accounting document and create a New Accounting document.
    For creating i will use BAPI_ACC_DOCUMENT_POST.
    If there is a function module for this, please suggest.
    Please let me know how to copy the existing accntg document??
    Regards,
    Saurabh

    Hi Sourabh,
    try passing obj_key with your source document number in
    BAPI_ACC_DOCUMENT_POST.
    I am not sure whether that will work or not.
    The round about way will be select the document details FI tables and pass it BAPI_ACC_DOCUMENT_POST.
    Hope this helps you.
    Thanks,
    Arun

  • User Exit to change accounting document

    Hi all,
    Is there any user-exit in which we can change the accounting document data before it is created.
    I want a user exit which can update the accounting document during PGI for a delivery
    I was able to find the one in ehich we can make chages to the material document and iam sure that there should be one by which we can change the finance document
    Kindly help, this issue is urgent for me
    Regards
    Varun

    Check OSS Note# 415716 "User exits in delivery processing"
    There are several User exits to choose from, this document describes tham all.

  • BAPI/FM for change Material Document Posting date

    Hi Experts,
    Is there any BAPI/FM for change a material document posting date.
    Its urgnt.

    Hi You can check the source code of MB02.
    i doubt whether you can change the date , hope so you have to reverse the document asd post it again.
    check & use MB_CHANGE_DOCUMENT at your own risk.

  • BAPI to change Accounting Document Header

    Hi Folks,
    I have a requirement to go into an existing document (Billing Doc.) and change the Reference field (XBLNR).  The business requirement is specifically to modify the BKPF-XBLNR field to contain a new reference.  Is there a BAPI that can be used to modify accounting header details?  All the accounting BAPI's I can find seem to be for posting a new record.
    Points will be rewarded for helpful answers
    Cheers,
    Steve

    Hi,
    Check this example code
    TABLES: bapiache08, bapiacgl08,bapiaccr08, bapiret2.
    DATA: t_bapiache08 LIKE TABLE OF bapiache08 WITH HEADER LINE,
    t_bapiacgl08 LIKE TABLE OF bapiacgl08 WITH HEADER LINE,
    t_bapiaccr08 LIKE TABLE OF bapiaccr08 WITH HEADER LINE,
    t_bapiret2 LIKE TABLE OF bapiret2 WITH HEADER LINE,
    ct_bapiret2 LIKE TABLE OF bapiret2 WITH HEADER LINE.
    t_bapiache08-obj_type = 'BKPFF'. "BKPFF
    t_bapiache08-obj_key = '010000000000062005'.
    t_bapiache08-obj_sys = 'T90CLNT800'. "T09CLNT800
    t_bapiache08-username = 'SSI4'.
    t_bapiache08-header_txt = 'DOCUMENT POSTING'.
    t_bapiache08-comp_code = '1000'.
    t_bapiache08-fisc_year = '2005'.
    t_bapiache08-doc_date = '20050805'.
    t_bapiache08-pstng_date = '20050805'.
    t_bapiache08-fis_period = '07'.
    t_bapiache08-doc_type = 'SA'.
    t_bapiache08-compo_acc = 'FI'. "GL
    APPEND t_bapiache08.
    t_bapiacgl08-itemno_acc = '031'.
    t_bapiacgl08-gl_account = '160000'.
    t_bapiacgl08-comp_code = '1000'.
    t_bapiacgl08-pstng_date = '20050805'.
    t_bapiacgl08-doc_type = 'SA'.
    t_bapiacgl08-fisc_year = '2005'.
    t_bapiacgl08-fis_period = '07'.
    t_bapiacgl08-stat_con = 'X'.
    t_bapiacgl08-vendor_no = '1920'. "ACCOUNTING NO.FOR VENDOR/CREDITOR.
    t_bapiacgl08-item_text = 'LINE ITEM TEXT BY VIN'.
    APPEND t_bapiacgl08.
    t_bapiaccr08-itemno_acc = '031'.
    t_bapiaccr08-currency_iso = 'EUR'.
    t_bapiaccr08-amt_doccur = '2000'.
    APPEND t_bapiaccr08.
    CALL FUNCTION 'BAPI_ACC_GL_POSTING_POST'
    EXPORTING
    documentheader = t_bapiache08
    * IMPORTING
    * OBJ_TYPE =
    * OBJ_KEY =
    * OBJ_SYS =
    TABLES
    accountgl = t_bapiacgl08
    currencyamount = t_bapiaccr08
    return = t_bapiret2
    * EXTENSION1 =
    LOOP AT t_bapiret2.
    WRITE :/ t_bapiret2-type, t_bapiret2-id, t_bapiret2-number,
    t_bapiret2-message,t_bapiret2-parameter,
    t_bapiret2-row, t_bapiret2-field, t_bapiret2-system.
    ENDLOOP.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    wait = ' '
    IMPORTING
    return = ct_bapiret2.
    LOOP AT ct_bapiret2.
    WRITE :/ ct_bapiret2-type, ct_bapiret2-id, ct_bapiret2-number,
    ct_bapiret2-message,ct_bapiret2-log_no, ct_bapiret2-parameter,
    ct_bapiret2-row, ct_bapiret2-field, ct_bapiret2-system.
    ENDLOOP.

Maybe you are looking for

  • No Video With Google Talk on Droid 3

    Just got my wife the new Droid 3 that's running Android 2.3.4. This is the version of Android that is supposed to support video with Google Talk. Tried starting Talk and only thing I can do is messaging with Talk. No video option like on my Thrive ta

  • Why aren't my album cover arts being synced after updating to ios5?

    They display fine in the iTunes library. It only started happening after upgrading to ios. Any solutions? Thanks for your time. (iPod touch 4gen)

  • Macbook Pro Retina, 13-Inch, Early 2013 Hard Frezze

    Hello, I´m having trouble with my Macbook, It has happened 3 times on 2 days, the Mac just frezzes when changing desktop, i was running Excel, Outlook, Power Point and Safari at the same time all the time (in the 3 hard frezze) i had to restart the m

  • Instant client 9

    With the version 10 of the instant client it is no longer possible to connect to a Oracle 8 server version. Is there a way to download the version 9 of the instant client ? Thanks

  • Color is off but why?

    Last night I was on the internet and the system froze and I tried to force quite with no luck so I restarted using the little button on the front. When the system restarted all appeared ok but as everything came up on screen like the dock and the har