CALL TRANSACTION for popular SAP Transactions
Here are a few CALL TRANSACTION calls for common transaction in the hope that it saves you time.
Show article (MM43)
SET PARAMETER ID 'MAT' FIELD lv_matnr.
SET PARAMETER ID 'MXX' FIELD '0'. "Basic View
CALL TRANSACTION 'MM43' AND SKIP FIRST SCREEN .
Show inforecord (MM13)
SET PARAMETER ID 'MAT' FIELD lv_matnr.
SET PARAMETER ID 'LIF' FIELD lv_lifnr.
SET PARAMETER ID 'EKO' FIELD lv_ekorg.
CALL TRANSACTION 'ME13' AND SKIP FIRST SCREEN .
Show vendor (XK03)
SET PARAMETER ID 'LIF' FIELD lv_lifnr.
SET PARAMETER ID 'EKO' FIELD lv_ekorg.
SET PARAMETER ID 'KDY' FIELD '/110/'. "Show first view
CALL TRANSACTION 'XK03' AND SKIP FIRST SCREEN.
"The other possible sy-cucol values for KDY:
"LFA1: /110/120/130
"LFA1 & LFB1: /110/120/130/210/215/220
"LFA1, LFB1 & LFM1: /110/120/130/210/215/220/310/320
"Or per view:
"Adress: 110
"Control: 120
"Payment transactions: 130
"Contact Persons: 380
"Accounting info: 210
"Payment transactions: 215
"Correspondence: 220
"Withholding tax: 610
"Purchasing data: 310
"Partner functions: 320