100% found this document useful (2 votes)
2K views7 pages

Display GL Account Long Text Instead of Short Text in FB03 Transaction Using Enhancement Framework

This document provides instructions for displaying the long text description of a GL account instead of the short text in transaction code FB03 by creating custom fields in tables BSEG and BSEG_ALV, finding the enhancement point in include MF05LFB0, writing custom code to select and display the long text from table SKAT based on the account number, and testing the changes. The transaction codes mentioned are FB03 for the target transaction and FS00 for customizing.

Uploaded by

parthasc
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (2 votes)
2K views7 pages

Display GL Account Long Text Instead of Short Text in FB03 Transaction Using Enhancement Framework

This document provides instructions for displaying the long text description of a GL account instead of the short text in transaction code FB03 by creating custom fields in tables BSEG and BSEG_ALV, finding the enhancement point in include MF05LFB0, writing custom code to select and display the long text from table SKAT based on the account number, and testing the changes. The transaction codes mentioned are FB03 for the target transaction and FS00 for customizing.

Uploaded by

parthasc
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Display GL Account long text instead of short text in FB03

Transaction using enhancement framework


Aim: Display GL Account Long Text description in FB03 Transaction.

Requirement: Business requirement is to display GL Account Long Text Description instead of short Text
in FB03 transaction.

TCode: - FB03.

TCode: - FS00.
Solution:

1. Creating the Custom fields

a) Create Custom fields to the table BSEG, by appending the structure.

b) Similarly Create Custom fields to the Structure BSEG_ALV, by appending the structure.
2. Find the enhancement point in the include MF05LFB0.

To find the enhancement point, go to Program Enhancement OR

Click on the Enhancement .


3. Go to Implicit enhancement option at the end of the form BELEGZEILE_GET and Right
click Enhancement Implementation Create.

4. Now it will ask for Enhancement Type.


5. Write the custom code for modifying the functionality.

Code:-

DATA: lv_text TYPE skat-txt50.


CLEAR: lv_text.

SELECT SINGLE txt50 INTO lv_text


FROM skat WHERE spras eq 'EN'
AND saknr eq bseg-hkont.
IF lv_text IS NOT INITIAL.
bseg-yygltxt = lv_text.
ENDIF.

6. Once the development is completed you can test the scenario.

You might also like