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: 

defining new fieldsin segments

Former Member
0 Kudos

hi

i m to fill some new fields in custom segments. how do i proceed ?

segment -> change or segment -> add version ?

first one is not allowed and says not possible for this segment definition

please help

thanks in advance

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Pawan,

If you want to add new segments, to a IDOC, you will have to create a NEW IDOC type by copying from the existing one (WE30). Create new segments in WE31 and add fields to it. Then add these segments while create the new IDOC type.

You cannot modify the existing STANDARD segments to add new fields.

Regards,

Ravi

Note : Please mark the helpful answers

Message was edited by: Ravikumar Allampallam

10 REPLIES 10

Former Member
0 Kudos

Pawan,

If you want to add new segments, to a IDOC, you will have to create a NEW IDOC type by copying from the existing one (WE30). Create new segments in WE31 and add fields to it. Then add these segments while create the new IDOC type.

You cannot modify the existing STANDARD segments to add new fields.

Regards,

Ravi

Note : Please mark the helpful answers

Message was edited by: Ravikumar Allampallam

0 Kudos

Hi Pawan,

YOu can add your own segemts and fileds using WE30 and WE31 transaction, after creating them you need to release them.

Regards

vijay

0 Kudos

of course,

but while adding new fields to my ''custom'' segment what path i choose ?

segment -> change or

segment -> add version ?

do i create another definition or change the existing one ?

thanks for response.

0 Kudos

Hi Pawan,

if the segment is already there then you can go to change mode and add it to your custom segment.

Regards

vijay

0 Kudos

HI Pawan,

once you added all the segments to your segments with change option, then save it and come back and use menu edit->set release this is must.

segement - > change will work in your case

not segement -> version.

Regards

vijay

0 Kudos

when i do like this, i get the error message

' Current segment definition Zxxxx can no longer be changed'

0 Kudos

the segment is already released. so do i have to go for

cancel release ?

if i do cancel release, will it affect other applications where it is used ?

0 Kudos

Hi Pawan,

if it is relased, you cannot change.

first use cancel relase then go to change mode and add your new segments then save it will ask for request.

then come back and use set relase.

don't forget to relase.

(if you cancel relase and change the segment , forget to set release then applications will affect).

Regards

vijay

0 Kudos

i have added new fields, released the segment.

now should i release the IDoc also or no need ?

0 Kudos

No need of release the idoc, now go to your IDOC and check the added segments are present.

Regards

vijay