Quantcast
Channel: SCN : Unanswered Discussions - ABAP Development
Viewing all articles
Browse latest Browse all 8768

DMEE - payment file to be altered using event FI_PAYMEDIUM_SAMPLE_41 using T_FILE_OUTPUT

$
0
0

Hi Experts,

We have requirement of Payment Gateway program for payment details to be sent to the bank.

we need to send a text file in a particular format to the bank,

We created a DMEE payment type and Payment tree structure for this.

we have created few user exit function modules ( by copying Function

module template DMEE_EXIT_TEMPLATE) to accomodate few additional fields which otherwise are not available in Payment structure.

we want the file generated to be named in specific format and moved to a specific location within the application server, so we used event 21.

by creating below function module.

1) zdmee_hdfc_event21( copied from template function module

FI_PAYMEDIUM_SAMPLE_21 )

We also want to alter the structure of the final output data before file is generated, so we used event 41.

2) zdmee_hdfc_event41( copied from template function module

FI_PAYMEDIUM_SAMPLE_41),

we have assigned this 2 function modules in transaction OBPM3 to our

format tree for the respective events.

we are able to successfully set a file name and move it to a desired location using event 21, but event 41 is failing.

When we place a breakpoint on event 41 and do a payment run, we expect

T_FILE_OUTPUT to be filled up with the final output data,but is is

always

coming empty.

since the requirement of our client is to have data in a particular

format, which cannot be acheived through the existing format tree, we

wish to alter the output format of the data in event 41

What can be the reason that T_FILE_OUTPUT is always coming blank when we check it in debugging mode in a breakpoint.

 

Highly appreciate your valuable guidance

 

Regards

Vaibhav


Viewing all articles
Browse latest Browse all 8768

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>