Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to pass parameters to a transaction?

I have called transactions QP02 and QP03 by passing the data as shown in the below code.

SET PARAMETER ID: 'PLN' FIELD gwa_plancreated-plnnr,

'MAT' FIELD gwa_plancreated-matnr,

'WRK' FIELD gwa_plancreated-werks,

'PAL' FIELD gwa_plancreated-plnal.

CALL TRANSACTION 'QP03' AND SKIP FIRST SCREEN.

SET PARAMETER ID: 'PLN' FIELD gwa_plancreated-plnnr,

'MAT' FIELD gwa_plancreated-matnr,

'WRK' FIELD gwa_plancreated-werks,

'PAL' FIELD gwa_plancreated-plnal.

CALL TRANSACTION 'QP02' AND SKIP FIRST SCREEN.


I could do the above thing because the initial screens of those transactions have some fileds which need to be filled with data.

I should do the same for CG02 transaction But the problem is that i cannot pass the values because we need to first press a push button to navigate to the fields. Please see the transaction CG02 once and provide me with a solution.

Former Member
Not what you were looking for? View more on this topic or Ask a question