cancel
Showing results for 
Search instead for 
Did you mean: 

Structuring complex ABAP server proxy

Former Member
0 Kudos

Dear all,

I'd like to sub divide the logic of an inbound server proxy in ABAP. In a normal report, i would use a "perform" routine for that.

As far as i know, I can not create such routines in the execute_asychronous method of the proxy. So what is the best possibility to split that up? Creating a function module, that receices the data of the proxy and created the perform routines within that?

What is the best solution regarding maintainability and performence?

Thanks and best regards

Florian

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

That would be great! I was not sure if this is possible, because the proxys are autogenerated.

turmoll
Active Contributor
0 Kudos

even while regenerating proxy due to e.g. data format change your implementation of method will be not overwritten (unless you want to) and your "custom" methods will be kept

Regards,

Jakub

Answers (2)

Answers (2)

turmoll
Active Contributor
0 Kudos

You can create class in data dictionary (SE24) and put your business logic there.

Regards,

Jakub

Former Member
0 Kudos

Hi,

Just add the methods to already existing proxy class :).

In my opinion that's the best solution and you stay in object oriented world with better type control and exception handling. Also you can utilize other global classes.

/wg