‎2007 Apr 17 12:09 AM
Hi all,
I have the following problem. The Functional Consultant wants to use a function module as part of his configuration for calculating a field automatically. I know how to create a FM and the questions are...
How can I read the screen parameters inside my FM?
How do I return a value from my FM to write it in the screen automatically?
Thanx in advanced...
‎2007 Apr 17 12:29 AM
If your FM is going to be inside the Screen....Then you just need to pass the name of the fields in the Screen...For example...Supposed you got a field named KNA1-KUNNR, then you can pass that field to the FM.
Also, you can use this FM to read values from screen... <b>DYNP_VALUES_READ</b>
When the FM return the values, you can update the screen fields by using this FM <b>DYNP_VALUES_UPDATE</b>.
Greetings,
Blag.
‎2007 Apr 17 2:02 AM
I'm going to be more specific.
I want to create a FM for a Calculated Characteristic and I don't have idea of how does it work.
I know I need to create a FM but:
do I need to return a value with which name?
do I need to print the value in the dynpro field?
how do I read de dynpro fields to use them as input parameters form my FM?
Thank you in advanced.