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

calling program in function module

Former Member
0 Likes
3,708

Hello,

We've a specific program copy of RPTENT00 that contains :

- a selection screen to choose a person

- a second screen with details of the person, that we can change

- after a clic on "enter" in this second screen, an error message is displayed in the bottom if data is wrong

We want to call this program in a function module and return the message.

How should we do?

KR;

Karim

5 REPLIES 5
Read only

venkateswaran_k
Active Contributor
0 Likes
1,586

Use SUBMIT <Program> ...

Regards,

Venkat

Read only

0 Likes
1,586

it will just run the first screen, I need to "simulate" the enter clic and get the messages

Kr

Karim

Read only

0 Likes
1,586

1. Fnd the Tcode for this program

2. Then use CALL TRANSACTION... by passing your parameters....

Call trasaction has the option of Skiping screens ...

Read only

0 Likes
1,586

Hi Karim,

You can use submit program and pass selection options in an internal table. It supports a lot of other functions. Read the help text and see what fits your requirement. 

Regards,

Shravan

Read only

Former Member
0 Likes
1,586

Hi,

This thread seems same as your requirement and was solved. Give some look. Call an executable program inside function module and pass the table values

Regards,

Jake