cancel
Showing results for 
Search instead for 
Did you mean: 

Element EndToEndID not filled in XML Payment file

former_member293658
Participant
0 Kudos

Hi FI Friends,

We are using XML format for payments. We are using CGI_XML_CT format provided in the PMW. The XML file is getting generated but the node EndToEndID under Node CdtTrfTxInf -> PmtId is not getting populated.

We are using the SAP provided Note To Payee 'SAP SEPA' in OBPM3 and have assigned a Note To Payee to the pay method in FBZP. We debugged event module FI_PAYMEDIUM_DMEE_30 and saw that the t_payment_details-text field had values of the XBLNR and the Pay Run Date.

However they fill element nodes RmtInf -> NB and RltdDt.

Can you advise how do we get this element EndToEndID populated please?

Thank you for any help

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member293658
Participant
0 Kudos

Hi All

It seems teh EndToEndId is not provided by SAP in the XML file when the payment method is flagged as 'Check' on the country level. However, the bank test system seems to require EndToEndId for even a Check transfer method.

Is there an issue in SAP that it does not populate EndToEndId for a check payment method?

Thanks

ajaycwa1981
Active Contributor
0 Kudos

Hi Michael

I think Yes.

You always have the option to populate it using an exit or a Function Module. But for check payments, as far as I know, it does not populate

Ajay M

former_member293658
Participant
0 Kudos

Hi Ajay

Thanks for the reply.

The Bank Test tool seems to require it for Check for some reason, so I guess we will have to supply it.

Would you know which function module we could use to attempt it? For example, should we be looking at the one of the event modules like? Or consider using the BAdi provided newly in note 2226373 for example?

Thank you.

Regards

Michael

ajaycwa1981
Active Contributor
0 Kudos

Event Module should help.. Am not ruling out the other one or the ones you directly use in the XML node

Ajay M

AntonFarenyk
Contributor
0 Kudos

Hi Michael,

Please check your payment method in Ccode (OBVU to be precise), under Pyt adv ctrl- if by chance note to payee round button is set to None - this may be your problem.

Also, for the same format I’m using another note to payee - SEPA_CGI and it returns SAP payment (FI doc.) number in EndToEndID. As I recall SEPA_CGI was recommended in OSS note accompanying CGI_XML_CT.

Hope it helps,

Anton

former_member293658
Participant
0 Kudos

Hi Anton,

Thanks very much for the reply.

I checked the Payment Method and it was indeed set to None. I then set it to 'As Many as Required' and later 'restricted to' but in each case the EndToEndId was not filled.

I then looked for a Note To Payee format SEPA_CGI on OSS but didn't find anything there. I wonder would you know at all which SAPNote gave that?

Also Anton, I was wondering if you might be able to advise on any of these queries please?

1) we will use CGI_XML_CT for not just SEPA payments but for all our payment types (eg domestic ACH or Wire non-domestic payments). In that case, do you know if we should be looking to use a different Note To Payee format? I can test a few (once I get the problem above resolved) to see but just wondered if you knew.

2) In different countries, we have various different requirements for our payments. For example, in Pakistan where we use CHEQUE there are different requirements to populate certain data, such as a specific city or a specific location where printed cheques should be delivered etc. Or in certain countries, there are special characters that are not allowed. These are examples of varied requirements we have per country, and even with a payment method per country.

Do you know in general how we should handle those using the CGI_XML_CT? For example, should we be using 1 CGI_XML_CT format for all countries, and then looking at the Event Modules FI_PAYMEDIUM_DMEE_30 etc to try implement code to meet the requirement? Or searching if any BAdi exits per SAPNote 2226373 can be used?

Or should we be looking to make a country-specific copy of CGI_XML_CT for each country, and then try adjust/configure the XML format using DMEE to try meet the requirements of each country within each country copy of CGI_XML_CT (we'd still need to anyway cater for the differences for each payment method within a country, so not sure what kind of value an approach of making a country-specific copy of CGI_XML_CT would be).

Any advice on the approach we should take that you can offer would be appreciated, because there are many OSS notes around the areas and difficult to know which ones to apply.

Thanks and regards

Michael

AntonFarenyk
Contributor
0 Kudos

Hi Michael,

The OSS note number is 1665873. Inside you’ll find a pdf with standard SAP guidelines on CGI_XML_CT implementation. Never mind TH as example in document. Check screen-shot at page 35 for format of the note to payee. Although, I’d suggest to carefully check settings in your system point by point against that pdf document. It has helped me more than once. To debug various DMEE issues I frequently use program SAPFPAYM_SCHEDULE. In your case I may suggest not to limit to FM you quoted above but rather go through complete process with a watchpoint on DMEE_PAYD-TEXT.

If answer is correct or helpful please tag it as such.

As to your other questions I’d not hijack this tread and avoid breaking p.13  of the rules of this forum. IMHO your questions are very interesting as format becomes more popular and they are worth another separate thread or even two.

Kind regards,

Anton

Former Member
0 Kudos

Hi Anton,

I couldn't set the watchpoint on DMEE_PAYD-TEXT, but SAPFPAYM_SCHEDULE has been a real time saver. I was familiar with the note already, but your comment let me look at it from a different angle.

Thanks,

greg