SAP uses its proprietary language, ABAP/4, to extract data. You need to generate and install an ABAP program from the Designer after you configure a mapping with an SAP ECC source definition. The Designer generates a unique program name and stores it in the repository. When you generate the ABAP program, you install it on the SAP system that contains the source data. The PowerCenter Integration Service uses the ABAP program to extract data from the SAP system.
Use the following options to maintain ABAP programs for mappings with SAP ECC sources:
Generate ABAP programs to extract source data.
Install ABAP programs directly or from a local copy.
Uninstall ABAP programs you no longer want to use.
Clean ABAP programs if you delete a folder from the repository.
Copy ABAP programs when you copy a folder or mapping to another repository.
The PowerCenter Integration Service extracts hierarchy data through a remote function call, not through an ABAP program. If you configure a mapping with a hierarchy definition and no detail table definition, the Designer does not generate an ABAP program for the mapping.
You cannot generate and install ABAP programs from mapping shortcuts.
If a mapping becomes invalid after you install the ABAP program, validate the mapping, save the repository, and re-install the ABAP program. If you save the repository with the mapping open after you install the ABAP program, the session fails, and the session log instructs you to regenerate and install the program.
You can use the pmrep command line programs to generate and install ABAP programs for mappings with SAP ECC sources:
GenerateAbapProgramToFile. Generates the ABAP program for a mapping and saves the program as a file.
InstallAbapProgram. Generates and installs the ABAP program from a mapping in the PowerCenter repository, or installs the ABAP program from a file.
UninstallAbapProgram. Uninstalls the ABAP program.