Showing results for 
Search instead for 
Did you mean: 

Assignment field update for FI document.

0 Kudos

Hi Experts,

I have a question on assignment field update for FI document.

When my client makes payments (F111), the double entry is as below:-

Line Item 1 Dr Clearing

Line Item 2 Cr Bank u2013 Outgoing

After the payment is done, the user executes t-code FCHU to update the cheque number in Bank Outgoing (Line 2) assignment field.

My client also wants to update the assignment field in Line Item 1 with the cheque number as well.

Is there any standard or alternative procedure (User Exit or BADI) to update the assignment field with the cheque number in Line Item 1. Or else can we copy the RFCHKU00 program (t-code FCHU) and add some logic to update the assignment field in line 1 as well.

Thanks in advance.

Edited by: Mar 24, 2011 4:09 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos


Considering updating the reference field with the tcode FCHU.

Reference (BKPF-XBLNR) is at the header and would be available for reporting against all the line items.



0 Kudos

HI Balaji,

Thanks for your reply.

But the user needs the assignment (BSEG-ZUONR) field to be populated for other function.

Program RFCHKU00

Source code


  • -> If further fields of a document are to be filled with

  • the check number, additional reference flags must be maintained

  • in the value table of the domain of PAYR-IREFE.

PAYR, "Payment transfer medium file

T001, "Company Codes

BSEG, "Accounting document segment

RFSDO, "Data elements for selection

BSEC, BSED, BSET. "Dummy Tables for

"function module CHANGE_DOCUMENT

As per the source code above, is it possible to update the assignment field in line item 1 or to update the reference & assignment field in line item 2 when this program is executed.

Please give your input on this.

Many thanks..

Former Member
0 Kudos

Hi Parthban,

You can update either OR.. meaning, either you can choose to update Reference field or you can update Assignment field.

But if you minutely change your solution and update the reference field, you will get what you want to achieve.



0 Kudos


Would like to know whether, can we update Reference (BKPF-XBLNR) and Assignment (BSEG-ZUONR) field together when FCHU is executed?

At the moment FCHU only allows to choose Reference or Assignment or Reference Key 3 to populate with the cheque no.


Edited on Mar 24, 2011 9:52 AM

Answers (0)