Bapi to change "assignment" field on acct doc

Hi,
After the check run creates accounting docs, we want to update the "assignment" field on the accounting document (BSEG-ZUONR) with the check number.  Is there a BAPI I can use?  Or is this a job for a call transaction program?
Thanks,
Dennis

Hi Dennis,
I think the best way is to write custom BDC program to update BSEG-ZUONR. No BAPI/FM is available to update the assingment number (I could be wrong).
Hope this will help.
Regards,
Ferry Lianto

Similar Messages

  • Tax invoice not show in assignment field of billing doc & ref doc of FI doc

    Dear Gurues
    Does anyone know how to able to display Tax invoice numbering at the assignment field of Billing doc and reference doc header field in FI doc generated by posting billing doc. Also post through POS IDoc?
    I have change SD config to correct the existing non vat billing to be able to record vat billing.  The result seem ok when I enter regular billing, system generate FI doc with Psk01 customer, Psk50 Revenue acc, output tax.  This shows Tax invoice number at reference doc header and assignment field at output tax line item.  Assignment field of billing doc is also display.  
    But when entering to billing with a dummy article (same meaning as material master) that was set up to GL acc, I found that the FI doc after posting billing show a billing doc number instead of Tax invoice number at reference doc header field.  This result is same when post thru POS IDoc as well. (FI doc is Psk40 Cash on hand, Psk50 Revenue acc, output tax)
    Out put tax acc has sort key as 009 - external doc number
    Your suggestion is mostly appreciated.
    Yours sincerely,
    Kulsri K.

    OK I can clear it now.  Just set tax category to Dummy Article to be Full tax then Tax sequence number is running.

  • Cheque no. to be copied to assignment field of payment doc.

    Hi All
    I need to copy the cheque no. issued for payment to the assignment field of payment doc. so that at the time of running BRS the field matches and also we do not have to enter the no. manually .
    I tried FCHU for this but on entering cocd , bank and selecting assignment check box the following error is coming : 
    No check which could be assigned to a document was found
    Message no. FS321
    Please advice what is missing

    Hi Sweta,
    That is practical problem u have faced, actually what I think yes u have created check but by mistake if that FCHU had been executed then wrongly  assignment field is filled with blank and then automatic linkup with chick no is not possible. In that case u have to do manually.
    Thanks n Regards
    Prakash
    SAP FI certified, ACWA

  • To change assignment field (ZUONR) in accounting document when doing PGI

    Hi Gurus,
    I have one requirement. I will create one sales order with the reference of contract and then i will do the delivery and I will do PostGoodsIssue(PGI).In standard at that time it creates an accounting document in background.At that time I need to change that assignment field (ZUONR) value to contract number in that Accounting document.
    I treid with BAPI and Business Transaction Events like (1130,1120,1025) but it is not working.
    So please help me in this issue.
    Thansks & Regards,
    R.P.Sastry.

    The substitution logics run before delivery number generated, so how can we achieve this?
    No, it doesn't.  The substitution is triggered at the time the accounting document is created during PGI which is WAY after the delivery is created.
    The substitution suggestion is valid.  If you can't use a direct substitution, then use a substitution exit.  BTE's will work as well.

  • Change Assignment Field in the Line Item

    I'm trying to change manually the Assignment field in the Line item of a FI Document but the field is not open for entry.
    In the SPRO -> Document Change Rules, Line Item settings are correct and should allow change of the field. Do you have any ideas on that problem?

    Hi
    Assigment field it system given no , the main purpose of this field is to idetify the particular line item system not allowed to chavge that one once u save the document?
    Rams

  • Is there a function module or BAPI to change the field UVP03 in table VBUP

    When certain conditions are in place I need to change the value of VBUP-UVP03 (items reserve status 3) to a value of C).
    there must be a FM or bapi to do this - thanks.
    Scott

    We had to do this from a custom program that runs in a batch job.  It changes a field in VBAP using the BAPI_SALESORDER_CHANGE - that in turn will execute a user exit called userexit_set_status_vbup, that we added code to update the field vbup-uvp03.  it works.

  • User Exit to Change 'Assignment Field' while uploading Bank statement using FF_5

    Hi Experts,
    We are uploading  bank statement using tcode FF_5. It creates BDC of FB01. then we process it via SM35. Its a country specific bank statement (Hungary). Now while processing BDC we found that document header text (BKTXT) and Assignment (ZUONR) field is filled with the combination of two keys of table FEBEP.
    Screen shot of BDC
    Screen having document header text:
    Next Screen having Assignment
    These both fields are the combination of FEBEP-KUKEY -Short key (surrogate) and FEBEP-ESNUM -Memo record number (line item number in bank statement).
    Both fields are getting filled inside the standard program RFEBBU00 (This program creates BDC)
    Now user wants 'posting date' in the Assignment field. Functional has changed the configuration so while doing manually via FB01 , posting date gets populated in Assignment field but While uploading via FF_5 this standard report gets called and it populates the key combination.
    I am working on SAP 4.7 .
    Is these any user exit or sap note for this info.
    Please help me. if anyone has any idea that would be helpful.
    Regards,
    Ashish

    Ashish, Try to find some BTE for your requirement. Use FM BTE_FUNCTION_FIND .
    OPEN_FI_PERFORM_00001120_P
    OPEN_FI_PERFORM_00001120_E

  • Contract Document No in Assignment field in Acc Doc

    Please do let me know whether we can assign Contract no in assignment field of accounting document.
    Regards,
    GHS.

    Hi
    Standard Copy Control Settings between Delivery and Billing Document at the Header Level do not provide the value of Contract Number as possible Assignment Number.
    See if you can increase the number of possible charateristic values for the field Assignment Number. If you are trying this, make sure you also have the same charateristic value in the field titled Reference Number.

  • BAPI 'BAPI_SALESORDER_CHANGE' - Change a field

    Hi all!
    I am doing an exercise which it's necessary to change just one field (PO number) in a sales order using the BAPI from the subject. After the execution of the BAPI, "return" table shows the following message:
    E   |V2                  |051   |Terms of delivery FH are not defined.    <
    E   |V4                  |219   |Sales document 0000001666 was not changed<
    Here follows the code:
    DATA: " for BAPI use
        v_vbeln LIKE vbak-vbeln, " order that i would like to change
        v_order_header_in LIKE bapisdh1,
        v_order_header_inx LIKE bapisdh1x,
        v_purch_no_c LIKE bapisdh1-purch_no_c, "
        v_return LIKE TABLE OF bapiret2.
    INITIALIZATION.
      p_vbeln = 1666.
      v_order_header_inx-updateflag = 'U'.
      v_order_header_inx-purch_no_c = 'X'.
      CONCATENATE 'test_' v_purch_no_c INTO v_purch_no_c.
      v_order_header_in-purch_no_c = v_purch_no_c.
      v_order_header_inx-purch_no_c = 'X'.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          salesdocument               = v_vbeln
          order_header_in             = v_order_header_in
          order_header_inx            = v_order_header_inx
        TABLES
          return                      = v_return.
    If sy-subrc = 0.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    What does the error "Terms of delivery FH are not defined" mean? Did i forget to import an obligatory entry?
    Thanks a lot!

    Hi guys!
    after a lot of tries i found what this error means. Let me explain what was the problem:
    I was trying to update a single field at the sales order (po number), but l didn't see that this order had another field with a value ("FH") which was deleted and was get from another table.
    So as you just specify in BAPI which fields you would like to change when in an update, problably the BAPI try to keep the rest of the fields without doing any kind of check. And this resulted in my problem with that error message.
    Can i go ahead at this and ask if there is a way to make BAPI check the fields not specified at the import of the function?
    Thanks a lot for everybody who tried to help me.

  • To change assignment field (ZUONR) in accounting document

    Hi Gurus,
    I have a requirement to change the value of the field (ZUONR) with delivery number for particular g/l account in the accounting document when i will go to accounting information from vf03.
    Please help me in this regard.
    Thanks & Regards,
    R.P.Sastry

    Another solutions,
    You can use 1120 BTE.
    For example,
    You can copy from SAMPLE_PROCESS_00001120 to ZFI_EVENT_00001120 and you must some customizing on transaction FIBF for activation.
    Then you write some codes for updating ZUONR.
      LOOP AT t_bkpf.
        IF t_bkpf-blart = 'SA'.
          LOOP AT t_bsegsub.
            t_bsegsub-zuonr = ''.
            MODIFY t_bsegsub.
          ENDLOOP.
        ENDIF.
      ENDLOOP.
    Regards,
    Burak

  • 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

  • Mass change in Assignment Field

    Hi
    I want to change assignment field for 30 documents together. Let me know if its possible.

    Dear,
    There may be suggestions that you can do this by selecting mass option from line item display but that will allow you to put only one value for all the fields.....
    So if you want to change Assignment field with different value to these 30 docs then it can be manually or BDC....I know this may be a tedious ot weird solution but this is what we have to live with....
    Regards,
    Chintan Joshi

  • Document Change - Change in assignment field

    Hi
    There are 1350 documents. In all these documents, i need to change assignment field for one line item (and not all line items). I need to put WBS elements in this assignment field.
    I cannot do manually for 1350 documents. Also i cannot  go for mass change through FBL3n --> Environment --> Document Changes. This is because all documents will not same WBS elements.
    Let me know alternate solution.
    Only solution which i thought was LSMW. But its changing my all line items in each document. This i do not want.
    Please help

    Hi,
    Create the LSMW for transaction FB09 and change the particular lines in the document.
    Regards,
    Gaurav

  • No leading zeros in the assignment field on a billing doc header

    Can someone tell me how I can get the assigment field in a billing doc not to show any leading zero's so when the assigment field is populated in the accounting doc it will not show the zeros either .
    At the moment I have the sales order PO set in copy control to show in the reference field and the assigment field of the billing doc header but need it to show no leading zeros in the accounting doc even if there is some in the SO.
    I.E
    sales orde PO no              Assignment field in billing doc             accounting doc
    0000012345                      0000012345                                        0000012345
    i need it to show NO zeros
                                               12345                                                  12345
    any ideas

    check this thread
    VBRK-XBLNR not copied to BKPF-XBLNR in transaction VF11.
    Note: Pls Text Removed
    Edited by: Lakshmipathi on Nov 1, 2011 10:42 AM
    Please dont ask for points in each of your suggestion and deviate the forum rules

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

Maybe you are looking for