I'm running an excel macro to pull in Cost Center actuals for a plant site. I want to be able to run it for plants that have multiple cost center groups, but there is a sub-group I want to exclude in each group.
The t-code I am using is GR55 then running ZB10 (Cst Ctr Plan/Act/Var).
For example, Cost Center group 6230 has 6230-400, 6230-600 and 6230-700. I want to exclude 6230-700 and export the data to an excel file which then copies into my excel file where I'm running the macro. I'm able to run it for one Sub-Group such as 6230-600 but then I'm missing the 6230-400 data.
Any thoughts on how I can pull in multiple groups or exclude one group? I'd like to be able to do this without having to run the transaction twice and creating 2 excel files to export. I know I can create custom cost center groups, but that is tightly managed at my company and would take a long time to get processed.
Thank you