10-26-2010 10:39 AM
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
10-26-2010 11:37 AM
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
10-26-2010 12:02 PM
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.
10-26-2010 12:34 PM
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.