cancel
Showing results for 
Search instead for 
Did you mean: 

SAP VB script for updating texts in purchase orders

Former Member
0 Kudos

Hello,

I am trying to create a SAP script for updating texts in purchase orders. It is in the last third - Item Detail, Texts tab.

The script is ok apart from the fact that it always deletes whatever text is in there and than add a new one.

I would like to keep history in the texts tab and always just add one line to existing texts. Is there any way (command) how

to keep existing texts and only add a new line to the top?

Thanks a lot!

Jan

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

You can't apply the old good programming logic of:

Copy X

newEntry = X + newItem

in this scenario ?

Regards, Ernst.

Former Member
0 Kudos

Yes, you are exactly right. I have already figured it out as well. I did not expect it would be that easy. But thanks a lot anyway for replying on this!

Now I am struggeling with changing SAPLMEGUI in vb scripts for ME22n. Sometimes, there is SAPLMEGUI:0010 and sometimes SAPLMEGUI:0015. Even when the users have the same screens in the beginning the SAPLMEGUI number differs. They also do one item by hand and than it changes. It keeps changing between SAPLMEGUI:0010 and SAPLMEGUI:0015

Is there a way how to have the same number of SAPLMEGUI or how to eliminate this issue?

Thanks a lot

Jan