Skip to Content
1
Feb 25, 2015 at 01:33 PM

Add FI fields to KOB1

659 Views

Hi,

I am trying to add fields augbl and augdt to report KOB1.

I followed the steps in detail in SAP note 325546, with the exception of adding any selection dependencies.

Problem: When KOB1 is executed, and there is data, the additional fields do not appear and when there is no data the fields appear (with no data)

Here is the code for the modification:


IF i_rep_object = 'OR'.
SELECT SINGLE augdt augbl FROM bseg
INTO (cs_record-zzaugdt,cs_record-zzaugbl)
WHERE bukrs = cs_record-bukrs
AND belnr = cs_record-refbn
AND gjahr = cs_record-gjahr

AND buzei = '001'.

ENDIF.



Any assistance would be appreciated.


Thanks!