2007 Dec 07 9:33 AM
Dear Experts,
How to add my own logic in INCLUDE Program which is in Function Module Exit?
I need to add my own logic and add some extra fields to Function Module Exit ,which contains import and export parameters and I used these values to reflect the Function modules export parameters.
FM Exit is : EXIT_SAPLEL40_002
I used one of the FM parameter in include program but it is shwoing error "doesnt exist". If I created new parameter with the same name it shows error "already exist". How to do it?
Please help me out.
Thank in advance.
SEkhar
2007 Dec 07 9:45 AM
Hi
It depends on when you get that error, the system can raise that error only if you insert an import/export parameter into a FORM, in this case you should use a global data in order to transfer a value from import/export parameter to the FORM.
If you use the import/export parameter directly in the include ZX..... u shouldn't get that error, in this case try to update navigation index.
Max
Dear Experts,
How to add my own logic in INCLUDE Program which is in Function Module Exit?
I need to add my own logic and add some extra fields to Function Module Exit ,which contains import and export parameters and I used these values to reflect the Function modules export parameters.
FM Exit is : EXIT_SAPLEL40_002
I used one of the FM parameter in include program but it is shwoing error "doesnt exist". If I created new parameter with the same name it shows error "already exist". How to do it?
Please help me out.
Thank in advance.
SEkhar
2007 Dec 07 9:43 AM
hi chandra sekar,
You have to create the include <b>zxel4u02</b> and write your logic inside that.
The parameter available in the FM exit EXIT_SAPLEL40_002 are;
*"----------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*" IMPORTING
*" REFERENCE(X_DEVLOC) TYPE EGPL
*" REFERENCE(X_OBJ) TYPE ISU17_SR_DATA OPTIONAL
*" EXPORTING
*" REFERENCE(Y_ADDITIONAL_OUTPUT) TYPE STREETROUTE_CUSTOMER_TEXT
*" EXCEPTIONS
*" ERROR_MESSAGE
*"----------------------------------------------------------------------So you can use fields from X_DEVLOC(Device location Structure) and Object type X_OBJ only, and you can export Y_ADDITIONAL_OUTPUT.
For Which field you are getting Error and what are you doing in your code, if possible reply with the segment of code which is throwing error.
Regards
Karthik D
P.S.: If useful, Reward Points...
2007 Dec 07 10:19 AM
Hi karthik,
I am facing a critical problem with this.
I need to add 2 fields to EL41 Tcode. 1st screen we need to enter MR unit then press enter. it will display the Tree route for Connection object and Device location.
I need to add (displa) 1 extra field data (adrc-street2) along with Connection object value.
EXIT_SAPLEL40_002 - Display Additional Fields at Device Location Level
EXIT_SAPLEL40_003 - Display Additional Fields at Connection Object Level
I added some code into it, but it is not reflecting anything. please look into it.
its urgent please
mails me: [email protected]
thanks
Sekhar
2007 Dec 07 11:18 AM
Hi chandrasekar,
have u put a breakpoint and checked that?
Regards
Karthik D
2007 Dec 07 9:45 AM
Hi
It depends on when you get that error, the system can raise that error only if you insert an import/export parameter into a FORM, in this case you should use a global data in order to transfer a value from import/export parameter to the FORM.
If you use the import/export parameter directly in the include ZX..... u shouldn't get that error, in this case try to update navigation index.
Max
2008 Jan 02 9:55 AM
2008 Jan 02 9:59 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |