Application Development and Automation 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: 
Read only

defining new fieldsin segments

Former Member
0 Likes
1,391

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
Read only

Former Member
0 Likes
1,362

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

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

10 REPLIES 10
Read only

Former Member
0 Likes
1,363

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

Read only

0 Likes
1,362

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

Read only

0 Likes
1,362

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.

Read only

0 Likes
1,362

Hi Pawan,

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

Regards

vijay

Read only

0 Likes
1,362

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

Read only

0 Likes
1,362

when i do like this, i get the error message

' Current segment definition Zxxxx can no longer be changed'

Read only

0 Likes
1,362

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 ?

Read only

0 Likes
1,362

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

Read only

0 Likes
1,362

i have added new fields, released the segment.

now should i release the IDoc also or no need ?

Read only

0 Likes
1,362

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

Regards

vijay