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: 

Vendor Master Purchase Memo Paste

Former Member
0 Kudos

Hello Gurus,

I have an issue with our DEV and QAS text editors being different.

DEV uses the SAP text editor and QAS uses integrated Microsoft Word.

Due to this difference macros I create can often error out in QAS.

I am looking for the appropriate Menu code for the paste paste while in the QAS text editor.

In DEV the command I need for this icon is:

session.findById("wnd[0]/tbar[1]/btn[3]").press

In QAS I need the command for this:

If you can figure out the line of code to activate the paste command you will be saving me a lot of time.

I have to update over 2500 vendors to update.


Can you help?

Thank you,

Jon D.

1 ACCEPTED SOLUTION

tomas_talpa
Active Contributor
0 Kudos

Hello Jonathan,

no answer for your specific question, just few another ideas:

  • cannot you do it via the old/sapscript long text editor?
    • switch the editor in long text maintenance via menu "Goto -> Change Editor", insert text from Windows clipboard via "Insert -> Clipboard -> Clipboard"
  • cannot you deactivate the MS Word integration on your QAS?
    • see transaction I18N, path "I18N Menu -> I18N Customizing  -> MS Word as Editor";
  • cannot you upload the text directly (variant 1)?
    • see report SDTEXTE, it allows you to upload any long text from file; you can wrap it within LSMW (has to run in foreground, to access text files on frontend);
  • cannot you uploaded the text directly (variant 2)?

Kind Regards

TomT

2 REPLIES 2

tomas_talpa
Active Contributor
0 Kudos

Hello Jonathan,

no answer for your specific question, just few another ideas:

  • cannot you do it via the old/sapscript long text editor?
    • switch the editor in long text maintenance via menu "Goto -> Change Editor", insert text from Windows clipboard via "Insert -> Clipboard -> Clipboard"
  • cannot you deactivate the MS Word integration on your QAS?
    • see transaction I18N, path "I18N Menu -> I18N Customizing  -> MS Word as Editor";
  • cannot you upload the text directly (variant 1)?
    • see report SDTEXTE, it allows you to upload any long text from file; you can wrap it within LSMW (has to run in foreground, to access text files on frontend);
  • cannot you uploaded the text directly (variant 2)?

Kind Regards

TomT

0 Kudos

Not exactly what I was looking for but you gave me what I needed.

Thanks Tomas.