cancel
Showing results for 
Search instead for 
Did you mean: 

Error creating consumer service.

ronaldo_aparecido
Contributor
0 Kudos

Hi guys.

I need to create a consume service.

1-I go to sproxy and i fins the object "Si_SolucaoSintegra_Out" ( Service Consumer ) and i double click

2-then in scrren configuration I clickand when it is creating occurs this message:

SPRX122 -Interface uses external and internal message definitions

And solution is :

Change the interface definition accordingly in the Enterprise Services Repository.

Somebody know how i do it?

Thanks.

Obs :I'm learning english language.

Accepted Solutions (0)

Answers (2)

Answers (2)

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Ronaldo,


SPRX122 -Interface uses external and internal message definitions

And solution is :

Change the interface definition accordingly in the Enterprise Services Repository.

This only means that if you'll be using message types, then only use messages types in your service interface. It is not possible to mix external definitions and message types in the same operation for a service interface when creating abap proxies.

Regards,

Mark

ronaldo_aparecido
Contributor
0 Kudos

Its my screen :

allamudi_loordh
Active Participant
0 Kudos

hi Ronaldo,

pi will create service interfaces. you just need to generate proxy for that interface.

go to sproxy-->right click on which interface you want to consume-->generate proxy.

so automatically proxy will be created. you can call this proxy call any where inside your program.

regards,

Loordh.

ronaldo_aparecido
Contributor
0 Kudos

hi allamudi

when i do it appears the message: