08-29-2007 7:15 PM
Hi All,
I have added a custom code in the user exit ZXF04U01( XD01 - Customer create), Now I need to create a global field value, is there any include file where I can declare customer create related field.
Include function INCLUDE MF02DTOP is already there but I am looking where customer specific fields can be declared.
Thanks in advance for your help.
Avanti
08-31-2007 4:13 PM
Upon further investigation, I don't think ZXF04TOP is necessarily going to give you what you are looking for. That include is for the function group XF04, which also contains your user exit ZXF04U01. However, there are no other user exits or any other functionality in that group, so the TOP include is really only for ZXF04U01 and any other includes you may create in that group.
If you need to pass data between this user exit and another piece of code, you could try exporting/importing from memory:
Export in the first routine:
export lv_value to memory id 'YOURVARIABLE'.
Import in the next routine:
import lv_value from memory id 'YOURVARIABLE'.
08-29-2007 9:30 PM
08-31-2007 12:40 AM
Hi Kevin,
Thanks for the response, include ZXF04TOP is currently not created in our system. I searched for this include in the main program SAPMF02D.
Can you please give some more details on this and also if could give any other options.
Thanks,
Prabhu Avanti
08-31-2007 4:13 PM
Upon further investigation, I don't think ZXF04TOP is necessarily going to give you what you are looking for. That include is for the function group XF04, which also contains your user exit ZXF04U01. However, there are no other user exits or any other functionality in that group, so the TOP include is really only for ZXF04U01 and any other includes you may create in that group.
If you need to pass data between this user exit and another piece of code, you could try exporting/importing from memory:
Export in the first routine:
export lv_value to memory id 'YOURVARIABLE'.
Import in the next routine:
import lv_value from memory id 'YOURVARIABLE'.