cancel
Showing results for 
Search instead for 
Did you mean: 

object methods

0 Kudos
94

Hi ,

While creating the methods in SWO1 , i m confusing what to select

i mean dialog or non-dialog , synchronous or asynchronous , return a result and instance-dependent/independent

could you please . tel me what these all about

surya .

Accepted Solutions (0)

Answers (6)

Answers (6)

0 Kudos

There have been several links to explain options on the task that were in the original question, so this question is assumed to be answered.

surjith_kumar
Active Contributor
0 Kudos

Hi,

Also see this [Link|https://wiki.sdn.sap.com/wiki/x/8YBVAw ].

Regards,

Surjith

Former Member
0 Kudos

Hi,

In business object we have four options

1. Dialog

2. synchronous

3. instant independent

4. result parameter

Dialog:

If there is any user interaction then u need to select method type as Dialog

Synchronous:

For background processing we need to select snchronous type method

this will return the following parameters

return parameters

one result

exceptions

Instant independent :

If the method is not depending up on the key fields of the Business object then we need to select the method type as Instant independent

One result :

If a method is having only one result it may have number of return parameters

Former Member
0 Kudos

This message was moderated.

matt
Active Contributor
0 Kudos

The copy and paste answer from http://www.abapcode.info/ has been removed. Please do not copy and paste from other sources. The rule is simple: if you didn't write it, don't post it.

matt

saumya_govil
Active Contributor
0 Kudos

Hi Surya,

Please refer to this link:

https://ecohub.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30091df1-7ddd-2a10-9498-b63fa...

You would find the answer on page no. 19.

Hope this helps!

Regards,

Saumya

Former Member
0 Kudos

While creating the method , you need to specify how your object method wants to :

there is one check box you need to select

Dilog or non-dialog : check box is on , indicates the method requires user involvement.

check box is off , indicates method can be excuted in background.

Synchronous/Asynchronous : check box is on , indicates the activity is complete when the method finish the execution..

check box is off , activity is not complete until a terminating event is received

Regards ,

kiran