Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following figure illustrates the syntax of a Universal Connector for SAP variant definition.


<pre>
Variant_Header_Statement Variant_Text_Statement Variant_Content_Statement [Variant_Content_Statements]
</pre>
Panel
Html bobswift

Variant Definition File Statement Keywords

...

Keyword

Length

Required

Restricted Values

VARIANT_TEXT

30

Yes 


LANGUAGE

2

Yes

 


Keywords for Variant Content Statement

...

Keyword

Length

Required

Restricted Values

SELNAME

8

Yes 


KIND

1

Yes

Field type:

  • 'P' = Field type is a parameter.
  • 'S' = Field type is a selection option.

SIGN

1

Yes

Selection sign:

  • 'I' = Include values based on field selection criteria.
  • 'E' = Exclude values based on field selection criteria.

OPTION

2

Yes

Selection option:

  • 'CP' = Pattern.
  • 'EQ' = Single value.
  • 'GE' = Greater than or equal to.
  • 'LE' = Less than or equal to.
  • 'GT' = Greater than.
  • 'LT' = Less than.
  • 'NE' = Not equal to.

LOW

45

No

Selection value.

HIGH

45

No

Selection value.

PROTECTED

1

No

  • 'X' = Field is protected.
  • ' ' = Field is not protected.

APPENDAGE

1

No

  • *'X' = Appendage.
  • ' ' = Not appendage.

VNAME

30

No

Name of variant variable.

VTYPE

1

No

Variant variable type:

  • 'T' = Table variable from TVARV.
  • 'D' = Dynamic date calculation.
  • 'B' = User defined variables.

INVISIBLE

1

No

Hide field:

  • 'X' = Invisible.
  • ' ' = Not invisible.

NOINT

1

No

Hide field 'BIS':

  • 'X' = Invisible.
  • ' ' = Not invisible.

SCREENNR

4

No

Screen number.

NO_IMPORT

1

No

Save field without values:

  • 'X' = Yes
  • ' ' = No

OBLI

1

No

Required field:

  • 'X' = Yes
  • ' ' = No

...

This file will define variant SAMPLE_1 for ABAP report RSUSR002. The USER field will contain value S*.


html-bobswift
Panel
<pre>
/* Variant Header statement. */
VARIANT_NAME   = "SAMPLE_1"
   REPORT      = "RSUSR002"
;

/* Variant text statement. */
VARIANT_TEXT   = "SAMPLE_1"
   LANGUAGE    = "EN"
;

/* User */
SELNAME        = "USER"
   KIND        = "S"
   SIGN        = "I"
   OPTION      = "CP"
   LOW         = "S*"
   HIGH        = ""
   PROTECTED   = ""
   APPENDAGE   = ""
   VNAME       = ""
   VTYPE       = ""
   INVISIBLE   = ""
   SCREENNR    = ""
  NO_IMPORT   = ""
   SPAGPA      = ""
   OBLI        = ""
   NOINT       = ""
;
</pre>