Application Development and Automation 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: 
Read only

Problem with SUBMIT

Former Member
0 Likes
1,013

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
Read only

Former Member
0 Likes
848

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

7 REPLIES 7
Read only

FredericGirod
Active Contributor
0 Likes
848

Hi,

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

Rgd

Frédéric

Read only

0 Likes
848

CHECK BUKRS IS CHAR TYPE VALUE.....

Read only

Former Member
0 Likes
848

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

Read only

0 Likes
848

Hi Tripathy,

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

Read only

Former Member
0 Likes
848

Try populating

SELTAB_WA-SIGN = 'I'.

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

Read only

Former Member
0 Likes
849

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

Read only

Former Member
0 Likes
848

Thank u everyone ...

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

-Mohan