Application Development 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: 

Conversion function module

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

concatenate that field before down load to excell file

.

example 0768.

conacatenate ' into 0768

ans '0768

Former Member
0 Kudos

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

0 Kudos

Hello Vasudha,

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

Thanks and Regards

Siva Kumar.

former_member188829
Active Contributor
0 Kudos

CONVERSION_EXIT_ALPHA_INPUT

AND

CONVERSION_EXIT_ALPHA_OUTPUT

Former Member
0 Kudos

hi,

check the FM:

CONVERSION_EXIT_ALPHA_INPUT

CONVERSION_EXIT_ALPHA_OUTPUT

Regards,

Navneeth K.

Former Member
0 Kudos

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