Skip to Content
Mar 11, 2009 at 09:13 AM

Generate an Attachment from an XDATA



i have the following problem:

i've written an WebDynpro where you can upload some files. Later after an approve there will be a creation of an prelimanary posted accounting doccument.

in this step i want to attach data to the acc-document. The data i want to add is in a customer table declared as xdata.

i tried to use CL_GOS_DOCUMENT_SERVICE and CL_GOS_SRV_ATTACHMENT_CREATE but there will always be a popup for selecting the file.

i just have the data on the server, i don't need this popup.

i hope anyone can help me.

best regards,