cancel
Showing results for 
Search instead for 
Did you mean: 

Upload UI element data type

Former Member
0 Kudos

Hi Experts,

I've created a bapi which contains gui_upload functionality. In the webdynpro, I've used

upload UI element and binded the data of importing parameter of the function module which is of string type. Is it necessary to use only data of XSTRING type to upload UI element? Please give me a solution to achieve this.

Regards

Mahathi

Accepted Solutions (1)

Accepted Solutions (1)

arjun_thakur
Active Contributor
0 Kudos

Hi Mahathi,

It is not necessary to use XSTRING type only, you can use STRING type as well to bind it with upload UI element. You can also refer to the standard wd component WDR_TEST_EVENTS, in this component, use of both XSTRING and STRING is given.

I hope it helps.

Regards

Arjun

Answers (2)

Answers (2)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Depending upon what type of data you are uploading however, you should consider if you need STRING or XSTRING. If the data is not text based or if you are working with mixed code pages, you should consider keeping the data in XSTRING. You can always manually convert from XSTRING to STRING at any later time. Consider using the function modules from SCMS_CONV function group for easy conversions.

Former Member
0 Kudos

HI Mahati,

Not necesarily, you can use STRING, XSTRING, or SXIVERI_BINARY type for that.

Regards,

Shashikanth. D