Skip to Content
author's profile photo Former Member
Former Member

How to enhance 2LIS_02_ITM

Hi All,

I want to Enhance 2LIS_02_ITM, to get cost center and G/L counts, pleae give me some advise how to do that , and that are the tables for Cost center and G/L accounts.

Regards.

Power.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 05:43 PM

    Try to look into these tables for GL data:

    GLT0 (G/L account master record transaction figures)

    SKA1 G/L Account Master (Chart of Accounts)

    SKAT G/L Account Master Record (Chart of Accounts- Description)

    SKB1 G/L account master (company code)

    AGKO Cleared Accounts

    ANAR Asset Types

    ANAT Asset type text

    ANEK Document Header Asset Posting

    ANEP Asset Line Items

    ANEV Asset downpymt settlement

    ANKT Asset classes- Description

    ANLA Asset Master Record Segment

    ANLB Depreciation terms

    ANLC Asset Value Fields

    ANLH Main asset number

    AT02T Transaction Activity Category- Description

    AT02A Transaction Code for Menu TIMN

    AT10 Transaction type

    AT10T Name of Transaction Type

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 06:38 PM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 29, 2008 at 06:41 PM

    We appended cost center and cost element to this extractor using FUNCTION EXIT_SAPLEINS_001. Here is the code:

    LOOP AT xmcekpo.

    READ TABLE xmcekkn

    WITH KEY supkz = '2'

    ebeln = xmcekpo-ebeln

    ebelp = xmcekpo-ebelp.

    IF sy-subrc = 0.

    xmcekpo-zzkostl = xmcekkn-kostl.

    xmcekpo-zzsakto = xmcekkn-sakto.

    xmcekpo-zzaufnr = xmcekkn-aufnr.

    xmcekpo-zzafnam = xmcekkn-wempf.

    MODIFY xmcekpo.

    IF sy-subrc <> 0.

    MESSAGE ID 'ZZ04' TYPE 'E' NUMBER '011'

    WITH xmcekpo-ebeln 'EXIT_SAPLEINS_001'.

    ENDIF.

    ENDIF.

    ENDLOOP.

    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.