Skip to Content
0
May 22, 2009 at 07:10 PM

Upload file to ECC

33 Views

Hi all,

I'm trying to create a web dynpro that enables me to create attachments in a Workitem.

For that, i think i need to use the following RFC: SCMS_BINARY_TO_XSTRING (since in the web dynpro i have a byte[]) and SAP_WAPI_ATTACHMENT_ADD.

My problem is with SCMS_BINARY_TO_XSTRING, since i need to send the input_length and have no idea how should i get that value, having only a byte array

Can anyone help me?

Thanks!

Luis