How do I add a UDF to the row section of a marketing document using the UserFieldsMD object from the DI API? Has anyone done this? By default they all get added to the title section of the marketing document.
To add a UDF to a row you would have to access the correct table.
If you add a UDF to table OINV - Your UDF would be against the Invoice header.
If you add a UDF to table INV1 - Your UDF would be against the line item of the Invoice (each line of the Invoice)
Thus find the table in which the rows are stored and add the UDF to that table (check out the table name using the "View Debug Information") in the SAP client for the document you are interested in...
Add your UDF to that - and you'll have the UDF against the rows...