2012 Mar 01 11:31 AM
Hi Abap Gurus,
i want to find out the *sap transaction code for which the user exit belongs to from the below code i am getting the enhancement name and the type.
i want to know the transaction code for exit EXIT_SAPLMEKO_002 and EXIT_SAPLFYTX_USER_001
data: begin of it_modsap occurs 0,
name type modsap-name,
typ type modsap-typ,
member type modsap-member,
end of it_modsap.
type-pools:slis.
data:wa_layout type slis_layout_alv.
data:it_sort type slis_t_sortinfo_alv.
data:wa_sort like line of it_sort.
parameters:p_exit type modsap-member.
select * from modsap into table it_modsap where member = p_exit.
read table it_modsap index 1.
select * from modsap into table it_modsap where name = it_modsap-name.
wa_layout-colwidth_optimize = 'X'.
wa_sort-fieldname = 'NAME'.
wa_sort-tabname = 'IT_MODSAP'.
wa_sort-up = 'X'.
append wa_sort to it_sort.
clear wa_sort.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = sy-repid
i_structure_name = 'MODSAP'
is_layout = wa_layout
it_sort = it_sort
tables
t_outtab = it_modsap.
2012 Mar 01 2:34 PM
HI
The user exit EXIT_SAPLFYTX_USER_001 is trigered for the below transactions and also postings via IDOC.
'ME21' 'ME21N' 'ME22' 'ME22N' 'ME23' 'ME23N' 'ME31L' 'ME31' 'ME32L' 'ME32' 'ME33L' 'ME33' 'ME38' 'ME39' 'VL31N' 'VL32N' 'VL33N'.
This is basically used for tax calculation purposes.
The user exit EXIT_SAPLMEKO_002 is trigerred for multiple transactions of purchansing scenario.
Also use user exit for your business scenario.
Br
Vijay V
Hi Abap Gurus,
i want to find out the *sap transaction code for which the user exit belongs to from the below code i am getting the enhancement name and the type.
i want to know the transaction code for exit EXIT_SAPLMEKO_002 and EXIT_SAPLFYTX_USER_001
data: begin of it_modsap occurs 0,
name type modsap-name,
typ type modsap-typ,
member type modsap-member,
end of it_modsap.
type-pools:slis.
data:wa_layout type slis_layout_alv.
data:it_sort type slis_t_sortinfo_alv.
data:wa_sort like line of it_sort.
parameters:p_exit type modsap-member.
select * from modsap into table it_modsap where member = p_exit.
read table it_modsap index 1.
select * from modsap into table it_modsap where name = it_modsap-name.
wa_layout-colwidth_optimize = 'X'.
wa_sort-fieldname = 'NAME'.
wa_sort-tabname = 'IT_MODSAP'.
wa_sort-up = 'X'.
append wa_sort to it_sort.
clear wa_sort.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = sy-repid
i_structure_name = 'MODSAP'
is_layout = wa_layout
it_sort = it_sort
tables
t_outtab = it_modsap.
2012 Mar 01 11:36 AM
Put a BREAKPOINT inside the user-exit and execute any t code. If it opens the debugger, type SY-TCODE in the right screen and you will get the transaction which is calling this user-exit.
2012 Mar 01 2:34 PM
HI
The user exit EXIT_SAPLFYTX_USER_001 is trigered for the below transactions and also postings via IDOC.
'ME21' 'ME21N' 'ME22' 'ME22N' 'ME23' 'ME23N' 'ME31L' 'ME31' 'ME32L' 'ME32' 'ME33L' 'ME33' 'ME38' 'ME39' 'VL31N' 'VL32N' 'VL33N'.
This is basically used for tax calculation purposes.
The user exit EXIT_SAPLMEKO_002 is trigerred for multiple transactions of purchansing scenario.
Also use user exit for your business scenario.
Br
Vijay V
2012 Mar 02 7:10 AM
Hi Vijay,
how did you find the transaction code for a particular exit. please let me know also.
2012 Mar 02 7:35 AM
Hi the naming convention for user exit is :
EXIT_<program name><3 digit suffix>
you have the program name. Goto se80, give program name, and see attached transactions.
2012 Mar 01 2:51 PM
Hi abap gurus,
i want to know how to find the sap transaction code for any exit for example : EXIT_SAPLMEQR_001
thanks in advance.
Edited by: srinu_varahalu on Mar 1, 2012 8:21 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |