Add Custom Fields to a BDC Script Template
>Review the steps in the process.
Use custom fields when conditional screen execution is required and the data for existing template fields is not adequate. For example, the COMPANY_CODE field is a template field (i.e., recorded in a BDC script) that is going to be uploaded when the record posts to SAP. If a BDC screen only displays when COMPANY_CODE = 0001, a user can set a condition on the COMPANY_CODE field to only execute when the data mapped to COMPANY_CODE = 0001. However, if the COMPANY_CODE field was not recorded in the BDC script, but the condition was still true (i.e., the BDC screen only displays when COMPANY_CODE = 0001), a user can create a custom field called “COMPANY_CODE” and set the condition on this field even though the field will not be uploaded into SAP.
Custom fields can be added to a BDC Script template once it is recorded.
NOTE: If the template is recorded again, custom fields are not retained.
NOTE: If a BDC Script template with custom fields is copied, the custom fields are not copied to the new template.
Custom fields can be added to a template that uses loops. Loops must have been created before adding custom fields. The loop that contains the custom field is identified when adding the field. Refer to Configure Process Template Loops for a BDC Script Template with Looping Enabled for more information.
NOTE: Custom fields cannot be added to active templates.
Once a field has been added, a conditional can be applied to the field. Refer to Configure a Conditional for a BDC Screen for more information.
To add a custom field:
-
Click Categories in the Navigation pane.
-
Click Templates for a category.
-
Click Vertical View for a template with a TYPE of BDC Script.
-
Click Configuration tab.
-
Click Custom Fields.
-
If no custom fields have been added for the template, the page displays in add mode. Otherwise, click Add.
NOTE: Custom fields cannot be added to an active template.
-
Enter the name of the custom field in the NAME field.
-
Enter a description of the field in the DESCRIPTION field.
-
Enter an example of the data that displays in the field in the SAMPLE VALUE field.
NOTE: This data is for informational purposes only.
-
Select the name of the loop in the template from the LOOP list box.
NOTE: No options display in this list box if the template does not have loops.
-
Click Save.
Was this article helpful?
Sorry about that.
Why wasn't this helpful? (check all that apply)
Thanks for your feedback.
Want to tell us more?
Send an email to our authors to leave your feedback.
Great!
Thanks for your feedback.