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

Running a method in background

Former Member
0 Likes
752

Hi,

I am trying to call method "Create" of BOR Object MOVEINOUT. Does anyone know how to call a BOR method in background ?

When testing in SWO1 the method calls a dialog screen. I want to automate this and make sure the method is run in background.

An example code would be appreciated.

Thanks,

Urmila

2 REPLIES 2
Read only

Sm1tje
Active Contributor
0 Likes
581

We don't have this object in our system (are you on IS-U system?), but normally this BAPI has a parameter in which you can set the dialog mode.

This BAPI is called in the method of the business object. Have a look at it and see if dialog mode can be set.

Read only

Former Member
0 Likes
581

Hi ,

I also had this problem. I overcome by putting a check on objects being created. In batch mode GUI objects - Screens, etc, cannot be created.

Check sy-binpt is initial.

create object dock_container ....

or call screen XXXX...

I hope this helps.

Thanks and Best Regards,

Dinesh.