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: 

Change field for an invoicedocument item (MM)

b_deterd2
Active Contributor
0 Kudos

Hello,

Is there a way (function module for instance) to change an item, in particular to change the field SGTXT (field DRSEG-SGTXT) of an invoicedocument made in MM (transaction MIRO or MIR7).

For the specific group who will want to change this field, it is not advisable to give them transaction MIR4 to change the document-item.

Any help is welcome.

Bert

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Write a program to modify the entry SGTXT in RBKP Table.

SGTXT stores in RBKP table (Incomming Invoice).

Regards,

4 REPLIES 4

Former Member
0 Kudos

Hi,

The item text field which you have mentioned it gernally comes from FI application (i.e. invoice).You need to check in your system which item text from invoice should appearin MM document.

find out the text object(invoice+item),text id ,language.

Then use function read_text using the same to read the current contents of the text & then change the text using save_text function.

Hope I understood your requirement .

Thanks.

Mark points if helpful.

Former Member
0 Kudos

Hi Bert,

Did you solve the question?

Oh, i also have the same requirement in my job.

I don't know how to handle it.

Any clue is appreciated.

Former Member
0 Kudos

Hi,

Write a program to modify the entry SGTXT in RBKP Table.

SGTXT stores in RBKP table (Incomming Invoice).

Regards,

Former Member
0 Kudos

what shuold be the value of long text ? u can do it thru user exit , but i am not sure abt substitiions i.e GGB1.

Regards

Prabhu