ITeye博客

skewen

skewen · 共 25 篇文章

Transporting Table Entries From One Client To Another Client

Today I want to teach you how to transport a table entries from one client to another, the technique is using a transport request just like when you transport programs. In this tutorial let’s create a transport request for SPFLI table entries. 1. First execute TCODE Se01. Click on the Create button…

2013-02-20 10:05 · ABAP · SAP ERP · 评论(0)

一步步学习 Webdynpo OVS Search help

OVS (Object Value Selector) Search Help Steps to implement OVS search help 1. Create a new web dynpro component ‘zsimple_ovs’ 2.Give Description and Press Enter 3. Save (Ctrl + S) 4. Ensure change mode (Ctrl + F1) 5. Add a component ‘WDR_OVS’ in the used components tab and Save. 6. Double click on …

2012-11-01 13:57 · ABAP · SAP ERP · Webdynpro · 评论(0)

关于sy-subrc,我们不知道的

had this information so thought of sharing with you all. Values of SY-SUBRC on different ABAP statements 'sy-subrc' is a return code, set by the following ABAP statements. As a rule, if SY-SUBRC = 0, the statement was executed successfully. ASSIGN sets SY-SUBRC to 0 if the field symbol assignment w…

2012-10-11 11:45 · ABAP · SAP ERP · 评论(0)

Call ABAP Webdynpro Application from a R/3 Transaction

Please find the Code Snippets to Call a Webdynpro ABAP Application from a R/3 Transaction Create a ABAP Program from SE38 and associate a transaction to it and Call the same. REPORT ZWD1. ***data declarations DATA:gv_url_string TYPE string, gv_url_c(250) TYPE c. CONSTANTS:gc_login_auth TYPE string …

2012-05-31 00:35 · ABAP · 评论(0)

ABAP Dialog 为什么用自定义OK_code 而不用系统变量sy-ucomm

Reading Function Codes In each PAI event that a user triggers by choosing either a pushbutton on the screen or an element in a GUI status, the corresponding function code is placed into the system field syst-ucomm or sy-ucomm and placed in the OK_CODE field (as long as the function code is not empt…

2012-04-28 13:40 · ABAP · 评论(0)

(转)ABAP 程序性能 小技巧

1、使用where语句 不推荐 Select * from zflight. Check : zflight-airln = ‘LF’ and zflight-fligh = ‘BW222’. Endselect. 推荐 Select * from zflight where airln = ‘LF’ and fligh = ‘222’. Endselect. 2、使用聚合函数 不推荐 Maxnu = 0. Select * from zflight where airln = ‘LF’ and cntry = ‘IN’. Check zflight-fligh > maxnu. Maxnu…

2012-04-16 18:11 · ABAP · 评论(0)

BSEG和BSIS、BSAS、BSID、BSAD、BSIK、BSAK六个表的关系

BSEG和BSIS、BSAS、BSID、BSAD、BSIK、BSAK 六个表的关系 1、数据关系: BSAS+BSIS+BSAK+BSIK+BSAD+BSID = BSEG 2、六个表说明: cleared opened BSAS BSIS ==>all GL documents BSAK BSIK ==>all AP documents BSAD BSID ==>all AR documents BSAS:总帐明细(已清帐)总账 BSIS:总帐明细(未清帐)总账 BSAD:应收明细(已清帐)客户 BSID:应收明细(未清帐)客户 BSAK:应付明细(已清帐)供应商 BSIK:应付明细(未清…

2012-04-07 22:57 · SAP ERP · 评论(0)

ABAP Screen的常用语句

ABAP Screen的常用语句 (1).Screen 设计 TABLES: SSCRFIELDS. PARAMETERS: P_EBLEN LIKE VBRK-EBLEN DEFAULT ' '. PARAMETERS: P_CK1 AS CHECKBOX DEFAULT 'X'. PARAMETERS: P_CK2 AS CHECKBOX. PARAMETERS: P_RAD1 RADIOBUTTON GROUP SG1 DEFAULT 'X'. PARAMETERS: P_RAD2 RADIOBUTTON GROUP SG1 . SELECT-OPTIONS: S_EBLEN FOR …

2012-03-29 19:37 · SAP ERP · 评论(0)

Open and close fiscal year post period

Sometimes, when we create the new account doucment, it will give error message 'period XXXXXX is not open', for this reason, we can use TCODE:OB52 to open the conressponding period. Define the posting company code variant in SM30 - V_T010O Assign the company code variant in SM30 - V_001_R Maintain …

2012-03-25 16:43 · SAP ERP · 评论(0)

Reading Function Codes

Reading Function Codes In each PAI event that a user triggers by choosing either a pushbutton on the screen or an element in a GUI status, the corresponding function code is placed into the system field SYST-UCOMM or SY-UCOMM and placed in the OK_CODE field (as long as the function code is not empt…

2011-12-21 13:16 · ABAP · 评论(0)

IN Abap Loop , key words Unassign cant't be used

With the addition ASSIGNING , you assign the current line to a field symbol <fs> ; within the loop, you are not allowed to assign a different memory area to the field symbol or cancel the assignment with unassign statement. otherwise, the program wil be dump.

2011-09-22 11:18 · ABAP · 评论(0)

(转)流程处理命令(STOP,EXIT,RETURN,CHECK,REJECT)的说明

STOP 在以下事件中使用: INITIALIZATION, AT SELECTION-SCREEN, START-OF-SELECTION, GET, 1、当在INITIALIZATION事件执行该命令,系统将直接触发应用服务器和客户端屏幕元素的发送; 2、在其他事件中将直接触发END-OF-SELECTION事件的执行,如果不想执行END-OF-SELECTION,请使用RETURN或者 EXIT. EXIT 用于循环将直接跳出循环体, DO...ENDDO WHILE...ENDWHILE LOOP...ENDLOOP SELECT...ENDSELECT 用于其他处理模块中 Even…

2011-07-05 11:11 · ABAP · 评论(0)

abap常用系统变量

常用的系统变量如下: 1.sy-pagno当前页号 2.SY-DATUM当前时间 3.SY-LINSZ当前报表宽度 4.SY-LINCT当前报表长度 5.SPACE空字符 6.SY-SUBRC执行状态为0,表示成功. 7.SY-UNAME 用户名 8.SY-UZEIT当前时间 9.SY-TCODE当前的事务代码 10.SY-LSIND列表索引页 11.SY-LISTI上一个列表的索引 12.SY-LILLI绝对列表中选定行的行号 13.SY-CUROW屏幕上的行 14.SY-CUCOL光标列 15.SY-CPAGE列表的当前显示页 16.SY-STARO真实行号 17.SY-LISEL选择行…

2011-06-30 11:40 · ABAP · 评论(0)

android 自定义SeekBarPreference 实现

由于网上有很多人问到SeekBarPreference怎么去实现,今天将这个效果做出来,本例子并没有真正的改变屏幕亮度,如果真正想去实现,那么可以在这个类中onProgressChanged()方法或者onDialogClosed()方法中写上自己调节亮度的代码,并将这些值保存起来。 1.首先定义一个类SeekBarPreference继承于DialogPreference的类: package com.kewen.systeminfo; import android.content.Context; import android.preference.DialogPreference; i…

2011-05-24 17:44 · android · 评论(0)

基于Ophone、Android平台的精美模拟时钟

这是一款基于OPhone/Android平台的模拟时钟程序,时钟的界面是相当的美观,在这个程序中主要用到了android中的自定义View,绘图功能,多线程,日期操作类。以下为程序的运行效果图: 附件中有本程序的源码,供大家下载!

2011-05-16 16:50 · android · 评论(17)