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: 

data from encrypted to decrepted format

Former Member
0 Kudos

hi all,

in selection screen i have one of the select-potion as Bank Account Number.

in table the value for this is in DECRYPTED FORMAT, BUT the user enter the data in encrypted format.

so i need convert the account number from encrypted to decrepted format.

please can anyone provide me the functional module which converts the account number.

i have seen conversion function modules but not getting the data.

thanks in advance

3 REPLIES 3

Former Member
0 Kudos

Hi,

I think no need of FM.

ON selction screen for your BAnk account number field, set screen in visible = 1.

for example: see following code, here P_file1 parameter is encrpted.

PARAMETERS:p_file(10) TYPE c MODIF ID tl,

p_file1(10) TYPE c MODIF ID tt.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

check screen-group1 = 'TT'.

screen-invisible = '1'.

MODIFY SCREEN.

ENDLOOP.

Then

in program the field will automatically in decrpted fomat.

Thanks,

kalandar

Edited by: kalandar on Oct 26, 2010 12:40 PM

0 Kudos

hi kalandar,

can you please explain in detail.

my selection field is as below.

SELECT-OPTIONS: s_bankn FOR lfbk-banks.

in your respnse u have give p_file and p_file1, which one i need to use in my select query.

can you please explain.

thanks.

0 Kudos

Hi,

I gave you sample code and follow according to your requirement.

use below code for your requirement.

SELECT-OPTIONS: s_bankn FOR lfbk-banks MODIF ID tt.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

check screen-group1 = 'TT'.

screen-invisible = '1'.

MODIFY SCREEN.

ENDLOOP.