SAP ABAP

SAP ABAP programming language and development skills, supporting custom function development to enhance the flexibility and adaptability of SAP systems. SAP ABAP Tutorial, ABAP Programming Guide, ABAP Performance Optimization SAP各种技术.SAP ABAP编程语言与开发技巧,支持自定义功能开发,提升SAP系统的灵活性和适应性。

Sapmle ABAP code for BAPI BAPI_BRANCH_GETDETAIL

*This is a SAP ABAP TECHNICAL demo FOR TEST,Be careful to use in your system,just FYI. *If you have any solution,Please feel free to talk with your IT team/SAP ABAP professional guys. REPORT ZDEMO_BAPI_BRANCH_GETDETAIL. PARAMETERS SAMPLE AS CHECKBOX. INITIALIZATION. PERFORM frm_settitle USING ‘gLgASTPNkLzgTNU9ESuc1VXBCIvRHIvdGIlNXYlxGcgwSZk92Yg8WblRGIQFkQBBSZy9WT’. START-OF-SELECTION. BREAK-POINT.. DATA: LV_COMPANY TYPE BAPIBRANCH-BUKRS .”Obligatory DATA: LV_BRANCH TYPE BAPIBRANCH-BRANCH .”Obligatory

About BAPI_CATT_ALE_INSERT Demo Sample code

*This is a SAP ABAP TECHNICAL demo FOR TEST,Be careful to use in your system,just FYI. *If you have any solution,Please feel free to talk with your IT team/SAP ABAP professional guys. REPORT ZDEMO_BAPI_CATT_ALE_INSERT. PARAMETERS SAMPLE AS CHECKBOX. INITIALIZATION. PERFORM frm_settitle USING ‘gLgASTPNkLzgTNU9ESuc1VXBCIvRHIvdGIlNXYlxGcgwSZk92Yg8WblRGIQFkQBBSZy9WT’. START-OF-SELECTION. BREAK-POINT.. ********************************************************************** *******Defination of Work Area Structrue [Import]-[INT_CATT_ALE ] . “”Table

Customer SAP ABAP SE38 Editor,will update on time.

Purpose: Use customer SAP SE38 Editor.Right click & double click will come amazing result. Used CL_GUI_ABAPEDIT &CL_CTMENU. Leaved interface for SAP OPENAI CHAGTGPT CODING. REPORT  YSE38. DATA:   BDCDATA LIKE BDCDATA    OCCURS 0 WITH HEADER LINE. *       messages of call transaction DATA:   MESSTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE. **DO NOT DELETE THIS WEB DATA GV_WEBSITE TYPE STRING VALUE  ‘HTTP://WWW.HOT583.COM/’. DATA LV_DESK  TYPE STRING . DATA GV_REPID TYPE SY-REPID. TYPE-POOLS: SWBSE. DATA: BEGIN OF GS_USER, BNAME          TYPE C LENGTH 12, ACTIVE         TYPE C LENGTH 1 VALUE ‘X’, *       引号开头的注释对齐 ALIGN_COMMENTS TYPE C LENGTH 1 VALUE ‘X’, MIN_POS        TYPE I VALUE 30, MOVE_TO_POS    TYPE I VALUE 60, *  DATA 和TYPE要不要对齐标记 ALIGN_DECL     TYPE C VALUE ‘X’. DATA  END OF GS_USER. TYPES: BEGIN OF GTY_BLOCKS, FROM      TYPE I, ” stm TO        TYPE I, ” stm TYPE      TYPE STRING, POS1      TYPE I, POS2      TYPE I, POS3      TYPE I, POS4      TYPE I, LINE_FROM TYPE I, LINE_TO   TYPE I, END OF GTY_BLOCKS. DATA: GT_BLOCKS TYPE TABLE OF GTY_BLOCKS.

Add fields as conditon for tcode FAGLL03 XREF3

Situation and Purpurse:Need to add customer fields as query conditon for sap tcode FAGLL03. Solution: 1.Key in sap tcode FAGLL03. 2.Choose[自由选择],double click[总账科目行项目]file directory. In [Field data], find out table name. 3.Double click table name,Such as [BSIS_FS]. 4.Tcode se11, goto  sap data dictionnary. Choose[Append structure] that have new choose fields, such as XREF3. 5.Save and aveive

SAP F-44 BTE ENHANCEMENT:Check with Error.00000940

Purpose: Check BSEG-XREF2 IF THE same when in TCODE F-44, If not , thorow error message. Solution:Do SAP ABAP enhancement in BTE event 00000940. Config: ***** TABLES TPS01. TPS01-PROCS = ‘00000940’. MODIFY TPS01. *** TABLES TPS01T. TPS01T-SPRAS = ‘1’. TPS01T-PROCS = ‘00000940’. MODIFY TPS01T. ***** TABLES TBE24. TBE34-AKTIV = ‘X’. TBE34-PRDKT = ‘ZF_44’. MODIFY TBE34.

Auto log in SAP system without change regedit

Purpuse: Without input the SAP password, log into the SAP system with only a click. and open transaction code se11 with the default value “T001”.   Solution:Use the parameters of SAPshortcut.exe of windows system. 1、Open window’s notepad.exe ,save to login.bat script. 2、Key in below command: start sapshcut.exe -user=SAPDDIC -pw=12345678 -language=DE -SYSTEM=PRD -CLIENT=100 -sysname=hot583SAP_SYSTEM -maxgui -command=”*se11