Skip to Content
author's profile photo
Former Member

F110 debug - exit FEDI0003

My apologies in advance, as this topic has been posted before. I do realize that there are quite a few threads on this already on the forum, however most, if not all previous postings, don't list a definitive answer aside from 'Thanks, solved problem'. That being said, here is my question:

I am looking to be able to change values in IDoc PEXR2002 prior to the document being created.

I have done the following steps:

1. Create project in CMOD, and activated the following enhancements: FEDI0002 (EXIT_SAPLIEDP_101), FEDI0003 (EXIT_SAPLIEDP_002), FEDI0004 (EXIT_SAPLIEDP_902). Within the code of each exit, I have inserted 'BREAK-POINT' in each. I have even tried being more specific in my code by specifying segment name. All are exits are active.

2. Create entries in table 'FEDICUS' for message type PAYEXT, basic type PEXR2002, and listed all segments of that Idoc. It is my understanding that entries for selected segments must exist in this table in order for the user-exit to get called.

In running multiple payment runs via F110 (interactively), none of my break-points will activate. I have tried running F110 in background, as well as F110S in both foreground/background with the same results.

I have already checked notes 1248868 and 937966. Neither has helped resolve this issue for me.

Anyone else have any ideas or hopefully an answer?

Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    Former Member
    Posted on Nov 21, 2011 at 07:52 PM

    I can suggest something to analyse..

    These user exits are being called from include LIEDPF15 based on some conditions. Put a break point on these IF conditions and see when and how it triggers.

    Thanks,

    SKJ

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Vishnu Tallapragada

      Thanks again for your input Vishnu and everyone.

      From what I have read in some SAP notes (note 1248868 to be exact) as well as other postings, it seems like some are saying EXIT_SAPLIEDP_002 is the correct exit to use, however you are saying EXIT_SAPLIEDP_902 is the correct one. To be thorough in my tests, I decided to place the same code in both of them and try it out. Here is what I put in:

      IF segment_name = 'E1EDKU3'.

      DATA ls_e1idku3 LIKE e1idku3.

      DATA: i TYPE i.

      DESCRIBE TABLE edidd_table LINES i.

      IF edidd_table-segnam = 'E1EDKU3'.

      ls_e1idku3 = edidd_table-sdata.

      IF ls_e1idku3-pairzawe = 'A'.

      ls_e1idku3-pairzawe = 'D'.

      edidd_table-sdata = ls_e1idku3.

      MODIFY edidd_table INDEX i.

      ENDIF.

      ENDIF.

      ENDIF.

      Essentially, I am trying to change the value for payment method from one value to another. I see the exit getting called when I set an external breakpoint at my top IF statement, however the underlying code gets skipped over, even though the condition has been met.

      Do you or anyone see any issues with my logic here?

      Thanks!

  • Posted on Dec 19, 2019 at 03:11 AM

    Hello all,

    Dedug F110.

    Run f110 after payment propsal and payment click on printout

    uncheck start immediately give start time for 1 hr after. now so to sm37 search for our job

    go to step we get

    1 SAPFPAYM_SCHEDULE ABAP &0000000042857

    2 RFFOEDI1 ABAP &0000000000756

    this we need to run in forground . run program SAPFPAYM_SCHEDULE and varient from background job .

    now keep break point RFFOEDI1 take varient from background job and delted the job.

    for user exit go to SM37:FI_EDI_PAYEXT_PEXR2001_OUT

    search :perform store_pexr_segment keep break point

    include :LIEDPF15

    CALL CUSTOMER-FUNCTION '001'
    EXPORTING SEGMENT_NAME = PEXR_EDIDD-SEGNAM
    SEGMENT_DATA = PEXR_EDIDD-SDATA
    POSITION = AKT_POS
    REGUH_DATA = REGUH_IN
    REGUP_DATA = TAB_REGUP
    IMPORTING I_FIMSG = USER_MSG
    TABLES EDIDD_TABLE = PEXR_EDIDD
    REGUP_TABLE = TA

    Run :RFFOEDI1 it 100% stop @ break point.


    capture.png (28.7 kB)
    capture.png (28.7 kB)
    Add comment
    10|10000 characters needed characters exceeded