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

Regarding Matchcode & Some Date calculation FM??

Former Member
0 Kudos
190

hi.this is Arijit ....could anyone tell me the real life example of Matchcode

& where it is used,why it is used???this question was asked me in I.B.M interview.

and plese give me the some date calculation function module.....like between yr

,between month,between date etc..dont sent me any CONVERT FM...

2 REPLIES 2
Read only

Former Member
0 Kudos
135

A matchcode is no more than a table with values....If you have a report for materials, you should have a matchcode which gives you all the available materials...

SD_DATETIME_DIFFERENCE

FIRST_AND_LAST_DAY_IN_YEAR_GET

LAST_DAY_OF_MONTHS

MONTH_NAMES_GET

RH_PM_CONVERT_DATE_TO_MONTH

MC_PERIO_CONVERT_TO_WEEK_MONTH

Greetings,

Blag.

Read only

Former Member
0 Kudos
135

Hello,

Matchcode objects are replacerd by search help from the realese 4.6C.

For example if u r creating a table in which a field is called empno.

U r using this field in a selection screen and u want the user to select the emp number from the table by pressing F4.

So u need to create a seach help for that field in SE11. and use it like this in the report.

PARAMETERS: P_EMPNO LIKE YTABLE-EMPNO MACHCODE OBJECT <b>"ZEXM"</b>

Here ZEXM is the search help.

If useful reward.

Vasanth