2013 Aug 08 8:33 AM
Hi Experts,
CAX:-Non standard Industry based
For Online webshop
I have the system setup in which standard dunning procedure is assigned at the contract level.
At each order level, there is a specific dunning procedure maintained based on payment method etc... In which the particular order gets dunned with the dunning procedure maintain in 'dunning data' tab at the positon level.
Here the dunning procedure XY is used for payment method Bill, Immediate money transfer, Paypal etc..
Is there any simple way to remove paypal from dunning procedure XY without much changes in the current setup.
2013 Aug 08 1:58 PM
Events 364 and 365 enable you to use payment method to influence dunning. You could also implement some logic in dunning events to exclude those accounts/documents.
2013 Aug 08 1:58 PM
Events 364 and 365 enable you to use payment method to influence dunning. You could also implement some logic in dunning events to exclude those accounts/documents.
2013 Aug 12 9:18 AM
Hallo Mr. Eastman,
Thank you for your reply. I have customized event 365. Here is the code of mine.
DATA: ls_fkkop TYPE dfkkop.
CALL FUNCTION 'FKK_SAMPLE_0365'
EXPORTING
i_ezawe = i_ezawe
* I_FKKVKP =
i_fkkop = i_fkkop
* I_AUSDT =
IMPORTING
e_xcash = e_xcash
e_other_reason = e_other_reason
* E_FIMSG =
* EXCEPTIONS
* EXCEPTION_WITH_MESSAGE = 1
* OTHERS = 2Break-point.
BREAK-POINT.
SELECT SINGLE * FROM dfkkop INTO ls_fkkop
WHERE
opbel = i_fkkop-opbel AND
opupw = i_fkkop-opupw AND
opupk = i_fkkop-opupk AND
opupz = i_fkkop-opupz AND
pymet = 'P'.
IF sy-subrc IS INITIAL.
e_other_reason = 'X'.
ELSE.
e_xcash = 'X'.
ENDIF.
I have the following questions.
1. I have created dunning proposal using FPVA. Eventhough I have set a break point in this event. still it is not stopping here.
2.Paypal customers are dunned as well:-( What is wrong with my code?
Thanks a lot in advance!
Pls reply back as I need it in real urgent.
2013 Aug 13 1:52 AM
Hi Lakshmi,
Have you activated the custom FM at event 365?
If you have set a break-point at the custom FM and its not getting triggered during the dunning proposal run, then there can be two possible reasons-
(a) The FM is not activated.
(b) The conditions for triggering the FM are not getting satisfied and hence it's not triggered.
Once the FM is triggered, only then the above piece of code will work, other wise not.
Hope it helps.
Thanks,
Amlan
2013 Aug 15 8:45 AM
Hi Amlan,
Thanks for your reply. The code is working as desired. I have executed dunning proposal and the result is as per the coding over here. Still strangely, in debugging the cursor is not stopping there. So I though there is a different procedure altogether to debug fqevents..
Anyways thanks for ur efforts and ur reply:-)
Lakshmi.
2013 Aug 28 11:51 AM
Hi Friends,
Now I found in scn.sap.com, the reason why session and external breakpoints are n't working in FQEVENTS.
Here is the reason behind it,
Source Link:- https://scn.sap.com/thread/2016994
FPVA is a mass activity and session or user break points wont work actually .
try the following save the parameters of FPVA then in command menu type =dbug and execute the mass run would run in debugger mode .
go to set breakpoints at function module and there give the name of the fm where you want to stop Eg. FKK_*.
Anyone facing the same problem, refer the thread.