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

User Exits in BAPI_IDOC_INPUT1

Former Member
0 Likes
717

Hi,

How do I find out which user exits are available in BAPI_IDOC_INPUT1?

Any help would be greatly appreciated.

Thanks in advance.

Mick.

Hi,

How do I find out which user exits are available in BAPI_IDOC_INPUT1?

Any help would be greatly appreciated.

Thanks in advance.

Mick.

1 REPLY 1
Read only

Former Member
0 Likes
386

Use this program to find user exit or screen exits against tcodes.

&----


*& Report ZMAN_FIND_SCREEN_EXIT

*&

&----


*&

*&

&----


report zman_find_screen_exit.

*REPORT YSMOD2 .

tables: modsap, modact, tstc.

parameters: input1 like tstc-tcode default ' ',

input2 like modsap-typ default ' '.

data: search1(6),

search2(3),

search3 like modsap-member.

data : first_row value 'Y'.

concatenate: '%' input1 '%' into search1,

'%' input2 into search2.

select * from tstc where tcode like search1.

first_row = 'Y'.

check tstc-pgmna ne space.

concatenate '%' tstc-pgmna '%' into search3.

select * from modsap where typ like search2

and member like search3.

select single * from modact where member = modsap-name.

if first_row eq 'Y'.

write: / tstc-tcode, 6 tstc-pgmna, 16 modsap-name, 32 modsap-typ,

45 modsap-member, 70 modact-name.

first_row = 'N'.

else.

write: /16 modsap-name, 32 modsap-typ, 45 modsap-member, 70 modact-name.

endif.

clear : modsap, modact.

endselect.

if sy-subrc ne 0.

write : / tstc-tcode, 6 tstc-pgmna, 30 'No exits found'.

endif.

clear tstc.

endselect.

end-of-selection.

clear: search1, search2, search3.

  • End

Thanks,

Usman Malik