Corresponding fields of
- Corresponding fields of keyword used to place the selected fields from the database into corresponding fields of Work Area.
- Keyword: Corresponding fields of
Steps
- Go to transaction code SE38.
- Enter the program name Z or Y<program name>
- Select attribute type as Executable program.
- Click on Save.
Source Code
DATA : WA_MAKT TYPE MAKT.
PARAMETERS : P_MATNR TYPE MAKT-MATNR.
SELECT SINGLE MATNR SPRAS MAKTX FROM MAKT INTO CORRESPONDING FIELDS OF
WA_MAKT WHERE MATNR = P_MATNR.
WRITE : / WA_MAKT-MATNR , WA_MAKT-SPRAS , WA_MAKT-MAKTX.
PARAMETERS : P_MATNR TYPE MAKT-MATNR.
SELECT SINGLE MATNR SPRAS MAKTX FROM MAKT INTO CORRESPONDING FIELDS OF
WA_MAKT WHERE MATNR = P_MATNR.
WRITE : / WA_MAKT-MATNR , WA_MAKT-SPRAS , WA_MAKT-MAKTX.
No comments:
Post a Comment