Application Development and Automation 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: 
Read only

Payment interface ING

Former Member
0 Likes
2,397

I have to process files with XML format for ING Romania. I have to make changes in the header , function module FI_PAYMEDIUM_DMEE_20 (add two fields there) and Transaction record FM FI_PAYMEDIUM_DMEE_30 to change the logic for few fields. How this can be achieved?


My question, the fields that need to be added are already present in the structure, where to write the logic for the new fields and also for the fields where logic needs to be changed.


I have to add FM FI_PAYMEDIUM_DMEE_20 in Event 20 and FI_PAYMEDIUM_DMEE_30 in event 30.


Any suggestion?

11 REPLIES 11
Read only

GirieshM
Active Contributor
0 Likes
1,863

Hi Anil,

As per my understanding, you need to write the custom logic in the FM FI_PAYMEDIUM_DMEE_20 and FI_PAYMEDIUM_DMEE_30 which has new fields in the structure ( might be Importing or tables ) parameters. If it is the case choose Implicit enhancement to derive your code at the top or bottom.

Please revart back if my understanding is wrong, much clear with your issue.

With Regards,

Giriesh M

Read only

Former Member
0 Likes
1,863

Hi Giriesh,

Thanks so much for your reply!

Though I am not sure, whether I need to write the code in implicit enhancement or copy the FMs and write my own logic in the custom FMs and then attach them to the respective events.

Also what is 23B, 32A, 50K are these specific positions? How to find these in the program?

Read only

GirieshM
Active Contributor
0 Likes
1,863

Hi Anil,

I dont have much knowledge about FI. But my suggestion is, If you are taking a copy of the FM then you have to update the ZFM for every release provided by SAP for the original FM. If it is a enhancement then the custom logic will be as it is, even after upgrade ( any changes done by SAP in the standard code will adhere to it). You can also give a try on BAdi as nabheet mentioned.

With Regards,

Giriesh M.

Read only

Former Member
0 Likes
1,863

Hi Giriesh,

I do not have write code in the standard Function Module, but have to copy the standard FMs and create Z copy of the FMs and then write my code there.. But I am not able to see from where the structure is importing all the fields?

Read only

Former Member
0 Likes
1,863

Hi Giriesh,

Now I have populated the fields in the respective FMs and have added the FMs in respective FMs in OBPM1 Transaction. But these custom FMs are not getting triggered but standard FMs were getting triggered via FBPM.

Do I need to do the configuration somewhere else as well?

Read only

GirieshM
Active Contributor
0 Likes
1,863

Hi Anil,

I hope that you have to assign custom FM in OBPM3 t-code for event 21 and 31 as per your requirement. Please check how they have assigned the standard fm and try to replicate the same for the custom FM.

With Regards,

Giriesh M

Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
1,863

Hi Anil

You can modify the file using BADI DMEE_BADI_01. It is getting called in both FM

Nabheet

Read only

0 Likes
1,863

Hi Nabhneet,

The functional says that I have to add fields in the given FM (ZFI_PAYMEDIUM_SEPA_20) only..

Initially File does not have fields FPAYH-RBETR and FPAYH-RPOST.. But for Romania payment we need this file.


Also, I have to change some logics for fields of of FPAYH-UIBAN ( House bank: format /D/last 10 digits from IBAN Account) in node :52A: and some more fields in FM (FI_PAYMEDIUM_DMEE_30) .


How can this be achieved?


Any help will be deeply appreciated..




Read only

0 Likes
1,863

Hi,

I hope  you are using RFFOM100 to generate MT100 file after F110 in your process.

In that case you can copy RFFOM100 in to ZRFFOM100 and you can modify the DME output as you required.

Thanks

Read only

0 Likes
1,863

Hi Chandra,

No I am using MT103 file and I have to use FM FI_PAYMEDIUM_DMEE_20 for header and FM FI_PAYMEDIUM_DMEE_30 for transaction record and have to add custom Function Modules of these above FMs in events 20 and 40..

I want to know from where fields are getting populated in the above FM ?

Read only

0 Likes
1,863


From transaction DMEE ( tables are DMEE_*) the above function modules populates the data

FYI...Diff between MT103 and MT100 is only the  format..technically no difference 

I have few queries..

How you will populate DME message from F110 using above function modules? Where you are going to call the above function modules?

Thanks