Download Creating Efficient Code Using ABAP 7.4 NW PDF

TitleCreating Efficient Code Using ABAP 7.4 NW
File Size6.7 MB
Total Pages55
Document Text Contents
Page 1

Holger Janz, Horst Keller

CD261

Creating Efficient Code Using the Renewed ABAP
SAP NetWeaver 7.4

Page 27

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 27

Expressions
Internal Tables Built-in Functions

READ TABLE itab WITH ... TRANSPORTING NO FIELDS.

DATA(idx) = sy-tabix.



DATA(idx) =

line_index( itab[ ... ] ).



READ TABLE itab WITH ... TRANSPORTING NO FIELDS.

IF sy-subrc = 0.

...

ENDIF.



IF line_exists( itab[ ... ] ).

...

ENDIF.

Page 28

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 28

Expressions
ABAP is Extensively Expression Enabled















Skip Old Fashioned Style!















MOVE source TO target.

COMPUTE result = anything.

CALL METHOD meth EXPORTING ...

RECEIVING ...
LeftHandSide = RightHandSide.

Page 54

Feedback
Please complete your session evaluation for CD261.

Thanks for attending this SAP TechEd session.

Page 55

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 55

© 2013 SAP AG or an SAP affiliate company. All rights reserved.

No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG.

The information contained herein may be changed without prior notice.

Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.

National product specifications may vary.

These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and

SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth

in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.

SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and

other countries.

Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.

http://www.sap.com/corporate-en/legal/copyright/index.epx
http://www.sap.com/corporate-en/legal/copyright/index.epx
http://www.sap.com/corporate-en/legal/copyright/index.epx

Similer Documents