ABAP Webservice Consumption in Adobe Flex

In this document ABAP webservice for Sales Order header information to be fetched is consumed in Adobe Flex component which run’s in Webdynpro Application.Basically Webservice & Adobe Flex component belongs to different domain namespace.So here comes the usage of Crossdomain XML file to be created in server where Webservice resides.

Content:

Webservice Creation.

Adobe Flex component creation.

CrossDomain XML file Usage.

Webdynpro Component creation.

Output.

Webservice Creation:

1.Remote enabled Function module is created which will fetch VBAK information based on Sales Doc.no.

2.Create webservice from the Function module as below

Click continue after maintaining Profile value as Low,then the webservice creation will be completed.

3.Get the WSDL document information for the created Webservice in SOAMANAGER tcode.Select

Single Service Adminstration link .

Click on Display selected Binding’s WSDL URL,it will display the WSDL document for the created Webservice.

Adobe Flex Component Creation:

1.Download Flash Island library‟s from SAP system to local desktop. So go to “SE80” select “MIME Repository”

I wil be passing User name & Password credentials along with the WSDL document using parameters sap-user&sap-password ,since this Webservice is used for only fetching purposes but not any updation. Now the WSDL document URL will be

4 Comments

I try since 2 weeks to get access to created SAP reports via Web Service Connection in the Crystal Dashboard Designer.

The problem is that theres no BW System available, i have to establish a direct connection to my SAP Reports which i have generated with the transactions (SQ01, SQ02 (Infosets), SQ03(reports)) Is this possible? Do you have an idea how to manage this?

I don’t have much idea on BO but as far as my understanding from the below documents it is possible to access Infoset Queries of SAP in Crystal reports, have a look at below doc’s shows steps to access Infoset Qry’s..

I work in the test WS, and need authenticate using SSO , my test : WD-flash-Island- and use the tag webservice in flex aplication, the web services is configured as single sing On SAP assertion Ticket — but not work– in code y can get MYSAPSS2 value into the flex code, but I without knowledge where to assign this value in the header tag in the webservices :S

the scenario is complicated as I make a request in assuming that I have a session valid.

currently works if I put no authentication and set my ABAP service user, however the idea is that you can call the WS with my user start secion in WebDynpro

I thought <set-cookie> also pass directly through the value I get from flex

I need some settings for the wS identify who is being called by a safe path?