cancel
Showing results for 
Search instead for 
Did you mean: 

F110 SORT - SEPA

Former Member
0 Kudos

Hello,

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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.

aidaj_hilton
Participant
0 Kudos

This message was moderated.