on 01-03-2011 3:59 PM
Hi all,
I need to get list of fields defined in Semantic Groups (Extraction tab of DTP) during the runtime of DTP (or to be precise - in another custom ABAP program that is run in the process chain right after the DTP). Is there a table where this is stored for each DTP? Or is there any other way how to retreive this information?
Thank you in advance!
Br,
Juris
Just for your information, here is how I did it in the end:
DATA: lr_dtp TYPE REF TO cl_rsbk_dtp.
DATA: lv_dtp TYPE rsbkdtpnm.
DATA: lt_segfields TYPE rsbk_tx_fields_keyfl.
CALL METHOD cl_rsbk_dtp=>factory
EXPORTING
i_dtp = lv_dtp
RECEIVING
r_r_dtp = lr_dtp.
IF lr_dtp IS NOT BOUND.
EXIT.
ENDIF.
CALL METHOD lr_dtp->get_groupfields
IMPORTING
e_t_groupfields = lt_segfields.
Now table T_FIELDS of deep structure LT_SEGFIELDS contains semantic group fiels for particular DTP!
Edited by: Juris Bogdanovs on Jan 29, 2011 12:54 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You might need to read properties of DTP in load runtime. There is a method called GET_DTP available in interface IF_RSBK_REQUEST_ADMINTAB_VIEW.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.