Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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.

Tags:
Former Member
Former Member replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question