Skip to Content
Author's profile photo Ramesh Vodela

Order to Cash Mobile Application using Xamarin Forms & C#

In my earlier blogs http://scn.sap.com/community/interoperability-microsoft-net/blog/2014/01/17/sap-and-xamarin-for-c-mobile-cross-platform-development-tutorial I have mentioned in details of application development using Xamarin.

In the blog http://scn.sap.com/community/developer-center/mobility-platform/blog/2014/07/31/c-cross-platform-mobile-application-using-xamarin-form I covered the Procure to Pay process. In this blog I would like to Cover the order to Cash Process using Xamarin Forms.

The Order to Cash Mobile Application has the following flow – Login – List of Sales org – List of Distribution Channels for Selected Sales org – List of Division for the selected distribution channel -( At this point you have a sales Area ) – List of Customers for the Selected Sales Area – List of Sales Orders for the Selected Customers ( on the Screen you can swipe the screen for Options – Options are Create Sales Order (VA01), Create Delivery(VL01N) and Billing (VF01). In addition you can drill down on Sales orders and then menu options allow you list Deliveries and Billings documents for the Selected Sales order. For Each of the Options A REST Service is invoked which In turn calls ABAP Function which returns the list to be displayed on the screen.  Xamarin Forms improves the efficiency of the mobile phone app development.

For the Order Creation I use the BAPI  BAPI_SALESORDER_CREATEFROMDATA, for Delivery I use BAPI_OUTB_DELIVERY_CREATE_SLS.  For Billing I tried to use BAPI_BILLINGDOC_CREATEFROMDATA – This was generating a Kernel dump. I’am using IDES 7.31 with Service Pack 6(Latest IDES), I also tried to Billing using VF01 – This dumped as well (Internal Kernel Error DDIC_TYPE_REF_ACCESS_ERROR). I was told by Basis people that we should back Service Pack 5 to resolve this.  So I decided to complete my app expect for billing as this process could a lot time. The Image Below show the screens flow

Picture1.png

From The options page you can choose Create Order, Then do Delivery – If you double click on the order the order lines summary is displayed with options to see the List of Deliveries for the Sales order Line or List of Billing Documents for the Sales order line as shown below

/wp-content/uploads/2014/09/picture2_539266.png

In addition I have added Barcoding Support for Material as explained in my blog using Xamarin Component.

http://scn.sap.com/community/developer-center/mobility-platform/blog/2014/08/03/c-mobile-application-using-xamarin-forms–add-barcoding-support

I posted the recording for the Order to cash process on youtube

https://www.youtube.com/watch?v=1yIQQv6abNE&feature=youtu.be&hd=1

As I did not have printed barcode to test for my article – I create another video just to show barcoding from Android phone

https://www.youtube.com/watch?v=fdz8aEp7CRQ&feature=youtu.be&hd=1

As these mobile Phone applications have been developed using Xamarin Forms ( as explained in my earlier blogs  they work on IPhones and Windows Phones as well.

Assigned Tags

      3 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo ' MoazzaM '
      ' MoazzaM '

      Hi Ramesh Vodela

      I just got a Tweet from SCN about this blog. I am glad to see that you have developed this app which can run O2C cycle using mobile phones. Since I am not a technical guy I want to know that how do someone get this app? Have you developed it for your client or for commercial purpose? I am SD guy and I have came across such requirement quite often.

      It can work on iphone and windows phone and how about android?

      Thank$

      Author's profile photo Ramesh Vodela
      Ramesh Vodela
      Blog Post Author

      MoazzaM

      The Video of the app shown is for Andorid - Xamarin Forms App can work on 3 phones.

      I have developed this on my own works against private IDES System.  When the app is released for public I will update the blog.

      Author's profile photo ' MoazzaM '
      ' MoazzaM '

      Hi Ramesh.

      I would love to try this app. My compnay is looking for some app like this. Can you give me idea that when would you be able to release it for public?

      Thank$