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

Populating fields when a transaction is opened

Former Member
0 Likes
548

Hi,

I am calling transaction FP40( Transfer Items ) from a custom application. In FP40, i have to populate the fields Business Partner, Contract Account under Selection details, and Contract Account under Target of Transfer. These fields will have to be filled by default when the screen is displayed. I have the values for all these fields in the calling program, but I am not able to set the values using SET PARAMETER ID: All these fields have Parameter IDs specified. What could be the reason? Is there any other way to achieve this ?

regards,

Rajesh.

3 REPLIES 3
Read only

Former Member
0 Likes
495

i could not find the transaction in our system. Does it have dynamic screens? If so set the parameter ids for the initial driving screen to space and then try to set the parameter.

Read only

uwe_schieferstein
Active Contributor
0 Likes
495

Hello Rajesh

I do not have access to a system where transaction FP40 exists. However, you could try and use function module ABAP4_CALL_TRANSACTION.

Read only

uwe_schieferstein
Active Contributor
0 Likes
495

Hello Rajesh

I do not have access to a system where transaction FP40 exists. However, you could try and use function module <b>ABAP4_CALL_TRANSACTION</b>. I think the use of the parameters is quite obvious. If you cannot fill the fields on the initial screen using TABLES parameter <b>SPAGPA_TAB</b> you could try and use <b>USING_TAB</b> instead.

Regards

Uwe