Application Development and Automation 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: 
Read only

Dump - Conversion error

Former Member
0 Likes
706

I am getting a dump as connversion error.

I am using

CALL FUNCTION 'Z_0CS_SPLIT_PATH_FILE'

EXPORTING

path_fil = gv_src_fpath

IMPORTING

e_file = lv_filename

EXCEPTIONS

split_error = 1

OTHERS = 2.

IF sy-subrc <> 0.

lv_filename = 'File name not Recorded!'(m05).

ENDIF.

gv_src_fname = lv_filename.

ENDMODULE. " S

This FM simply splits the name of the file from the path and then assigns it to gv_src_fname.

When i press F5 after this , i get a dump.

Means the values are not being populated to the next module- PAI.

Can anyone suggest what can be done

5 REPLIES 5
Read only

Former Member
0 Likes
628

Hi,

Can you provide the dump details?

Regards,

Ankur Parab

Read only

0 Likes
628

Runtime Errors DYNPRO_FIELD_CONVERSION

Program ' ' attempted to display fields on screen 0100.

An error occurred during the conversion of this data.

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
628

Hello,

Please share the code else it is like firing arrows in the dark.

BR,

Suhas

Read only

0 Likes
628

Hi,

Check the types of the fields which you have used on your screen. Is there some conversion exits needed?

Regards,

Ankur Parab

Read only

Former Member
0 Likes
628

Hi Malvika,

Try this Function Module.

Please check the data types..

DATA: w_file TYPE dsvasdocid,

l_filename TYPE dsvasdocid.

CALL FUNCTION 'DSVAS_DOC_FILENAME_SPLIT'

EXPORTING

pf_docid = l_filename

IMPORTING

pf_filename = w_file.

Regards,

Amit.