Skip to Content
author's profile photo Former Member
Former Member



My client has asked to create several SEPA files according to some factors.

The main factor is the field FDGRV (in KNB1 or LFB1). Whenever it changes the system must generate a new file. This field does not belong to REGUH in spite it was added to struture REGUH_LST).

Using momentum 25 of Payment Format (OBMP1) and specific Z* Function Module we managed to do this. However we are facing a problem.

Imagine this:

1st lifnr - FDGRV = AA

2nd lifnr - FDGRV = AA

3rd lifnr - FDGRV = BB

4th lifnr - FDGRV = AA.

In this cases we should only have two files because there are only two FDGRV. However, it created 3 files since FDGRV value changes 2 times.

  • First file has 1st and 2nd LIFNR (FDGRV = 'AA')
  • Second file has 3rd LIFNR (FDGRV = 'BB')
  • Third file has 4th LIFNR (FDGRV = 'AA')

Because of GET FPAYH in include FPAYM_GET of report SAPFPAYM, we can only read one entry at a time of table REGUH.

Is there any way, via STANDARD ou even EXIT to sort REGUH before this instrution "GET FPAYH". Or is there anyway i can access some internal table where i can MODIFY reguh, before COMMIT WORK??

Thank you very much.

Nuno Anjos

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Aug 16, 2016 at 12:20 AM

    This message was moderated.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 14, 2016 at 09:58 AM

    Hello Jill,

    we managed to do it through the functions in the events of the payment and in the DMEE tree. At the moment i don't have access to the machine where i implemented it but as soon as i have it, i'll send it to you.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.