cancel
Showing results for 
Search instead for 
Did you mean: 

XML file tag <InstrForCdtrAgt><InstrInf> filled with vendor line item data

former_member293658
Participant
0 Kudos

Hi AP Colleagues,

When using the XML file format CGI_XML_CT the system is populating the vendor line item text into the tag <InstrForCdtrAgt><InstrInf> by default. This is rejected by the bank as being invalid Bank Instruction Details. It seems strange that the system would fill this tag from the vendor line item text field.

Is it correct that it should do this?

See attached.

Thank you.

Regards

Michael

Accepted Solutions (1)

Accepted Solutions (1)

ajaycwa1981
Active Contributor
0 Kudos

Hi Michael

It all depends on the Config you do in DMEE

1. Ask your Bank what value should be filled in it

2. Locate which field in your Document contains that Value

3. Locate the field in the Structures FPAYH, FPAYP or FPAYHX. One of these Structures must contain the Value

4. Map that Field in DMEE in this Tag

This Generic process applies 100% to all situations in DMEE

Regards

Ajay M

former_member293658
Participant
0 Kudos

Hi Ajay

Thanks for the reply and the general procedure steps.

The problem is that we are using the new BAdi to populate the data on the XML file. The supposed idea behind this is to avoid making changes to the delivered format template like CGI_XML_CT. In the BAdi itself, there is no way to change the content of the tag <InstrForCdtrAgt><InstrInf>. So it looks like we'll have to modify the CGI_XML_CT template to not have FPAYP-SGTXT fill that node. I think it's not great that SAP would (1) pull the data from this field anyway because users enter all kinds of data on that filed for information and other purposes and so does not seem an ideal place to pull bank instruction data from and (2) provide a BAdi technique that then does not allow this tag to be affected (maybe it's an oversight).

I think we will contact SAP on this one.

Thanks for the information.

Regards

Michael

ajaycwa1981
Active Contributor
0 Kudos

Hi Michael

The templates provided by SAP are only a "Shell".. You need to adapt it to your needs

Copy the Standard Template and Make your changes in it

You can (I have myself done this) change the copied template to your needs and populate it the way you want.. If it can be achieved from Standard, I would not prefer going to exits and BADIs

Hope this helps

Regards

Ajay M

Answers (0)