Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BADI

Former Member
0 Likes
952

CAn any one pl help me out about how to add customized fields onto any screen? (i would be very much obliged if anyone would gimme an example from MM - Fuel Supply)

1 ACCEPTED SOLUTION
Read only

FredericGirod
Active Contributor
0 Likes
912

To add a customized field you need first to have a Badi/Exit that will allowed that.

Fuel supply : you spoke about IS-OIL ?

Fred

CAn any one pl help me out about how to add customized fields onto any screen? (i would be very much obliged if anyone would gimme an example from MM - Fuel Supply)

6 REPLIES 6
Read only

FredericGirod
Active Contributor
0 Likes
913

To add a customized field you need first to have a Badi/Exit that will allowed that.

Fuel supply : you spoke about IS-OIL ?

Fred

Read only

0 Likes
912

Thank you very much Fred.

The requirement is that I have to add customized fields in O4_TIGER screen.

Priya.

Read only

0 Likes
912

Hi Fred,

I am speaking about IS-OIL?

There I have to add customized fields onto O4_TIGER screen by using BADIs.

Kindly help meout as i have nil knowledge regarding BADIs.

Thanks,

Priya

Read only

Former Member
0 Likes
912

Hi Priya,

There are sample codes here in SDN for you to use in checking what are the user exits available for 04_TIGER. For BADI, check what are available from SPRO (a simple search 'ENHANCEMENT' should suffice).

If you find one, check if this BADI / User Exit has a screen exit.

Then, modify the layout of this screen exit as you would normally do with other customer created screens. Screen exits have counter part User Exits which you could use to manipulate the customized fields that will be displayed in your screen exit.

I hope this helps.

Kind Regards.

Darwin

Read only

0 Likes
912

Thanks alot Darwin,

As I am completely new to BADI and User Exits, I would be very much obliged if you would explain the step by step process of how to check the following what you have mentioned.

Thanks & Regards,

Priya

Read only

0 Likes
912

Hi,

To check for BADI in a particular transaction go to SE24 and enter object type as CL_EXITHANDLER.Then double click on method - GET_INSTANCE. Then put a break-point in the line CASE SY-SUBRC. Then execute your transaction.When it stops at the break-point check the value of the field 'exit_name'.This will give you the name of the BADI definition.Then go to SE18 and enter the BADI definition name that you had derived in the previous step.You can implement it through tcode-SE19.

For userexits you can go to SMOD and search for enhancement.Also you can search for userexits by searching for the string 'CALL customer-function' in the source code of the specific transaction.

Pravat.