Application Development 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: 

Variable values updation in table TVARV- for SCMA - very urgent..

Former Member
0 Kudos

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

2 REPLIES 2

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Please do not post multiple threads for the same question. Please mark the other one as "Solved on my own" and continue with this one. Thanks.

Regards,

Rich Heilman

former_member181966
Active Contributor
0 Kudos

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"