Table of Contents

Search

  1. Preface
  2. Part 1: Getting Started with PowerExchange for SAP NetWeaver
  3. Part 2: Data Integration Using PowerExchange for SAP Dynamic ABAP Table Extractor
  4. Part 3: Data Integration Using ABAP
  5. Part 4: IDoc Integration Using ALE
  6. Part 5: Data Integration Using BAPI/RFC Functions
  7. Part 6: Data Migration
  8. Part 7: Business Content Integration
  9. Part 8: SAP BW Data Extraction
  10. Part 9: Loading Data to SAP BI
  11. Appendix A: Data Type Reference
  12. Appendix B: Code Pages and Unicode Support
  13. Appendix C: Glossary

PowerExchange for SAP NetWeaver User Guide for PowerCenter

PowerExchange for SAP NetWeaver User Guide for PowerCenter

Rules for Inserting SAP Functions in the ABAP Program Flow

Rules for Inserting SAP Functions in the ABAP Program Flow

You can insert an SAP function before the first source table or after the last source table in the program flow. If you use a nested loop to join tables, you can also insert an SAP function between source tables. Be aware of where the Designer inserts the SAP function in the ABAP program to generate the ABAP program successfully.
The following table shows the rules for inserting an SAP function:
SQL Type
Rules
Exec SQL
  • You can insert SAP functions before the first source or after the last source. You cannot insert SAP functions between sources in the program flow.
  • If you insert an SAP function before the first source, the Designer calls the function before the exec statement.
  • If you insert an SAP function after the last source, the Designer inserts the function after the FORM WRITE_DSQNAME_TO_FILE statement.
ABAP join syntax
  • You can insert SAP functions before the first source or after the last source. You cannot insert functions between sources in the program flow.
  • If you insert an SAP function before the first source, the Designer calls the function before the select statement.
  • If you insert an SAP function after the last source, the Designer inserts the function after the WHERE clause.
Open SQL (nested loop)
  • You can insert SAP functions between sources in the program flow. The Designer inserts SAP functions between the select statements. You can insert SAP functions before the first source or after the last source.
  • If you insert an SAP function before the first source, the Designer calls the function before the first select statement.
  • If you insert an SAP function after the last source, the Designer inserts the function after the last WHERE clause.

0 COMMENTS

We’d like to hear from you!