Field Symbol

5
This transaction allows you to find all cloned programs: /sdf/cd_cca Access Global Memory using FS * This code is inside a BADI implementation where global memory * of SAPMV45A is available FIELD-SYMBOLS: <fs_xvbap> TYPE STANDARD TABLE OF vbapvb. ASSIGN '(SAPMV45A)XVBAP[])' TO <fs_xvbap>. IF sy-subrc EQ 0. "Further logic to access data from <fs_xvbap> ENDIF. U can acces the fields as follows... data: fld(50) value '(SAPLCOIH)AFVGD-LTXA1. field-symbols: <fs1> type any. assign (fld) to <fs1>. now this field symbol is pointing to ur field. similarly u can access any field. Yes, using the above method, we can fetch the following information dynamically Variable value - (PROGRAM_NAME)VARIABLE_NAME o Ex: L_STR = '(SAPLCOIH) AFVGD-ARBPL' Structure(Work Area) - (PROGRAM_NAME)STRUCTURE_NAME o Ex: L_STR = '(SAPLCOIH) AFVGD' Internal Table - (PROGRAM_NAME)INTERNALTABLE_NAME[] o Ex: L_STR = '(SAPLCOIH) AFVGD[]' Table: PRJ_S_AFVG Description _EN: Activity / Operation (Subset of AFVGD) Table Category: INTTAB-Structure Field: Posi tion FIELD DESC-en KEY ? Acti vate Stat us DataT ype Leng th Include table NAME Data Element Mem o 1 AUFPL Routing number of A N 10 CO_AUFPL ---

Transcript of Field Symbol

Page 1: Field Symbol

This transaction allows you to find all cloned programs:/sdf/cd_cca

Access Global Memory using FS * This code is inside a BADI implementation where global memory * of SAPMV45A is available FIELD-SYMBOLS: <fs_xvbap> TYPE STANDARD TABLE OF vbapvb. ASSIGN '(SAPMV45A)XVBAP[])' TO <fs_xvbap>. IF sy-subrc EQ 0. "Further logic to access data from <fs_xvbap> ENDIF.

U can acces the fields as follows...data: fld(50) value '(SAPLCOIH)AFVGD-LTXA1.field-symbols: <fs1> type any.assign (fld) to <fs1>. now this field symbol is pointing to ur field. similarly u can access any field.Yes, using the above method, we can fetch the following information dynamically

Variable value - (PROGRAM_NAME)VARIABLE_NAMEo Ex: L_STR = '(SAPLCOIH)AFVGD-ARBPL' Structure(Work Area) - (PROGRAM_NAME)STRUCTURE_NAMEo Ex: L_STR = '(SAPLCOIH)AFVGD' Internal Table - (PROGRAM_NAME)INTERNALTABLE_NAME[]o Ex: L_STR = '(SAPLCOIH)AFVGD[]'

Table: PRJ_S_AFVGDescription_EN: Activity / Operation (Subset of AFVGD)Table Category: INTTAB-Structure

Field:

Position FIELD DESC-en KEY

?

Activate

Status

DataType

Length

Include table

NAME

Data Element

Memo

1 AUFPL

Routing number of operations in the order

A N 10CO_AUFPL---(Display Field)

2 APLZLGeneral counter for order

A N 8CO_APLZL---(Display Field)

3 VORNROperation/Activity Number

A C 4VORNR---(Display Field)

Page 2: Field Symbol

4 ARBID Object ID of the resource A N 8

CR_OBJID---(Display Field)

5 WERKS Plant A C 4

WERKS_D---(Display Field)

6 LTXA1 Operation short text A C 40

LTXA1---(Display Field)

7 TXTSP Language Key A C 1SPRAS---(Display Field)

8 SUMNRNode number of the superior operation

A N 8

SUMKNTNR---(Display Field)

9 OBJNR Object number A C 22J_OBJNR---(Display Field)

10 BEDID

ID of the capacity requirements record

A N 12BEDID---(Display Field)

11 BEDZL Internal counter A N 8

CIM_COUNT---(Display Field)

12 PROJN

Work breakdown structure element (WBS element)

A N 8PS_PSP_ELE---(Display Field)

13 LOEKZ Deletion flag A C 1AUFLOEKZ---(Display Field)

14 DAUNONormal duration of the activity

A P 3

DAUNOR---(Display Field)

15 DAUNE Normal duration/unit A C 3

DAUNORE---(Display Field)

16 FSAVD Earliest scheduled start: Execution

A D 8 FSAVD---(Display Field)

Page 3: Field Symbol

(date)

17 FSAVZ

Earliest scheduled start: Execution (time)

A T 6FSAVZ---(Display Field)

18 FSEDD

Earliest scheduled finish: Execution (date)

A D 8FSEDD---(Display Field)

19 FSEDZ

Earliest scheduled finish: Execution (time)

A T 6FSEDZ---(Display Field)

20 SSAVD

Latest scheduled start: Execution (date)

A D 8SSAVD---(Display Field)

21 SSAVZ

Latest scheduled start: Execution (time)

A T 6SSAVZ---(Display Field)

22 SSEDD

Latest scheduled finish: Execution (date)

A D 8SSEDD---(Display Field)

23 SSEDZ

Latest scheduled finish: Execution (time)

A T 6SSEDZ---(Display Field)

24 ISDDActual start: Execution (date)

A D 8ISDD---(Display Field)

25 ISDZActual start: Execution/setup (time)

A T 6ISDZ---(Display Field)

26 IEDDActual finish: Execution (date)

A D 8IEDD---(Display Field)

27 IEDZActual finish: Execution (time)

A T 6IEDZ---(Display Field)

Page 4: Field Symbol

28 BEARZ Processing time A F 8

BEARZEIT---(Display Field)

29 BEAZE

Unit of measure for processing time

A C 3BEAZE---(Display Field)

30 VBKZ Update indicator A C 1

VBKZ---(Display Field)

31 .INCLUDE

No Description-trigger

A 0 CI_PRJ_AFVG

---(Display Field)