<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tg/onlinemanual/em000190" xml:lang="en">
   <Header>
      <Title>Applications by Component (tgbrg5155m000)</Title>
      <Keyword type="header" order="d1e2275024">
         <Level1>Applications</Level1>
         <Level2>by component</Level2>
      </Keyword>
      <Keyword type="header" order="d1e2275029">
         <Level1>By component</Level1>
         <Level2>applications</Level2>
      </Keyword>
   </Header>
   <GeneralSection>
      <Paragraph>When you have created the components you want to use during the
		modeling of business processes, you must fill these components with
		applications.</Paragraph>
      <Paragraph>In the case of an ERP Enterprise component, this means the applications will be ERP Enterprise or ERP Baan IV
		sessions.</Paragraph>
      <Paragraph>To fill a component with ERP Enterprise sessions, use the <GUIRef href="/baanerp/tg/brg/tgbrg5255m000" role="session">Import Applications from Running ERP Component (tgbrg5255m000)</GUIRef> session.</Paragraph>
      <Paragraph>You can select a range of applications from the <GUIRef href="/baanerp/tt/adv/ttadv2506s000" role="session">Sessions (ttadv2506s000)</GUIRef> session and import them into the
		component.</Paragraph>
      <Paragraph>In case of a component other than ERP Enterprise, the applications
		must be defined manually, or imported by the <GUIRef href="/baanerp/tg/brg/tgbrg5254m000" role="session">XML Import Component Model Data (tgbrg5254m000)</GUIRef> session.</Paragraph>
      <List>
         <ListIntro>To manually link an application to a component, complete the
		  following steps:</ListIntro>
         <ListItem>Click <Emphasis>New</Emphasis>
         </ListItem>
         <ListItem>In the <GUIRef href="/baanerp/tg/brg/tgbrg5155m000#tgbrg555.acco" role="manual">Application</GUIRef> field, specify the application <List>
               <ListItem>If the component is the running Baan component, use the
				Baan session code.</ListItem>
               <ListItem>If the component uses the command line interface, use the
				id of the executable application.</ListItem>
               <ListItem>If the component uses the com interface, use the id of the
				application as it is known by the com interface.</ListItem>
            </List>
         </ListItem>
      </List>
      <Paragraph>In the <GUIRef href="/baanerp/tg/brg/tgbrg5155m000#tgbrg555.argu" role="manual">Argument</GUIRef> field, specify an argument that is passed on
		to the application at run time, such as Word or Excel.</Paragraph>
      <List>
         <ListItem>To reference the arguments specified for an activity <List>
               <ListItem>use $n</ListItem>
               <ListItem>
                  <Paragraph>N stands for the sub-sequential argument of an
				  activity.</Paragraph>
               </ListItem>
               <ListItem>$1 is the first argument of the activity; $2 is the second,
				and so on.</ListItem>
            </List>
         </ListItem>
      </List>
      <TABLE width="100%" border="1" space-and-orientation="indented-custom"
             borderstyle="default">
         <THEAD noTR="1">
            <TR no="1" isLast="true">
               <TD colspan="2" width="796" rowspan="1">Key fields for the <GUIRef href="/baanerp/tg/brg/tgbrg5155m000" role="session">Applications by Component (tgbrg5155m000)</GUIRef> session</TD>
            </TR>
         </THEAD>
         <TBODY noTR="2">
            <TR no="1" isLast="false">
               <TH width="174" rowspan="1" colspan="1">Field</TH>
               <TH width="618" rowspan="1" colspan="1">Description</TH>
            </TR>
            <TR no="2" isLast="true">
               <TD width="174" rowspan="1" colspan="1">
                  <GUIRef href="/baanerp/tg/brg/tgbrg5155m000#tgbrg555.main" role="manual">Main Application</GUIRef>
               </TD>
               <TD width="618" rowspan="1" colspan="1">If you select this check box, the application can be
				started directly. Only main applications can be linked to an activity or
				support application.</TD>
            </TR>
         </TBODY>
      </TABLE>
   </GeneralSection>
</ManualTopic>