Created
August 6, 2025 14:30
-
-
Save benjnw/e28b45de72d0c14d282534a32b558cc5 to your computer and use it in GitHub Desktop.
renaming_inner_join
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| BEGIN OF ty_template. | |
| INCLUDE STRUCTURE lfa1 AS lfa1 RENAMING WITH SUFFIX _lf. | |
| INCLUDE STRUCTURE lfb1 AS lfb1 RENAMING WITH SUFFIX _lb. | |
| TYPES: | |
| END OF ty_template. | |
| SELECT * | |
| FROM lfa1 AS lf | |
| INNER JOIN lfb1 AS lb | |
| ON lb~lifnr = lf~lifnr | |
| INTO TABLE gt_template | |
| WHERE lf~lifnr EQ p_lifnr | |
| AND lb~bukrs EQ p_bukrs. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment