I am trying to extend a standard Idoc <b>INVOICE02</b> with custom segment. I am trying to implement enhancement LVEDF001 and FM EXIT_SAPLVEDF_002. But when I try to insert a program logic into program ZXEDFU02 it complains Statement not accessible I am not sure what I am doing wrong here. Have anyone used this enhancement and any ideas?
Sample code will be very helpful, since this is the first time I am working on Idoc enhancement. Thank in advance.