on ‎2018 Oct 23 9:01 AM
I wanted to use standard data source and I had to write cmod; I wanted to fill the zzmaktx area;
the result does not return when I want to debug rsa3
WHEN '0MATERIAL_ATTR'.
DATA: s_BIW_MARA_S TYPE BIW_MARA_S.
DATA: BEGIN OF gt_makt OCCURS 0,
MATNR TYPE MAKT-MATNR,
MAKTX TYPE MAKT-MAKTX,
END OF gt_makt.
select a~MATNR a~MAKTX
from makt as a
into table gt_makt.
sort gt_makt by MATNR.
LOOP AT c_t_data INTO s_BIW_MARA_S.
READ TABLE gt_makt WITH KEY MATNR = s_BIW_MARA_S-MATNR BINARY SEARCH.
IF sy-subrc EQ 0.
s_BIW_MARA_S-zzmaktx = gt_makt-MAKTX.
ENDIF.
MODIFY c_t_data FROM s_BIW_MARA_S.
ENDLOOP.
Request clarification before answering.
This means that your break-point is not reached. Try to set it at a higher level to find why (the highest level being the function module EXIT_SAPLRSAP_001).
Regards,
Frédéric
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 5 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.