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: 

Set parameter ID

Murali_Shanmu
Active Contributor
0 Kudos

Hi

I need to call MIGO Transaction defaulting the Order Number. The Order Number is attached to PARAMETER ID 'ANR'.

So I used

SET PARAMETER ID 'ANR' FIELD order_value.

CALL TRANSACTION 'MIGO'.

Even though order_value has a valid order number, the MIGO screen is not defaulting with the Order Number.

Any Suggestions on what cud have gone wrong.

6 REPLIES 6

Former Member
0 Kudos

Hi,

just put a break on statement

SET PARAMETER ID 'ANR' FIELD order_value.

it will take you to debugging mode..check if order_value is having any value or null.

Former Member
0 Kudos

Hi,

Here is the sample code.

********************

*----


at line-selection.

*----


get cursor field c_field.

if c_field = 'SUM_IT-BELNR'.

set parameter id 'GJR' field sum_it-gjahr.

set parameter id 'BUK' field sum_it-bukrs.

set parameter id 'BLN' field sum_it-belnr.

call transaction 'FB03' and skip first screen.

endif.

*********************

Thanks.

Hope it helps you.

0 Kudos

During debugging mode, a vaild order number is present. I still dont know why it is not working. But it is working for different Tcodes like CO11, CO15 ...

0 Kudos

hi,

Check out whether in the scroll box <b>order</b> is selected by default.And then check whether your default value of order is appearing

0 Kudos

Hi

I just heard from a few consultants that it is not possible to default n Order Number in a MIGO screen.

Former Member
0 Kudos

Hi!

Use FM MIGO_DIALOG.

Regards,

Maxim.