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.

Similar Messages

  • 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

  • Add NEW invoice items  in accounting document when doing billing (VF01)

    Hi !
    Is it possible to ADD NEW Itemlines to the Accountingdocument while doing billing(VF01) ?
    Know that its no problem to change existing lines.
    Need to ADD one new debit and one new credit item line.
    Have tried  userexit  EXIT_SAPLV60B_008 and BADI  AC_DOCUMENT  in debugger.
    But did not get it to work , "Accounting document was not get created".
    Added lines to XACCIT and XACCCR tables.
    BTE 1130 ?
    Please let me know how i can solve this,
    Thanks !
    Cheers
    /Per

    Hi !
    OK did you solve it ??  What exit did you then use ?
    I copied one of the GL rows and changed to next index and changed the values i wanted in XACCIT.
    Same to the table that holds the amounts. Same index there as the XACCIT table.
    I just want to know IF it is possible and what exit to use.
    Best regards
    /Per

  • 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

  • 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

  • Accounting document while doing Post Goods Receipt

    Hi,
    The scenario is like this.
    1.     Sales order1 is created.
    2.     Delivery document created; PGI (post goods issue) is done. Here the movement type is 601.
    I want to get back the material (equipment) for some reason; I want to check the material for its condition. If there is any damage, I have to charge the customer.  So, the material will be received to Return stock by return sales order with reference to the first sales order1 (Movement type 651); then will be sent to Quality (Movement type 457); if it is not damaged will be sent to unrestricted stock (Movement type 321) by transaction code MB1B.
    When I am doing the PGI, the accounting document is created; the Inventory account is credited and COGS (Cost of goods sold) is debited.
    When I am doing PGR (Post Goods Receipt), the accounting document is not created (Movement type 651).
    I have created a new u2018Schedule line categoryu2019 (YL) for the return process with the movement type 651.
    I want to get an accounting document while doing PGR. The inventory account is to be debited; the COGS is to be credited.
    Can I get the accounting document by changing the movement type in Schedule line category u2018YLu2019?
    Please guide me in this regard.
    Regards,     
    K Bharathi

    Hi
    Can I get the accounting document by changing the movement type in
    Schedule line category u2018YLu2019?
    Yes in your schedule line category if the movement type is not 651 then an accounting doc will be created
    For movement type 651 there wont be any accounting document
    In returns (651M.Type)  If a returns delivery exists, the return should be posted in the Sales (SD-SLS) component, not in the Inventory Management component.
    Depending on how Customizing for Sales is configured (the movement type is configured in the step Define Schedule Line Category), the delivery is posted to the following stock:
    - Blocked stock returns (non-valuated, not unrestricted-use) (movement type 651)
    - Unrestricted-use stock (movement type 653)
    - Quality inspection stock (movement type 655)
    - Blocked stock (movement type 657)
    If the given quantity is posted to blocked stock returns first, you can make a manual goods movement posting in the Inventory Management component to transfer the quantity to valuated stock.
    So, when the goods arrives in so called "Block stock returns" it is not your property, it belongs to the customer (the ownership has not changed) - it is not valuated. Whiles you post the goods to your own (plant) stock by 653/655/657 it becomes your property that's why it is valuated and material document will be created
    Regards
    Raja

  • How do I change the font size of a document when I PRINT?

    How to I change the font size of a document when I print it?

    To specifically and fully answer your question, no, you absolutely cannot change the “font size” as a function of print.
    First of all, there isn't a single “font size” associated with a PDF file (and we assume you are referring to a PDF file since this is an Acrobat forum).
    Secondly, PDF is a final form file format meaning that the content is static in terms of location, size, etc. on the page. To change the point size of any particular text, you really need to go back to the source document and make the changes there.
              - Dov

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

Maybe you are looking for

  • Copying DVDs No Longer Working

    Hello all! I did some video productions last year, edited them with iMovie and burned the master DVDs with iDVD. They work great in DVD players and when I insert them into one of my Macs, DVD player automatically opens, goes to full screen and begins

  • Question about webdav

    hi Experts, I am using wcc11.1.1.7 with webdav, my laptop is win7 64bit, I download DIS Client 64-bit from ucm-console-my download, I installed it with no problem. In ms word, I created a content server connection successfully, I can search docs and

  • Kdenlive fail rendering if title clips or images are in the project

    Hi. Thats what happen if I try to render a project with title clips or images inserted, whatever is the output that I choose. If I hide title clips and images, the project renders I get a popup that says Rendering of /home/pathtooutputfile aborted, r

  • I moved my iPhoto Library file, now it wont work !

    Hi, i was trying to tidy up my Hard Drives folder structure and moved my iPhoto Library file, which was and still is 72mb, but now when i open it, it hasnt got any photos in it ANYWHERE the file size is the same,. I might be correct in thinking that

  • How to install SFML on xcode?

    Hello people! I am just starting to learn programing. There are some problems with code blocks in mac, so i am still figuring out what are the same things between code blocks and xcode. Like command line tool in xcode is the same as console applicati