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: 

How to change the IDOC segment data

HariMaradana
Active Participant
0 Kudos
11,474

How to change the segment data for all IDOCs at one shot J.

For exmple E1EDK02-QUALF - 004

E1EDK02-RGID - 100000008 (Inquiry No)

to

E1EDK02-QUALF - 004

E1EDK02-RGID - 200000005 (Quotation)

Any hints, tips….Appreciate your help and more rewards.

Regards,

Cris

1 ACCEPTED SOLUTION

Former Member
0 Kudos
4,327

Hi,

You can change the IDOC values using the transaction WE09

Give the IDOC number..

Press F8..

Expand the tree..

Double click on the segment..

Then in the menu..DATA RECORD -> DISPLAY/CHANGE..

It will go in change mode..Change the IDOC value..

Thanks,

Naren

5 REPLIES 5

former_member181962
Active Contributor
0 Kudos
4,327

Hi Cris,

First you must identify the User exit in the Inbound/Outbound FM.

Then, you have to change the contents of the IDOC as per your requirement.

Regards,

Ravi

Former Member
0 Kudos
4,328

Hi,

You can change the IDOC values using the transaction WE09

Give the IDOC number..

Press F8..

Expand the tree..

Double click on the segment..

Then in the menu..DATA RECORD -> DISPLAY/CHANGE..

It will go in change mode..Change the IDOC value..

Thanks,

Naren

0 Kudos
4,327

Hi

basically i have to change thousands of idocs and it creates SO

Thanks

Cris

0 Kudos
4,327

Hi Cris,

If it is a one time activity, then just write a small BDC code for this based on transaction WE09.

Regards,

Atish

Former Member
0 Kudos
4,327

Hi Cris,

you can make use of the fuction module exit in IDOC_INPUT_ORDERS

Enhancement Number <b>VEDA0001</b>

EXIT_SAPLVEDA_002

and modify the segment data by coding your logic in the INCLUDE ZXVEDU04 and this will be triggerd for every idoc processed by the FM IDOC_INPUT_ORDERS

thanks and Regards,

Pavankumar