Skip to Content
avatar image
Former Member

Problem with SUBMIT

Hi,

Am using SUBMIT as follows:

DATA: IT_GDATA LIKE I_GDATA OCCURS 0 WITH HEADER LINE.

DATA: SELTAB TYPE TABLE OF RSPARAMS,

SELTAB_WA LIKE LINE OF SELTAB.

IT_GDATA[] = I_GDATA[].

LOOP AT IT_GDATA.

  • SELTAB_WA-SELNAME = 'ANLN1'.

SELTAB_WA-SELNAME = 'ANLAGE'.

SELTAB_WA-KIND = 'S'.

  • SELTAB_WA-SIGN = 'E'.

  • SELTAB_WA-OPTION = 'EQ'.

SELTAB_WA-LOW = IT_GDATA-ASSET.

APPEND SELTAB_WA TO SELTAB.

CLEAR SELTAB_WA.

ENDLOOP.

SUBMIT RABEST_ALV01

WITH BUKRS EQ '1001' SIGN 'I'

WITH SELECTION-TABLE SELTAB

AND RETURN.

In this I have 43 asset numbers. Still my asset numbers are not getting populated into the selection screen part of the program RABEST_ALV01.

Where am I going wrong .

Help me out.

Thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    May 10, 2006 at 06:56 AM

    SIGN (I) and OPTION (EQ) fields must be filled up...

    Add comment
    10|10000 characters needed characters exceeded

  • May 10, 2006 at 06:10 AM

    Hi,

    have a look to the standard function : ISSR_MD_RE_GET_VALUE_CALCULATE, that submit your program too.

    Rgd

    Frédéric

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 10, 2006 at 06:21 AM

    HI

    GOOD

    TRY THIS EXAMPLES AND USED ACCORDINGLY IN YOU REPORT.

    DATA: NAME(8) VALUE 'SAPMZTS1',

    WID TYPE I VALUE 80,

    LEN TYPE I VALUE 0.

    SET PF-STATUS 'SELECT'.

    WRITE: 'Select a report and its list format:',

    / '----


    '.

    SKIP.

    WRITE: 'Report ', NAME INPUT ON,

    / 'Line size ', WID INPUT ON,

    / 'Page length', LEN INPUT ON.

    AT USER-COMMAND.

    CASE SY-UCOMM.

    WHEN 'SELE'.

    READ LINE: 4 FIELD VALUE NAME,

    5 FIELD VALUE WID,

    6 FIELD VALUE LEN.

    SUBMIT (NAME) LINE-SIZE WID LINE-COUNT LEN AND RETURN.

    ENDCASE.

    THANKS

    MRUTYUN

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 10, 2006 at 06:26 AM

    Try populating

    SELTAB_WA-SIGN = 'I'.

    SELTAB_WA-OPTION = 'EQ' for all the entries.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 10, 2006 at 10:01 AM

    Thank u everyone ...

    Esp.ly Samant Kumar whose reply solved my prob..

    -Mohan

    Add comment
    10|10000 characters needed characters exceeded