Hello All, I have a report and the following code exists in the START-OF-SELECTION: Now, after the function module 'HR_WFM_OPEN' is called, sy-subrc is 0 (zero). This
see the following example. parameters g_matnt type mara-matnr. select single matnr from mara into g_matnr where matnr = g_matnr. at selection-screen. if sy-subrc ne 0. message 'Invalid material ' Type 'E'. Endif. Reward points if useful... Suresh... Reply All forum topics Previous...
即使失败也会返回SY-SUBRC =0EN方法的返回值类型为引用数据类型: 基本数据类型:(基本类型太简单,我...
I'm trying to debug a function that generates an error msg. I tried to debug a bit and located the point in which the error message is generated. I've seen that the error message is caused by a sy-subrc value NE 0 after a function call. Well, then the problem is that something ...
采购申请pr新增行 | pritemx = lt_pritemx extensionin = lt_exts . loop at lt_return into ls_return where type = 'E' or type = 'A'. exit. endloop. if sy-subrc ne 0. call function 'BAPI_TRANSACTION_COMMIT' exporting wait = 'X'. ...
Please let me know what does it means by sy-subrc values for 1, 2, 5, 6 and 8 means. I only know that , sy-subrc = 0 is when u get value (when ur statement is true) and sy-subrc = 4 is when u dont get value (when ur statement is false) . please let me know, ...
0 Kudos 5,522 SAP Managed Tags: ABAP Development hi, may i know why the read can map a record but why sy-subrc returns 4? loop at int_tab. if int_tab-blart <> 'DZ'. read table int_t2 with key kunnr = int_tab-kunnr gjahr = int_tab-gjahr. if sy-subrc = 0. move....
0withheaderline.data:field1(30).data:v_devclassliketadir-devclass.parameters:p_tcodeliketstc-tcodeobligatory.selectsingle*fromtstcwheretcodeeqp_tcode.ifsy-subrceq0.selectsingle*fromtadirwherepgmid='R3TR'andobject='PROG'andobj_name=tstc-pgmna.move:tadir-devclasstov_devclass.ifsy-subrcne0...
IF sy-subrc NE 0. IF sy-batch EQ space. MESSAGE a182(fr) WITH hlp_filename. ELSE. MESSAGE s182(fr) WITH hlp_filename. STOP. ENDIF. ENDIF. ENDIF. Regards, Vadivel Reply Former Member In response to Former Member 2006 Aug 16 12:53 PM 0 Kudos 977 SAP Managed Tags: ABAP...
<> or NE represents NOT EQUAL TO LT represents LESS THAN GT represents GREATER THAN. sy-subrc is a system variable, which is usually '0', when the statement it just executed was successfull. If it wasnt successful it ll have a value other than 0. eg: READ TABLE or DELETE entries....