2007 Dec 12 3:18 PM
hi,
maybe some one can tell me what this code do,and when is recommended to use it.
ASSIGN COMPONENT fieldname OF STRUCTURE
Regards
2007 Dec 12 11:41 PM
Hi,
It is used to assign a field name of a structure to field symbol.
Syntax:
ASSIGN COMPONENT <comp> OF STRUCTURE <s> TO <FS>.
Regards,
Ferry Lianto
hi,
maybe some one can tell me what this code do,and when is recommended to use it.
ASSIGN COMPONENT fieldname OF STRUCTURE
Regards
2007 Dec 12 3:21 PM
Hi Tal,
Check this link
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3923358411d1829f0000e829fbfe/content.htm
Thanks,
Vinay
2007 Dec 12 3:22 PM
2007 Dec 12 3:27 PM
This is used when you have to access the field which from the fieldsymbol which has a strcutre.
You can use the with the fieldaname when you know the fieldname or you can use the number of the field when you know the palce of the field, say 2nd field.
Like:
ASSIGN COMPONENT 'MATNR' OF STRCTURE <F_HEAD> TO <F_FLD>.OR
ASSIGN COMPONENT 2 OF STRCTURE <F_HEAD> TO <F_FLD>.Regards,
Naimesh Patel
2007 Dec 12 11:41 PM
Hi,
It is used to assign a field name of a structure to field symbol.
Syntax:
ASSIGN COMPONENT <comp> OF STRUCTURE <s> TO <FS>.
Regards,
Ferry Lianto
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |