Hello Ram,
To make a document show or not show based on a condition do the following:
1. Access the Template that house the assembled documents
2. Access the Conditions tab and create 1 condition per Contract Type (i.e. the condition that will control the document visibility). Example below:
3. After the condition has been created then apply the condition on the documents tab to the agreement you want to apply the condition to.
Another option is to create multiple templates (i.e. one for each authored agreement type) and apply the above condition to the template. To do this go to the overview tab and click Action -> Edit (parallel to properties) and add the condition at the bottom of the screen.
Hope this helps!
Robert Myroniuk
Ariba Consultant - Source to Pay (S2P)
Ariba, an SAP Company