‎2009 Sep 27 1:13 PM
How to create a method in an object type through TCODE SWO1, when we use this method in the workflow, a window will pop up to let us input some data?
If anyone knows, would you please tell me, thanks.
‎2009 Sep 27 8:51 PM
if its just a Z- business object you can just open the object in SWO1 and click create on the method to create a method,
inside that method try using FM POPUPGETONEVALUE FM.(use F4 on this FM as i am not sure about the exact name)
‎2009 Sep 27 8:51 PM
if its just a Z- business object you can just open the object in SWO1 and click create on the method to create a method,
inside that method try using FM POPUPGETONEVALUE FM.(use F4 on this FM as i am not sure about the exact name)
‎2009 Sep 28 4:41 PM
Yeah, I am using this kind of FM, but there is one question, the seach help for the input field should be changed depend on several conditions. How should I do?
‎2009 Sep 28 4:46 PM
Hi, I had the same situation for one of my workflow
What i did was, I have copied (you need to follow some rules - search forum) the business object to Z*** then i have created a function module in which i have developed a screen and required logic for my use then i have called this function module in the method that i have created in BO (Z**) .
When you create a method, you need to choose function module and then enter your newly created function module.
The code will automatically be generated for you but you need to change it to handle the errors (if it is not already there . sorry i forgot its been long time).
Before creating method, you need to create parameters and exceptions.... Handle these exceptions in your workflow
Let me know if you need more help
‎2009 Sep 28 5:03 PM
Thanks for your relpy. Now my new problem is that the search help drop down list will be changed depended on some data. How can we do this?
‎2009 Sep 28 5:24 PM
If it is a standard search help field, this can automatically be done by SAP else you need to define it
Write it more clearly like which field you are trying to use and what kind of criteria you have to use search help?
Basically, you will be creating a screen inside the FM so you can also have a process on value request event to create your own search help
‎2009 Sep 28 5:58 PM
Why don't you select the data and pass it to REUSE_ALV_POPUP_TO_SELECT?
‎2009 Sep 29 6:27 AM
Thanks for your reply.
But I think pop up a dialog to let user to input a field and if click the search help button, if we select one, the value will return to the input field.
If use FM reuse_alv_popup_to_select, only a list will pup up. No dialog to let user to input the value.
.
‎2009 Sep 29 3:40 PM
Did you get your answer for your post? If yes, please close the thread