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

BTE 1650 in FAGLL03 for multiple line item

Hi All

We already applied BTE 1650 and now we are able to display offsetting account (GKONT) in FAGLL03

The problem is if we have multiple line items for example:

Db. Customer

Db. GL Account

Db. GL Account

Cr. A/R

User want to only display offsetting account (GKONT) for customer, so if there are GL account line item, we want to ignore it.

We know the passing is determine by BUZEI = line item number, but how does the BTW know which line item number contains customer?

Is it even possible?

Please help

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 06, 2013 at 11:29 AM

    Try also OSS note 1034354 - FAGLL03 Display of offsetting account information (BADI).

    You can do:-

    1. KOART - account type = D

    2. BSCHL - Posting key

    Though I am surprised this BTE works with the New GL!!

    Regards

    Waza

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Are you an ABAPer?

      LOOP AT ct_items INTO wa_items.

      IF WA_ITEMS-KOART EQ 'D'.

      CALL FUNCTION 'GET_GKONT'

      EXPORTING

      belnr = wa_items-belnr

      bukrs = wa_items-bukrs

      buzei = wa_items-buzei

      gjahr = wa_items-gjahr

      gknkz = '3'

      IMPORTING

      gkont = wa_items-gkont

      koart = wa_items-gkart

      EXCEPTIONS

      belnr_not_found = 1

      buzei_not_found = 2

      gknkz_not_found = 3

      OTHERS = 4.

      IF sy-subrc = 0.

      MODIFY ct_items FROM wa_items.

      ENDIF.

      ENDIF.

      ENDLOOP.

      Mark as helpful.

      Regards

      Waza

  • Posted on Mar 07, 2013 at 07:12 AM

    Hi Ermon,

    I don't know which sample functional module assigned to BTE 001650. According to SAP standard logic ,off setting always determine higher amount line item account. See ref. FM

    LINE_ITEMS_GET_GKONT

    Regards

    Mani

    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.