我有一个录制的 GuiXT 脚本,当我运行它时,它会在桌面上生成一份返回材料的报告,名为“returns.XLSX”。如果 A 列(returns.XLSX)中的数据在剪贴板上,我可以运行另一个脚本,但这是一个手动过程。我的问题是,有没有办法通过 GuiXT 脚本将一份报告中的数据用于另一份报告?
// SAP Easy Access
Screen SAPLSMTR_NAVIGATION.0100
Enter "/nZT9VSNUC_REP_RET"
// Returns Report
Screen ZT9VS_REP_RETURNS.1000
Enter "=%001" // Multiple selection
// Multiple Selection for Sales Organization
Screen SAPLALDB.3000
Set cell[Table,Single value,2] "CA30"
Enter "/8"
// Returns Report
Screen ZT9VS_REP_RETURNS.1000
Enter "=%001" // Multiple Selection (Active)
// Multiple Selection for Sales Organization
Screen SAPLALDB.3000
Enter "/8"
// Returns Report
Screen ZT9VS_REP_RETURNS.1000
Enter "=%005" // Multiple Selection (Active).2
// Multiple Selection for Sales Document Type
Screen SAPLALDB.3000
Enter "/16"
// Multiple Selection for Sales Document Type
Screen SAPLALDB.3000
Set cell[Table,Single value,1] "YBRE"
Enter
// Multiple Selection for Sales Document Type
Screen SAPLALDB.3000
Set cell[Table,Single value,2] "YBKL"
Set cell[Table,Single value,3] "YBG1"
Enter "/8"
// Returns Report
Screen ZT9VS_REP_RETURNS.1000
Set F[Created on] "&V[MYDATE]"
Set F[Created on to] "&V[END_DATE]"
Enter "/8" // Execute
// Returns Report
Screen SAPLSLVC_FULLSCREEN.0500
Enter "%_GS 0 1"
// Returns Report
Screen SAPLSLVC_FULLSCREEN.0500
Enter "/Menu=1,4,2" // Spreadsheet...
// Returns Report
Screen SAPLSLVC_FULLSCREEN.0500
Enter "/N"