on 10-31-2013 9:31 AM
Hi friends,
how to use call subscreen in abap reports?
tried it in PBO its working but i am not able to do the same in simple reports
CALL SUBSCREEN can only be excuted in the PBO (and PAI) of a dynpro with a subscreen area.
There are also some Abap statements to use Subscreens on Selection Screens (generated screen)
Thus, except links easily found in online Abap documentation, what is your exact requirement ?
Regards,
Raymond
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sudheer,
In order to work with subscreen on selection screen in Report program you can use the syntax:
SELECTION-SCREEN BEGIN OF SCREEN <screen_number> AS SUBSCREEN.
SELECTION-SCREEN END OF SCREEN <screen_number>.
In case of Module Pool program, you have to use the below syntax:
PROCESS BEFORE OUTPUT.
CALL SUBSCREEN <subscreen_name> INCLUDING sy-cprog <screen_no>.
PROCESS AFTER INPUT.
CAL SUBSCREEN <subscreen_name>.
Regards,
Shahanaz.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
-If its from a executable report you need to call a screen, you can create a transaction for that screen number.
- Create Create Parameter ID for the field which should hold value of double-clicked field in your report. You can do this in layout of your subscreen.
- In your report, while creating field catalog, for a field, enable HOTSPOT , like this:
LS_FIELDCAT-HOTSPOT = 'X'.
LS_FIELDCAT-TABNAME = 'IT_FINAL'.
Then
DATA rs_selfield TYPE slis_selfield.
CASE SY-UCOMM.
WHEN '&IC1'.
IF rs_selfield-fieldname = 'YOUR_HOTSPOT_FIELD_IN_REPORT'.
READ TABLE it_final INTO wa_final INDEX rs_selfield-tabindex.
your_field_variable = wa_final-your_field.
SET PARAMETER ID 'PARAMETER_ID_OF_SCREEN_FIELD' FIELD YOUR_FIELD_VARIABLE.
CALL TRANSACTION 'YOUR_TRANSACTION' AND SKIP FIRST SCREEN.
ENDIF.
ENDCASE.
Hope thsi is what you were looking for,
KS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
6 | |
5 | |
5 | |
5 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.