Skip to Content

Add FI fields to KOB1

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!


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Feb 26, 2015 at 10:55 AM

    Hi,

    Did you enhance field catalogue in view V_TKALV?

    Also, check info in note 359691 - CO line item reports: Missing fields

    Regards,


    Eli

    P.S. You should do it in EXIT_SAPLKAEP_001 (actuals). Is it the case?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 25, 2015 at 03:13 PM

    i modified the code a bit, but it's still not working:

    *& Include ZXKAEPU01

    *&---------------------------------------------------------------------*

    IF i_rep_object = 'OR'.

    SELECT SINGLE augdt augbl FROM bseg

    INTO (cs_record-zzaugdt,cs_record-zzaugbl)

    WHERE bukrs = cs_record-refbk

    AND belnr = cs_record-refbn

    AND gjahr = cs_record-refgj

    AND buzei = cs_record-refbz.

    ENDIF.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.