cancel
Showing results for 
Search instead for 
Did you mean: 

Background Job Posting Period Variable

former_member730757
Discoverer
0 Kudos

Hi All,

I need help with below issue.

I need to create a background job for Program FAGL_RKGALGA15 -GL allocations. This job should use previous period when executing. I want to know how to create a variable to dynamically select previous period in the variant.


Thanks in Advance

Accepted Solutions (0)

Answers (1)

Answers (1)

coleti
Active Contributor
0 Kudos

Dear Kunal,

There are several questions similar to yours in the community. But to help you in summary, there is two ways to go.

1) Using TVARVC - to that please check the following: 1994216 - How to maintain variant variables in table TVARVC

Pros: It´s standard, not development needed.

Cons: You will have to update the TVARVC, usually you will fill out for several periods/year... but in the future you will have to update again.

2) Customer Program(Z) - you can create a Z program to call your programa, you can use date Type Variant 😧 Dynamic Date Calculation (Local Date) or X: Dynamic Date Calculation (System Date) as selection field and convert it to period year which is the paramenters of your program.

Pros: it will dynamically, no future maintenance needed.

Cons: you will need to develop a Z program for that.

BR,

Gabriel Coleti