如果必要的话,把系统字段的值存储在一个辅助的变量中。 If possible, a system field should be evaluated directly following the statement that set it, so that it is not overwritten by other statements. If necessary, store the values of system fields in auxiliary variables. 如果语句不设置一个系统字...
‘SUBRC’ and all other system fields can be found in the structure ‘SYST’. To address them in an ABAP program, You should use the following form: SY-<fieldname>. Here are some examples of the values of SY-SUBRC on different ABAP statements: ‘CALL FUNCTION’ in function modules sets...
SAP Managed Tags: ABAP Testing and Analysis Hello, sy-subrc is basically a return code for any operation. For eg. after an Insert operation, sy-subrc would contain a value depending on the success/failure of the Insert operation. The values are: 0 - Success 2 - Depends on the context...
SAP Managed Tags: ABAP Development HI, Sy-subrc values are diffent for diffent statments that you use in ABAP.. based on where you are using... what function or statment ur using the meaning of these values changes. Thanks Mahesh Reply Former...
SAP Managed Tags: ABAP Development Hi Sanjeev, First of all I am sure that you must be aware that SY_SUBRC is a system field. It has three values viz. 0 : When Record is found on execution of query. 4 : When record isn't found on execution of query. 8 : Applies only to SELEC...
In debugging check the int_tab values for int_tab-kunnr int_tab-gjahr. Regards Adil Reply Former Member 2008 Jun 20 1:03 PM 0 Kudos 1,195 SAP Managed Tags: ABAP Development Hi, In your code the sy-subrc checks for the assignment of gjahr as the sy-subrc value is placed...
SAP Managed Tags: ABAP Development hI, Data is not found in the database table and returns subrc value = 4. go to se11 enter the table name ZV_MAST_STKO and see if the data is available for your where condition values. data willnot be available for your select with where condition/...
SAP Managed Tags: ABAP Development hi, below is the select from where i am getting netpr values for som kostl .It is working fine for some kostl and date . but for some kostls it is taking sy-subrc = 4 and giving that message but for that kostl there are values in QAS .Is ...
The problem is: how do you make all this supporting information around a runtime context and user input influenced sequence of sy-subrc values available to the person analyzing the trace and doing maintenance on a role? For sure they won't be trespassing on the documentation in parallel each...
SAP Managed Tags: ABAP Development Hi, For all the fields check for the conversion routine at the domain level. Maybe at the time of fetching they are converted in certain formats and then stored and in the read statement in the with key condition you have hardcoded the values so the rea...