Skip to Content
0
Former Member
Apr 27, 2012 at 09:33 AM

[CRM7.0] - Add custom fields in Web Services for Word Template

53 Views

Hi experts,

In Grantor Management within CRM 7.0, we have an Adobe form linked to Grantor Application (CRM ORDER of BUS2000270, process type GAP).

We want to create an attachment for this CRM ORDER with the use of a word template.

We used the SAP note 1566793 to do so and everything worked fine. But now the requirement is to add data from the Adobe Form and put it in the word template.

We are able to read the Adobe Form (which is an XML file).

The word template is handle by a Web Service (created via the Web Service Tool). And the problem is that the Web Service Tool gives only "standard" fields from the CRM ORDER (including customer specific in CRMD_CUSTOMER_* structures).

I'd like to be able to enhance the input structure of the generated function module behind the Web Service, but I don't know how (this structure is set as non extensible and is a local generated structure, thus it wouldn't be transported even if I could modify it).

I tried to implement the SAP OSS note 1420943 but it did not help as I don't understand how it works.

I also found another OSS note that describes a BAdI used to modify the values of the inputs but it doesn't allow to add new fields.

I have no other clue, so I hope one of you had faced the same issue and have a working solution for me.

Please note that creating customer specific fields via the Application Enhancement Tools is not an option since there are several tens of fields in the Adobe form...

__

Thank you in advance.