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: 

Problem with SUBMIT

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

7 REPLIES 7

FredericGirod
Active Contributor
0 Kudos

Hi,

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

Rgd

Frédéric

0 Kudos

CHECK BUKRS IS CHAR TYPE VALUE.....

Former Member
0 Kudos

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

0 Kudos

Hi Tripathy,

Is there any correlation in the answer to the question asked here...

Former Member
0 Kudos

Try populating

SELTAB_WA-SIGN = 'I'.

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Thank u everyone ...

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

-Mohan