Hello community,
I'm struggeling with an enhancement of a ByD core XLS template which downloads data from ByD into Excel.
Downloadable template to be extended:
- List of Campaing members (EN)
Required enhancement:
- Add addtional PDI implemented elements (fields) to XLS export structure
Basically I just need to get my new PDI-fields into the structure of the standard XLS download template. My PDI fields are defined on 'Campaign.OutboundMarketingActivity'. Via debug mode of the studio I've proven that these fields and all other core fields have valid values. So all data I need to export is persisted.
In order to get the fields into the standard structure I downloaded the template from ByD (Application & User Mgmt. - MS Office Template Maintenance). Afterwards I changed the file format of the XLS template to ".zip" and extracted the archive. This hint I found in the very good ByD forum thread 'http://scn.sap.com/docs/DOC-62296'.
Unfortunately I didn't find any hint how to add my PDI extension fields to the XSD (field map) and I have no idea how to do this. I guess it's not that simple as the PDI fields defined in a One-Off are part of a different namespace than the standard fields. (e.g. "http://0001234567-one-off.sap.com/YABCDEFGH_"). Hence I need to specify this namespace somewhere in the XSD, right? In addition I'm not sure if my PDI defined field names remain the same as they are appearing on the XBO definition in the studio, or if they will get any auto-generated ID-suffix or ID-prefix. (e.g. 'MyPDIField_66356378273643' instead of 'MyPDIField') The reason why I'm wondering myself if this is the case, is that for example print form enhancements are changing the element names and adding UUID values as a prefix to PDI-defined fields.
I would be very grateful if somebody could explain how the enhancement of the XLS mapping source has to be done in case of PDI defined fields. How and where do I have to specify the One-Off NS and how can I then refer to respective One-Off fields in the field map XSD?
Thanks & best regards,
Eugen