2010 Aug 25 12:38 PM
Hi Experts,
I am debugging a program wherein the following statement is encountered
DATA: lv_reffield1(100). " Reference Field 1
lv_reffield1 = '(SAPLICL_POLS_BDT)GO_TREE1'
How do I interpret this statement. What does it do?
Thanks,
Kumud
2010 Aug 25 3:31 PM
Such field will later be used in some field symbol to access external program's data object.
Once you read [SAP exist and people who love them|http://www.scribd.com/doc/7070662/SAP-Exits-and-the-People-Who-Love-Them] you will understand this concept.
Regards
Marcin
Hi Experts,
I am debugging a program wherein the following statement is encountered
DATA: lv_reffield1(100). " Reference Field 1
lv_reffield1 = '(SAPLICL_POLS_BDT)GO_TREE1'
How do I interpret this statement. What does it do?
Thanks,
Kumud
2010 Aug 25 3:31 PM
Such field will later be used in some field symbol to access external program's data object.
Once you read [SAP exist and people who love them|http://www.scribd.com/doc/7070662/SAP-Exits-and-the-People-Who-Love-Them] you will understand this concept.
Regards
Marcin
2010 Aug 26 6:30 AM
Hi Marcin,
Thanks for the reply.
So, is this the way to override changes done in the methods of a class.
What are the specific scenarios leading to usage of such statements?
I am not able to open the link provided. Is there any other way to view the same?
With Regards,
Kumud
2010 Aug 26 7:20 AM
So, is this the way to override changes done in the methods of a class.
Not really sure what you mean by this. This technique is mostly used accross user exits where there is a function or subroutine call (customer or user exit), wherein you would like to access data object of calling program (main program). This way you can not only access this data but also are able to change its content depending on the requirement.
As long as you think of methods of a BAdI you should be able to use this technique also there.
As for the document, type in the google "sap user exists and people who love them" and enter the first link found. I think reading this will certainly shed a light on the topic.
Regards
Marcin
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |