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

query about generic object services

Former Member
0 Likes
1,025

hi,

In the system that I'm using there's an generic object service added to a transaction through an SAP Note. The code added to that transaction through that service, I want to add it to another transaction. How do I do that.

Regards,

Vijay

9 REPLIES 9
Read only

Former Member
0 Likes
990

any tips on this?

Read only

0 Likes
990

How do I add a service that is added to one transaction to another one. Guys...please help me on this.

Regards,

Vijay

Read only

0 Likes
990

...

Read only

0 Likes
990

if you want to do it for your custom transaction, just call the following FM in PBO

call function 'SWU_OBJECT_PUBLISH'

exporting

objtype = '<obj type>'

objkey = ''

exceptions

objtype_not_found = 1

others = 2.

read the FM documentation from SE37.

if you still have doubt , get back with your questions.

Regards

Raja

Read only

0 Likes
990

No, not for custom transaction. Actually the serivces were added to a business object by an SAP Note. Through that note it is available for a transaction. I want it to be available for another transaction. How do I go about it. How do you actually add a service to a business object.

Regards,

Vijay

Read only

0 Likes
990

anyone got ideas about this...

Read only

0 Likes
990

This topic seems to be lost...Any pointers on this?

Thanks fur the help.

Regards,

Vijay

Read only

0 Likes
990

the note which you have used should give you a pointer. I guess this is done by adding code to the BO method.

Regards

Raja

Read only

0 Likes
990

Ok.

But what is the general process...that's used.

Do we create a generic service and then...what?

How do we associate a service to a transaction, and what exactly could a service do. In my case a service was added to transaction O4NM (OIL). I'm not sure I'm getting the terminology right over here. The SAP Help for this is pretty obscure...

Regards,

Vijay