cancel
Showing results for 
Search instead for 
Did you mean: 

flatfile format to test fileupload in wdr_test_events

Former Member
0 Kudos

Hi,

Please specify the flatfile format to test the fileupload in 'wdr_test_events'. I'm getting null point reference error when im testing with txt/excel file. Please clarify.

Regards

Mahathi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please be sure that you have an element of type 'XSTRING' in your context which will be bound to your 'Upload' UIELEMENT.

You need another element of type 'STRING' which will be bound to an UIElement like TextArea.

In the WDDOINIIT, you have to convert the uploaded XSTRING to STRING and use bind_table to pass the value to UIElement TextArea.

There is a standard SAP function for this conversion .

Regards,

Prosenjit.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi mahathi,

Check the flatfile once again which you are uploading its working fine with txt/excel file.

Regards,

Sravanthi