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

Modification in MB52

Former Member
0 Likes
674

Hi,

i am working on to modify a standard program by copying it.

the stadandrd tcode is MB52. i copied the program and making changes..

My requirement is to add to know fields. they are 1. material date 2. no.of days from today the material is created. I did this but i have to match the date and no. of days to the TCode MC46.

Can anybody help me by explaing the Tcodes MB52 and MC46.

Regards,

Dhanunjay..

Hi,

i am working on to modify a standard program by copying it.

the stadandrd tcode is MB52. i copied the program and making changes..

My requirement is to add to know fields. they are 1. material date 2. no.of days from today the material is created. I did this but i have to match the date and no. of days to the TCode MC46.

Can anybody help me by explaing the Tcodes MB52 and MC46.

Regards,

Dhanunjay..

3 REPLIES 3
Read only

Former Member
0 Likes
578

i think from MARA u will get Material Creation Data , then use Fm FIMA_DAYS_AND_MONTHS_AND_YEARS

to get no of days.

Regards

Peram

Read only

Former Member
0 Likes
578

Hi,

You can use the FM's

DAYS_BETWEEN_TWO_DATES

MONTHS_BETWEEN_TWO_DATES

Regards

Read only

Former Member
0 Likes
578

i did it. thanks a lot