Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CALL TRANSACTION 'QA32'

Former Member
0 Likes
2,490

Hi !

I need to call transaction QA32 from my zprogram, transfer it 3 parameter (Inspection lot, attn, plant ) and skip first screen.

I tried to the commands : SET PARAMETER ID 'MAT'

SET PARAMETER ID 'werks'

SET PARAMETER ID ( Id of inspection Lot ) .

And then the command call Transaction 'Qa32;

However the navigate didn't work ok.

How do i find the proper ID of SET PARAMETER of qa32 ?

When i tried to use call transaction Qa32 using BDC table and give it

the proper recording of Qa32, i get an error: can't find the screen the inspection lot . How can i solve the problem ?

nav

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,606

HI Solman,

As the above post says it looks like the transaction QA32 is a report program, I cant check it as I am away from system. So in this you have to use the syntax

SUBMIT reportname WITH field1 eq value1

WITH field2 eq value2..

In any case, you can find the parameter ID of the fields from the screen of QA32 through screen painter but here again the program's selection screen must be built in screen painter only.

Hope this helps

Regards

Amit

Hi !

I need to call transaction QA32 from my zprogram, transfer it 3 parameter (Inspection lot, attn, plant ) and skip first screen.

I tried to the commands : SET PARAMETER ID 'MAT'

SET PARAMETER ID 'werks'

SET PARAMETER ID ( Id of inspection Lot ) .

And then the command call Transaction 'Qa32;

However the navigate didn't work ok.

How do i find the proper ID of SET PARAMETER of qa32 ?

When i tried to use call transaction Qa32 using BDC table and give it

the proper recording of Qa32, i get an error: can't find the screen the inspection lot . How can i solve the problem ?

nav

4 REPLIES 4
Read only

Former Member
0 Likes
1,606

Hi,

I believe QA32 is a report .

You can use SUBMIT RQEEAL10 WITH ...

Thanks,

Naren

Read only

Former Member
0 Likes
1,607

HI Solman,

As the above post says it looks like the transaction QA32 is a report program, I cant check it as I am away from system. So in this you have to use the syntax

SUBMIT reportname WITH field1 eq value1

WITH field2 eq value2..

In any case, you can find the parameter ID of the fields from the screen of QA32 through screen painter but here again the program's selection screen must be built in screen painter only.

Hope this helps

Regards

Amit

Read only

Former Member
0 Likes
1,606
SET PARAMETER ID 'MAT'  FIELD lv_matnr.
SET PARAMETER ID 'WRK' FIELD lv_werks.
SET PARAMETER ID 'QHK'  FIELD lv_qhrk.

CALL TRANSACTION 'QA32' AND SKIP FIRST SCREEN.

Do F1 on the field u want to see the Parameter ID, then press the technical settings button on the pop-up u will get another screen, in that u can get the parameter id.

See teh sameple code for calling a transaction

FORM user_command USING r_ucomm LIKE sy-ucomm
                  rs_selfield TYPE slis_selfield.
data:     lv_werks    LIKE v_mmim_lc-werks,   "plant
          lv_matnr    LIKE v_mmim_lc-matnr,   "Material
          lv_lgort    LIKE v_mmim_lc-lgort,   "Storage Location
          lv_charg    LIKE v_mmim_lc-charg.   "batch
   read table i_output into w_output index rs_selfield-tabindex.
    lv_matnr = w_output-matnr.
    lv_werks = w_output-werks.
    lv_lgort = w_output-lgort.
    lv_charg = w_output-charg.
    SET PARAMETER ID 'MAT' FIELD lv_matnr.
    SET PARAMETER ID 'WRK' FIELD lv_werks.
    SET PARAMETER ID 'LAG' FIELD lv_lgort.
    SET PARAMETER ID 'CHA' FIELD lv_charg.
    CALL TRANSACTION c_transaction_call AND SKIP FIRST SCREEN .

    CLEAR w_output_copy-prueflos.
    Clear:     lv_matnr,
               lv_werks,
               lv_lgort,
               lv_charg.
ENDFORM.

Hope this solves ur query.

Read only

bernd_janke
Discoverer
0 Likes
1,606

Hi, this works fine for me:

DATA: ql_prlos      TYPE TABLE OF rsparams,
      ql_prlos_line LIKE LINE OF ql_prlos.

ql_prlos_line-selname = 'QL_PRLOS'.
ql_prlos_line-kind    = 'S'.
ql_prlos_line-sign    = 'I'.
ql_prlos_line-option  = 'EQ'.
ql_prlos_line-low     = '<your Test Lot Number>'.
APPEND ql_prlos_line TO ql_prlos.

SUBMIT RQEEAL10 WITH ql_selid EQ '<your Selection Schema>'
                WITH SELECTION-TABLE ql_prlos
                WITH p_alles EQ 'X'
                WITH variant EQ '<your Variant>'
                WITH monitor EQ '3' AND RETURN.

Here is the complete list of selection parameters:

SUBMIT rqeeal10
WITH comments ...
WITH monitor ...
WITH pchkinv2 ...
WITH pmatclas ...
WITH preread ...
WITH p_alles ...
WITH p_calfrm ...
WITH p_calpgm ...
WITH p_no_ud ...
WITH p_ud ...
WITH ql_charg ...
WITH ql_enstd ...
WITH ql_herkt ...
WITH ql_herst ...
WITH ql_kunnr ...
WITH ql_lifnr ...
WITH ql_matnr ...
WITH ql_max_r ...
WITH ql_paend ...
WITH ql_pastr ...
WITH ql_plnfl ...
WITH ql_prlos ...
WITH ql_prplt ...
WITH ql_prplz ...
WITH ql_prwrk ...
WITH ql_refi2 ...
WITH ql_refil ...
WITH ql_remnd ...
WITH ql_rewrk ...
WITH ql_selid ...
WITH ql_vausw ...
WITH ql_vbewt ...
WITH ql_vcdgr ...
WITH ql_vcode ...
WITH ql_vdate ...
WITH ql_vornr ...
WITH ql_vwerk ...
WITH ql_werks ...
WITH ql_xequi ...
WITH ql_xfunc ...
WITH ql_xsmpl ...
WITH s_stat35 ...
WITH testlauf ...
WITH variant ...
Regards
Bernd