‎2006 Feb 27 2:09 PM
Hi all,
I added some userdefined fields for material master transaction with the domain ZUABMASS.
My requirement is here when user enter value in these fields.
for ex:
enter value display value
1 1,000(but i want like +1,000)
-2 2,000-(but i want like -2,000)
So, Iam writing conersion routine(ZDECS) for the domain ZUABMASS which has data type dec and decimal places 3 using function modules.
CONVERSION_EXIT_ZDECS_OUTPUT
CONVERSION_EXIT_ZDECS_INPUTSo any body please give me some code how to go abt it in those function modules.
Thanks and regards
Chandu.
Message was edited by: Sai Chand Pullepu
‎2006 Feb 27 2:15 PM
Hi Sai,
Refer the standard fm
for eg:
CONVERSION_EXIT_ALPHA_INPUT or CONVERSION_EXIT*
Thanks
Eswar
‎2006 Feb 27 2:15 PM
Hi Sai,
Refer the standard fm
for eg:
CONVERSION_EXIT_ALPHA_INPUT or CONVERSION_EXIT*
Thanks
Eswar
‎2006 Feb 27 2:20 PM
Hi eshwar,
I treid but those are not helpful for my situation.
Thats why i created new routine.
‎2006 Feb 27 2:26 PM
Hi,
the fm CLOI_PUT_SIGN_IN_FRONT puts the -ve sign in front..
Regards,
Suresh Datti
‎2006 Feb 27 2:37 PM
Hi,
check this code :
CONVERSION_EXIT.....input
data : ws_output(6) type c.
ws_output = input.
concatenate ws_output ',' '000' into ws_output.
output = ws_output
CONVERSION_EXIT....output
data : ws_input(2) type c.
ws_input = input+0(2).
WRITE: ws_input TO output .
if any changes required , try to change.
Laxman