- 博客(65)
- 收藏
- 关注
转载 内表比较
CTVB_COMPARE_TABLES转载于:https://www.cnblogs.com/aurora-cj/p/11633518.html
2019-10-08 08:57:00 176
转载 内外码
函数1. CONVERSION_EXIT_ABPSP_OUTPUT 内码转为外码函数2. CONVERSION_EXIT_ABPSP_INPUT 外码转为内码转载于:https://www.cnblogs.com/aurora-cj/p/11495387.html
2019-09-10 08:54:00 278
转载 程序跳转到事务码
CASE RF_UCOMM. WHEN '&IC1'. READ TABLE GT_SO INTO GS_SO INDEX RS_SELFIELD-TABINDEX. CASE RS_SELFIELD-FIELDNAME. WHEN 'VBELN'. SET PARAMETER ID 'AUN' FIELD G...
2019-09-07 14:57:00 141
转载 SPELL_AMOUNT
*CONVERT NUMBER TO ENGLISHCALL FUNCTION 'SPELL_AMOUNT'EXPORTINGAMOUNT = G_TOTALCURRENCY = WG_HEADER-WAERKFILLER = ' 'LANGUAGE = SY-LANGUIMPORTINGIN_WORDS ...
2019-09-03 09:07:00 261
转载 How to get purchase info record price
FMsME_GET_INFORECORD_CONDITIONS All info record price, maybe duplicateME_GET_INFORECORD_CONDITIONS_1 Only valid info record price on the current dateJ_1A_ME_GET_INFORECORD_COND Read all condi...
2019-08-20 10:27:00 373
转载 Confusing field in Alv display
IF wa_fieldcat-fieldname = 'XXXXX' . IF g_user_flag = 'X'. wa_fieldcat-reptext_ddic = 'YY Price'. wa_fieldcat-seltext_l = 'YY Price'. wa_fieldcat-selte...
2019-07-04 10:27:00 78
转载 CL_ABAP_TYPEDESCR,"Reflection" in the ABAP
"Reflection" is a term commonly used in Java programming,but there is one class in ABAP that has similar behaviors,it is "CL_ABAP_TYPEDESCR"The Structure of CL_ABAP_TYPEDESCR.CL_ABAP_TYPEDESCR...
2019-06-23 11:07:00 150
转载 JCO demo
1.Connect Directlyimport java.io.File;import java.io.FileOutputStream;import java.util.Properties;import com.sap.conn.jco.JCoException;import com.sap.conn.jco.JCoDestination;import com.sap...
2019-06-14 22:12:00 251
转载 Receiving Results from an Asynchronous RFC
REPORT ZTEST_RFC.DATA: INFO LIKE RFCSI,* Result of RFC_SYSTEM_INFO function SYSTEM_MSG(80) VALUE SPACE.* Exception handlingCALL FUNCTION 'RFC_SYSTEM_INFO' STARTING NEW TASK 'INF...
2019-06-14 21:07:00 120
转载 ABAP Editors
ShortcutsCtrl + D:Copy one line downwardCtrl + /:Go to Command Filed at top left cornerCtrl + J:Convert to Proper case where the first letter of every word becomes a capital letter. This is p...
2019-06-03 19:14:00 142
转载 TABLES parameters are obsolete! Message no. FL069
DiagnosisTABLES parameters are table parameters. Table parameters are obsolete CHANGING parameters that are typed as internal standard tables with a header line. If an internal table without a h...
2019-05-28 17:15:00 268
转载 Add a column in table control
Goto that screen layout and make it change mode.Follow the menu path -> goto-> secondary window-> dictionary/ program fieldsselect the reuired fielddrag that into your table control ...
2019-05-27 09:59:00 211
转载 ALV
BATCH SELECTIONTYPES:BEGIN OF TY_DATA SEL(1), B, C,END OF TY_DATA.DATA: LT_DATA TYPE TABLE OF TY_DATA, L_ALV_LAYOUT TYPE SLIS_LAYOUT_ALV.L_ALV_LAYOU...
2019-05-10 11:58:00 94
转载 ABAP Object Differences
REPO Report Program Source Code and TextsREPS Report Source CodeREPT Report TextsPROG Program转载于:https://www.cnblogs.com/aurora-cj/p/10826679.html
2019-05-07 17:06:00 96
转载 Field Symbols, Casting Decimal Places
DATA: pack1 TYPE p DECIMALS 2 VALUE '400', pack2 TYPE p DECIMALS 2, pack3 TYPE p DECIMALS 2. FIELD-SYMBOLS: <f1> TYPE ANY , <f2> TYPE ANY....
2019-05-07 10:52:00 100
转载 fROM PPV report
Month search help:include rmcs0f0m.s_month for s001-spmonat selection-screen on value-request for s_month-low.perform monat_f4.-----------------------------------------Get BOM components:CS...
2019-04-26 14:19:00 154
转载 Month format:number to English abbre
```DATA LV_MONTH TYPE FCKTX.CLEAR:LV_MONTH,lv_date.SELECT SINGLE KTXINTO LV_MONTHFROM T247WHERE SPRAS EQ SY-LANGUAND MNR EQ gs_header-print_date+4(2).IF sy-subrc eq 0.CONCATENATE gs_head...
2019-04-19 14:41:00 123
转载 How to find SPRO path by t-code name
e.g:OB58F1->Technical InformationFind Table Name->V_T0113.SM30 V_T011 CustomizingContinue w/o Specifying Project5.Get the path in the IMG activities overview转载于:https://www.cnblog...
2019-04-18 17:07:00 130
转载 Smartforms
Include textPopulate indicator in programperform get_text using '0002' ls_detail-vbeln"Header note 1 2019.04.15 changing ls_header-header_note.set indicatorin Conditions as...
2019-04-18 14:11:00 114
转载 Find out where to contain the smartforms
Go to table E071 and give smarforms name and it will give the transport req for that.Run SE03, choose "Search For Object in the request/transport":Here run the report for the hit:R3TR SSFO ...
2019-04-04 09:19:00 64
转载 SUBMIT WITHOUT ALV
data:seltab type table of rsparams, seltab_wa like line of seltab. define add_seltab. if &1 is not initial. seltab_wa-selname = &2. seltab_wa-low = &1. ...
2019-04-01 10:06:00 90
转载 Populate screen data automatically
field zz_test-uname.module populate_record on chain-request.module populate_record input. ztlo_testing-uname = sy-uname. ztlo_testing-datum = sy-datum. ztlo_testing-uzeit = sy-uzeit.en...
2019-03-21 16:59:00 68
转载 ABAP的匹配
ABAP的匹配通配符字符串操作中的通配符*:多位字符的通配符+:一位字符的通配符#:字符操作中的转义符REPORT ztest_placeholder.DATA:l_name(8) TYPE c VALUE 'ZhangSan'.* *号是多位的通配符IF l_name CP '*San'. WRITE: '*:YES'.ELSE. WRITE: '...
2019-03-13 22:08:00 776
转载 Saving custom fields in production order
In additional data screen1.PPCO0012->EXIT_SAPLCOKO1_001->ZXCO1U11 ci_aufk-zxxx = i_caufvd-zxxx. 2.PPCO0012->EXIT_SAPLCOKO1_002->ZXCO1U12 e_coci_aufk-zxxx = ci...
2019-03-13 14:25:00 160
转载 Excel uploading date format
if l_wa_field-value eq 'ZFIRST_REQ_DATE'. clear lv_length. lv_length = strlen( l_wa_excel-value ). case lv_length. when 8. ...
2019-03-05 10:54:00 75
转载 MESSAGE_TYPE_X in Badi:MB_DOCUMENT_UPDATE_BEFORE
Note:385830Instead of writing code in MB_DOCUMENT_BEFORE_UPDATE,write a check in user exit MBCF0002.This exit is having all the required parameters and also it will trigger while checking docume...
2019-03-01 13:44:00 639
转载 Working days
form FRM_GET_WORKING_DAYS TABLES pt_days CHANGING pv_duration. DATA:ls_xt001w TYPE t001w, lv_sdate TYPE sy-datum, lv_edate TYPE sy-datum.* Get the factory calendar for sp...
2019-02-23 11:49:00 94
转载 T-codes & Rarely Seen Tables(Updated from previous note)
T-codesCCOCO01/02/03:Production OrderCGCG3Y:Download file from server,never used this beforeCMCMOD:Management of SAP Enhancement(SMOD),also can be used to change standard text,ex:Change '...
2019-01-22 15:12:00 108
转载 F4 help for month
INCLUDE rmcs0f0m.s_month FOR s001-spmon NO-EXTENSION NO INTERVALS OBLIGATORY.AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_month-low. PERFORM monat_f4.转载于:https://www.cnblogs.com/aurora-cj/p...
2019-01-21 09:41:00 110
转载 Percentage&Last zero&Convert from char to float
Percentageg_rate = wg_header-rate.condense g_rate.SHIFT g_rate RIGHT DELETING TRAILING '0'.REPLACE '.' WITH '' INTO G_RATE.SHIFT G_RATE RIGHT DELETING TRAILING SPACE.condense g_rate.concat...
2019-01-19 20:35:00 85
转载 ME5xN(x:1-2): custom column is editable in Subscreen Item but not in ALV grid
FMMEMFS_BUILD_MAPPING_PO_VIEWS->LMEMFSF0Zenhancement 14 zenhance_alvg_rid_editable. "active version map 'ZZ_NOT_INPUT' mmmfd_cust_01.endenhancement.BADIIF_EX_ME_PROCESS_REQ_CUST~FIE...
2019-01-11 14:23:00 192
转载 Extension-valuepart
data: ls_extension type bapiparex.loop at extensionin into ls_extension . read table extensionout index 1. case extensionout-structure. when 'BAPI_TE_MEREQITEM' ."CUST...
2019-01-09 10:40:00 293
转载 SD
Offer(Tcode:VA23;Table: vbak and vbap) billing(Tcode:VF03;Table:vbrk and vbrp)Offer(quotation)->SO->DN->Billing(Invoice)SO 和 Item 表VBFA,根据VBFA- VBELV =quotation(VBAK-VBELN) and VBFA-P...
2019-01-09 09:08:00 69
转载 Add custom field in Material Master
1.Add fields in the Append Structure of table MARA.2.ConfigureSPRO IMG -> Logistics General -> Material Master -> Configuring the Material Master -> Create Programs for Customized S...
2019-01-07 14:49:00 142
转载 Pay attention to "Changing"
data l_ct_imseg type vsep_t_imseg. refresh l_ct_imseg. append lines of ct_imseg to l_ct_imseg. call function 'HU_CREATE_GOODS_MOVEMENT' exporting if_event = if_event ...
2018-10-26 11:31:00 112
转载 查询结果字段名的转换
将透明表查询值直接传递给内表,两表中栏位结构一样,但栏位名称缺不同。若查询中使用CORRESPONDING FIELD OF语法进行赋值时,则会发现不同名称的字段不能正常赋值,解决办法是在SELECT查询时将其直接转换DATA: BEGIN OF xpfli OCCURS 0, carrid2 LIKE spfli-carrid, conni...
2018-10-15 16:02:00 148
转载 Flexible variants in STVARV
DATA: lv_time TYPE TVARV_VAL, lv_tvarvc(25) . CONSTANTS lv_prefix(25) VALUE 'ZZXXS_'. CONCATENATE lv_prefix p_werks INTO lv_tvarvc. SELECT SINGLE low INTO lv_time FROM tvarvc ...
2018-09-21 09:12:00 194
转载 select-options and range
1.SELECT...WHERE ... IN ...,它后面跟着的是一个RANGE类型的内表,这种内表是通过RANGES或者SELECT-OPTIONS来定义的。2.内表中包含四个字段:SIGN,OPTION,LOW以及HIGH。3.SIGN的值范围为:I-包含,E-排除;4.OPTION的值范围为:EQ-等于,BT-介于,GT-大于,LT-小于,GE-大于或等于,LE-小于或等...
2018-09-20 10:19:00 299
转载 Efficiency optimizing
*low efficiency l_it_alv_stpox[] = g_it_alv_stpox[]. SORT l_it_alv_stpox BY zz_matnr idnrk. LOOP AT g_it_alv_stpox ASSIGNING <l_wa_alv>. LOOP AT l_it_alv_stpox WHERE ( zz_matnr N...
2018-09-12 08:50:00 77
转载 Extract Dataset
FROM 《SAP PROGRAM DESIGN》Extract Datasets简称为Extract,是SAP中除了内表之外的另一种大量内存数据处理方式,允许用户动态地存储并排序结构化数据,同时通过循环处理,与内表相比,Extract的数据行数也可以是动态的,但是内表的行结构固定,而Extract的列数目也可变。每一个ABAP程序,最多只能创建一个未命名的ABAP Extra...
2018-09-08 13:36:00 253
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人