2007 Jan 22 7:49 PM
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...
2007 Jan 22 8:05 PM
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.
2007 Jan 22 8:18 PM
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