如果必要的话,把系统字段的值存储在一个辅助的变量中。 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. 如果语句不设置一个系统字...
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 Go to solution Former Member Options Mark as...
‘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...
After each statement in SAP is executed, the SY-SUBRC is set depending on the result of the statement. the SY-SUBRC can contain the following values. 0 - This value is set when the statement is executed successfully. 2 - This value is set when the statement is executed unsuccessfully. ...
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...
SAP Managed Tags: ABAP Connectivity Check the SY-SUBRC values for CALL TRANSACTION 0 The batch input processing of the called transaction was successful. < 1000 Error in the called transaction. If within the transaction a message was sent, you can receive it using the addition MESSAGES. 10...
SAP Managed Tags: ABAP Development Hi all, a function module is returning 1 as sy-subrc value. does that mean that it couldnt execute properly because the values imported to the FM were not correct? Exceptions 1,2,3 exist in this FM. Does the sy-subrc value represent this exception val...
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,601 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...
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...