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

Create Conversion Routine

Former Member
0 Likes
2,430

Hello,

I would like to ask for the steps to create a new conversion routine, including the transaction codes and steps involved.

Point will be rewarded for helpful answers

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,317

Hi

U need to create two functions for input/output convertions, the fm has to have a name like these:

- CONVERSION_EXIT_xxxxx_INPUT

- CONVERSION_EXIT_xxxxx_OUTPUT

xxxxx is the name of conversion routine

So use trx SE80 to create a function group and SE37 (or SE80) to create the functions.

U can see the fms CONVERSION_EXIT_ALPHA_INPUT

CONVERSION_EXIT_ALPHA_OUTPUT to understand how to create the interface.

Max

2 REPLIES 2
Read only

Former Member
0 Likes
1,318

Hi

U need to create two functions for input/output convertions, the fm has to have a name like these:

- CONVERSION_EXIT_xxxxx_INPUT

- CONVERSION_EXIT_xxxxx_OUTPUT

xxxxx is the name of conversion routine

So use trx SE80 to create a function group and SE37 (or SE80) to create the functions.

U can see the fms CONVERSION_EXIT_ALPHA_INPUT

CONVERSION_EXIT_ALPHA_OUTPUT to understand how to create the interface.

Max

Read only

Former Member
0 Likes
1,317

Hi,

I have created the two function modules it seems to work when I try to retrieve the values from the database but when I insert a record into a database, say for shipment type on the selection screen the user types 2 but my conversion routine is supposed to convert it to a letter B. However this couldn't work. Am I missing something here?

Thanks.