cancel
Showing results for 
Search instead for 
Did you mean: 

BADIs for F110 Tcode

Former Member
0 Kudos

Hi all,

I want to know the BADI name which triggers when i click on button PRINTOUT(F6) in tcode F110.

My requirement is that...when i click on the printout button and schedule print will pop-up, there we will be entering the job name and start immediately...then at bottom we will see print job has been scheduled...then if we go in the menu items Environment->Payment medium->DME administartion..there we could see all the mediums(in XML my case)..there we can either download it or see the file there it self...my requirement here is i want to downlaod the file automatically to some local directory when i click on PRINTOUT(F6) directly..is this possible by some BADI/userexits..pls help

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

check all these Badi's for F110 tcode

FI_BSTM_MC_EXIT

FI_F110_SCHEDULE_JOB

FI_PAYMENT_ACCOUNTHOLDER_GTS

FI_PAYMENT_ADD_INFO_FOR_GTS

FI_PAYMENT_NOTE_TO_PAYEE_GTS

Thanks,

Santhosh

Former Member
0 Kudos

Currently i am in 4.6c...so except the first one..all others are not present in this version...pls hlp

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

Check if in your release what BTE you have availables (tcode FIBF).

Check these notes:

SAP Note 528727 - F110: BTE authorize. check in maintenance of proposal run

SAP Note 912374 - Payment program: Payment method determination from contract

SAP Note 9829 - Company code-dependent bank selection

and related notes

I hope this helps you

Regards

Eduardo

Former Member
0 Kudos

Thanks for ur reply...but what are these SAP notes for??..do i need to implement in order to get those BADIs?? pls hlp

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

Check this [article|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/207835fb-0a01-0010-34b4-fef1240ba9b7] by Lakshman Tandra to know how BTE works.

My suggestion is try to develop them and try if you can do your requirement with them. So, write a break-point and check if with the available interface it's possible or no.

I hope this helps you

Regards

Eduardo

Former Member
0 Kudos

Hi Eduardo,

Thanks for your help.But is there any other way to achieve my requirement...as i am new to BTE it may take some time for me to understand and implement.

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

As I told you I am not sure that it will work for your requirement, but I'd try it. Think that it's a good oportunity to learn something new and improve your skills.

I forgot. Think that this tcode works in background. So, if you write a break-point, surely it doesn't stop. Set the debugging session for updating or background.

Regards

Eduardo

Former Member
0 Kudos

Basic Steps in Configuring Business Transaction Events

􀂾 Make sure the application is active for Business Transaction Events.

􀂾 Identify the BTE

􀂾 Copy the sample interface function module into a "Zu201D or u201CYu201D function module.

􀂾 Write the ABAP code into the source code section of the new "Zu201D or u201CYu201D function module. You may choose to create a "Zu201D or u201CYu201D program to enter the code into and then insert the "Z" or u201CYu201D program into your function module source code.

􀂾 Save and activate the function module.

􀂾 Assign the function module to the event, country and application.

I have done some analysis---I have identified the BTE - SAMPLE_PROCESS_00002060..i have copied it to some z function module...

But in the above steps..i have highlighted the last one...assign the FM to the event, country and application - how to assign this FM to the event.Pls hlp.

raymond_giuseppi
Active Contributor
0 Kudos

Use transaction FIBF :

- Ceate and activate your own product : To do so, choose Settings,Products, of a customer in the "Additional Components Developed by Customer" view and add a new product there after choosing "New entries". Then activate it by flagging the "Active" checkbox and save it.

- Assign your Function Module : To do so, choose Settings, Process function modules, of a customer (There you will see columns "Event", "Country", "Application", and "Product")

Regards,

Raymond

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

See the article that I told you (you have a hyperlink) or the steps that Raymond suggests you.

Remember to do debugging in updation, because F110 works in background and it's possible that it won't stop in the break-point in dialog.

Regards

Eduardo

Former Member
0 Kudos

Thanks for ur response...

Thats what...i have identified the function module copied and assigned it to the product and done the necessary activation..

but still it is not stopping when i execute ...as u have mentioned Remember to do debugging in updation, because F110 works in background and it's possible that it won't stop in the break-point in dialog. how to debug it in updation...pls hlp

