cancel
Showing results for 
Search instead for 
Did you mean: 

COBK-REFBN seems to have the wrong data in it

Former Member
0 Kudos

We have a financial document, lets say number 1900000001, that has a reference number on the document header (BKPF), of say 117-1. When this document it transferred to CO, the reference number being transferred (COBK-REFBN) is the 117-1, rather than the 1900000001. Why would this be? we want to keep the reference number on the FI document, but we need to have the FI document number, not the reference number FROM the FI document, transferred to the CO document as the reference (REFBN).

Thank You

Accepted Solutions (1)

Accepted Solutions (1)

jason_shao
Employee
Employee
0 Kudos

Hello David,

COBK-REFBN is an internal number for the accounting document. It is filled from the accounting document. The logic is like below:

AWKEY = REFDOCNR+AWORG (PCA, SL) or REFBN+AWORG (CO)

COBK-REFBN = AWKEY+0(10)

Please also check my attached picture.

Best regards,

Jaosn

Former Member
0 Kudos

Thanks, that is helpful. I see now that it is the AWKEY that is being set to the new, undesired value.

We have just started posting using the new AWTYP, called TEMOD, and it appears to format AWKEY differently than the old way (BKPF)

Can this be redefined, to have TEMOD build the AWKEY in a different way, rather than using the XBLNR data, for example? i have looked to see where this might be defined in customizing, but i cannot find it.

jason_shao
Employee
Employee
0 Kudos

I  am afraid you can not change the standard logic and this is widely used logic for all the SAP customers.

Sorry not being able to guide you with the desired result.

Former Member
0 Kudos

jason, It looked as though table TTYP controls the format of the AWKEY as well as how it is used for drill downs. For the new entry type, nothing was filled in. For the ones that worked, there was a structure that laid out the AWKEY for those entries perfectly. I updated the definition of the new type, though, and it is still not using the format i want.

It would seem that this would HAVE to be configurable, since the system is actually putting different formats of data into AWKEY depending on the AWTYP.

Answers (0)