SAP R/3 форум ABAP консультантов
Russian ABAP Developer's Club

Home - FAQ - Search - Memberlist - Usergroups - Profile - Log in to check your private messages - Register - Log in - English
Blogs - Weblogs News

CL_GUI_ALV_GRID->activate_reprep_interface



 
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> ABAP
View previous topic :: View next topic  
Author Message
asavchuk
Участник
Участник



Joined: 19 May 2008
Posts: 4

PostPosted: Mon May 19, 2008 5:41 pm    Post subject: CL_GUI_ALV_GRID->activate_reprep_interface Reply with quote

Всем привет. пришлось столкнуться с таким методом класса CL_GUI_ALV_GRID->activate_reprep_interface
EXPORTING
IS_REPREP = < structure of type LVC_S_RPRP>.
задача - по двойному клику в отчете выведенном через CL_GUI_ALV_GRID вызвать другой отчет, используя интерфэйс report/report.
подскажите, пожалуйста, что должно быть в структуре IS_REPREP. и
необходимо ли вносить записи соответсвия Sender/Receiver в табл. TRSTI?
Back to top
View user's profile Send private message
vga
Мастер
Мастер


Age: 65
Joined: 04 Oct 2007
Posts: 1218
Location: Санкт-Петербург

PostPosted: Tue May 20, 2008 8:05 pm    Post subject: Reply with quote

Quote:

activate_reprep_interface

Use
Activate the report/report interface. Using parameter IS_REPREP, you specify the sender of the
report. If table TRSTI contains an assignment of the sender report to receiver reports, function
code BEBx becomes active (x = function code class).
If a receiver assignment to report writer report group 7KOI with function code class
'3' (SAP setting) exists for sender RKTFGS15, this receiver report group is called
through the report/report interface at function code BEB3. The selections passed to
the report/report interface are the report selections and the key information of the
selected row.
For more information on the report/report interface, see the documentation on function group
RSTI.

Prerequisites
Report RKKBRSTI must be active in the development system.

Features
CALL METHOD <ref. var. to CL_GUI_ALV_GRID>->activate_reprep_interface
EXPORTING
IS_REPREP = <structure of type LVC_S_RPRP>.

Parameter
Meaning
IS_REPREP Structure for identifying the sender


В примере этот метод закомментирован, но все же посмотрите:
http://sap4.com/modules.php?name=conteni2&pa=showpagina&pid=155

Code:
DATA: ls_reprep_id type lvc_s_rprp.

          ls_reprep_id-s_rprp_id-tool = 'RT'.
          ls_reprep_id-s_rprp_id-onam = SY-REPID.
          ls_reprep_id-cb_repid   = SY-REPID.

*          call method DA_GRID1->activate_reprep_interface
*                                exporting is_reprep = ls_reprep_id
*                                exceptions no_sender = 1.
Back to top
View user's profile Send private message Blog Visit poster's website
asavchuk
Участник
Участник



Joined: 19 May 2008
Posts: 4

PostPosted: Wed May 21, 2008 3:02 pm    Post subject: Reply with quote

спасибо.
Back to top
View user's profile Send private message
asavchuk
Участник
Участник



Joined: 19 May 2008
Posts: 4

PostPosted: Wed May 21, 2008 4:47 pm    Post subject: Reply with quote

Вот еще вопрос: у меня есть 2 программки-отчета - выводят одинаковые отчеты.
для них я ручками прописал в таблице TRSTI соответствие.

MANDT STOOL SAPPL SSUBC FCCLS SOTYP SONAM SERNR RTOOL RAPPL RSUBC ROTYP RONAM

800 RT ZALV_TEST_GRID_REPREP_1 0000 RT 1 ZALV_TEST_GRID_LAYOUT

для события double_click я делаю Set_function_code '&BE9'. дебаггером отследил обработку - обрабатывает, данные гонят, а вот отчет не вызывается, а в чем дело не пойму - и catch exception тоже молчит.
все ли я сделал правильно?

в чем может быть дело, может есть где-то детальное и ясное описание технологии report/report interface? кроме как function group doc for RSTI
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> ABAP All times are GMT + 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG.
Every effort is made to ensure content integrity. Use information on this site at your own risk.