0% found this document useful (0 votes)
312 views

Field Symbol

This document provides information on accessing global memory and fields dynamically in ABAP. It describes how to use field symbols to access values from other programs by specifying the program name and variable or structure name. For example, the value of variable AFVGD from program SAPLCOIH can be accessed using '(SAPLCOIH)AFVGD'. It also shows how to access internal tables in the same way by specifying the program name and table name with brackets.

Uploaded by

Mohamed Rizwan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
312 views

Field Symbol

This document provides information on accessing global memory and fields dynamically in ABAP. It describes how to use field symbols to access values from other programs by specifying the program name and variable or structure name. For example, the value of variable AFVGD from program SAPLCOIH can be accessed using '(SAPLCOIH)AFVGD'. It also shows how to access internal tables in the same way by specifying the program name and table name with brackets.

Uploaded by

Mohamed Rizwan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

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
Ex: L_STR = '(SAPLCOIH)AFVGDARBPL'

Structure(Work Area) - (PROGRAM_NAME)STRUCTURE_NAME


Ex: L_STR = '(SAPLCOIH)AFVGD'

Internal Table - (PROGRAM_NAME)INTERNALTABLE_NAME[]


Ex: L_STR = '(SAPLCOIH)AFVGD[]'

Table:
Description_EN:
Table Category:

PRJ_S_AFVG
Activity / Operation (Subset of AFVGD)
INTTAB-Structure

Field:

Positi FIELD
on

DESC-en

KE Activa DataTy Leng


Y?
te
pe
th

Include
table

Data
Mem
Element
o

Status
1

Routing
number of
AUFPL
operations in
the order
General
APLZL counter for
order

NAME

10

CO_AUFP
L--(Display
Field)
CO_APLZL
---(Display
Field)
VORNR--(Display
Field)
CR_OBJID--(Display
Field)
WERKS_D
---(Display
Field)
LTXA1--(Display
Field)
SPRAS--(Display
Field)
SUMKNTN
R--(Display
Field)
J_OBJNR--(Display
Field)

VORNR

Operation/Acti
vity Number

ARBID

Object ID of
the resource

WERKS Plant

LTXA1

40

TXTSP Language Key

Node number
SUMNR of the superior
operation

OBJNR Object number

22

10

ID of the
capacity
BEDID
requirements
record

12

BEDID--(Display
Field)

CIM_COU
NT--(Display
Field)

PS_PSP_EL
E--(Display
Field)

Operation
short text

Internal
counter

11

BEDZL

12

Work
breakdown
PROJN structure
element (WBS
element)

13

LOEKZ Deletion flag

14

DAUNO Normal

AUFLOEK
Z--(Display
Field)
DAUNOR--

duration of the
activity
15

16

17

DAUNE

FSAVD

FSAVZ

18

FSEDD

19

FSEDZ

20

SSAVD

21

SSAVZ

22

SSEDD

23

SSEDZ

24

ISDD

Normal
duration/unit
Earliest
scheduled
start:
Execution
(date)
Earliest
scheduled
start:
Execution
(time)
Earliest
scheduled
finish:
Execution
(date)
Earliest
scheduled
finish:
Execution
(time)
Latest
scheduled
start:
Execution
(date)
Latest
scheduled
start:
Execution
(time)
Latest
scheduled
finish:
Execution
(date)
Latest
scheduled
finish:
Execution
(time)
Actual start:
Execution
(date)

-(Display
Field)
DAUNORE
---(Display
Field)

FSAVD--(Display
Field)

FSAVZ--(Display
Field)

FSEDD--(Display
Field)

FSEDZ--(Display
Field)

SSAVD--(Display
Field)

SSAVZ--(Display
Field)

SSEDD--(Display
Field)

SSEDZ--(Display
Field)

ISDD--(Display
Field)

Actual start:
Execution/setu
p (time)
Actual finish:
Execution
(date)
Actual finish:
Execution
(time)

25

ISDZ

26

IEDD

27

IEDZ

28

BEARZ

29

Unit of
measure for
BEAZE
processing
time

30

VBKZ

31

.
No
INCLU DescriptionDE
trigger

Processing
time

Update
indicator

ISDZ--(Display
Field)
IEDD--(Display
Field)
IEDZ--(Display
Field)
BEARZEIT
---(Display
Field)

BEAZE--(Display
Field)

VBKZ--(Display
Field)

CI_PRJ_AF ---(Display
VG
Field)

You might also like