登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

原来为了你

我的人生就是要一次次的超越

 
 
 

日志

 
 
 
 

[转]MV45AOZZ  

2011-07-08 11:26:45|  分类: 增强 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

choose the table VBAP or VBAK depending on header or item)

click 
on button "append Structures" .

it will propose you the 
standard name for the table ZAVBAP or ZAVBAK

add fields with prefix ZZ

trans SE51 maintain user 
exit screens in program SAPMV45A 

8459 user exit item level

8309 user exit header level

you can then design your own layout
and define your flow logic 

PBO modules MV45AOZZ

PAI modules MV45AIZZ

Data definitions MV45ATZZ

Subroutines 
in MV45AFZZ


User Exits 
In Sales Document Processing 
This IMG step describes additional installation
-specific processing in sales document processingIn particularthe required INCLUDES and user exits are described.

Involved 
program components
System modifications 
for sales document processing affect different areasDepending on the modificationyou make the changes in the program components provided:
? MV45ATZZ

For entering metadata for sales document processingUser-specific metadata must start with "ZZ".
? MV45AOZZ

For entering additional installation-specific modules for sales document processing which are called up by the screen and run under PBO (Process Before Outputprior to output of the screenThe modules must start with "ZZ".
? MV45AIZZ

For entering additional installation-specific modules for sales document processingThese are called up by the screen and run under PAI (Process After Inputafter data input (for exampledata validation). The modules must start with "ZZ".
? MV45AFZZ 
and MV45EFZ1 

For entering installation-specific FORM routines and for using user exitswhich may be required and can be used if necessaryThese program components are called up by the modules in MV45AOZZ or MV45AIZZ.


User exits 
in the program MV45AFZZ

The user exits which you can use 
for modifications in sales document processing are listed below.


? USEREXIT_DELETE_DOCUMENT 

This user 
exit can be used for deleting data which was stored in a separate table during sales document creationfor exampleif the sales document is deleted.
For exampleif an additional table is filled with the name of the person in charge (ERNAMduring order entrythis data can also be deleted after the sales order has been deleted.
The user 
exit is called up at the end of the FORM routine BELEG_LOESCHEN shortly before the routine BELEG_SICHERN.


? USEREXIT_FIELD_MODIFICATION 

This user 
exit can be used to modify the attributes of the screen fields.
To do thisthe screen fields are allocated to so-called modification groups and can be edited together during a modification in ABAPIf field has no field nameit cannot be allocated to group.|

The usage 
of the field groups (modification group 1-4is as follows:
? Modification 
group 1Automatic modification with transaction MFAW 
? Modification 
group 2It contains 'LOO' for step loop fields 
? Modification 
group 3For modifications which depend on check tables or on other fixed information 
? Modification 
group 4is not used 

The 
FORM routine is called up for every field of screenIf you require changes to be madeyou must make them in this user exit.
This 
FORM routine is called up by the module FELDAUSWAHL.
See the 
Screen Painter manual for further information on structuring the interface.

? USEREXIT_MOVE_FIELD_TO_VBAK

Use this user 
exit to assign values to new fields at sales document header levelIt is described in the section "Transfer of the customer master fields into the sales document".
The user 
exit is called up at the end of the FORM routine VBAK_FUELLEN.

? USEREXIT_MOVE_FIELD_TO_VBAP 

Use this user 
exit to assign values to new fields at sales document item levelIt is described in the section "Copy customer master fields into the sales document".
The user 
exit is called up at the end of the FORM routine VBAP_FUELLEN.

? USEREXIT_MOVE_FIELD_TO_VBEP 

Use this user 
exit to assign values to new fields at the level of the sales document schedule lines.
The user 
exit is called up at the end of the FORM routine VBEP_FUELLEN.

? USEREXIT_MOVE_FIELD_TO_VBKD 

Use this user 
exit to assign values to new fields for business data of the sales documentIt is described in the section "Copy customer master fields into sales document" .
The user 
exit is called up at the end of the FORM routine VBKD_FUELLEN.

? USEREXIT_NUMBER_RANGE 

Use this user 
exit to define the number ranges for internal document number assignment depending on the required fieldsFor exampleif you want to define the number range depending on the sales organization (VKORGor on the selling company (VKBUR), use this user exit.
The user 
exit is called up in the FORM routine BELEG_SICHERN.

? USEREXIT_PRICING_PREPARE_TKOMK 

Use this user 
exit if you want to include and assign value to an additional header field in the communication structure KOMK taken as a basis for pricing.

? USEREXIT_PRICING_PREPARE_TKOMP 

Use this user 
exit if you want to include or assign value to an additional item field in the communication structure KOMP taken as a basis for pricing.

? USEREXIT_READ_DOCUMENT 

You use this user 
exit if further additional tables are to be read when importing TA01 or TA02.
The user 
exit is called up at the end of the FORM routine BELEG_LESEN.

? USEREXIT_SAVE_DOCUMENT 

Use this user 
exit to fill user-specific statistics update tables.
The user 
exit is called up by the FORM routine BELEG-SICHERN before the COMMIT command.
Note
If standard field is changedthe field r185d-dataloss is set to XThe system queries this indicator at the beginning of the safety routineThis is why this indicator must also be set during the maintenance of user-specific tables that are also to be saved.

? USEREXIT_SAVE_DOCUMENT_PREPARE 

Use this user 
exit to make certain changes or checks immediately before saving a documentIt is the last possibility for changing or checking a document before posting.
The user 
exit is carried out at the beginning of the FORM routine BELEG_SICHERN.


User exits 
in the program MV45AFZA

? USEREXIT_MOVE_FIELD_TO_KOMKD 

Use this user 
exit to include or assign values to additional header fields in the communication structure KOMKD taken as a basis for the material determinationThis is described in detail in the section "New fields for material determination" .

? USEREXIT_MOVE_FIELD_TO_KOMPD 

Use this user 
exit to include or assign values to additional item fields in the communication structure KOMPD taken as a basis for the material determinationThis is described in detail in the section "New fields for material determination ".

? USEREXIT_MOVE_FIELD_TO_KOMKG 

Use this user 
exit to include or assign values to additional fields in the communication structure KOMKG taken as a basis for material determination and material listingThis is described in detail in the section "New fields for listing/exclusion".

? USEREXIT_MOVE_FIELD_TO_KOMPG 

Use this user 
exit to include or assign values to additional fields in the communication structure KOMPG taken as a basis for material determination and material listungThis is described in detail in the section "New fields for listing/exclusion".

? USEREXIT_REFRESH_DOCUMENT 

With this user exityou can reset certain customer-specific fields as soon as processing of a sales document is finished and before the following document is edited.
For exampleif the credit limit of the sold-to party is read during document processingin each case it must be reset again before processing the next document so that the credit limit is not used for the sold-to party of the following document.

The user 
exit is executed when a document is saved if you leave the processing of a document with F3 or F15.

The user 
exit is called up at the end of the FORM routine BELEG_INITIALISIEREN.

  评论这张
 
阅读(870)| 评论(0)

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018