Skip to Content

Set parameter ID

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 01, 2005 at 06:15 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 01, 2005 at 06:01 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 01, 2005 at 08:38 AM

    Hi!

    Use FM MIGO_DIALOG.

    Regards,

    Maxim.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.