- Login on Solution Manager Productive client
- Start transaction slg2
- Select: "and logs which can be deleted before the expire date" (under Expiry date)
- Specify as value for the "Object" field (under Selection conditions): *
N.B.: Do remind to use value exclusions in case for example CDMC is in place (See end of SAP note 1316694)
- Select: "Delete immediately" (under Options)
- Create a variant to delete logs in last month timeframe, by using menu: Goto -> Variants -> Save as variants
- Provide Variant name and description
- Under "Creation Date:to",
in column "Selection variable" use: D (Dynamic Date calculation)
in column "Name of Variable" use: Current date +/- ??? days
specify: -30 (days)
- Press Save
- Schedule the job using menu: Program -> Execute in background.
N.B.: Provide as output device: LP01
- Press "Immediate"
- Mark the checkbox "Periodic job" (at the bottom)
- Press "Period values" and select for example "Monthly"