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

MT101 - Ordering Account Number in Field :50H:

Hi all,

Does anyone know if it's possible with standard SAP to send the house bank IBAN in field :50H: of MT101 files instead of the normal account number (from T012K-BANKN).

This logic would potentially place FPAYHX-UIBAN into :50H: . If FPAYHX-UIBAN is blank then take normal account number from UBKNT_EXT.

Any advice would be much appreciated.

Thanks,

Jack

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jul 20, 2016 at 01:12 PM

    Hi all,

    I had the same problem and got following answer from SAP (translated from GER into EN):

    According to SWIFT -Specificatin we fill field 50H in Fromat MT101 with the bank account number.

    If your house bank requires the IBAN instead in that field, you can use event module 21 in the PMW to populate field 50H instead of the bank account number with the IBAN".

    If you look for format MT101 you find that following events exist which have also function modules assigned:


    Event Event function module

    00 FI_PAYMEDIUM_MT101_00

    10 FI_PAYMEDIUM_MT101_10

    20 FI_PAYMEDIUM_MT101_20

    25 FI_PAYMEDIUM_MT101_25

    30 FI_PAYMEDIUM_MT101_30

    40 FI_PAYMEDIUM_MT101_40

    SAP wants us to create a new event (21) which should handle that issue. But in our case we have already changed before event function module as we copied it to "ZFI_PAYMEDIUM_MT101_20". So we used event 20 to do the changes.

    We did following coding:

    * Fill field 50H (ordering customer)
    * start of change 20.07.2016 USER
    IF NOT i_fpayhx-uiban IS INITIAL.
    lv_account = i_fpayhx-uiban. "Bank account IBAN number
    ELSE.
    lv_account = i_fpayhx-ubknt_ext. "Bank account number
    ENDIF.
    * end of change 20.07.2016 USER

    PERFORM fill_field_50
    * USING i_fpayhx-ubknt_ext "Bank account number
    USING lv_account "Bank account number / UIBAN

    xxxxxx

    New variable lv_account has te be declerated at the gebinning:

    DATA: lv_account type BANKN_EXT.


    Regards


    Gernot

    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.