![]() |
|
|||||||
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem 'SUBMIT and RETURN' and USER COMMAND | Ramma | SAP ABAP | 2 | 02-13-2011 12:59 PM |
| passing data to submit program | Ramma | SAP ABAP | 2 | 09-22-2010 09:18 PM |
| need to submit the layout of sap server landscape | Rampa | SAP BASIS | 2 | 07-08-2010 05:26 PM |
| Year 2010 Bug! - Announcement + Follow Up Issues | Portal | SAP BASIS | 15 | 06-16-2010 10:46 AM |
| Aprenda SAP! |
|
|
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi all,
I have an issue, but first of all, I want to clarify that this issue is resolved. But I'm intrigued... and want to share. I've created an report (main). This report call another in START-OF SELECTION event, using SUBMIT. Very simply: Code:
REPORT z_main_rep LINE-SIZE 132 LINE-COUNT 65 NO STANDARD PAGE HEADING.
PARAMETERS: rb_1 TYPE c RADIOBUTTON GROUP gr1,
rb_2 TYPE c RADIOBUTTON GROUP gr1,
rb_3 TYPE c RADIOBUTTON GROUP gr1.
START-OF-SELECTION.
IF rb_1 IS NOT INITIAL.
SUBMIT z_subrep1 AND RETURN.
ELSEIF rb_2 IS NOT INITIAL.
SUBMIT z_subrep2 AND RETURN.
ELSE.
SUBMIT z_subrep3 AND RETURN.
ENDIF.
END-OF-SELECTION.
This's all. Then, I run the report, and press F8 to excecute (rb_1 marked). Selection-screen of Z_SUBREP1 appears. I fill parameters, and the I save the variant. Now begins the issue. If I press "SAVE VARIANT" again, report is executed.... I've solved it changing SUBMITs by CALL TRANSACTIONs in main program ("Report transaction"): Code:
IF rb_1 IS NOT INITIAL.
CALL TRANSACTION 'Z_TR_SUBREP1'.
ELSEIF rb_2 IS NOT INITIAL.
CALL TRANSACTION 'Z_TR_SUBREP2'.
ELSE.
CALL TRANSACTION 'Z_TR_SUBREP3'.
ENDIF.
But is wired, isn't it? Why does this happen? I've debugged, but UCOMM from SAVE VARIANT (fcode SPOS) is handled by standard code... Regards, Pepa |
| Sponsors |
|
#2
|
|||
|
|||
|
Quote:
Based on your code snippet, it won't display the selection screen of the Z_SUBREP1. You need to have VIA SELECTION-SCREEN addition in the SUBMIT. Moreover, I tried the same steps on ECC 6 and it works just fine. I didn't find the same behavior, what you had noticed. Regards, Portal |
|
#3
|
|||
|
|||
|
Hi Portal,
In my case, I use SUBMIT only without VIA SELECTION-SCREEN, and selection screen of the Z_SUBREP1 appears... I gonna try with VIA SELECTION-SCREEN, if bug continues. Thansks, Pepa |
| Entre a los Links relacionados |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|