Show TOC

 Creating Links for SAP Fields Locate this document in the navigation structure

Use

Thanks to Office Integration you can now enter field contents into the original application file from the SAP System.

See also: List of SAP Fields

Recommendation Recommendation

The number of links in a Word file can adversely affect performance for processing and display. Therefore create only links to the SAP fields that are need for information.

End of the recommendation.

Creating Links in Microsoft Word

Note Note

After you have created the first link you can create further links much more easily: Copy the complete character string for the link and replace the entry for the SAP field.

End of the note.
  1. You are processing an original application file on Microsoft Word. You are using the Office Integration from Document Management.

  2. See: Processing Original Application Files (Microsoft Office Integration)

    The system starts Microsoft Word.

  3. Activate the function to display field codes. Depending on the language version of Microsoft Word have select the following function:   Tools   Options   View   . Set the indicator Field codes.

  4. Select   Insert   Field   .

  5. In the window section Category select the entry Links and References.

  6. In the screen area Field name select Link .

  7. You will see in the lower section of the window a command line with the entry LINK.

  8. Enter the character sequence for the link after this word (not language-dependent).

  9. SAP.OLELinkServer.ItemObject.1"SAPOLELinkServerDMS""Document.<field>"

    Replace the placeholder <field> with the character chain for the required field.

    Example:

    SAP.OLELinkServer.ItemObject.1"SAPOLELinkServerDMS""Document.DRAW.DOKST"

  10. Select Options.

  11. Select the following options:

  • \a (Update fields automatically)

  • \t (Insert field as text)

The complete string looks as the following (language-dependent) :

{ LINK SAP.OLELinkServer.ItemObject.1 "SAPOLELinkServerDMS" Document.DRAW.DOKNR" \a \t}

  1. Update the field contents.

Creating Links in Microsoft Word

  1. You are processing an original application file on Microsoft Word. You are using the Office Integration from Document Management.

See: Processing Original Application Files (Microsoft Office Integration)

The system starts Microsoft Word.

  1. Activate the function to display field contents. Depending on the language version of Microsoft Word have select the following function:   Tools   Options   View   . Set the indicator Field codes.

  1. Select   Insert   Field   .

  1. In the window section Categories select Link and References.

  1. In the screen area Field name select Link .

You will see in the lower section of the window a command line with the entry LINK.

  1. Enter the character sequence for the link after this word.

SAP.OLELinkServer.ItemObject.1"SAPOLELinkServerDMS""Document.<field>"

Replace the placeholder <field> with the character chain for the required field.

Example:

SAP.OLELinkServer.ItemObject.1"SAPOLELinkServerDMS""Document.DRAW.DOKST"

  1. Select Options.

  1. Select the following options:

  • \a (Update fields automatically)

  • \t (Insert field as text)

The complete string looks as the following:

{ LINK SAP.OLELinkServer.ItemObject.1 "SAPOLELinkServerDMS" Document.DRAW.DOKNR" \a \t}

  1. Update the field contents.

Creating Links in Microsoft Excel

  1. Highlight the cell where you want to display the SAP field.

The system sets the coordinates of the field in the name box.

  1. Position the cursor in the formula bar.

The operation character = is displayed.

  1. Enter the following character sequence after the = :

SAP.OLELinkServer.ItemObject.1|SAPOLELinkServerDMS!'!Document.<field>

Replace the placeholder <field> with the SAP field.

Example:

=SAP.OLELinkServer.ItemObject.1|SAPOLELinkServerDMS!'!Document.DRAW.DOKAR'

Consult the Excel help for more information.