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

Similar Messages

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

  • 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

  • Assignment field (ZUONR) in partial payment customer

    Hello,
    We have an issue concerning the assignment field in the partial payment from a customer.
    In the assignment field (ZUONR) we normally have the invoice numbers from another application (via interface to SAP).
    When we receive a partial payment from a customer via bank statement (MT940 EBS file), we get a payment advice in FEBAN. on the correct invoice. It is not booked because the difference is too large. That is correct!
    Our debtor department delete the payment advice and the use post item (in FEBAN) to create a partial payment (via FB05).
    Instead of the assignment from the invoice document, SAP puts another number in ZUONR for the first posting area. Afetr investigation it seems like it is a part of the payment advice number!?
    When we manually create a partial payment (without first having a payment advice from EBS), we get the (actual) date in ZUONR.
    In the screenprints attached, it is shown.
    In the attachment BSEG part 1 and BSEG part 2, the assigment fields with their values are visible as result of FB05 from post item in FEBAN.
    For those items there was a payment advice, which is deleted (first). Assignment (ZUONR) is a "strange" value, part of payment advice number!?
    BSEG part 3 and BSEG part 4, the items are shown when partial payment is manually entered (via FB05) without payment advice via EBS in FEBAN. Then a date is filled in assignment (ZUONR) field.
    Is it possible to arrange that the assignment field (ZUONR) gets the value of the original invoice, on which the partial payment is created?
    Is that possible with customizing?

    Hi,
    The ZUONR is filled by the Sort key in the account's master data. This sort key is defined in the OB16.
    And check the path below: Accounts Receivable and Accounts Payable -->  Customer Accounts -->  Line Items --> Display Line Items --> Display Line Items without ALV.
    JPA

  • Assignment field(ZUONR) data at clearing

    Hello Experts,
    I have a question on the assignment field(ZUONR) when I do the clearing for 2 open items.
    I have 2 open items for a certain customer, one is an account receivables and another a down payment for customer. 
    And above 2 open items have a certain data at each assignment field(ZUONR) to identify each open item.
    I'd like to clear above 2 items, so I go into the transaction FB05, select 2 items and simulate that document.
    At that time, when I look into each line item, there is no data at each assignment field even though the original document has a certain data at each assignment field.
    Namely, each assignment field is all blank.
    I wish the clearing document has the data at each assignment field that the original document has.
    Is there anyone who can solve this issue?
    Thanks.
    BR,
    Chris

    Hi,
    In order to populate same assignment field (ZUONR) in both the documents Sort Key should be same in the G/L master.
    You can try following Sort keys
    1. 031    Customer number
    2. 024    Document header text
    Else you can create your own sort key through transaction code OB16.
    In this give
    1. Sort key in Enter Sort key
    2. Enter Description - In this enter description of Sort Key.
    3. Enter Field1 - In this enter field name.
    Hope your issue is resolved else revert.
    Regards,
    Tejas

  • Reference field in SA accounting document

    Hi Friends,
    Got a requirement, to avoid populating the reference field in accounting field only for type SA (G/L account document). So, while creating through VBOF,   I am debugging to findout the place where the field is getting populated.
    Can anyone help me to understand on how it is getting copied from invoice? Is there any userexits to achieve the same?
    Thanks in advance.

    Hi,
    yes it is possible to change the refernce field in teh accounting document once posted.
    You ahve to mantain Rules for Changing Documents in SPRO.
    The path is ING--Financial Accounting (New)Financial Accounting Global Settings (New)DocumentRules for Changing Documents--Document Change Rules, Document Header
    Here amke a new entry as below
    Field NAme BKPF-BKTXT
    Account type blank
    Tarnsaction Type blank
    Company code Blank
    Check the box for "Field can be changed"
    Hoe this helps
    Reagrds
    Pratiksha
    *Assign Points if useful

  • Display Assignment Field for Mulitple Account Assignment Screen in MIRO

    Hi Members,
    I'm hoping someone may have the answer to a question concerning the transaction MIRO-posting an invoice.
    The issue occurs in MIRO on the Purchase Order tab. I have a validation rule which requires a value in the assignment field before the document can be posted. When multiple account assignment functionality is used to allocate the charges, there is no assignment field available. How can I configure the assignment field (ZUONR) to be present in this area?
    Your responses are appreciated.
    KF

    Thank you for your response.
    What is call point 2? Would this specify that the substitution rule would only apply to the multiple account assignment screen?
    If that is the case, this might provide one option.
    However, if it applies to the entire MIRO transaction, that will not be possible because we use the text field and the assignment field for other purposes in the transaction.
    Do we have any other options?
    KF

  • 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

  • Updating the Assignment Field (ZUONR) with Check No

    Hi
    Can anyone help me please?
    I would like to update the assignment field (ZUONR) in the Bank Payables Clearing Account with the cheque number from the payment run (PAYR-CHECF).
    1.  Firstly is this possible?; and
    2.  If so could you explain how I do this.
    Thanks in advance for your assistance on this issue.
    Regards
    Claire

    Hi
    I would but there is no sort key which contains this, nor can I create one :o(.
    If you are aware of how I can do this then please let me know.  Is there a user exit which will populate this field when a payment has been made?
    Regards
    Claire

  • Change text field in profit center document

    Hi,
    We have a requirement like whenever we changed the text field for an accounting document, it should change the text field of relevant profit center document also.
    Is there a way to get this change automatically in profit center document.
    There was no change option for profit center documents, so we are not able to change the text manually in profit center document.
    Let us know if there is any possibility to change the text field in profit center document.
    also suggest me, if there is any user exit available for this purpose.
    Thanks in advance.
    Prasad

    Hi,
    Any suggestions regarding the below mentioned issue?
    Thanks &Regards,
    Prasad

  • Validation of a reference field when posting accounting document using FB50

    Hi all,
    We hada requirement to restrict the users from entering japanese caharaceters in the reference field of a accounting document. The validation for this was done using the transaction OB28. when the user posts the accounting document using transaction FB01 or changes the accounting document using transaction FB02, the validation provided in OB28 does work(it throws an error restricting the user from entering japanese characters if he has done so). But whenthe user pots the accounting document using the transaction FB50, the same error message comes as information message although the coding is for giving an error message.
    This however does not happen when the user logs on in English. In English logon the error mesage does appear.
    When the user logs on in Japanese the message comes as an information message but at the same time does not allow posting of the document.
    Debugging this revealed that the OSS note 197329 has been applied to the standard SAP program SAPMF05A.
    Any pointers to how this can be rectifiied would be appreciated.
    Thanks in advance.

    I think it would be best if you opened an OSS message on this.
    Rob

  • Table for picking PURCHASE ORDER field corresponding to accounting document

    Dear All
    Table for picking PURCHASE ORDER field corresponding to accounting document.
    Thanks
    Rahul Jain

    Dear Jayram
    I know that Purchase order field can be picked from BSEG table but i am not able to capture the data into it. Whenever i book a invoice through FB60 or MIRO i give the reference PO number which is not getting updated in BSEG, BSAK and other relevant tables.
    Thanks
    Rahul Jain

  • F110 : How to group payments by assignement field (ZUONR)

    Hi,
    I have created a Grouping key '02' and I assigned this grouping key to a vendor for which I will run a payment program.
    In customizing I assigned field1 ZUONR (Assignement) to my Grouping key '02'
    I run Tcode F110 to pay 3 invoices :
    Invoice 1 : Assignement = Investment
    Invoice 2 : Assignement = Exploitation
    Invoice 3 : Assignement = Exploitation
    When I run a payment program (F110) the system create one Payment document and one Check for the 3 invoices !
    However, for my case I want to create 2 payment documents and 2 Checks, one for invoice 1, an other for invoice 2 and invoice 3
    Please Have I forget a Customizing point ? how to do to have 2 payment documents in my case ?
    Regards.

    see this in OSS note 305414 - F110: Unintelligible grouping of documents:
    2. A grouping key is stored in the master record of the vendor/customer.The fields according to which the payment program groups the documents are defined per grouping key in Customizing (Transaction OBAP).
    If this grouping key does not work the way you expect it to, check whether report RSZGR000 contains the respective source code (the keys defined in Transaction OBAP have to exist in the CASE statement for G01-ZGRUP). If this not the case, you have to generate the report. You can do this by changing one of the entries in the transaction and subsequently saving it.

  • 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

  • Field "quantity" in accounting document

    Hi experts,
    Found a field named "quantity" in accounting document (after release invoice F2 to accounting). The explanation from the system as following. But I got some questions about that.
    Q1: What scenario does this field apply to? Would you pls illustrate it?
    Q2: The system configurations are nearly the same for the two different servers. Why only one of them has this field in accounting document, though it shows zero?
    "Quantity
    Portion of total purchase order quantity that you wish to allocate to this account assignment item.
    Use
    The quantity entered determines which portion of the costs you wish to distribute to this account assignment item."

    Hi experts, any comments?

Maybe you are looking for

  • Windows 8 Release Preview/Photoshop CS6 Licensing issue

    I bought and installed Photoshop CS6 on Windows Consumer Preview and it worked flawlessly. I then installed Windows 8 Release Preview. This had to be a clean install. I didn't know I had to deactivate Photoshop before doing the clean install. Install

  • Can I trust a Adaptec 39160 on 10.3 ??

    When I first installed 10.3 some time ago (then 10.3.5) I had LOADS of problems with the system crashing. Eventually, after much pain, I worked out that OS X didn't like the SCSI card. At the time Adaptec said on their website that they had discontin

  • JDev 9.0.3.1035 New Project Wizard Error

    I tried to run the File ~ Projects ~ Project from existing war(.war) file Wizard on JDev 9.0.3.1035 on win2000. On Step 1 of 2 it asks for the Directory Name and File Name of the project. I get the following error when trying to enter the path. Is th

  • Adobe concern

    You know I am really concerned about all this Adobe stuff. Adobe Air (what is that and do I need it?), Flash, Shockwave Player, Reader. Secunia is showing all of these as category 4 threats, and the Reader as a category 5 threat stating that hijacker

  • Magic mouse rt click stopped working

    My magic mouse right click is not working. I have looked and the box is checked in the preferences but still not RT click. Please advise