=== FUNCTION MODULE (或RFC中) SY-SUBRC 的含义 === 使用SELECT语句选择查询: SY-SUBRC = 0: 至少有一行数据,当ENDSELECT语句执行完,SY-DBCNT中保存着记录的个数。 SY-SUBRC = 4: 没有数据。 SY-SUBRC = 8: 只有使用“SELECT SINGLE FOR UPDATE”时才会有, 表示: WHERE条件指定的记录不止一行,结果...
CORRESPONDING FIELDS OF可以将一样类型进行赋值SELECTSINGLE*FROMspfliINTOCORRESPONDINGFIELDSOFm_spfliWHEREcarrid ='AC'ANDconnid ='8888'.*sy_subrc为上一条语句的执行结果,如果为0,则表示执行成功IFsy-subrc =0.WRITE: m_spfli-carrid, m_spfli-connid, m_spfli-countryfr, m_spfli-cityfrom,m_...
i checked all the suggested ways.. but still getting the value of SY-SUBRC is 8.. Operating system is Sun OS.. its working fine in dev and prd .. issue is only with quality.. Kindly let me know your ideas to fix this..
Sy-subrc 8. SAP_ALL Go to solution Former Member 2012 Jun 06 8:07 AM 0 Kudos 991 SAP Managed Tags: ABAP Development Hi gurus, I have a problem it's giving me a headache. Our support team has made a new directory on SAP Server (Unix Solaris). However, during ABAP...
record is there ,i have written logic for sy-subrc = 0 as well as for 4 also. but for 8 i have not written any logic becz i dint expect this situation,as i am using binary search may this is the problem.if y give me the reason. ...
IF sy-subrc EQ 0. LOOP AT maraheader INTO ls_mara. MOVE-CORRESPONDING ls_mara TO ls_deepentity. LOOP AT maratomarc INTO ls_marc. APPEND ls_marc TO maratomarc_temp. CLEAR :ls_marc. ENDLOOP. LOOP AT maratomard INTO ls_mard. APPEND...
Solved: I have read many of previous postings relkated to a sy-subrc = 8 that I am getting when trying to open a dataset. Some say dataset name is too long, I do not
DATA:lv_code TYPE sysubrc, lv_message TYPE string. DATA: it_header TYPE tihttpnvp. DATA:iv_name TYPE string, "用户名 iv_password TYPE string. "密码 TYPES:BEGIN OF ty_token, token TYPE string, code TYPE string, description TYPE string, END OF ty_token. DATA:ls_token TYPE ty_token....
nodereadtablei_extension-ref_tablewithkeyref_name='VEND_COUNTRY'intols_ref_node.ifsy-subrcisinitialandls_ref_node-c_value='RU'.clear:c_value.endif.ENDFUNCTION. As you can see, usage of exit modules with extended interface allows you to populate DMEE nodes dynamically (based on their ID)...
WA_HR01-ZIDENDEXEC.IFSY-SUBRC=0.***更新ERP数据库表EXECSQL.COMMITENDEXEC.MODIFYZ00HRJZLCH01FROMWA_HR01.COMMITWORK.ENDIF.ENDLOOP.ENDIF.**关闭连接EXECSQL.DISCONNECT:CNS_YGJKENDEXEC.**获取异常CATCHCX_SY_NATIVE_SQL_ERRORINTOCL_EXEC_REF.EXIT.CATCHCX_SQL_EXCEPTIONINTOCL_SQLERR_REF.EXIT.ENDTR...