Hi All,
Now we anticipation that erstwhile the idiosyncratic changes the conditions successful VK12, the processing presumption file volition beryllium maintained.
I utilized BTE-00503305, this is the existent code
IF konp_i-kschl = 'ZPR0' AND komg_i-vkorg = '0003'. SELECT SINGLE * FROM konp WHERE knumh = @konp_i-knumh INTO @DATA(lt). IF lt <> konp_i. IF fieldname = 'KBSTAT'. CLEAR check_field. CHECK komg_i-kbstat IS INITIAL. returncode = 4. MESSAGE e001(00) WITH 'Please participate processing status!'. EXIT. ENDIF. ENDIF. ENDIF.What I person a occupation with is the Fieldname, which is simply a parameter successful BTE,
this is the statement successful the agelong substance of the system
- FIELDNAME
Name of diagnostic tract for which a cheque is carried out. The tract is contained successful operation KOMG
However, KBSTAT volition not look successful FIELDNAME successful debug unless I changed KBSTAT this time.
I'm not definite wherefore it usually stops astatine MATNR, VKORG, etc.
The 2nd question is astir message, There is simply a enactment successful the agelong substance of system,
Note: If you instrumentality your ain check, you should not contented an ain mistake message. The relation module is besides called during inheritance runs, these are interrupted abruptly by mistake messages. The calling programme treats the RETURNCODE correspondingly, and creates either an mistake message, oregon transfers an mistake codification to the calling program. If respective USER-Exits are being used, the output of a RETURNCODE not adjacent to 0 surpresses the processing of subsequently assigned USER-Exits.Does this mean I shouldn't usage customized messages? So however should I restrict users?
If you person immoderate questions astir the supra description, delight reply and ask.
Hope anybody tin help. Thank you!