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

date changed for pasing in function module

Former Member
0 Likes
361

Hi.

i want to pass the date of po date from table eban i.e.eban-badat and it_final is the internal table creatred.

the process is such like that...

if the badat is e.g.09th nov 08 then after the changes made,the final date should always reflect the date 01/11/2008 i.e 1st of every month and this i qwill pass to function module.

how to get this date from field.

i am doing like this.

but this is not giving the desired uouptut.

data:B_DATE TYPE SY-DATUM.

B_DATE0(4) = it_eban-badat0(4).

B_DATE+4(4) = '0101'.

please suggest the steps.

2 REPLIES 2
Read only

Former Member
0 Likes
343

new_date+6(2) = '01'.

new_date0(6) = date0(6).

Edited by: karthik arunachalam on Nov 3, 2008 7:17 PM

Read only

Former Member
0 Likes
343
data:B_DATE TYPE SY-DATUM.

B_DATE = it_eban-badat.
B_DATE+6(2) = '01'.

Regards

Karthik D