Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

help in BDC program

Former Member
0 Likes
424

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
398

hi,

use like this

CONCATENATE p_date+6(2)

p_date+4(2) '.'

p_date+0(4) INTO ls_line-info .

3 REPLIES 3
Read only

Former Member
0 Likes
398

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

Read only

Former Member
0 Likes
399

hi,

use like this

CONCATENATE p_date+6(2)

p_date+4(2) '.'

p_date+0(4) INTO ls_line-info .

Read only

Former Member
0 Likes
398

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