Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Generate an Attachment from an XDATA

Former Member
0 Kudos

Hello,

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,

Michael

2 REPLIES 2

Former Member

Former Member
0 Kudos

Using the Link you see an PDF...

from this you are able to jump to /people/rammanohar.tiwari/blog/2005/10/10/generic-object-services-gos--in-background and there you have a good example. The only thing i haven't fixed is the right file-content.

best regards,

Michael