Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SEPA : Delete mandate usage

former_member474499
Participant
0 Kudos

Hello All,

I want to delete the use cases of a mandate via A function Module or a BAPI.

While searching, I found the MF 'SEPA_MANDATE_DELETE_USAGE' but it doesn't work.

It seems like I'm missing something.

Here how I'm testing :

DATA l_usage TYPE sepa_mandate_use.
DATA lt_message TYPE bapiret1_list.
DATA lt_message2 TYPE LINE OF bapiret1_list.

l_usage-mandt = sy-mandt.
l_usage-mguid = '0017A47700041EE29ED40E392CCA0902'.

CALL FUNCTION 'SEPA_MANDATE_DELETE_USAGE'
   EXPORTING
     i_usage       = l_usage
     i_update_task = 'X'
   IMPORTING
     et_messages   = lt_message.
COMMIT WORK.

Can you please tell me how should I do to delete the usage? what is wrong with what I wrote?

Thank you in advance.

BEst regards.

Hk

1 ACCEPTED SOLUTION

raymond_meulman
Explorer
0 Kudos

Dear Hk,

The functional way to deal with mandate usage delete is described in SAP note 1693619.

Reversing the documents posted to a mandate then leads to a reversal of the mandate usage.

Hope it is of help.

Regards,

Raymond

4 REPLIES 4

raymond_meulman
Explorer
0 Kudos

Dear Hk,

The functional way to deal with mandate usage delete is described in SAP note 1693619.

Reversing the documents posted to a mandate then leads to a reversal of the mandate usage.

Hope it is of help.

Regards,

Raymond

0 Kudos

This message was moderated.

0 Kudos

Dear Hk,

The program RSEPALIST (transaction FSEPA_M4) offers the possibility to delete usage from the mandates. Please ignore my earlier post which refers to the program RF_CONVERT_XEZER_TO_MANDATE. That is not correct.

Sorry for the confusion and regards,

Raymond

former_member474499
Participant
0 Kudos

Hello Raymond,

Thank you for your answer.

It helped me to solve my issue.

Best regards.