‎2008 Apr 28 4:31 PM
Hi,
I am using ALV and have a Quantity column in Editable format.
I have a Custom button on the tool bar to do some posting.
When enter a value and Press that button, I get the entered quantity value in the ALV user command "selfield-value" parameter, but its in the output format.
How do I convert it in the SAP Input format to do some processing.
There's no conversion routines or function moduels to convert quantity from output format to internal format.
please suggest.
Regards,
Mid.
‎2008 Apr 28 4:39 PM
hi use the user-command for this..
case sy-ucomm .
when = 'TEST'.
write the coding here.
endcase.
this you need to maintain in the function module..
regards,
venkat.
‎2014 Jun 18 2:40 PM
SELECT SINGLE * FROM usr01 INTO ls_usr01 WHERE bname = sy-uname.
CASE ls_usr01-dcpfm.
WHEN 'X'. TRANSLATE amount_x USING ', '.
WHEN ' '. TRANSLATE amount_x USING '. '.
TRANSLATE amount_x USING ',.'.
WHEN 'Y'. TRANSLATE amount_x USING ',.'.
ENDCASE.
CONDENSE amount_x NO-GAPS.