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

GUI Screen triggered by external system

Former Member
0 Likes
1,084

Hi Guys,

Is there a way to trigger a SAP GUI Screen to open from an external system?

I need a GUI Screen (showing a specifik Sales Order) to pop up when I press an icon on an external application.

The user will have SAP GUI installed and will be logged in. But the screen will have to be initiated from the outside.

(I cannot use Webdynpro since it doesn't support variant configuration.)

Please advise

Thanks!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,000

Hi Thomas,

If we take the example of a JAVA engine(external system), a JAVA program can trigger an SAP screen provided both the systems are connected through connectors.

Regards,

Ram.

8 REPLIES 8
Read only

Former Member
0 Likes
1,000

Hi,

The following two links should provide you some informtation regarding your requirement.

help.sap.com/saphelp_nw04/helpdata/en/48/35d6ca4abf11d18a0f0000e816ae6e/frameset.htm

help.sap.com/saphelp_nw70/helpdata/EN/44/b4a0e87acc11d1899e0000e829fbbd/content.htm

Regards,

Ram.

Read only

0 Likes
1,000

Thanks - It must be SAP GUI, though (because of performance and Variant Configuration).

Any other ideas?

Thans

Read only

Former Member
0 Likes
1,001

Hi Thomas,

If we take the example of a JAVA engine(external system), a JAVA program can trigger an SAP screen provided both the systems are connected through connectors.

Regards,

Ram.

Read only

0 Likes
1,000

So a click on a button on an external system (.Net based), could result in a SAP GUI screen opening, displaying a specifik sales order?

Thanks!

Read only

0 Likes
1,000

Hi,

Absolutely. Regarding connectivity between .net system and sap system, I feel you should take the help of Basis people.

Regards,

Ram.

Read only

0 Likes
1,000

ok - thanks!

Could you please specify a little how you see the solution. How could we make a "GUI screen pop up" and so on?

Read only

0 Likes
1,000

Hi Thomas,

Here is a possible method even though it doesnt contain the code that solves your requirement.

Firstly we have the legacy(.net) and sap systems connected to each other.

Now we have a BAPI in SAP for creating a sales order, for eg: BAPI_SALESORDER_CREATEFROMDAT1.

We can customise this BAPI in SAP by adding a CALL SCREEN statement in such a way that after feeding the customised BAPI with all the mandatory parameters(mentioned below), it displays a screen containing a sales order.

Now configure your .net system in SM59(RFC connections)->HTTP connections to external server of the sap system in which the customised bapi resides.(Basis help possibly required).

Then in the SAP system go to SE37 mention the name of this customised BAPI and click on change. Now go to Utilities->More utilities->Create Web service. I think here also you need to mention the target system details where the bapi has to be executed.

We can then call this customised BAPI from within the .net code and pass all the mandatory parameters there itself.

ORDER_HEADER_IN : DOC_TYPE Sales document type

SALES_ORG Sales organization

DISTR_CHAN Distribution channel

DIVISION Division

ORDER_PARTNERS..: PARTN_ROLE Partner functions, SP sold-t

PARTN_NUMB Customer number

ORDER_ITEMS_IN..: MATERIAL Material number

REQ_QTY Order quantity in sales unit