Profilo di Wang我的幸福生活FotoBlogElenchi Strumenti Guida

Blog


12 novembre

IDES ABAP/4破解及Client Copy Client 号修改


装了n次IDES了,东西还是没记住,不是basis就是记不住这些东西啊,放在这里存个档,省得每次还要狂问朋友或者去论坛查了。
一、破解IDES abap/4开发的access key的方法
************************************************************************************
先检查程序:LSKEYF00的属性是否是Editor lock,如果是,执行SE30->F6(Tips&Tricks),
在右边写下面一段程序,F8执行,LSKEYF00的Editor lock就会打开
Update PROGDIR set edtx = ''
Where name = 'LSKEYF00'
And state = 'A'.
然后请严格按以下步骤修改
1,SE38,display LSKEYF00,找到form:JUMP_THE_WALL,
 然后设置段点在  CALL 'GET_DEVELOPER_KEY' ID 'NAME'   FIELD 'ABCDEFGHIJKL'
                         ID 'CUSTID' FIELD '1234567890'
                         ID 'KEY'    FIELD DUMMY_KEY.
2,SE38,change  LSKEYF00,这时回停在断点上,ok,把SY-SUBRC修改为0,F8继续执行,
 然后在  CALL 'GET_DEVELOPER_KEY' ID 'NAME'   FIELD 'ABCDEFGHIJKL'
                         ID 'CUSTID' FIELD '1234567890'
                         ID 'KEY'    FIELD DUMMY_KEY.
 的后面加上这段话
     IF sy-uname = 'ABAPER'. 注意:sy-uname 为自己的user id
       sy-subrc = 0.
     ENDIF.
3,save,check,active,这期间会有好几次停在在第1步的时候设置的断点上,
 记得把SY-SUBRC都改为0  
************************************************************************************
 
二、修改默认client号
IDES安装完成后,默认的登录client为000,我们可以将其修改为我们想要的client号,
具体方法如下:
登录系统后,执行事务码RZ10,然后执行菜单命令
utities---->import profile ---->of active server
这样就把操作系统的当前参数导入了系统,然后才能修改激活。
然后选择参数去修改,查看default和两个Pxx的参数文件中是否有
login/system_client = 的项目,
有,则将clinet改成需要修改的即可,
没有则需要添加。
选择参数default,下面的选项选择extended maintenance,
点击修改按钮,在参数文件中新建项目login/system_client,项目值800
保存并激活后重新启动sap服务即可。

三、如何做一个client的copy
怎么做client的copy呢?
scc4创建新client,
用sap*/pass登录新client,
切记登录到新的Client再执行SCCL,
需要1个多小时,
sccl的屏幕参数选择sap_all,
Source client都是800
做client copy的好处就是800配置被你改滥了以后可以直接copy回去,
到时候就在800执行SCCL,Source client为你新copy的client即可。
 
20 giugno

ABAP 小点滴

   PERFORM   alpha_convertion USING l_matnr.
*&---------------------------------------------------------------------*
*&      Form  alpha_convertion
*&---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
*      -->P_L_MATNR  text
*----------------------------------------------------------------------*
FORM alpha_convertion  USING    pl_matnr.
  CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
    EXPORTING
      input  = pl_matnr
    IMPORTING
      output = pl_matnr.
ENDFORM.                    " alpha_convertion
 
很巧妙的 把 material 前边加了十个零,哈哈
16 giugno

SAP transaction Code

 

All SAP Transaction Codes with Report and Description

Here you can see all SAP transaction codes and the called reports including a short header description.

Sometimes you are looking for transactions "around your currently known transactions". Here you have the (nearly) complete list of the SAP transactions (about 16000+) sorted by transaction code. So, you can navigate to your transaction and have a look what interesting you may find "next to" this. Just give it a chance :-)))

The full list of transaction codes is maintained in the tables TSTC and TSTCT. So, you can have a look via SE16 in your own SAP system as well.

All transactions sorted by transaction code:

http://www.4asu.de/transactions-n-o.php

我发现列一个秘密 ABAP TIP

1)在 SAP script 里边用类似于submit 的语句
You can use some statements familiar with Submit in SAPscript
 
For example:
 
