cancel
Showing results for 
Search instead for 
Did you mean: 

Upload file to ECC

luscruz
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

luscruz
Participant
0 Kudos

The XSTRING in RFC is a byte[] in NWDS, so it's not necessary to convert binary to xstring.