‎2005 Mar 23 11:47 AM
hai
I have one parameter P_XBLNR.
where i want to set DEFAULT value as Cancatenation of both SY-datum and questionmark(?).
how to do this.
Can i use Concatenation command in the data declaration part.
it does not seem to be working.
can you give me example
ambichan.
‎2005 Mar 23 11:57 AM
Hi,
-> event initialization
initialization.
concatenate sy-datum '?' into p_xblnr.
regards Andreas
‎2005 Mar 23 11:57 AM
Hi,
-> event initialization
initialization.
concatenate sy-datum '?' into p_xblnr.
regards Andreas
‎2005 Mar 23 2:14 PM
Does the date need to be in the users date format? The INITIALIZATION event is the correct place to do this. I assume that P_XBLNR is a character field of length 11. To get the date in the users date format, do the following:
INITIALIZATION.
WRITE SY-DATUM TO P_XBLNR MM/DD/YYYY.
P_XBLNR+10(1) = '?'.Even though the WRITE says MM/DD/YYYY, it will still produce the date in the users format.