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

ABAP Objects available in a USER-EXIT

former_member143179
Participant
0 Likes
354

Dear Sir,

I am very new to ABAP / User-Exit . To learn about User-Exit , I was refereing one tutorial related to USER-EXIT implementation in VL01 (form userexit_save_document_prepare) .

Sir , in this sample User-Exit , author is referring ABAP Objects like : xlips-lgort / xlips-matnr etc .

Sir , my query is that how can we know that which objects are available which can be used in a User-EXIT . How a new user like me will come to know that object xlips-lgort can be used in this User-Exit .

Pl help me .

Regards

B Mittal

Dear Sir,

I am very new to ABAP / User-Exit . To learn about User-Exit , I was refereing one tutorial related to USER-EXIT implementation in VL01 (form userexit_save_document_prepare) .

Sir , in this sample User-Exit , author is referring ABAP Objects like : xlips-lgort / xlips-matnr etc .

Sir , my query is that how can we know that which objects are available which can be used in a User-EXIT . How a new user like me will come to know that object xlips-lgort can be used in this User-Exit .

Pl help me .

Regards

B Mittal

1 REPLY 1
Read only

Former Member
0 Likes
319

Hi,

A user exit is similar to an function module. The difference is you can write your own piece of code in a user exit to fulfill your requirements. If you look into the IMPORT parameters of the User Exit all these variable in the IMPORT are inputs to your exit. All the variables in the EXPORT parameters are the ones that can be sent out of the exit. You can change all the variables that are present in bothe IMPORT and EXPORT parameters. Ex: If i have V_data in IMPORT as well as EXPORT then i can change the value of V_DATA from 1 to 2 and pass it to next step in the standard program.

Also you have TABLES in user exit. These can be inputs and output parameters. For example i can enter a few records in the tables parameter IT_TAB in one of the exits and change these records inside the USer Exit include and export the same to the next step in the standard transaction.

Hope this is helpful.... reward if useful.

Thanks,

Anil

Edited by: Anil Japa on Mar 20, 2008 9:27 AM