2008 Jun 12 11:06 AM
Hi,
Please tell me how to refer the field from the field string.
In the field string <L_LINE>, I have fields named KUNNR, NAME1 and LAND1.
ex: WRITE:/ <L_LINE>-KUNNR.
Thanks in advance.
2008 Jun 12 11:10 AM
Hi,
Field string is also like ur work area.
So the way u refer u work area can be
used to refer the field string also.
if wa-kna1 is ur field string name.
u can do like this.
write:/ wa-kna1-kunnr.
wa-kna1-name1,
wa-kna1-land1.
Regards,
Jagadish
Hi,
Please tell me how to refer the field from the field string.
In the field string <L_LINE>, I have fields named KUNNR, NAME1 and LAND1.
ex: WRITE:/ <L_LINE>-KUNNR.
Thanks in advance.
2008 Jun 12 11:10 AM
Hi,
Make use of substing.
e.g.
If first 5 letters are KUNNR,then
WRITE:L_LINE0+(5)
2008 Jun 12 11:10 AM
Hi,
Field string is also like ur work area.
So the way u refer u work area can be
used to refer the field string also.
if wa-kna1 is ur field string name.
u can do like this.
write:/ wa-kna1-kunnr.
wa-kna1-name1,
wa-kna1-land1.
Regards,
Jagadish
2008 Jun 12 11:11 AM
you should declare that field-symbol specifying concrete type.
don't write, for example,
data <FS> TYPE ANY.
or anything similar.
2008 Jun 12 11:17 AM
Hi,
Check the leght of each field and put the offsets to read them.
For Ex:
kunnr is of lenght 10 character.
name1 is of lenght 35 character.
write: <L_LINE>0+(10),
<L_LINE>10+(35).
Regards
Adil
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |