Anda di halaman 1dari 3

10/21/2014 EXTENSION OF IDOC USING USER EXITS Abap | Abap Tutorials

http://abap-tutorials.best5list.com/extension-idoc-using-user-exits-abap 1/3
Search
Syndicate
Sap ABAP Tutorial Sap Idoc Tutorial ABAP
EXTENSION OF IDOC USING USER EXITS Abap
09pank
Posted at 13:01 on Sun, 06/10/2012
* EXTENSION OF IDOC USING USER EXITS
----------------------------------
1. WE31 Create a segment
Segment Name : ZTEST01
Description : Extension Segment for E1MAKTM
Field Name Data Element
-------------------------
text1 name2
- Save it
- Edit ---> Set release
2. WE30 Develop Idoc Type
- Obj. name : ZMATMAS05
- Development object : *Extension
- click on "Create" icon.
- Create nem : Linked basic type : MATMAS05
- Description : Extension of Basic Idoc Type MATMAS05
- Select the segment 'E1MATKM' Segment and click on "Create"
icon.
- Segment type : ZTEST01
- Minimum number : 1
- Maximum number : 9999
- Save it
- Edit ---> Set Release
3. WE82 Assign Message Types to Idoc Types
- Click on "New Entries".
- Message type : MATMAS
- Basic type : MATMAS05
- Extension : ZMATMAS05
- Release : 640
4. WE 20 Partner Profile
5. BD64 Display Distribution Model / Create Model View
Abap Tutorials
Network Sites
Best 5 List
Online Degrees
User login
Username: *
Password: *
Home Sap Abap Tutorials
10/21/2014 EXTENSION OF IDOC USING USER EXITS Abap | Abap Tutorials
http://abap-tutorials.best5list.com/extension-idoc-using-user-exits-abap 2/3
6. BD10 Send Material
- Goto System --> Status --> Program
- Double click on Program : RBDSEMAT
- Select Function Module : MASTERIDOC_CREATE_REQ_MATCOR and
double click on it.
- Find for Call Customer Function in the main program.
- Double click on Call Customer Function '002' (Related to MAKT)
- Doucble click on the include program : ZXMGVU03
- Write the below code in the include program :
*&---------------------------------------------------------------
------*
*& Include
ZXMGVU03 *
*&---------------------------------------------------------------
------*
DATA: LW_TEST01 LIKE ZTEST01.
CASE SEGMENT_NAME.
WHEN 'E1MAKTM'.
MOVE 'TEST IDOC' TO LW_TEST01-TEXT1.
MOVE LW_TEST01 TO IDOC_DATA-SDATA.
MOVE 'ZTEST01' TO IDOC_DATA-SEGNAM.
APPEND IDOC_DATA.
CLEAR IDOC_DATA.
ENDCASE.

7. Inorder to findout the Project and Enhancement for the above
Exit do the following steps
- Go to the attributes of program : RBDSEMAT and findout the
package name ( MGV )
- Go to T.Code : SMOD
- Press F4 in the Enhacement field.
- Select "Information Systems".
- Enter the package name : MGV and press enter
- Select the exit name : MGV00001 Material Master (Industry):
ALE Distribution
- Click on "Components"
- Go to T.Code : CMOD
- Project Name : ZTEST001 and click on Create Icon
- Select Enhancement : MGV00001
- Select components and then Activate it.
- Activate the Project.
8. MM01 - Create Material
Log in
Request new password
Navigation
News aggregator
10/21/2014 EXTENSION OF IDOC USING USER EXITS Abap | Abap Tutorials
http://abap-tutorials.best5list.com/extension-idoc-using-user-exits-abap 3/3
Abap Tutorials | XMl Sitemap
Copyright 2010-2011 Abap Tutorials.. All rights reserved.
Tuesday, October 21st 2014
Change Pointers Abap up Search Help and Lock Object
9. BD10 send Material
- Material
- Message Type
- Logical System
10. WE02
Login to post comments
Q U I C K B O O K S @ H K D 1 4 4 / M O N T H
Easy Cloud Accounting Software for SMEs. Limited Time Offer for HK!

Anda mungkin juga menyukai