Quantcast
Channel: SCN : Discussion List - Scripting Languages
Browsing all 325 articles
Browse latest View live

How to check if in correct SAP system

Hi, I'm having trouble with my script in picking the correct system to run. For example I have A6P430 and ANP430 system open at the same time. When I run my macro it choose the wrong system. Im using...

View Article


How to keep line breaks when copying text?

I have created a VBA script to copy sales texts from orders through VA03The script is copying the texts, but is not keeping the line break that exists in SAP. Is there something I can do to keep the...

View Article


Image may be NSFW.
Clik here to view.

Excel VBA (SAP.Functions) Not working with SAP GUI 7.40

have a Excel VBA which connects to SAP, pulls some data and does some processing on it. It was working fine with SAP GUI 7.20. But it stopped working when I installed SAP GUI 7.40. My code is as below...

View Article

Simple copy/paste from Excel to SAP spreadsheet

I am new to SAP and need to copy/paste a block of cells from an Excel spreadsheet into a SAP spreadsheet. At the moment I have an Excel macro that does everything except paste the selected data into...

View Article

Attaching documents in FB03

Hello Dears, I hope you can help me with my problem. I am trying to do a VBA macro in Excel and goal is to attach a file in a document number.I have recorded a script in SAP and edited it, but the...

View Article


If function to ignore sap script trying to attach

Hi, does anyone have the script to ignore this message if a user has not set in GUI settings? Connecting from excel

View Article

Help Needed With Scripting and Error Messages

    I am working to build a script to change orders in SAP using Java. I begun by recording steps and combining them.  I am having issues with the Warning and Error Messages.  Can someone help me write...

View Article

Synchronization issue with SAP session1 and session2 using QTP/UFT automation

Hi Guys, I am using UFT to automate SAP application. My scenario is to automate the SAP Mail creation using the SWBP transaction. During the execution of the script while clicking the New Message...

View Article


Insert the record de CEP always the last lin

Hi, people!I would like to make a loop to insert several records , however the record should be inserted at the end of the table.   Code:If Not IsObject(application) Then   Set SapGuiAuto  =...

View Article


Paralellism

I'm working with two different sessions to insert data.   A VBA archive insert data in the ME01 transaction trough the session 1   and   at the same time another VBA archive inserts data trough the...

View Article

Recording SAP Script via Excel VBA

Hi, Just a question, if I wanted to record a SAP Script VB, without having to go into SAP and click on Alt+12 -> Script Recording and playback -> Record button, is it possible to do this via...

View Article

Need help with Excel macro - Exporting SAP data to Excel - Can't control Save...

I want to create an Excel macro that exports columns of data from SAP, exports it to Excel, and then manipulates the data into a pivot table. I have successfully created this macro, except I had to...

View Article

SAP 740 Gui automation problem

Hello, I`m recently having a problem with SAP automation. I normally use RFC to connect to SAP using Access VBA, which has been great for our department. The thing is, now the company is changing from...

View Article


Copy SAP FIELDS TO EXCEL

Hi, I have a situation in my work, i would like to copy a SAP field value to Exel. Kindly help me out. i would like to copy the Capitalisation date of a particular asset to the Excel. Tried to save the...

View Article

What are the differences in VBA methods to connect to SAP GUI

Hi, I am trying to use MS Excel VBA to connect to SAP GUI and run a recorded *.vbs script, but there are a number of ways of doing this and I should like to understand what the differences are, and...

View Article


SAP GUI for massive process

HiI was trying to create a SAP Gui script to run a process for many materials.see below I created it for one material, but to run in simultaneously for 2 material  I just repeated the code..but how can...

View Article

Copy data from Excel and run the Loop

Good afternoon everyone,I need to finish a script that will take the data from the Excel A1 column, copy a given time, execute the transaction E41C, save the changes made and start the process again...

View Article


Export attachments from SAP

Hi Team, Happy Christmas to All. I want to automatically download the attachment from SAP which are uploaded through T-code FB03. I have recorded below script for downloading the attachments but save...

View Article

Image may be NSFW.
Clik here to view.

FB03 Exporting of attachment

Hi guys! I am currently developing a macro tool wherein I can export the attachment of a document using FB03 and saving it in a specific folder. I was able to create one but I have the following...

View Article

Image may be NSFW.
Clik here to view.

Excel VBA Single Sign On script

Hi folks, I've been searching these forums with not much luck - most scripts seem to be using a form of connection with SAP that involves hard coding one's username and password, either into the excel...

View Article
Browsing all 325 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>