Application Development 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: 

REG: SET PARAMETER ID and CALL TRANSACTION 'MIR6'

Former Member
0 Kudos

Hi,

My code is shown below.

SET PARAMETER ID 'RBN' FIELD gt_trans-invnumber.

CALL TRANSACTION 'MIR6' AND SKIP FIRST SCREEN.

When I execute this code i need to pass the value of gt_trans-invnumber to the screen of MIR6.

But i didnt get the value.

Could you help me in this.

For example:

SET PARAMETER ID 'RBN' FIELD '100000'.

CALL TRANSACTION 'MIR6' AND SKIP FIRST SCREEN.

My question is i want to see the data for above number.

Thanks,

Rgrds,

Surendra Babu Vemula.

1 ACCEPTED SOLUTION

former_member598013
Active Contributor
0 Kudos

Hi Surendra,

Please make sure that the the variable which you are passing in the set paramter should be of the same type as in the MIR6 Transaction.

Thanks,

Chidanand

4 REPLIES 4

former_member598013
Active Contributor
0 Kudos

Hi Surendra,

Please make sure that the the variable which you are passing in the set paramter should be of the same type as in the MIR6 Transaction.

Thanks,

Chidanand

0 Kudos

Hi,

Yes both are same.

In my code i defined that variable as Data : invnumber(10).

in MIR6 the field structure is like BELNR both are same with length 10 char.

Thanks,

rgrds,

Surendra Babu vemula

0 Kudos

Hi,

no the invoicenumber should be of type BELNR


Data : invnumber TYPE BELNR.

Thanks,

Chidannd

0 Kudos

Hi chidanand,

I tried with that also is not coming.

DATA : inv TYPE BELNR VALUE '0004000005'.

SET PARAMETER ID 'RBN' FIELD inv.

CALL TRANSACTION 'MIR6'.

I did like above code. But i didnt get .

Surendra Babu Vemula