DDIF_NAMETAB_GET:获得字段的相关信息(不包含text) 参数: Import: TABNAME:数据库表的名字 LFIELDNAME:指定关联字段 ALL_TYPES:是否指定所有类型 GROUP_NAMES:是否包含include的字段 UCLEN:没用过,应该是和unicode相关的 Export: X030L_WA:返回表头的信息 DTELINFO_WA:data element的信息 TTYPINFO_WA:表类型的...
*1.获取表中的字段结构 CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = p_name TABLES dfies_tab = lt_table EXCEPTIONS not_found = 1 OTHERS = 2. IF sy-subrc <> 0. MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4. ENDIF. LOOP...
*1.获取表中的字段结构 CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = p_name TABLES dfies_tab = lt_table EXCEPTIONS not_found = 1 OTHERS = 2. IF sy-subrc <> 0. MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4. ENDIF. LOOP...
This class will first read corresponding database table name based on CRM settype id, then call function module DDIF_NAMETAB_GET to get all metadata of each table field, and then send the data to clipboard. Once done, put the focus on the first cell of content row, press Ctrl+V, all...
4、ELINEOFlt_comp.DATAdyn_waTYPEREFTOdata.DATAdyn_tableTYPEREFTOdata.DATAl_stringTYPEstring.FIELD-SYMBOLS:<dyn_table>TYPESTANDARDTABLE,<dyn_wa>TYPEANY.*1.获取表中的字段结构CALLFUNCTION'DDIFNAMETABGET'EXPORTINGtabname=p_nameTABLESdfies_tab=lt_tableEXCEPTIONSnot_found=1OTHERS=2.IFsy-subrc<& 5...
CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = p_name TABLES dfies_tab = lt_table EXCEPTIONS not_found = 1 OTHERS = 2. IF sy-subrc <> 0. MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4. ENDIF. LOOP AT lt_table INTO ls_...
如果只需要修改相同字段名称的值 也可以这样处理 只是assign后判断subrc即可 另外还有两个函数 DDIF_NAMETAB_GET LVC_FIELDCATALOG_MERGE 具体怎么用自己写代码一测便知 注: 《 L_FIELD_C》是为防止跟web编码有冲突 欢迎关注订阅号:SAP学习记录 (SAPlearning ) ...
2) DDIF_NAMETAB_GET - To get all the information about the particular Segment of a IDOC 3) EDI_CHANGE_DATA_SEGMENT - To Update the Changes made in the segments after the Editing the IDOC 4) EDI_DOCUMENT_CLOSE_EDIT - To Close the IDOC after all the Changes being updated Steps inv...
2.在接⼝中,如果需要保存记录,则调⽤下⾯代码。DATA: json_ser TYPE REF TO cl_trex_json_serializer,json_des TYPE REF TO cl_trex_json_deserializer.DATA: jsonstr TYPE string.CREATE OBJECT json_ser EXPORTING data = it_plm007[].CALL METHOD json_ser->serialize.CALL METHOD json_ser->get...
读取剪贴板的数据使用 CL_GUI_FRONTEND_SERVICES 类的方法 CLIPBOARD_IMPORT 从剪贴板导入数据。当您在任何数据块上...