07-21-2006 10:23 PM
Hi all,
Can anyone pass on the code or logic for udating the values of variables like
SAP_SCMA_FISC_YEAR
SAP_SCMA_PERIOD
or the variables I define like
Current fiscal year
Current period
The program should update the values for above variables based on system date, by the period end dates maintained in T009B table
Your help in this regard is highly appreciated
Thanks in advance
Kumar
07-21-2006 10:31 PM
07-21-2006 11:14 PM
Here you go !!
<b>FM "UPDATE_TECHN_PERIODEN_ERWEIT"</b>
<b>FYI</b>
see the source code of FM "MCP_TECH_PERIODEN_GEN"
call function 'UPDATE_TECHN_PERIODEN_ERWEIT' "IN UPDATE TASK
tables
uw_t009b = mt_t009b
exceptions
others = 0.
<b>Pl... award the points.</b>
Good luck
Thanks
Saquib Khan
"Some are wise and some are otherwise"