Warning: include_once(http://erpgenie.com/_borders/topabap.htm) [function.include-once]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/vhosts/erpgenie.com/httpdocs/abaptips/templates/rhuk_solarflare_ii/index.php on line 52

Warning: include_once() [function.include]: Failed opening 'http://erpgenie.com/_borders/topabap.htm' for inclusion (include_path='.:') in /var/www/vhosts/erpgenie.com/httpdocs/abaptips/templates/rhuk_solarflare_ii/index.php on line 52
Home arrow Sample Code arrow ABAP OO arrow Navigation to another client on hotspot
Navigation to another client on hotspot PDF Print E-mail
User Rating: / 2
PoorBest 
Written by Pavan   
Saturday, 03 February 2007
If you want to execute a transaction in another system..... In this example I display the Event Handler details in an SCM system from an ECC system....
  1. Create the logical system SCD as Logical system with standard BAPI activation. This can be done in transaction BD97.

 

The rest is simple as follows:

 

data :

       lv_handle           type swo_objhnd,

       lt_container        type table of swcont.

call function 'SWO_CREATE'

 exporting

   objtype                 = 'ZEH_DISP'

   objkey                  = '0350008335000010'

   logical_system          = 'SCD035'

 importing

   object                  = lv_handle

*   RETURN                  =

 exceptions

   no_remote_objects       = 1

   others                  = 2  .

if sy-subrc <> 0.

* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

endif.

 

call function 'SWO_INVOKE'

  exporting

    object                   = lv_handle

  tables

    container                = lt_container.

 

I created a new object ZEH_DISP in SCD for displaying an event handler.


Related Items:

Last Updated ( Wednesday, 14 February 2007 )
 
< Prev   Next >

Google Search

Google Ads


Warning: include(http://erpgenie.com/_borders/bottom.htm) [function.include]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/vhosts/erpgenie.com/httpdocs/abaptips/includes/footer.php on line 22

Warning: include() [function.include]: Failed opening 'http://erpgenie.com/_borders/bottom.htm' for inclusion (include_path='.:') in /var/www/vhosts/erpgenie.com/httpdocs/abaptips/includes/footer.php on line 22