Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Adding a 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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

HI,

This link may be useful .

https://wiki.sdn.sap.com/wiki/x/R4WCAw

Thanks,

Nithya

3 REPLIES 3

Former Member
0 Kudos

HI,

This link may be useful .

https://wiki.sdn.sap.com/wiki/x/R4WCAw

Thanks,

Nithya

Former Member
0 Kudos

Hi,

Transaction WE31; Creation of a customized segment, provide the field names that is required to appear in the segments and save it . Select EDIT from the Menu bar and press release. The segment would be available.

Transaction WE30: Creation of IDoc Extension, provide the a new name, after which you would have to provide the Basic Type. Select Edit and provide the segment name after which all the existing segments under the basic type would be displayed. Select Create Segment and fill in the details.

Transaction WE82; This used for connecting the basic type, message type and the extension.

Find the appropriate user exit and write the code.

Thanks

Krithika

Former Member
0 Kudos
 Hi,

Transaction WE31; Creation of a customized segment, provide the field names that is required to appear in the segments and save it . 
Select EDIT from the Menu bar and press release. The segment would be available.

Transaction WE30: Creation of IDoc Extension, provide the a new name, after which you would have to provide the Basic Type. 
Select Edit and provide the segment name after which all the existing segments under the basic type would be displayed. Select Create Segment and fill in the details.

Transaction WE82; This used for connecting the basic type, message type and the extension.
Find the appropriate user exit and write the code.


Thanks
Krithika

+

WE20 - Partner Profiles : Create partner profiles by giving the extended idoc type & message type.

BD64 - Distribution channel: Create a distribution channel by giving source system & target system details.

Now find the related user exit for the Idoc and populate the newly added segments.

Regards,

~Satya

Edited by: Satya suresh Donepudi on Mar 11, 2009 12:36 AM