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

Conversion function module

Former Member
0 Likes
1,509

Hello Friends,

When ever i down load into excel file the filed 'WERKS' is becoming from '0780' to 780 and when i try to upload i am getting as 780 which is creating some problems. Is there any conversion function module to convert the the field WERKS from 780 to 0780.

Thanks in advance.

Siva Kumar.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,067

Hi

U can set the property for the cells in Excel by going to format calls,in that select custom and in type give '0000'.Then ur number ll be displayed as 0780.

Thanks

Vasudha

6 REPLIES 6
Read only

Former Member
0 Likes
1,067

concatenate that field before down load to excell file

.

example 0768.

conacatenate ' into 0768

ans '0768

Read only

Former Member
0 Likes
1,068

Hi

U can set the property for the cells in Excel by going to format calls,in that select custom and in type give '0000'.Then ur number ll be displayed as 0780.

Thanks

Vasudha

Read only

0 Likes
1,067

Hello Vasudha,

Infact i solved the problem by concatinating '0' to the '780'. But your solution is also helpful.

Thanks and Regards

Siva Kumar.

Read only

former_member188829
Active Contributor
0 Likes
1,067

CONVERSION_EXIT_ALPHA_INPUT

AND

CONVERSION_EXIT_ALPHA_OUTPUT

Read only

Former Member
0 Likes
1,067

hi,

check the FM:

CONVERSION_EXIT_ALPHA_INPUT

CONVERSION_EXIT_ALPHA_OUTPUT

Regards,

Navneeth K.

Read only

Former Member
0 Likes
1,067

Hi

When you are using FM 'GUI_DOWNLOAD' to download to excel file, you need to populate the parameter FILE TYPE with DBF.

call function 'GUI_DOWNLOAD'

exporting

filename = p_file

<b>filetype = 'DBF'</b>

Thanks

Vijay

PLZ reward points if helpful