‎2008 Oct 22 4:59 AM
I'd like to enhance include program such as v50rincl.
SAP reject me because I have no authorized. However, I can change or create ABAP program. so, should I can do?
I also would like enhance structure such as SHP_VL10_SELECT_OPTIONS. should I can do?
thanks
Henry
‎2008 Oct 22 12:03 PM
Hi Max
thanks your information. I know how to create a new structure.
but I don't know how to do
"Change the include LV50R_VIEWG02 to select the data in order to your range.(param IX_SELECT_OPTIONS). "
when I try to changge this include LV50R_VIEWG02 , SAP need enter a access key. I know I had registed as developer on SAP Marketplace. you know I can create ABAP report...
so, what can I do?
Henry
‎2008 Oct 22 5:14 AM
you cannot directly enhance the programs. just look for any standard exits/BADI's / Enhancements(if you are on ECC6.0) just search for the exits.
and enhancing the structures you have option APPEND STRUCTURE , just search for append structure in forum to know more.
‎2008 Oct 22 10:15 AM
Thanks
I had get idea on append structure.
but I also have no idea on enhance include program
thanks
Henry
‎2008 Oct 22 10:23 AM
>
> I'd like to enhance include program such as v50rincl.
> SAP reject me because I have no authorized. However, I can change or create ABAP program. so, should I can do?
>
> I also would like enhance structure such as SHP_VL10_SELECT_OPTIONS. should I can do?
>
> thanks
>
> Henry
Hi,
See this include V50R_USEREXITS in that prog v50rincl.
Also see this
userexit: interface for customer spezific select options "n_524424
This may be some hint.
Rhea.
‎2008 Oct 22 10:34 AM
Hi
Probably the system is asking the ACCESS KEY because it's a std object.
If it's so you (or your basis) need to register that include in your OSS in order to obtein the access key
Max
‎2008 Oct 22 10:54 AM
Hi, Rhea.
thanks. I see this include V50R_USEREXITS. I know I need to change LV50R_VIEWG02. right?
for you mention see "userexit: interface for customer spezific select options "n_524424" is what means? could you please tell me I should use which T-Code. or you can give me detail help.
Henry
‎2008 Oct 22 10:59 AM
‎2008 Oct 22 11:08 AM
Hi
Just SHP_VL10_SELECT_OPTIONS u need to insert an APPEND structure for SHP_VL10_SELECT_OPTIONS in order to insert your select-options.
The new fields has to be a range table (so its reference type has to be a TYPE TABLE arranged as range).
By SE11:
- Create the structure ZMY_RANGE with field SIGN, OPTION, LOW and HIGH
- Create the type table ZMY_RANGE_T based on ZMY_RANGE
- Create an append structure for SHP_VL10_SELECT_OPTIONS and insert a new field, linked to your ZMY_RANGE_T, in your append structure;
By SE38:
- Change the include LV50R_VIEWG02 to select the data in order to your range.(param IX_SELECT_OPTIONS).
Max
‎2008 Oct 22 12:03 PM
Hi Max
thanks your information. I know how to create a new structure.
but I don't know how to do
"Change the include LV50R_VIEWG02 to select the data in order to your range.(param IX_SELECT_OPTIONS). "
when I try to changge this include LV50R_VIEWG02 , SAP need enter a access key. I know I had registed as developer on SAP Marketplace. you know I can create ABAP report...
so, what can I do?
Henry
‎2008 Oct 22 12:08 PM
Hi,
If you have gone thru that Note which i provided , you would have solved ur problem .
There is a correction for not providing user exit from sap .
So please see that snote. 524424 and apply that note.
Without access key this can be solved.
Rhea.
‎2008 Nov 04 12:36 PM
‎2008 Nov 04 2:15 AM
Hi: rhea
I checked this notes:524424. however, in my sap system, the note has been added. please this following code:
-
FORM userexit_select_options_transf "n_524424
CHANGING cx_select_options TYPE shp_vl10_select_options
cx_list_profil TYPE shp_vl10_list_profil.
Example-Coding:
cx_select_options-z_new_criterium = st_new_criterium[].
-
I have append structure in shp_vl10_select_options. so, what I should do next step?
thanks
Henry
‎2008 Nov 04 10:50 AM
Hi,
Check this thread.
You can create an your own Z-report as copy of report RVV50R10C A or B (relevent to u ) and insert the new select-options and manage it in the user-exit V50R_USEREXIT_TRANSF:
FORM USEREXIT_SELECT_OPTIONS_TRANSF
CHANGING CX_SELECT_OPTIONS TYPE SHP_VL10_SELECT_OPTIONS
CX_LIST_PROFIL TYPE SHP_VL10_LIST_PROFIL.
cx_select_options-z_new_criterium = SO_NEWOPTION[] (ur range).
ENDFORM.
So here you have to transfer your new select-option to cx_select_options and you can do it enhancing the structure SHP_VL10_SELECT_OPTIONS.
From note 198137:
...................
You can also check the enhanced selection criteria from customer-specific reports ZZ50R10. Enhanced selection criteria from user-defined reports, for example, ZZ50R10 can also be checked. To do this, the DDIC type SHP_VL10_SELECT_OPTIONS must be enhance using a new selection criterion that can be included in a user-defined selection screen.
.....................
Rhea.
Edited by: rhea on Nov 4, 2008 12:08 PM