05-04-2009 9:39 AM
Hi,
How can i declare variable in user exit? Is it the same way we declare in report?
Thanks & Regards,
Abhijit
05-04-2009 10:02 AM
Hi abhijit,
Yes in the same way you are declaring in a report. Also you can refer to the importing and exporting fields.
If you are not clear , please explain your requirement. so that i can help you?
Thanks,
Vamshi
05-04-2009 9:55 AM
Hi,
Yes the same way you can declare as if you declare in normal report.
data : v_variable type c.
Thanks,
Shailaja Ainala.
05-04-2009 10:02 AM
Hi abhijit,
Yes in the same way you are declaring in a report. Also you can refer to the importing and exporting fields.
If you are not clear , please explain your requirement. so that i can help you?
Thanks,
Vamshi
05-04-2009 10:41 AM
Well Vamshi,
I got a question regarding user_exit. How can u declare the variable in Save_Document_prepare user exit? How can you import or export fields in to that subroutine? And also if version changed then whether the user exit, customer exit and screen exit will work properly?
Thanks & Regards,
Abhijit
Edited by: Abhijit Mandal on May 4, 2009 11:41 AM
05-04-2009 11:34 AM
hi abhijith,
Which save_document_prepare? I think this is a method in BADI. Please specify clearly, the BADI name.
Even with the version change the user exits/ BADI's will work, if that change is to higher version.
Thanks,
Vamshi.
05-04-2009 11:43 AM
Hi,
This is a User Exit and not a BADI. The variable declaration is as normal.