Able to launch SAP and provide tcodes, but unable to provide table name ,execute and export the table data through batch scripting(i.e through command line). Please suggest. Thanks in advance.
Below is the script i have witten:
set /p Username= Enter username:
set /p Password= Enter password:
set /p Tcode= Enter Tcode:
set /p Database=Enter Database:
REM: cd Program Files\SAP\FrontEnd\SapGui
start sapshcut.exe -system=%Database% -client=320 -command=%Tcode% -user=%Username% -pw=%Password%