Application Development 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: 

F-28 BADI user EXit or BTE

0 Kudos

Hi Experts ,

my requirement is as below :

when we run F-28 t code system pull all FI / billing documents and process them , we want system to skip particular invoices having some flag  .

for this we need User exit / BADI to change the data of internal table so that we can influence the invoices selected by system .

Kindly help.

Regards ,

PS.

1 ACCEPTED SOLUTION

0 Kudos

Hi All,

Thanks a lot for Quick help.

I created BTE as mentioned , but it doesn't work for my requirement.

hence i solved it as below .

in include MF05BFS0 i created implicit enhancement point in form " seltab_abarbeiten_s1 "

and wrote my code to skip particular invoices .

It is working fine for me in F-28 tcode .

8 REPLIES 8

former_member210857
Participant
0 Kudos

Hi Try this

BTE -  00001120   OR  00001140

badi - BADI AC_DOCUMENT

Thanks and Regards,

Subeesh Kannottil

0 Kudos

Thanks a lot for Quick reply , i never use BTE , can you please elaborate further ?

0 Kudos

Hi Sanjay,

Please follow the below steps,

1) Go to T-Code FIBF, In Menu- Environment->Info System (P/S)

2) Select the BTE you want to implement.

3) press button Sample function module.

4) Now you will be directed to SE37, here copy the same function module to a Z function module(Please create a function group befor this).

5) Edit the code as per your requirement in the new function module.

6) Now go to transaction FIBF -> Menu settings-> products-> Of a customer and create a new product which identifies the new product. Remember to mark the Active field.

7) Go back to FIBF Tocde menusettings -> P/S FMs -> Of a customer create an entry that links the BTE and product with the new Z FM you created.

Please get back in case of any issues.

Regards,

Satish

0 Kudos

Thanks all,

i create BTE as mentioned . and i put break point in Z function module .

when i run F-28 my FM is not triggered (no debug mode start) . how to move further ?

0 Kudos

Hi Sanjay,

Did You do the 6th and 7th step i have mentioned.

regards,

Satish

former_member210857
Participant
0 Kudos

Hi,

Please check this post by Borja Muro .

Thanks and regards,

Subeesh Kannottil

0 Kudos

Hi All,

Thanks a lot for Quick help.

I created BTE as mentioned , but it doesn't work for my requirement.

hence i solved it as below .

in include MF05BFS0 i created implicit enhancement point in form " seltab_abarbeiten_s1 "

and wrote my code to skip particular invoices .

It is working fine for me in F-28 tcode .

Former Member
0 Kudos

Hi Sanjay,

Insteasd of using BADI/BTE use enhancement spot in program SAPMF05A where always this particular program triggers while processing..

If you require after selecting Process open items use BTE OPEN_FI_PERFORM_00000950_E

If required more you can let me know the process of doing it and at what point you need to code.

Regards,

Anand