Shared Top Border

Enterprise Resource
Planning Portal

 

Advertise | Founder BLOG

ERPGenie.COM ABAP Tips and Tricks Database

THE ultimate
ERP website

 

Forums | Vote for us |

Google    Other Search Options

Login

Login to view more content!!!





Lost Password?
No account yet? Register

Registered Access

Poll

What area of ABAP are you interested in?
 
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

Statistics

Contribution Activity
Utilities: 39
Tips and Tricks: 337
Sample Code: 170
Total Contributions: 561

Member Activity
Members: 6342 since 2/1/2007!
New: 1 since yesterday!
Visitors: 1240406
We have 1 guest online

Newest Members

Welcome our newest members:

Google Ads

Shared Bottom Border

Contact Us | Polls | Add URL | Contribute | Privacy | Terms | Feedback

Discussion Forum | BLOG | Consultants: Post your resume | Companies: Advertise on ERPGenie.COM | Post Job
Financials Consultant | Consultant Review | Gallia Consulting | Supply Chain Project | SAP Financials Forum
GenieHoldings.COM, Inc. | Genie Press | WorkflowGenie | ESAGenie | ERPTopSites | ABAP Tips and Tricks | SAP Solutions Database

EDIGenie | Searching Survivor