Skip to Content
author's profile photo Former Member
Former Member

Submit statement

Hi,

I have used the set parameter command for a particular field after that have to use submit statement.How to pass the values which I have declared in the set paramater to submit stmt.Please help.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 08, 2008 at 11:00 AM

    Hi,

    Have a look at this sample program .

    REPORT zvenkat_head1.

    TABLES :mara.

    DATA: BEGIN OF i_mara OCCURS 0,

    matnr TYPE mara-matnr,

    END OF i_mara.

    RANGES :ms_matnr FOR mara-matnr.

    START-OF-SELECTION.

    SELECT matnr

    FROM mara

    INTO TABLE i_mara

    UP TO 10 ROWS

    WHERE mtart = 'Y211'.

    LOOP AT i_mara .

    WRITE :/ i_mara-matnr.

    ms_matnr-low = i_mara-matnr.

    ms_matnr-option = 'EQ'.

    ms_matnr-sign = 'I'.

    APPEND ms_matnr.

    CLEAR ms_matnr.

    ENDLOOP.

    AT LINE-SELECTION.

    SUBMIT rmmvrz00

    WITH ms_matnr IN ms_matnr

    VIA SELECTION-SCREEN.

    I hope that it helps u .

    Thanks,

    Satish

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 08, 2008 at 11:01 AM

    Hi,

    If i understood it correctly generally to pass values to the parameters of the program to which we are using submit we use as:

    SUBMIT program_name VIA SELECTION-SCREEN

    WITH p_para1 = text-001

    WITH p_para2 = text-002

    WITH p_para3 = text-003.

    Hope it helps.

    Saurabh.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 08, 2008 at 11:03 AM

    If I am not wrong, you have used SET PARAMETER ID. If so you will have to SET the parameter id in the calling program and GET that parameter value (using statement GET PARAMETER ID )in the called program.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 08, 2008 at 11:38 AM

    hi,

    You use SET PARAMETER while you call the transaction by using CALL TRANSACTION.

    SET PARAMETER not need to pass values to another program. There is WITH option in SUBMIT statement.

    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.