How to update Assignment field in Accounting Document ? Any method

Hello experts,
i want to change Assignment field in already posted accounting document. The field is "GSBER".
i think i can't do a BDC on transaction FB09 or FB02 because this field is no available to change..
any advice ?
regards.

i was looking for some bapi, then i found
BAPI_ACC_DOCUMENT_REV_CHECK Accounting: Check Reversal
BAPI_ACC_DOCUMENT_REV_POST Accounting: Post Reversal
maybe i could use that, or find an enhancement point in the aplication ?.
I suppose i have both options.

Similar Messages

  • 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

  • Assignment field in accounting documents

    Hi,
    we are posting intercompany billing documents with EDI.
    Process is as follow
    1) we generate Intercompany billing document VF01.When this document is saved ,an accounting document xxxxxx is generatedand  IDOC is triggered and posted in Account payables of payer company code simultanoesuly an account document 'yyyyyyyyyy' is generated. this is seen in FBL1n Transaction.
    In this accounting document yyyyyyyyyyy ,there is a field 'assignment' which remains blank. we need to have entries in  this field ' asssignment'  copied from similar field in accounting document 'xxxxxxxxx'
    BR,
    Zulfikar

    hi
    use substitution

  • How to update profit center in posted document without profit center ?

    HI,
    I want to know,
    How to update profit center in posted document without profit center ?
    So that i can get my profit center accouting report proper.
    Thanks
    Nilesh

    There is a long story about profit center accounting. I assume you are using Classic PCA, this means you can see the PCA documents.  And the solutions is below:
         For P/L account, even you don't maintain cost element for it, if you maintain the profit center in the application (Frontend transaction), then PCA line items will be generated for this account.
        For B/S account,  if you maintain the default Profit Center with transaction 3KEH/3KEI, the PCA line items will generated for this account also.
      Hints, don't maintain default profit center for AR/AP accounts, these accounts to be treated in periodic processing.
      First, calculate the distribution/adjust by F.5D, then transfer it by 1KEK. for others account rather than AR/AP, use F.5E
    For you case, if this account is P/L account, but you don't maintain profit center in the transaction, you can maintain default profit center as B/S account in 3KEH and 3KEI, then transfer it subsequently by transaction 1KE8.
    Good Lucky!
    Flex Yang

  • How to update key fields for table

    Hi,
    how to update key fields for a table.The update statement is not working for the same.
    Regards,

    Hi,
    See the below example.
    TABLES SPFLI.
    DATA WA TYPE SPFLI.
    MOVE 'AA' TO WA-CARRID.
    MOVE '0064' TO WA-CONNID.
    MOVE 'WASHINGTON' TO WA-CITYFROM.
    UPDATE SPFLI FROM WA.
    MOVE 'LH' TO SPFLI-CARRID.
    MOVE '0017' TO SPFLI-CONNID.
    MOVE 'BERLIN' TO SPFLI-CITYFROM.
    UPDATE SPFLI.
    CARRID and CONNID are the primary key fields of table SPFLI. All fields of those lines where the primary key fields are "AA" and "0064", or "LH" and "0017", are replaced by the values in the corresponding fields of the work area WA or the table work area SPFLI.
    Regards,
    raj.

  • How to update single field

    Hi frnds,
                        How to update single field data in Z table .
                       I am taking data from screen, when i press update button  the data will store specific field data in Z table.

    Dear Rakhi,
    You can use the below syntax.
    Hope this would solve your problem.
      LOOP AT tpra INTO wpra.
        UPDATE zpra
        SET    pra2 = wpra-pra2
        WHERE  pra1 = wpra-pra1.
      ENDLOOP.
    In WHERE give KEY VALUES
    In SET give the particular value that has to be changed.
    Regards,
    Pintoo
    Edited by: pintoo2805 on May 18, 2010 7:10 AM

  • How to update ABSKZ field in the table EKPO

    Hi
    Is there any way to update the rejection indicator (ABSKZ) field of table EKPO?.
    I am looking at BAPI_CHANGE_PO FM, But it does not have ABSKZ field in the item structure BAPIMEPOITEM.
    Do I need to extend the BAPI structure with ABSKZ field ?
    Regards
    Raj.

    Hi
    To extend  BAPI_PO_CHANGE  for EKPO-ABSKZ field , we have to add field in the structure BAPI_TE_MEPOITEM to pass it to  EXTENSIONIN. As ABSKZ field already availble in the EKPO it is not allowed to add ABSKZ in the structure BAPI_TE_MEPOITEM. it is throwing below error message.
    Field ABSKZ in table EKPO is specified twice. Please check
    Since it is not Z field and also not availble in the structure BAPIMEPOITEM  not sure how to update ABSKZ field in the EKPO table.
    Please advice.
    Regards
    Raj

  • How to update 2 fields automatically rest manually on page

    Hello folks,
    I have got a question on how to update 2 fields in a table automatically (in my case this is one field for the user and one field for the correct date and time). This should happen automatically every time an user changes a row in the table. But it seems as if i cant change the fields i tried it with the changing of the textfield but he dont change the values in the database. I even tried a separate update statement but since this is set after the commitchanges() command it seems as if he ignores any following commands.
    So anybody a good idea how i can change easily these two data fields? I just cant believe that you must manually change the fields, thats not the use of these 2 fields.
    Thanks in advance for your help
    Acinonyx

    To be exact i have got a page with different fields which get their data from my database. Two fields which contain an userid and the other a date and time value should get updated automatically when the user changes something of the other values on this page and press a button which calls the commitchange method. But since this should happen automatically and not manually i cant put these changes in the database. The manual changes are saved without any problems but the automatical changes not. So my question is how can i change a value programmatically and make him save these canges in the database?
    I already tried to put the new values in the fields or even detailed in the database but i cant get him to update these two fields.
    Acinonyx

  • How to update the field ZLSPR of table BSEG

    HI Friends,
    Can anyone tell me how to update the field ZLSPR of table BSEG? I've a 700 line abap program and I should include some logic in this program to make an entry into BSEG-ZLSPR. Is there any FM/BAPI available? Is BDC a healthy approach?. My team lead do not want me to use UPDATE statement....please help.
    Thanks in advans,
    Varsha.

    Hi,
    Hi ,
    You will need to group that radiobuttons so that SAP knows they are linked together. To do this using the grahical layout editor simply select all the radiobuttons and then right click on them, Now choose define group. Once you have done this you should not need any of the "clear" or "='X'" statements SAP should control it all for you.
    hope this helps
    Reward if found helpfull...
    Venkoji Babu.

  • How to update Reference field in the clearing document

    Hi Friends,
    While accounitng for billing document for sales Reference Key 2 is used for a data.
    Now when the payment is recieved from customer and accounted, how to update the Ref 2 automatically from the primary document.
    Pl, suggest.
    Thanks
    NNS

    Hi Robert,
    Thanks for answering.
    I am looking at Ref 2 should flow automatically to clearing document from the accounitng document for billing.
    Ex: Billing document is created and accounted. Ref 2 is AB
    Now when receipt is accounted for this biling document this AB should flow automatically to Ref 2 field.
    Thanks
    NNS.

  • How to populate Assignment field in gl account

    Hello SAP Guru,
    I am doing EBS BRS.
    In Tcode FF68 to generate pay in slip. In this Tcode I am putting 009 in group field.
    When I am posting the check then bank clearing account in refrence no. this group field 009 appears. But I want it to be in Assignment field of bank clearing account.I want to use it for auto clearing. by matching Assignment field from bank statment and assignment field from bank account  i.e clearing accuont.
    Thanks
    Raj

    Hi Rajeev,
    Assign the correct sort key to the GL Account in the master data so that it populates the data to ASSIGNMENT (ZUONR) field.
    Do let me know if it works.
    If there is no sort code defined assigns a value to assignment field then create a new one -- in the Implementation Guide (IMG) under Determine Standard Sorting for Line Items.
    Regards,
    Binay Agarwal

  • How to update the field 'VBRK-ZUONR' of Billing Document Header(VF03)

    Hi Experts.
    I got a request to update the field 'VBRK-ZUONR' of Billing Document Header(T-code:VF03).
    At first i thought it might be a BADI or User-Exit case and looked up in Standard Program but found nothing.
    Thus i doubted if it was a configuration problem.
    I tryed to configure through transaction code "VTFA" "VTFL" "VTFF" and met another failure.
    Now i'm totally lost and hope for your advice,any information would be appreciated.
    The Billing Document is automatically generated from the posting of Outbound Delivery.
    Regards.
    Panda.

    Hi friends.
    I've found where point is.
    The include program 'RV60AFZC' contains a form named 'USEREXIT_FILL_VBRK_VBRP',
    in which the field 'VBRP-ZUONR' could be set through coding.
    In our system the codes had been changed once,which led to the misalignment that confused me yesterday.
    On the other hand,undoubtedly VTFL is available to configure the value of 'VBRP-ZUONR'.
    For more information plz refer to
    http://help.sap.com/saphelp_46c/helpdata/en/18/f62c7dd435d1118b3f0060b03ca329/content.htm
    Thanks again to all of you.
    Best Regards
    Panda.

  • Assignment field in Billing Document

    Hi,
    Can anyone tell me how the Assignment filed (VBRK-ZUONR) is updated in biiling document.
    We have an issue in passing the value to the accounting document. I was refereing to existing billing documents, infew invoices the filed is populated with PO number of sales order. In few invoices it is populated with Delivery number.
    Please let me know what is the configuration i need to check.
    Regards,
    Jagadish

    Hi Jagadish,
    1. In the standard configuration, through copy control you can do setting for assignment number.
    2. If normal billing is done then it will take deliver has assignment number for cancel doc it will take original invoice has reference number, for credit or debit memo it will take order has assignment number.
    If you want to pass any other value in to this field, go to SE80 there select function group XVVF there you will find many exits there you can find the relevant exit and write a code.
    Or use other user exit Rv60afzz.
    Hope this will help you in solving problem.
    Regards,
    Nagesh
    Edited by: Nagesh MS on Dec 16, 2010 2:37 PM

  • Updating Assignment field in FB02

    Hi,
    I have a scenario where I need to change the assignment field for G/L accounts, Vendor accounts & Customer accounts in TCode FB02/FB09. I have written a BDC for this I am facing the following issue:
    If there are additional fields for the G/L account the "more" field is ticked. After entering the data in the assignment when I press save a second screen pops up after the main screen where I have to press 'ENTER'.
    But in case no additional fields are there this "more" field does not appear, so my BDC fails.
    Please suggest how scenario this can be handled.
    Is there any BAPI to change the FI doocuments?
    Regards
    Tejaswini

    Dear Tejaswini,
    try following piece of code. I had exact similar requirement.
    type-pools tpit .
    *... interface to dialog RF_ZEILEN_ANZEIGE:
    types: begin of tpit_buztab,
             bukrs             like bseg-bukrs,    " Buchungskreis
             belnr             like bseg-belnr,    " Belegnummer
             gjahr             like bseg-gjahr,    " Geschaeftsjahr
             buzei             like bseg-buzei,    " Buchungszeile
             koart             like bseg-koart,    " Kontoart
             umskz             like bseg-umskz,    " SHB-Kennzeichen
             bschl             like bseg-bschl,    " Buchungsschlüssel
             bstat             like bkpf-bstat,    " Buchungsstatus
             mwart             like bseg-mwart,    " Steuerart,
             mwskz             like skb1-mwskz,    " Steuerkategorie,
             flaen(1)          type c,     " X = Posten geaendert
           end of tpit_buztab.
    types: tpit_t_buztab type tpit_buztab occurs 1.
    *... table of fields in mass change:
    types: begin of tpit_fname,
              fname    like t021-fname,
              aenkz(1) type c,                     " Aenderungskennzeichen
           end of tpit_fname.
    types: tpit_t_fname type tpit_fname occurs 1.
    *... table of errors in mass change:
    types: begin of tpit_errdoc,
              doc type tpit_docmnt,
              err like bdcmsgcoll,
           end of tpit_errdoc.
    types: tpit_t_errdoc type tpit_errdoc occurs 1.
    DATA : it_buztab TYPE TPIT_T_BUZTAB ,
           it_fldtab  TYPE TPIT_T_FNAME WITH HEADER LINE.
    DATA : it_errtab TYPE TABLE OF tpit_errdoc.
    data  w_bseg TYPE BSEG.
    "=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-==-==-=
    *Select the BSEG records for which mass change should be applied
    SELECT bukrs belnr gjahr buzei koart bschl
      APPENDING CORRESPONDING FIELDS OF TABLE it_buztab
      FROM bseg
      WHERE bukrs = '1015'
      AND   belnr =  '0150000275'
      AND   gjahr = '2013'
      AND   koart = 'K'.    "____________Change only Vendor Line Item - Assignment Filed
      w_bseg-ZUONR = 'UTR12345'.   "____________UTR no to be updated
      it_fldtab-fname = 'ZUONR'.         "____________Column name
      APPEND it_fldtab.
      CLEAR it_fldtab.
    *Update payment block
      IF NOT it_buztab[] IS INITIAL.
        CALL FUNCTION 'FI_ITEMS_MASS_CHANGE'
             EXPORTING
                  s_bseg     = w_bseg
             IMPORTING
                  errtab     = it_errtab[]
             TABLES
                  it_buztab  = it_buztab[]
                  it_fldtab  = it_fldtab[]
             EXCEPTIONS
                  bdc_errors = 1
                  OTHERS     = 2.
        IF sy-subrc eq 0.
          MESSAGE 'Assignment Field successfully updated' TYPE 'I' DISPLAY LIKE 'S'.
        ENDIF.
        ENDIF.
    Regards,
    NG

  • Assignment field in WA document type

    Hi,
           In the FI document type WA (Goods issue), we would like to populate the material document number in the assignment field of the accounting document when it is posted. Is there any user exit to acchieve this ?
    min

    Hi Raja,
    What kind of documents are these? If they are billing documents, the assignment and reference fields are copied as per the configuration done for SD document copy control. If these docuemnts are uploaded documents or coming through an extenal system, the abap program must be populating these values based on sime criteria.
    Kindly check let us know the kind of documents and how the entry happens.
    Thanks and Regards,
    Anit

Maybe you are looking for

  • Nvidia 8800 GT not the best for Aperture use?

    I've been reading from barefeats ( http://barefeats.com/harper10.html ) that the 8800 GT is not the best graphics card for Aperture. Actually I don't think they actually tested Aperture, but Motion 3. The Nvidia is a more expensive option than the AT

  • Billing doc - item level

    for the given billing doc number, the billing line  items starts with 10,.20,30,40,50 and the output is correct for vf03. But if the line item starts with 100, 110 , 120 the entries are not printed in smartform. Pls help

  • Error in XML processing XI demo example

    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> - <!--  Call Integration Server   --> - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">   <SAP:Category>XIS

  • IWeb is not working!!!!!

    My iWeb is not working right!!! All the widgets (exept for iPhoto and iMovie) do not work, every time a place the widget it just shows a selection square were the widget should be. The same thing happends when I chose to show the navigation on the to

  • SetScrollOffset(0) does not work with Plugin

    I have some JTextField's that are a certain length but can have longer text put into them. Initially when this happened you would only see the right side of the text. Adding the setScrollOffset(0) made the text left aligned when it was displayed. I h