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

IDOC

Former Member
0 Likes
275

how to change the value of a field in a Master IDOC

1 REPLY 1
Read only

former_member582701
Contributor
0 Likes
254

You have to program into an user exit for modify the value of a field of a segment of a standard idoc type.

For example, if you are using ORDRSP message type and you need change VBELN field value you need to find where field is filled. In this case you will be using standard function IDOC_OUTPUT_ORDRSP to process idocs.

You have to find the user exit where you you can change the value easely. In this case you will program EXIT_SAPLVEDC_002 user exit. This function is called after every segment is filled.

Every message type has his standard FM and his user exits. The problem is always find the best for your case.

Regards.

Hope it is help for you