If a reference text is used, SAPscript automatically processes the reference chain and provides the text lines found in the text at the end of the chain. If an error occurs, the system leaves the function module and triggers the exception REFERENCE_CHECK. Function call: Syntax CALL FUNCTION ...
CONDENSE INTAB-VBELNTEXT7 . IF INTAB-VBELNTEXT7 NE '' . IF STRLEN( INTAB-VBELNTEXT7 ) EQ 8. CONCATENATE INTAB-VBELNTEXT7+0(4) INTAB-VBELNTEXT7+4(2) INTAB-VBELNTEXT7+6(2) INTO INTAB-VBELNTEXT7 SEPARATED BY '/'. ELSE. INTAB-VBELNTEXT7 = '不符合日期格式YYYYMMDD'. END...
CALL FUNCTION 'READ_TEXT' EXPORTING ID = TREC-TDID LANGUAGE = TREC-TDSPRAS NAME = TREC-TDNAME OBJECT = TREC-TDOBJECT TABLES LINES = LINES EXCEPTIONS ID = 1 LANGUAGE = 2 NAME = 3 NOT_FOUND = 4 OBJECT = 5 REFERENCE_CHECK = 6 WRONG_ACCESS_TO_ARCHIVE = 7 OTHERS = 8. IF SY-SUBRC...
SAP Managed Tags: ABAP Development ABAP Development Programming Tool View products (1) Hi all, I've been reading some of the earlier threads on READ_TEXT FM and so far i have only managed to find out what fields i need: CLIENT = SY-MANDT ID = 'BEST' LANGUAGE = 'EN' OBJECT = ...
如下图: 处理过程 1:SAP中所有的长文本都存在两张表中: STXH 长文本的抬头信息 STXL 长文本的明细信息 但是长文本在使用前,需要先进行配置,... 小顾问 2 7135 SAP READ_TEXT函数的用法 2012-03-31 08:40 − *訂單表頭內文(JOHNSON) VBELNTEXT = INTAB-VBELN . CALL FUNCTION 'READ_TEXT' ...
SAP Managed Tags: ABAP Development, SAP Customer Relationship Management Hi, i would like to add default texts in my smartforms. i know how to create text using t-code .But i don't know how to create multiple texts.and how do i get text name ,text id,text objet for a particular do...
READ_TEXT is used to read the "sapscript" text which is stored in transaction SE75 and SO10. You have standard text which is in SO10 and Text objects which is configured via SE75. For example, everywhere you see "long text" in a text editor on a screen, chances are that it is ...
SAP Managed Tags: ABAP Development Hi, You need to pass Text ID of text to be read, Language of text to be read, Name of text to be read, Object of text to be read. Refer below sample code: DATA: l_c_ltxt TYPE tdid VALUE 'F01', l_c_mdtxt TYPE tdobject VALUE 'EKKO'. ...
Selection texts taken from ABAP Dictionary are not stored in the text pool and cannot be read with READ TEXTPOOL. They contain a "D" in the first position of ENTRY. To read the selection texts stored in ABAP Dictionary, use the function module RS_TEXTPOOL_READ. Example...
SAP Managed Tags: ABAP Development All, There is an IMPORT statement in READ_TEXTLINES which happens to reside inside the READ_TEXT function module, wherein it imports the data to the table from STLX. I can see that the table now has "1" entry when I was debugging. But the table ...