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

Modify IDOC Matmas

Former Member
0 Likes
1,324

Hi, I need to modify some data from a MATMAS idoc. I mean, I have a report where there is a submit to report RBDSEMAT (tx. BD10) and I get all the generated idoc's data and show it in an ALV. Once the user sees all these data, he can process or not the idoc (via tx. WE14) but before doing that I need to change some fields from the idoc, for example E1MARAM-PSTAT. Is there any function / badi / bapi to do this ??? at this moment the only way I know to do that is updating tablña EDID4 but I hope there is another way..

Thanks in advance !!

Maria

Hi, I need to modify some data from a MATMAS idoc. I mean, I have a report where there is a submit to report RBDSEMAT (tx. BD10) and I get all the generated idoc's data and show it in an ALV. Once the user sees all these data, he can process or not the idoc (via tx. WE14) but before doing that I need to change some fields from the idoc, for example E1MARAM-PSTAT. Is there any function / badi / bapi to do this ??? at this moment the only way I know to do that is updating tablña EDID4 but I hope there is another way..

Thanks in advance !!

Maria

4 REPLIES 4
Read only

Former Member
0 Likes
1,055

hello,

I think u need change some fileds u need add or delete some feilds for that.

u can use tcode for filltering is BD64( display distrubution model) where u can fillter .

try this ....

thank u

santhosh

Read only

0 Likes
1,055

hello, i need to change some fieldds' value..

Read only

0 Likes
1,055

Hi Maria,

I understand that you want to modify some fields in MATMAS idoc, before being sent out. The program RBDSEMAT calls FM 'MASTERIDOC_CREATE_MATMAS', which actually creates the idoc. This FM calls user exit ZXMGVU03. Using this user exit you can customize your idoc as per requirements. But be sure to provide appropriate conditions like receiver partner no (control record) etc so that MATMAS idocs intended only for this particular receiver are modified.

Hope this infornmation is helpful.

Regards

Vatsala.

Read only

0 Likes
1,055

Thanks a lot !!! i'll try and tell you !!!