‎2009 Dec 07 5:03 AM
Dear gurus
I have made call program through bDF of transaction PA30.
Im selecting the radio button PERIOD and then entering date in BEGDA and ENDDA field.
the problem im facing is that the date are being entered in 20091124 to 20091210 format
how to convert this date in 24112009 to 10122009 format
please help..
regards
Saad Nisar
‎2009 Dec 07 5:09 AM
hi,
use like this
CONCATENATE p_date+6(2)
p_date+4(2) '.'
p_date+0(4) INTO ls_line-info .
‎2009 Dec 07 5:08 AM
Hi,
Please search on SCN before posting.
However, Check for a proper function module which suits your requirement on this link :-
[http://wiki.sdn.sap.com/wiki/display/ABAP/FunctionModulerelatedonDate+calculations]
Regards
Abhii
‎2009 Dec 07 5:09 AM
hi,
use like this
CONCATENATE p_date+6(2)
p_date+4(2) '.'
p_date+0(4) INTO ls_line-info .
‎2009 Dec 07 5:09 AM
Hi ,
Use WRITE <From> TO <BDC value>statement when you are moving value to BDC table . (<From> should be Type D).
This will automatically convert your dates to user parameters.
Hope this wil help you..
Nag