API Target Group


A target group is a list of prospects. You can create a target group and then define a promotional campaign for targeting this group. You can add prospects either from existing customers and leads or from an external Microsoft Excel file.

Source table: OTTG.

Object Model

See Also

SAP® B1 DI-API C# definition

public class TargetGroupClass : ITargetGroup, TargetGroup { public virtual string TargetGroupCode { get; set; } public virtual string TargetGroupName { get; set; } public virtual SAPbobsCOM.TargetGroupsDetails TargetGroupsDetails { get; } public virtual TargetGroupTypeEnum TargetGroupType { get; set; } public extern TargetGroupClass(); public virtual extern void FromXMLFile( string bstrFileName); public virtual extern void FromXMLString( string bstrXML); public virtual extern string GetXMLSchema(); public virtual extern void ToXMLFile( string bstrFileName); public virtual extern string ToXMLString(); }

DTW Business Partners / Campaign
API Target Group
Target Group Property


The group of targeting prospects for the campaign.

Field name: TargetGrp.

Length: 20 characters.

Property type

Read-write property


Visual Basic
Public Property TargetGroup() As String

See Also

Related information

Target Groups Details TargetGroupsDetails Collection
A collection of TargetGroupsDetail objects.
   Parent: Target Group TargetGroup Object· Table: OTTG OTGG

Target Group Type Enum TargetGroupTypeEnum Enumeration
   Parent: Target Group TargetGroup Object· Table: OTTG OTGG

SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates