cancel
Showing results for 
Search instead for 
Did you mean: 

CJ8G Monthly settlement variant is not picking the respective variant

praveen_vanm
Participant
0 Kudos

Dear All,

My requirement is every month end the settlement has to run automatically for all projects.

In CJ8G I have created 12 variants. In each Variant, I have given the respective month and project details.

I have tested the scenario in the quality system. By selecting the different month variants I have tested

But the system is not picking the respective period of that varient. If I select the variant for the 8th-month system is picking the period of the previous month which I have already run the settlement.

My question is how the system will pick the respective period without manual entry while running the background job.

Thanks

Praveen

Accepted Solutions (0)

Answers (2)

Answers (2)

BalaAP
Active Contributor
0 Kudos

Hi, You can use program RKO7CJ8G to schedule settlement in background. As Paulo said, you can use Tcode TVARV to generate current posting period dynamically which can be assigned to above program input screen as dynamic variable..Please search with RKO7CJ8G..

Paulo_Vitoriano
Active Contributor
0 Kudos

Hi Praveen,

Usually you would use a system variable in the variant to get a dynamic value. As example, you can refer to this blog post: https://blogs.sap.com/2014/12/25/optimize-cats-data-transfer-jobs-with-system-variables/

As a side note I would not recommend to run it fully automatic, as it requires additional controls to check for the error log and validate the settlement results.

Regards,

Paulo