cancel
Showing results for 
Search instead for 
Did you mean: 

Payment Medium Workbench - Invoice items to be added in separate rows

Former Member
0 Kudos

Dear All,

I am working on creating outgoing payment request for Thailand Citibank. I am using a DMEE tree to generate the file.

In this specific case there is a requirement to print the invoice/accounting document details for which the particular payment is being requested. This information is not available in the structures FPAYH, FPAYHX and FPAYP. Hence I need to get the information for each document in FPAYP using a function module to get the details of the individual document.

The question is: What is the structure that can be used to populate this? How to loop through the data since it may contain 1 or more records(depending on number of documents for which payment is made).

I have tried to use the "note to payee" taking the standard function modules but there is no tab structure available. I have tried to read through the SAP help but not much information is available.

Any help regarding this would be appreciated.

Regards,

Ram

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Please look at the following 2 functional modules, these are used in US but will give the technical logic to populate the invoice details in the DMEE file

FI_PAYMEDIUM_ACH_DETAILS_CCD (only when single invoice is paid)

FI_PAYMEDIUM_ACH_DETAILS_CTX (when more than one invoices are paid)

And I don't think the "Config option for note to payee" can give you the desired result, means you need to use the functional module to get the desired result with PMW. Whereas config option might work if you use the Classic Payment medium program

Thanks

Ron

Former Member
0 Kudos

Hi Ron,

Thanks for the message. Is the function module FI_PAYMEDIUM_ACH_DETAILS_CTX delivered as part of any OSS note? I do not find the function module in our system. Is there a corresponding DMEE tree XML file available?

Would help if you can point me to a place where I can find more information on this FM.

Thanks and Regards,

Ram

Former Member
0 Kudos

Try fm fi_paymentmedium_ctx_fg_30 under se37 or use * to find more related modules

Former Member
0 Kudos

Hi Ron,

Thanks a lot! I will look into this and modify/copy the FM FI_PAYMEDIUM_CTX_FG_30 and use it in event 30 in OBPM1.

Regards,

Ram

Former Member
0 Kudos

Hi Rama,

We have a similar requirement and i am facing the same issue.

Can you please let me know if you had found any solution for this?

Thanks

Phani Kiran

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Why do you have to use function module? You can check the box 'Note to payee layout using customizing' and define it in default note to payee (folder on the left side). As an example, the definition can be something like &FPAYP-XBLNR&&FPAYP-SGTXT& &FPAYH-DOC1R+4(10)&

Regards,

Ming

Former Member
0 Kudos

You need to define a new level in the DME structure at FPAYP field .

Then create a new segment at this level and the invoice documents will get populated.

Regards,

Gaurav