Hi,
Can someone Explain me how to use a customer exit in a query.
And how can i use the variable names in the customer exit routine.
And waht is the use of l_s_range variable....
Request clarification before answering.
Hello,
See this link for [Customer Exits |http://help.sap.com/saphelp_nw04s/helpdata/en/f1/0a56f5e09411d2acb90000e829fbfe/content.htm]
See this page for example [Dependencies for Variables of Type Customer Exit |http://help.sap.com/saphelp_nw04s/helpdata/en/1d/ca10d858c2e949ba4a152c44f8128a/content.htm]
Follow the steps given here [Defining Variables|http://help.sap.com/saphelp_nw04s/helpdata/en/ac/789b3c4d4d8d15e10000000a114084/content.htm] for creating a variable in the Query Editor.
Once you have created the variable,
GOTO CMOD -> Choose your enhancement Project -> Component ->EXIT_SAPLRRS0_001 -> Double click on the INCLUDE ZXRSRU01 -> Here you have to insert a new WHEN 'your variable name' between the CASE and ENDCASE Statement.
The structure is
CASE i_vnam.
WHEN 'your variable name'
....
<your logic>
....
ENDCASE
See this doc for [User Exit Examples|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6378ef94-0501-0010-19a5-972687ddc9ef]
The l_s_range is used to store the lower and upper range values of the variables. It also gets what sign field ( I for Include, E for Exclude) and Seelction Option (EQ, BT).
See the structure RRRANGESID - Range expanded around SID (SE11) which is is the data type for l_s_range.
Finally the l_s_range value will be returned to the variable.
See these links
[Variable Types|http://help.sap.com/saphelp_nw04s/helpdata/en/c1/759b3c4d4d8d15e10000000a114084/content.htm]
[Variable Processing Types|http://help.sap.com/saphelp_nw04s/helpdata/en/61/579b3c494d8e15e10000000a114084/content.htm]
[How to Create a Customer Exit Date Variable|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662562d]
[Customer Enhancements and Userexits in BW - SAP NetWeaver Know-How Network Webinar|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/59069d90-0201-0010-fd81-d5e11994d8b5]
Thanks
Chandran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.