Skip to Content

Activating FKK_SAMPLE_TFK115 and related queries

Hi,

I was facing issue in clearing items management i.e. open but not due items were not getting selected for clearing in FP06 and FPMA so I have customized FKK_SAMPLE_TFK115.

Now we have following issues while debugging and for writing logic.

1.      Despite adopting this module, it is not getting triggered in FP06. How to achieve this?

2.      While this module is getting triggered in FPMA, but we are not able to visualise data flow as it is in background mode. (What we have done is insert endless loop and then adopted background job debugging through SM51 to see data). So is there is any other way to see data flow in FPMA.

3       There is no example code given as to what to write in subject FM so we are having hard time figuring out how to activate items and how to clear difference in case of there is amount mismatch.

Hope you have understood issue.

Awaiting expert comments.

Regards,

Paresh

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Aug 21, 2013 at 06:42 AM

    Hi Paresh,

    I can see that you have customized the FM FKK_SAMPLE_TFK115, that's fine.

    (a) Just check whether you have assigned this FM in the clearing steps of the clearing variant that is assigned to the following SPRO node against clearing type 03

    IMG-->Financial Accounting--->Contract Accounts Receivable and Payable-->Basic Functions--->Open Item Management-->Clearing Control-->Define Specifications for Clearing Types-->Define Defaults for Account Maintenance

    Also check whether in the clearing steps under the Group rule you have given the value of clearing rule as 8 or not.

    (b) Schedule FPMA in background. Go to SM37 and execute. Then type in JDBG in the transaction menu.I think you will be able to go into debugging

    (c) SAP Standard Configuration can cater most of the scenarios. Let me know your requirement. 

    Hope it helps...

    Thanks,

    Amlan

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Paresh,

      (a) If you are plugging in a custom FM in program enhancements under events 01 and 03, it should be a copy of the sample FM FKK_SAMPLE_TFK113E_01(for event 01) and FKK_SAMPLE_TFK113E_03 (for event 03) and not FKK_SAMPLE_TFK115.

      (c) From the example that you have stated above, I think you are planning to perform a clearing b/w two contracts under the same Contract account where in the item is not due yet.

      I think it can be catered through standard clearing configuration.

      In the clearing variant, assign two steps-

      (a) In the first step, under the grouping string , put

             1. 015-Contract Account

            2. 011-Item is due

           Under the Sorting String

            1. 024-Due date with deferral

            2. 004-Main Transaction

      This step will clear out the due items against the contracts.


      (b) In the Second step, under the grouping string , put

            1. 015-Contract Account

           Under the Sorting String

            1. 024-Due date with deferral

            2. 004-Main Transaction

       

      Hope it helps...

      Thanks,

      Amlan

  • Aug 22, 2013 at 03:05 AM

    What made you decide to create your own function?  That should only be necessary in very obscure circumstances.

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 29, 2013 at 06:20 AM

    HI,

    Sorry for delay in replying.

    Thanks for your inputs.

    I have tried standard config but it is not working.

    ABAPer is not able to figure out customization as he is saying that there is no "changing " values in FM 'FKK_SAMPLE_TFK113E_03' so we have raised issue with SAP OSS.

    Will keep you posted, if resolved.

    So still issue is not resolved.

    Regards,

    Paresh

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 24, 2013 at 05:38 AM

    Hi,

    We have found solution for the above issue.

    Christaine Grammlich assisted in resolving issue.

    Basically it was issue of incorrect configuration mapping. Following is log, for benefit of the users who might encounter this issue.

    There were two issues, one being

    1st

    The reason for the missing clearing proposal is the following entry
    in table V_TFK110:

    Applicat. area R
    Clearing Type 03 Account Maintenance
    Usage 2 (Account Maintenance)
    X Incoming Payment <------

    For clearing type account maintenance shouldn't set the flag incoming
    payment.

    2nd - for mass clearing, proper values shall be maintained in TFK115 table. Evidently, there was one blank entry in main and sub transaction mapping.

    All in all, issue resolved.

    Regards,

    Paresh

    Add comment
    10|10000 characters needed characters exceeded