cancel
Showing results for 
Search instead for 
Did you mean: 

VBA : Not recording text in performace assitant window

Former Member
0 Kudos

Hi

I do record and play macros in SAP and i used to connect excel and SAP also.

I recorded a scripting till creation of asset. Problem here is, SAP is not giving scripting for opening performance assistant window and copy only asset number form that window.

To be specific requirement: I need a code for copying asset number once SAP generates, so that i will copy it to excel.

Kindly help me.

Thanks in advance

Sunil kumar

Accepted Solutions (1)

Accepted Solutions (1)

holger_khn
Contributor
0 Kudos

Which Transaction you use for asset creation?

Former Member
0 Kudos

Hi Holger,

Thanks for your quick reply.

I am using AS01.

Even i want to implement for FB01 also to post documents from excel.

holger_khn
Contributor
0 Kudos

You can get statusbar Messages with this Piece of code:

If Session.FindById("wnd[0]/sbar").Text <> "" Then Range("A1").Value = Session.FindById("wnd[0]/sbar").Text

Former Member
0 Kudos

Hi Holger,

Thanks a lot for your reply.

I will check on monday since I already left office. I will reply to your message. I have a question over here as the code is not shown "

Copy". How it will get copied

Thanks

Sunil

0 Kudos

Hi Holger,

I'm also facing same problem pls help on this

Answers (0)