You can do this easily with a periodic amplitude curve. Look up *AMPLITUDE, DEFINITION=PERIODIC as Xerf suggested. The amplitude curve is used to scale whatever load is applied, so for example;
*AMPLITUDE, DEFINITION=PERIODIC, NAME=Curve-1
...
*CLOAD, AMPLITUDE=Curve-1
1,2,100
..
This will apply a load of 100 units to node 1 in direction 2 that will be scaled by the amplitude 'Curve-1'.
Have a look at section 28.3.1 'Amplitude Curves' in the user manual - covers most of what you need to know.
Regards
Martin Stokes CEng MIMechE