Age: 46 Joined: 05 Nov 2007 Posts: 725 Location: КраснАдар
Posted: Mon Feb 04, 2008 11:53 am Post subject:
* говорит о всех оставшихся символах в переменной. Т.е. в филд-симболе будет "залинковано" значение переменной I_STR начиная с n-символа (переменная POS) и до конца.
Code:
FIELD-SYMBOLS : <SRC>.
DATA: POS LIKE SY-FDPOS.
DATA: I_STR(10) TYPE C VALUE '0123456789',
E_STR TYPE STRING.
POS = '4'.
ASSIGN I_STR+POS(*) TO <SRC>.
CONCATENATE <SRC> ' ' INTO E_STR.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.