cancel
Showing results for 
Search instead for 
Did you mean: 

Add field in KSB1

0 Kudos

Hi all,

I would like to know if I could add GL field (like BKPF-XBLNR) on KSB1 Report ? And if yes, how can I do it ?

Best regards,

Gilles.

Accepted Solutions (0)

Answers (2)

Answers (2)

ajaycwa1981
Active Contributor
0 Kudos

Hi

I was able to fetch BSEG-XREF1 using exit COOMEP01

You need to add desired fields in structure CI_RKPOS

Sample code is attached below.. See if that helps you to fetch BKPF-XBLNR

SELECT SINGLE vbel2 xref1 xref2 FROM bseg
  INTO (cs_record-vbel2, cs_record-xref1, cs_record-xref2)
             WHERE bukrs = cs_record-refbk
               AND belnr = cs_record-refbn
               AND gjahr = cs_record-refgj
               AND buzei = cs_record-refbz.

br, Ajay M

0 Kudos

Thank you Ajay. I will try.

iklovski
Active Contributor
0 Kudos

Ajay, thanks for the info.

iklovski
Active Contributor
0 Kudos

Hi,

KSB1 works with COBK/COEP tables only.

Regards,

Eli

0 Kudos

Thank you Eli.