SAP Table Fields

T003-XGSUB SAP Table field attribute values such as data element, length, datatype







XGSUB is a standard field within SAP Table T003 that stores Inter-company postgs information. Indicator set at document type level. It defines that within a document, account assignment can be cross-company. This means that:

  • Accounts are assigned to several trading partners.

  • Accounts are assigned to one or more trading partners and one group-external business partner.


  • It follows that the trading partner is not unique per document.

    The company ID defined in the master record for this affiliated

    Below is the list of attribute values for this field including its length, data type, description text, associated data element , search help etc... You could also view this information on your SAP system if you enter the table name T003 or data element XGSUB into the relevant SAP transaction such as SE11 or SE80.

    Also check out the Contributions section below to add and view useful hints, tips and screen shots specific to this SAP table field. These details can also be found quickly in the future by simply searching on the SAP object name T003-XGSUB or its description.

    Main Table: T003

    Example ABAP code to select data from table T003 field XGSUB

    DATA: LD_XGSUB TYPE T003-XGSUB.

    SELECT single XGSUB
    FROM T003
    INTO LD_XGSUB
    WHERE...

    Attributes from SAP Table field T003-XGSUB







    Short Description:Inter-company posting...See data element details
    Position of field in table:12
    Keyfield:No
    Mandatory:No
    Check table:None
    Used for foreign key relationship so that entries are restricted to those that appear within the primary key of the check table.
    Internal type(i.e. C,I,N):Assigned at Data Element level, See XGSUB
    Internal Length(in Bytes):Assigned at Data Element level, See XGSUB
    Reference table:
    Can field have NULL value?:Yes
    Data Element / Component Type:XGSUB
    Domain name:XFELD
    Reference field for currency/qty fields:
    Data type/ Length / Decimals See data element details
    Origin of Search help:No input help exists
    No input help exists for this field.

    Search help attached to field:
    Is field a table (i.e. nested table):Yes
    Depth for structured types:N/A
    Component Type:Built-in type
    Is allocated Language Field?:N/A
    If a table/structure contains more than 1 language field (i.e. data type LANG) this flag denotes which one is used for the text language


    Object Referenced type:No Information stored