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

Call Transaction 'ZXXXX' ERROR MSG 'SUBMIT_WRONG_TYPE'

Former Member
0 Likes
1,522

Hi All,

I am using a Call Transaction statement as shown below.

Call Transaction 'ZXXXX' using I_BDCDATA MODE 'A' UPDATE 'S' messages into i_message.

The Transaction 'ZXXXX' contains a Program 'ZYYYY' which is of TYPE Module Pool.

When I am executing this CALL TRANSACTION, it throws an error message as 'SUBMIT_WRONG_TYPE'.

How can I get it resolved?

Points Assured.

Regards,

Viji.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,118

Hi,

i have tried the same thing but its working for me,

so if you show your code then probably i can help.

with regards,

Syed

4 REPLIES 4
Read only

Former Member
0 Likes
1,119

Hi,

i have tried the same thing but its working for me,

so if you show your code then probably i can help.

with regards,

Syed

Read only

Former Member
0 Likes
1,118

How is I_message defined?

"Any messages that occur during CALL TRANSACTION USING ... are collected in the specified internal table. The internal table must have the structure BDCMSGCOLL. "

How is I_BDCDATA defined?

Read only

Former Member
0 Likes
1,118

Hi All,

Thanks for your valuable inputs.

Its the problem with the 'Transaction Type' (Dialog Screen) in the T-Code creation.

Reagrds,

Viji

Read only

Former Member
0 Likes
1,118

Hi Vijaya,

When you create t-code for the module pool then it should be for dialogue transaction only.

with regards,

Syed