raymond_giuseppi
Active Contributor
0 Kudos

In the ABAP Debugger, check Update Debugging under Settings.

Regards,

Raymond

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

As Raymond suggests you. Set a /H in the box where you write tcodes, intro, run F110, in the debugging go to menu path: settings / update debuging, press F8 and it will have to stop in your break-point.

Regards

Eduarddo

Edited by: E_Hinojosa on Sep 7, 2011 11:47 AM

Former Member
0 Kudos

while debugging i have activated the update debugger...but still it didnt stop for my breakpoint...i have kept for process - 00001510,00001520,00002060 ...am i using the correct process for my requirement?..

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

You can set a break-point in BF_FUNCTIONS_FIND to find the proper BTE for your event (if it's possible). See this [wiki|http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=27025].

Regards

Eduardo

raymond_giuseppi
Active Contributor
0 Kudos

I'd even say more, to be sure to intercept every BTE (process or function) use break-points in

- BF_FUNCTIONS_FIND Publish&Subscribe-BTE: Determine the function to be processed.

- BF_FUNCTIONS_READ Determine Functions to be called for a given Event (opt)

- PC_FUNCTION_FIND Process BTE: identification of standard and alternative function blocks

- PC_FUNCTIONS_READ Determine functions to be called for a given event. (opt)

Regards,

Raymond

Former Member
0 Kudos

I have kept breakpoints in BF_FUNCTIONS_FIND and PC_FUNCTIONS_FIND...and ran F110 tcode..after entering the rundate and identification ...entered /H..debugging has started...after that update debugging switched on...then pressed F8..it didnt stopped for any of my break-point...why it is happening like this...for my confirmation..i have done the same process for FB01..it stopped for this tcode...

Former Member
0 Kudos

Hi

The program used by F110 for the print and the file are defined in customizing table, so if you need to add an extra-code (for a your particular issue) you can considere to create a new program (just as copy of the standard one) and insert your modification here,

Then you need to change the setting in order to run your program instead of the standard one

Max

Former Member
0 Kudos

Hi,

Please keep the break point inside the Function Module 'BF_FUNCTIONS_READ' the field TBE01-EVENT contains the respective BTE number. So first check the BTE's triggered during execution and then based on the requirement filter the BTE. finally Create the Product etc.. as followed previously.

Former Member
0 Kudos

Creating a new program by coping the standard may not be possible in my case...but when i check tcode FDTA..i could see entries which are being scheduled ...and from there i can view the XML file or download it to the local server....can any one pls help me out...how can i automatically save the file in application server whenever a new entry has been in FDTA...

Former Member
0 Kudos

Hi

You need to check your payment medium program, but without to change it I don't think it's possible to do you need,

I check my program I can't see exit, BADI or BTE for downloading the file

There are some BTE for the print:

00002040 Autom. pmnt transactns: Output of pmnt advice note

00002050 Autom. pmnt transactns: Output of pmnt advice note

00002060 Automatic payments: Payment medium print

of course this BTE can be triggered only if the option for the print is selected

You can try to add an extra-program in the section list or you need to change your payment medium program

Max

Former Member
0 Kudos

Hi ,

you have 2 options to do it ,

1.Using DMEE Events -->Check Tcode : OBPM1A->can check documentation of each FM modules.

2.Create a Variant wil specified path (to download the file ) for program SAPFPAYM ( or Tcode FBPM ) and assign this Variant to your DMEE format in Tcode OBPM4 ( please ask your FC to get more details on it ).

regards

Prabhu

Former Member
0 Kudos

i have kept a break-point in FDTAX001(user-exit)...When ever i download the file present in FDTA tcode...the debugging is triggered...but i want the user-exit after a new entry in FDTA(i.e, whenever a job has been scheduled)...

Former Member
0 Kudos

Hi Prabhu,

2.Create a Variant wil specified path (to download the file ) for program SAPFPAYM ( or Tcode FBPM ) and assign this Variant to your DMEE format in Tcode OBPM4 ( please ask your FC to get more details on it ).

Can you pls let me know how to create a variant- to download the XML file automatically to application server..

Answers (0)