2008 Jun 11 8:50 AM
Hi all,
I have a structure with 63 fields. We have to send all this data in text file as an email attachment. What is the best way to concatenate all this field separated by tab?
Thanks.
2008 Jun 11 8:53 AM
HI,
It is better to concatenate all the fields to STRING, and use it.
Reward Points.
HI,
It is better to concatenate all the fields to STRING, and use it.
Reward Points.
2008 Jun 11 8:53 AM
HI,
It is better to concatenate all the fields to STRING, and use it.
Reward Points.
2008 Jun 11 9:01 AM
Hello,
Try using Filed Symbols . Let your structure be WA_TEST type ZTEST.
Data string type X
Field Symbol <fs> type any
Do.
ASSIGN COMPONENT sy-index OF STRUCTURE WA_TEST TO <fs>.
If Sy-subrc NE 0.
Exit.
Conactenate STRING <fs> into STRING separated by co_tab.
Endif.
regards
Saket Sharma
EndDo.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |