How to Integrate .net Application with SAP

Aim of this article is to show you how to connect your .NET front-end application with SAP. We will discuss the prerequisites for integration a .net application with SAP. In addition, we will go through step by step guide on how to implement the .net application which connects with SAP back-end. This is an synchronous […]

Handle ALV Runtime Errors!

At runtime of ALV report short dumps can occur if the ALV is not consistently build. You can find the consistency of the ALV using ALV consistency check. This will show the status of ALV attributes like field catalog, Layout, filter, variant etc. As a example below ALV gives a runtime error when exporting to […]

Important SAP APO Function Modules!

These are some of the SAP APO functional modules I have worked with. If you need any help with parameters please drop a line.   Order /SAPAPO/DM_ORDER_GET_ORDID Get the 22 char GUID of planned order BAPI_MOSRVAPS_CREATESNPORDER Create planned order. Table parameter “mapping_data” will return the created planed order number. BAPI_POSRVAPS_SAVEMULTI3 Create orders /SAPAPO/OM_ORDER_GET_DATA Get planned […]

Save File Dialog!

This will show you how to popup the save file dialog from selection screen. You can facilitate selection of file without manually entering file path. Selection: Result dialog: DATA: gv_filename TYPE string, gv_path TYPE string, gv_result TYPE i. SELECTION-SCREEN BEGIN OF BLOCK b4 WITH FRAME TITLE text-004. PARAMETERS: p_path TYPE string LOWER CASE.                         “File path SELECTION-SCREEN END OF BLOCK b4. AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_path. * Display save dialog window CALL METHOD cl_gui_frontend_services=>file_save_dialog EXPORTING *      window_title      = ‘ ‘ default_extension = ‘txt’ default_file_name = ‘file_name’ initial_directory = ‘C:’ CHANGING filename          = gv_filename path              = gv_path fullpath          = p_path user_action       = gv_result.

Enhance SAP SPRO IMG Structure

In this example we will enhance or customize the SAP SPRO IMG structure. We will add a custom nodes to SAP IMG structure and attach a table maintenance view under one of the newly added custom node. This will be useful if you need to add configuration nodes of your custom developed applications to SPRO. […]

Consume Web-Service from SAP

This is show a step by step guide how to invoke a web service from SAP. In this method you do not require additional middleware such as PI/PO. There are three steps you need to follow. Create proxy object Create logical port Create program to consume created proxy object Prerequisites: You need to have your […]

Transaction IDX1: Port 1, client , RFC destination contain errors

I came across this error when working with file to iDoc interface.   Check the below settings if the error occurs. 1. Maintian Communication Channel Configuration. In your receiver iDoc communication channel maintain the correct RFC destination and port. 2. Connection settings in SM59 Check if the connection is working without errors. 3. Port Settings […]

Receiver Service Cannot be Converted into an ALE Logical System

I came across the error “Receiver Service Cannot be Converted into an ALE Logical System” when I was working on a File to iDoc interface. This error can occur for iDoc sender of receiver if the business system is not configured properly. You have to check the settings shown below if the error occurs.. 1. […]