/:   PERFORM GET_MORE_DATA IN PR
/:   USING &ZISEG-BSTAR&
/:   USING &ZISEG-MATNR&
/:   USING &ZISEG-WERKS&
/:   USING &ZISEG-CHARG&
/:   USING &ZISEG-XZAEL&
/:   USING &ZISEG-XDIFF&
/:   USING &ZISEG-XNZAE&
/:   USING &ZISEG-XLOEK&
/:   CHANGING &W_PRINT-LWEDT&
/:   CHANGING &W_PRINT-STCK_TYP&
/:   CHANGING &W_PRINT-STEXT&
 
 
2)
  CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
    EXPORTING
      input  = pl_matnr
    IMPORTING
      output = pl_matnr.
24 maggio

Some ABAP Programs collection

ZLMMRP16 layout set for Sales Order

ZLSDRP22 Change filed ERDAT

ZLSDRP32 some changes output

ZRVADOR07 ZRVADOR06 ZRVADOR01 ZRVADOR02  some changes for VIP group field added

 

ZRVINVOICE ZRVADIN01 FOR FIELD CHANGED 45 DAY TO 60 DAY 1408

VBDKR_FKART  Billing Type

VBDKR  Document Header View for Billing

 

I learned some object abap from ZLMMRP16_alv that we can create module and use some dynamic things to make the program

22 maggio

Basic Form of Selection Criteria

 

SIGN: I OPTION: BT LOW: AA HIGH: LH

If the user enters a value in the second field (ranges selection), the default settings for SIGN and OPTION are I and BT.

SIGN: E OPTION: EQ LOW: FC HIGH:
SIGN: E OPTION: BT LOW: SQ HIGH: SR

If exclusive criteria are used, the SIGN component of the selection table contains value E.

clicking them or by choosing F2.

On the Maintain Selection Options screen that, for single field comparisons, looks like this, the user can select an operator for the OPTION field and switch between I and E for the SIGN field in the lowest line. On the selection screen, symbols on the left side of the input field are used to indicate the selection.

02 maggio

ZLSDRP47

ZLSDRP47  
中使用 MODIFY
       MODIFY collection TRANSPORTING d_discount12 WHERE kunnr = t_data-kunnr.
TRANSPORTING 是指字段的
26 aprile

Modify itab

MODIFY - Changing Individual Rows in an Internal Table
If you use the addition ASSIGNING <fs>, the field symbol <fs> is set to the modified line. If you use the addition REFERENCE INTO ref, the data reference dref is filled with the reference of the modified line. Both the field symbol and the reference are only set if the statement is processed successfully.

If you specify "TRANSPORTING f1 ... fn ", only components f1, f2, ... of the work area are copied into the table. You can also specify components dynamically in the form (name). The actual component name is then taken from the field name at runtime. If name contains an invalid component name, the system triggers a runtime error. In HASHED or SORTED tables, you cannot use a TRANSPORTING field as a key field.
21 aprile

how can I find price list in Billing Doc?(如何看price list)

TCode:VF03 ---- billing number ---- document flow (ctrl+f1) ---- display document(f8) ----display sold to party(f6) --- sale area data(ctrl + f3)
and then you can not miss it.
20 aprile

ABAP SAPscript Tips

Draw a window or windows if you never define an element or elements that you no need to call funtion "write_form"
 
ZLSDRP47    Billing with sale order sum finished.but still need some small changes
 
画一个新窗口假如你没定义元素,大可不必call funtion "write_form" 直接 SELECT 出数据显示即可
10 aprile

ZLSDRP31完成,ZLSDRP47 奋斗中

 header data and items data,还有 condition type 文本解释在 T685T

 Conditions: Types: Texts
 
    LOOP AT t_konv WHERE knumv = t_print-knumv.
            MOVE t_konv-kawrt TO t_print-kwert.
            w_kwert = t_print-kwert / t_print-netwr * 100.
            MOVE w_kwert TO t_print-disper.
 
05 aprile

To have different page formats in SAPscript


Goto tcode se71---- open ur form---- click BASIC SETTINGS--- in that there is an option to SET UP PAGE.

there u can select your page format.

SAP basis knowledge

RZ11 改系统参数
rdisp/max_uprun_time 最大运行超时时间
 
RZ10 改 profile 改变系统登陆缺省 Client 等
04 aprile

SAP Omit-Monitor

这是我的 SAP Omit-Monitor 大家看看,有想试用的告诉我啊.
 
 This is my program SAP Omit-Monitor ,this program can be instead of ST06 SM50 SM04,so you will monitoring your Server easier than use Tcode in SAPGui,if you want get this program just tell me.
 
在此还是,说一下有条件的朋友好好学一下 SAP,它能让你的薪水翻三番.
 
Click Picture following show larger (点击下图放大):