2007 Dec 06 12:43 PM
Hi
actually i have two programs A and B.
i am calling B using SUMBIT, from program A.
but for B program there is one input parameter,
what i need is, B program should execute with SUBMIT as well as input field.
thanks in advance
vEnu
Hi
actually i have two programs A and B.
i am calling B using SUMBIT, from program A.
but for B program there is one input parameter,
what i need is, B program should execute with SUBMIT as well as input field.
thanks in advance
vEnu
2007 Dec 06 12:45 PM
2007 Dec 06 12:54 PM
Hi Vikas,
thankz for quick reply
but its not working,
can u send in detail
i used like this : submit B with kunnr and return.
thanks,
vEnu.
2007 Dec 06 1:07 PM
2007 Dec 06 12:54 PM
Hi,
Refer this
Program accessed
REPORT report1.
DATA text TYPE c LENGTH 10.
SELECTION-SCREEN BEGIN OF SCREEN 1100.
SELECT-OPTIONS: selcrit1 FOR text,
selcrit2 FOR text.
SELECTION-SCREEN END OF SCREEN 1100.
...
Calling program
REPORT report2.
DATA: text TYPE c LENGTH 10,
rspar_tab TYPE TABLE OF rsparams,
rspar_line LIKE LINE OF rspar_tab,
range_tab LIKE RANGE OF text,
range_line LIKE LINE OF range_tab.
...
rspar_line-selname = 'SELCRIT1'.
rspar_line-kind = 'S'.
rspar_line-sign = 'I'.
rspar_line-option = 'EQ'.
rspar_line-low = 'ABAP'.
APPEND rspar_line TO rspar_tab.
range_line-sign = 'E'.
range_line-option = 'EQ'.
range_line-low = 'H'.
APPEND range_line TO range_tab.
range_line-sign = 'E'.
range_line-option = 'EQ'.
range_line-low = 'K'.
APPEND range_line TO range_tab.
SUBMIT report1 USING SELECTION-SCREEN '1100'
WITH SELECTION-TABLE rspar_tab
WITH selcrit2 BETWEEN 'H' AND 'K'
WITH selcrit2 IN range_tab
AND RETURN.
Regards,
Prashant
2007 Dec 07 6:42 AM
got it,
solution is
SUBMIT B WITH PARAMETER_B = 'VALUE'.
here paremeter_b is the paremeter for the program B.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |