Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function Module in Standard Transaction

Former Member
0 Likes
414

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...

2 REPLIES 2
Read only

Former Member
0 Likes
360

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.

Read only

Former Member
0 Likes
360

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.