Skip to Content

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

Problem in submit statement

Hi,

I have written the code as

submit rabewg_alv01 with bukrs = p_bukrs

with brdatu = lv_lastdate

with ktansw = p_ktansw

with budat-low = lv_start

with budat-high = lv_end

using selection-set 'DEFECT '

and return.

In the o/p which is getting generated it is not taking into account the value of bukrs,brdatu,ktansw and budat.The o/p which is getting displayed is only based on the variant set.How to rectify this error

Tags:
replied

hi hema,

the values your passing with submit statement are from that report or what?

if your passing the values of calling report, u can do like this.

suppose if you have a select-option say s_uname in the report,

Inside the report, by using EXPORT statement you send the values to the called report.

EXPORT s_uname to memory-id 'key'.

after submit statement you just import the values of the selection screen.

IMPORT s_uname from memory-id 'key'.

Now in s_uname You can find the values of the submitted report selection screeen values.

Hopes this helps you.

Regards,

Shake sha vali

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