cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Segment

vijay_b4
Active Contributor
0 Kudos

Hi,

I want to create a custom segment in standard idoc.And have to wirte a abap code for that particular segment to hold the data using user exit.

Please let me know the steps to do this.

Thanks & Regards,

Pragathi.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello,

Idoc extension order:

1. we31(create new segments with fields u want to populate)

2. we30(create an extension idoc type).in we30 u will get to radio buttons.1. basic type 2. extension.click on the extension and then copy the basic type.Now will get all the segmnts .Now add the new segments under the parent segement which needs to be extended.

3. attach the extended idoc type to basic type and message type to tcode WE82.

4. Now u have to search for an exit where u have to write ur code in order to populate the fields which u have extended.Basically u will write in the Function module.Make sure u r writing in the correct exit.Evry messagetype will have a function module.

5. create a project in cmod and activate the function exit.

And also you can refer to

http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b7d6243d711d1893e0000e8323c4f/content.htm

BR,

Dzmitry

Former Member
0 Kudos

Follow the below link:

/people/jiaxiang.huang/blog/2008/01/14/some-experience-on-idoc-enhancement

as suggested this is ABAp related question so kindly post it in ABAP forum.

chirag

VijayKonam
Active Contributor
0 Kudos

Post it in the ABAP forum.

VJ