2007 Oct 27 7:50 AM
Hi,
I am not aware of events(tcode-FQEVENTS). Could you let me know throw a light or some information or document on the events so that i can have an idea of what are events and their implementation
Regards
Shiva
2007 Oct 27 6:20 PM
Hi Shiva,
There are a set of events provided by SAP(Tcode-FQEVENTS or spro menu path Financial Accounting->Contract Accounts Receivable and Payable->Program Enhancements->Define Customer-Specific Function Modules) which help in enhancing the flow of processes in the relevant places to incorporate additional checks and additional activities with in standard programs.
Each event contains a function module which can be enhanced with user specific activities to include your own logic.
Search for the event of your specific need by filtering using search terms, read the documentation of the respective events and by using a breakpoint in the function module check is it the right event for you to include your own logic. Copy the function module and make a Z of the same.
You need to make an entry of the respective Z function module as installation specific function module in the table:V_TFKFBC
regards
Gagan
2007 Oct 27 5:51 PM
Hi Siva,
There are a lot of events in FQEVENTS. These are basically FICA events. You can use events in payments, returns, collection agency etc... It will be better if you read the documents available for each event.
Regards
Gautam
2007 Oct 27 6:20 PM
Hi Shiva,
There are a set of events provided by SAP(Tcode-FQEVENTS or spro menu path Financial Accounting->Contract Accounts Receivable and Payable->Program Enhancements->Define Customer-Specific Function Modules) which help in enhancing the flow of processes in the relevant places to incorporate additional checks and additional activities with in standard programs.
Each event contains a function module which can be enhanced with user specific activities to include your own logic.
Search for the event of your specific need by filtering using search terms, read the documentation of the respective events and by using a breakpoint in the function module check is it the right event for you to include your own logic. Copy the function module and make a Z of the same.
You need to make an entry of the respective Z function module as installation specific function module in the table:V_TFKFBC
regards
Gagan
2007 Oct 28 7:41 AM
Hi Gagan,
As per my understanding, i can copy the sample FM/Standard FM in the events into a Z(Custom) FM and add my logic for checks.....AM i correct?
Then now my custom FM will be standalone....How will my code in the custom FM trigger when the corresponding transaction is executed????
For that do i need to register the custom FM and have an entry in the table V_TFKFBC so that the code in the custom FM is triggered on execution of the transaction...
Please clarify the above points
Regards
Shiva
2007 Oct 28 10:09 AM
Hi Shiva,
Yes what you have understood is exactly right
You need to copy the standard function module of the event to make a Z of it, make an entry in the table V_TFKFBC so that the Z function module is triggerred upon execution of the relevant Tcode.
Your Z function module(containing your own logic) will now be triggered upon execution.
The only thing is you need to find out which event is relevant for your specific requirement by (reading the documentation of the event/putting a breakpoint in the function module etc.).
~Cheers
Gagan