This is a short paper that I have written for the unit BCO6615 - Strategic use of ERP Systems at Victoria University, Melbourne.




In the current digital world, companies have access to various advanced technologies and they adopt these technologies based on their preferences and strategies. Hsu (2013) states that Enterprise systems (ES) like enterprise resource planning (ERP) systems and supply chain management (SCM) systems integrate the information flow across various business modules, automate the operational process and provide access to real time information to make quick decisions. However, just having the ES is not sufficient for the companies to have competitive advantage (CA) in the market. They would require business strategies to effectively use their ES and hold their position in the market.  Porter (2008) says organization structure drives profitability and competition, not just whether an organization is low tech or high tech, unregulated or regulated, mature or emerging. Organizations use strategic approaches like integration, niche, differentiation, growth and innovation, coupled with their ES to increase their revenues and market share, and achieve CA over competitors.  This paper focuses on Integration and niche strategies, and provides two case studies for each strategic approach.

Integration of Enterprise Systems

Enterprise integration ensures the communication between enterprise units to achieve the enterprise goals. Enterprise integration could be at various levels, namely physical integration – network of devices, computers and machines; application integration – linking various software and databases; business integration – integration of functions that control, monitor and manage business processes (Chen, Doumeingts & Vernadat 2008). Hsu (2013) says that information flow between enterprise systems of a company increases operational efficiency and provides CA over other companies. In addition, to create business integration capability, organizational resources are prominent than IT resources and they play an intervening role to achieve a CA in an organization. 

Integrating SCM with suppliers and customers systems provides the advantages of higher consumer satisfaction, lower operational cost and a prominent position in the market.  Moreover this integration leads to profitability for the entire supply chain members and gives the organization advantage over its competitors(Mzoughi, Bahri & Ghachem, 2008).

Mzoughi, Bahri and Ghachem (2008) state that by developing strategies in collaboration with suppliers and maintaining communication with them organization achieves a superior position in the market. For instance Proctor and Gamble (P&G) the largest producer of consumer and household goods in USA and spread over 80 countries world-wide uses the information technology to integrate its business with suppliers and consumers.


P&G has implemented SAP ERP system which is used to manage its core business processes like finance and SCM. The firm’s global IT strategy is to integrate the existing IT systems with SAP and implement the future SAP solutions globally. This would result in lower operational costs and increased business value across global locations. P&G focusses on SCM and is ranked in the global top 25 supply chains. P&G uses SAP SCM for forecasting their demand and resource planning. In addition it uses another IT system called Axway solutions to transfer files across to its supply chain partners. This managed file transfer (MFT) solution integrates with the SCM and securely transfers the files to its suppliers. It provides an effective and easy maintenance communication framework to transfer invoices, orders shipments and other messages to its supply chain members. It helps in maintaining relationship with its customers and improve success rate with product innovation and sustainability goals.  P&G estimates that the integration of IT systems with ERP would increase their cash flow by 100 million dollars globally (pbworks 2015).

Another company Kiva systems which is acquired by Amazon integrates cloud robotics with warehouse management systems (WMS) for effective warehouse handling and operational efficiency. D'Andrea (2012) says that cloud Robotics effectively integrates the new buzz technologies like Cloud, Big Data and Internet of things. Robots gather data and share the information on cloud which is like a central repository for them, and they learn and create patterns from this repository data. This capability of robots is utilized to automate the repetitive manual and operational tasks in warehouses. It uses local networks to track data and coordinate pallets, and integrates with mobile networks to move pallets. Kehoe et al. (2015) discuss that hundreds of mobile robots communicate and coordinate with each other to move the stock racks and bring the inventory to the workers. This saves the walking time of workers and pallet operation time. This has revolutionized the distribution facilities in warehouses and created opportunities for new markets. This model is successful because the technology focuses on a need in the warehouse operations rather than solving a problem. The technology integrates with the warehouse management system and improves the operational efficiency and decreases inventory delivery time to the customers.


Niche Strategy

According to Noy (2010), Niche strategy is a generic business strategy adopted by the companies to gain better than average profits in their sector, especially in a dense market segment. The marketing theories consider niche strategy as the ability to manage and drive organization resources towards the profitability and growth with effectiveness whereas the population ecology considers dense market competition as the factor that determines either the birth or death of a niche firm. The niche concept is a subset of market segmentation theories. Effective aggregation process of bottom to top approach, starting from customer then to micro segmentation maximizes the profits. A niche firm focussing on a homogenous product in a heterogeneous market could increase its profits. Niche marketing takes segmentation to next level by creating a discrete segment of consumers. On the other hand, niche companies face the danger of either reduction in demand or growth potential of the company or the growth in niche market attracts new entrants and competitors. For example, Nike a niche company known for its athletic shoes has expanded into other segments like clothing and technology integrated personalised shoes to sustain the competition from other shoe companies.         


Nike designs new products by integrating shoe dynamics with technology and has a good marketing strategy. It launched mobile apps and wearable tracking devices that integrate with the shoes and give the personalized experience to its customers about how many steps they have walked and how many calories they burnt in a given time. Nike has its own digital platform called Nike+ and collaborates with mobile companies to integrate their technology in mobile devices.  Nike uses enterprise systems like SAP and Seibel systems to integrate and manage their customers, suppliers, manufacturing and human resources globally. Nike is effective in managing their resources and using digital technology to integrate with their core competency of manufacturing athletic shoes. This capability to integrate and create new market segments helps Nike to retain its own discrete segment of customers and compete with other companies in the high density athletic shoe market (fastcompany 2013).



HSE24 is a prominent home-shopping network that reaches about 40 million households in Germany, Switzerland and Australia, and expanded into Russia and Italy. To be a niche company in retail-online sector, HSE24 uses real time data to analyse the customer buying patterns and changes its marketing strategy quickly according to the buying behaviour of the customers and the goods in stock. Mullich (2014) says that enormous data is available in retail-online segment and the effective use of this data to make quick decisions distinguishes a retail-online company from its competitors, particularly for companies like HSE24 that have to sell the goods live over online and telephone. The “now moment” is crucial for HSE24 and uses web, mobile and social network technologies coupled with in-memory computing to gather data and take actions in real time to engage customers personally and create targeted marketing campaigns. In addition, it uses this data to ensure that there would be less product returns and hence saving the return operational and delivery costs. This requires effective real time integration of its enterprise systems like ERP, SCM and CRM. The challenge for HSE24 is to maintain the relation with customers across different geographic areas, predicting their needs despite not having direct interaction. HSE24 uses predictive analysis and in-memory computing to track the customer behaviour and to micro segment customers in real time that enables the marketing department to launch campaigns according to customer preferences. This increases the sales and leads to more profits for HSE24.




Organisations adopt various business strategies based on their preferences, market segment and customer cohort. In the current high technology world, huge amount of data is available from various sources both internal and external to the organizations, and the ability to use this data in real time and make quick decisions in accordance with customer behaviour also gives CA in the market. Companies are integrating digital technology, cloud robotics and in-memory computing with their ES to improve their operational efficiency, market share and revenues. Hsu (2013) says that integrating firm’s ES along with suppliers systems provides a win-win situation to the firm and the suppliers. Companies that have a discrete segment of customers loyal to them use niche business strategy to hold their position in the market and improve their product and services using innovation and technology. Boehe and Cruz (2010) state that companies use different strategies to create their own unique brand image and make customers loyal towards them. By identifying a business strategy that suites their business and customer needs and coupling it with their ES, companies would achieve a competitive advantage in the global market.




Boehe, DM & Cruz, LB 2010, 'Corporate social responsibility, product differentiation strategy and export performance', Journal of Business ethics, vol. 91, no. 2, pp. 325-46.

Chen, D, Doumeingts, G & Vernadat, F 2008, 'Architectures for enterprise integration and interoperability: Past, present and future', Computers in industry, vol. 59, no. 7, pp. 647-59.

D'Andrea, R 2012, 'Guest editorial: A revolution in the warehouse: A retrospective on kiva systems and the grand challenges ahead', IEEE Transactions on Automation Science and Engineering, vol. 4, no. 9, pp. 638-9.

Fastcompany 2013, Death To Core Competency: Lessons From Nike, Apple, Netflix, fastcompany, viewed 9 August 2015, <>

Hsu, P-F 2013, 'Commodity or competitive advantage? Analysis of the ERP value paradox', Electronic Commerce Research and Applications,

vol. 12, no. 6, pp. 412-24.

Kehoe, B, Patil, S, Abbeel, P & Goldberg, K 2015, 'A survey of research on cloud robotics and automation', Automation Science and Engineering, IEEE Transactions on, vol. 12, no. 2, pp. 398-409.

Mzoughi, N, Bahri, N & Ghachem, MS 2008, 'Impact of supply chain management and ERP on organizational performance and competitive advantage: Case of Tunisian companies', Journal of Global Information Technology Management, vol. 11, no. 3, pp. 24-46.


Mullich, J 2014, Using Real-Time Insights, HSE24 Gets Closer to Customers, Real-Time Enterprise Stories, viewed 11 August 2015,<>

Noy, E 2010, 'Niche strategy: merging economic and marketing theories with population ecology arguments', Journal of Strategic Marketing, vol. 18, no. 1, pp. 77-86.

Pbworks 2015, pgcasestudy, pbworks, viewed 15 August 2015,


Porter, ME 2008, 'The five competitive forces that shape strategy', Harvard Business School Publishing.

If you want to consume SAP data through non SAP application then this is a very useful document for you. It gives you a step by step, easy guide to build it yourself. We can, using SAP Web Services, read and write SAP data using non SAP applications. This option has been available for a long time now. Please do remember with the advent of UI5 and Fiori there are now more ways to utilise SAP data externally.


The example here shows how to read the data but can be enhanced to write back to SAP as well. Please check if you have the relevant SAP license.


This example was done on:

1) Microsoft Visual Studio 12

2) SAP ECC 6.0


I am writing down the steps which if followed properly will help you do it yourself.


The example here is to demonstrate how we can read vendors in SAP and pass it on to a .Net Application.


The prerequisites are:

1) Basic knowledge of SAP ABAP, especially RFC

3) Basic knowledge of Visual Basic/C#


Here is a list of, high level, steps on how to do it:

1) Create an RFC Enabled Function Module in SAP

a) In our example, we will create an RFC which accepts a country code and returns all the vendors for that country from an SAP server

2) Create a Web Service for the function module so that it can be consumed by other service based applications

3) Setup the Web Service

4) Create a small Visual Basic Project to show how the country selection be passed to the Web Service and utilise the list of vendors returned from SAP



We will start with a list of activities to be carried out in SAP first.

  1. Creating an RFC Enabled Function in SAP
    1. 1a.png
    2. 1b.png
    3. 1c.png
    4. 1d.png
  2. Next step is to convert this into a Web Service so that it can be called from outside SAP
    1. 2a.png
    2. 2b.png
    3. 2c.png
  3. Setup Web Service Step I- Run Transaction – SOAMANAGER – Select Web Service Configuration. Search the newly created Webservice. Click on the search result-> Click on Create Service (The below lines will be created once you have finished creating the service. You may want to look at the next screenshots for details on what to select. Authentication is the main one, we can leave all the rest to default.
    1. 3a.png
    2. 3b.png
    3. 3c.png
  4. Setup Web Service – Step II - Properties setting to be used while creating the service. Click on Open Binding WSDL generation to get the Web Service Link. Copy the WSDL URL for Binding – This will be used in other non SAP application to link to SAP
    1. 4a.png
    2. 4b.png
    3. 4c.png
  5. Consume it in .Net (Visual Basic Application ) - Step I -Start a new project of type WebSite. Add Web Form by right clicking on the Project. Drag a text box, button and labels as show below. We will use the text box to enter country code. The button will trigger the call to SAP function and return the vendors for that country.
    1. 5a.png
    2. 5b.png
    3. 5c.png
  6. Consume it in .Net (Visual Basic Application ) - Step II - Add a Service reference – Most critical part. Click on advanced. Click on Add Web Reference. Put the URL from Web Service screen above and click on go – You might be asked to login to SAP here. In the end the web service will show on the screen. You may change how it should be called in VB Project. Final Output once the FM is added in our example. Click on Add Reference
    1. 6a.png
    2. 6b.png
    3. 6c.png
    4. 6d.png
    5. 6e.png
  7. Consume it in .Net (Visual Basic Application ) - Step III - Code Snippet
    1. 7a.png
  8. Consume it in .Net (Visual Basic Application ) - Step IV - Output  - You can then run the VB application, press the submit button and the result would be fetched from SAP.
    1. 8a.png
  9. The output is not being shown here purposely.

My work involves innovative implementation of Order to Cash implementation for SAP customers. Having done SAP implementation for renowned companies like Daimler, P&G, Boots and Rio Tinto I am into implementation value added integration of SAP with commercial open source CRM and E-Commerce platforms.


I realized that most SAP customers use a subset of functionalities SAP provide. This is primarily because of license cost and secondly high implementation cost associated. Thus a company usually gets the core head office users on to the system and key powers users on board. A bulk of business users get missed out. Thus ground level activities get missed out. Most often left outs are Salespersons and the dealer network.


sap banner all inclusive.png





Usual SAP Implementation drop outs - Dealers and Sales team


Best businesses around the world run SAP. However what portion of your organization user base gets covered by the power this application can provide. In my over twelve years journey typically 10% of total company employee use SAP in some way. Most obvious exclusions are salesperson and dealer community, at least as far as OTC cycle is concerned. The reason? To my understanding, two folds -


a. Sheer maths behind

The sheer number of users in this segment is enormous. So lets say if you have a dealer base : headquarter  staff ration of 20:1, this means that in terms of licensing cost you have to shell out money in the range of 10x of what you currently are. Its huge isn't it? Even enterprise have their budgets worked out. Thus in most common scenarios, it is decided to leave out the job of order entry to internal staff and customer representative groups who then interact with dealers and salesperson to enter / track the orders on their behalf.



b. Mobility


For years, SAP had an interface which was not at all suited for the segment of users which were mobile and needed to use system on the go. This was where Salesforce took off and surprised the market. Many SAP customers integrated Salesforce before SAP realized that it needs to do something.

Licensing cost and infrastructural requirements don't allow even big enterprises to get them on board.


c. Training


Due to the geographic spread, training becomes a key issue on many occasion. This is also true because people of the ground keep changing and it necessitates elaborate training to be conducted every quarter for new recruits.

However, they are eventually the profit centers of the company. Revenues are there because they generate inquiries, quotations and finally the orders,don't they? So what are the options available to an organization.

The Alternatives

Fortunately, SAP provides great options for  most of the questions. The above aspect is no different. The possible solutions that the company banks on the latest revolution around SAP Integration capabilities and the recent focus on improving the UX / UI by the platform.

a. SAP Fiori

Since I saw the demo of the product, I must say that I am huge fan of SAP Fiori. For someone who has seen the light blue interface of SAP all this while, Its difficult to believe the kind of screens which one can develop this the solution. To a great extent SAP Fiori takes the concern on mobility away. Sales and service staff can easily interact with SAP in the most convenient manner from any device of their choice.

b. Matured commercial opensource solutions over SAP

Though the above solution is clean and rich, there are cases where budget is the main driver. Matured commercial open source solution like SugarCRM and Magento e-commerce provide a great option for companies to get the salesperson and dealer network on a single platform. There are multiple system integrators(SIs) who can help you achieve this. 


Smart companies make an effort to improve their returns on investment they did while implementing SAP. However this is possible by having a single platform across the organization and getting users on the robust platform either by implementing the latest technology or by integrating smart web applications which require less to no training.

Some customers are experiencing the German Texts in application t-codes, no matter they log in English or Japanese.

E.g. Confirmation counter in Confirmation overview in t-code IW43.


E.g. Costint tab in t-code CR03;


If you come across same situation, you can try this solution.


  1. Run report ZCHECK_D021T of note 1055585.
    This report is Z-correction report, you need create in manually in t-code SE38.
  2. Run report RSLANG20 to reset language load.
    This report is standard program. Note 110910 explains details about this report.
  3. Activate the screen in t-code SE51, if needed.
    If the steps above do not help fixing the German texts.


Here are the list of affected dynpros knownn so far.


MENUCC00 1000

MP002600 2001

MP002600 3000

MP002600 3000

MP100000 2100

RCNST000 200




RMSERI05 100

SAPL0C14 120

SAPL0C14 160

SAPL0C15 155

SAPL0C24 125

SAPL0C27 201

SAPL0C27 301

SAPL0CL0 201

SAPL0KI1 335

SAPL0KI2 335


SAPL0MP0 141

SAPL0MP0 142

SAPL0MP0 941





SAPL0Q01 222

SAPL0Q05 20

SAPL0Q05 20

SAPL0Q05 20

SAPL0Q05 60

SAPL0Q11 1081

SAPL0Q79 20











SAPLCBCM 300-348





SAPLCFDF 140-447


























































SAPLTB16 100

SAPLTM00 1201-1204









SAPMF02H 510




SAPMM61P 511

SAPMM61P 513


SAPMP53L 301

SAPMP56T 1001

SAPMP56T 1001






SAPMV45W 104

SAPMV45W 201

SAPMV45Y 200








STMMAIN100 403



Best regards,

What is Namespace:


It's the range of name it can used for custom objects.You can define an your own name space by trx SE03

Name space is there to differentiate between SAP standard ones and the ones developed by us.

'Z' and 'Y' are the name spaces allocated for objects created by us. where as A TO X for SAP STANDARD.


Here i am going to Register my Namespace for ERP system.


NAMESPACE Registration and Activation in SAP Service Marketplace:


1.Log in SMP and Go to keys and requests and select Development Namespace and click continue,




2.Click on Request namespace,




3.Click on Continue,




4.Enter you Namespace name, description and give your SID ,select your correct system for your namespace like below,




5.The Namespace has been Successfully Saved, click ok



6.Here we can see a Development Namespaces - “In process” Status:



7.After this SAP Support will check and accept your namespace,check like below,




8.Once we get Accepted From SMP We need to register in our SAp system in Tx:SE03.



9.Click on new entries,




10.Give Namespace details,



Give Namespace name and enter develop and Repair license,it will get from SAP service Marketplace,





We can use one Namespace for More systems like ERP,CRM..etc. for this we need to create Develop and Repair license keys.


Thank You ....!!!



This is another blog to share my experiences on using LSMW for data migration. In a recent project there was a requirement to migrate SEPA mandates from an existing legacy system. This was achieved using two LSMW programs, in preference to creating and processing ABAP programs.


For some background on SEPA mandates I recommend that you read this document which includes useful information on the transactions and BAPIs that were used in LSMW.


I am assuming that you are already familiar with LSMW. If you are a beginner then there are plenty of other SCN posts that will help you.

Basic functional requirements


Since the mandates already existed in a legacy system an external mandate reference was used.


It is assumed that more than one mandate is allowed per customer (for example if the customer bank account changes).


When a mandate is added the collection authorization indicator should be flagged on the relevant bank account.


A customer may have more than one bank account.


It must be possible to distinguish between mandate first use and recurring.

Approach overview


Before migrating mandates, the customers including their bank account details are created.


The creation of the mandates is based on recordings of FSEPA_M1. If a customer has more than one bank account, then a pop-up appears. Therefore two recordings of FSEPA_M1 are required.


If the mandate is successfully created then the collection authorization indicator is updated using a recording of XD02.


The above 3 recordings are processed in a single LSMW program.


In a second step a dummy usage record is created for mandates that have already been used. This is achieved by using a dummy LSMW recording and a direct update using a BAPI function. This is explained below under “Details of add usage record”.


In both LSMWs various function modules are used.

Details of initial mandate creation


Most of the fields in a mandate are filled by default from the customer master and from the company code which is the vendor, so very little real input is needed.

In our project the following was sufficient:


Please note that you need to specify the BIC (SWIFT) code for the FSEPA_M1 recordings to work correctly.


As stated earlier, three recordings were used:


In the BEGIN_OF_TRANSACTION block we do the following:

1. Check that the customer already exists. In our example the legacy customer number was encoded in the mandate id.

2. Check if the mandate already exists:

* Customer exists, now check if the mandate already exists

* It is assumed that more than 1 mandate is allowed

h_sel_criteria-snd_type = 'BUS3007'.

    h_sel_criteria-snd_id = h_kunnr.

    h_sel_criteria-anwnd = 'F'.



        I_SEL_CRITERIA     = h_sel_criteria


        ET_MANDATES        = h_mandates

        E_MESSAGE          = h_emessage

        ET_MANDATES_FAILED = h_mandatesfail.

    if not h_mandates is initial.

      loop at h_mandates into wa_mandates.

        if wa_mandates-mndid = infile-mndid.

          write: /001 'Legacy Number:',h_altkn,'SAP Customer:',

                h_kunnr, 'mandate already in SAP:', wa_mandates-mndid.

g_skip_transaction = yes.





3. Check how many bank accounts the customer has. If there is more than 1 bank account then a pop-up appears in FSEPA_M1 so a separate recording will be used. You need to set a flag and then test this at the beginning of each FSEPA_M1 recording.

4. Determine which bank account in the customer master needs to be updated. If there is more than one, then the bank accounts in the table on the “payment transactions” tab are sorted by country, bank key, and bank account. Of course your input will be the IBAN!


* check which customer bank a/c matches the IBAN, if any

* load the bank accounts into an internal table and then search it

  refresh it_cbanks.


  into table it_cbanks

  from knbk where kunnr eq h_kunnr.

  if g_skip_transaction ne yes.

    if it_cbanks[] is initial.

      write: /001 'Customer:',h_altkn,'SAP Customer:',h_kunnr,

         'Mandate:',infile-mndid, 'Customer has no SAP bank accounts.'.

      g_skip_transaction = yes.

    else. "Locate the bank account to update

      w_found = ''.

      w_index = 0.

      LOOP AT it_cbanks INTO wa_cbanks.

        select single iban from tiban into h_iban

                where BANKS = wa_cbanks-BANKS

                 and  BANKL = wa_cbanks-BANKL

                 and  BANKN = wa_cbanks-BANKN

                 and  BKONT = wa_cbanks-BKONT.

        if sy-subrc eq 0 and h_iban = infile-SND_IBAN.

          w_index = sy-tabix.

          w_found = 'X'.



      if w_found ne 'X'.

        write: /001 'Customer:',h_altkn,'SAP Customer:',h_kunnr,


              'IBAN not available for this Customer in SAP.'.







The value of w_index determined in the code above is then used in the conversion rules of the XD02 recording for each collection authorization field in the recording. The screen shot just shows the first two:



Details of add usage record


After all of the mandates have been created a second LSMW is used to add a dummy usage record when the LASTUSEDATE in the input file is not empty. The same input file is used.


There isn’t a SAP transaction to add a dummy usage record so we need add it using a function module. We can process this through LSMW using a little trick.


We create a dummy recording. I made a recording of XD03 (display customer) and saved it as DUMMY. Since I won’t actually be using the recording, it doesn’t matter which transaction I use. In the “field mapping and conversion rules” the ABAP code is inserted to perform a direct update of the SAP table.


This means that when the LSMW program is used, you should only process up to the convert step.


It is also important that you carefully test your LSMW! In this case standard function modules are used so the danger of corrupting the SAP database is very low.


Below I have included the complete code used in our project. Please note the value of USE_DOCID where 0668 is a company code value.



data: h_mndid type sepa_mndid.

selection-screen: begin of block 1 with frame title title1.

selection-screen: begin of line, comment 1(31) para1, position 33.

PARAMETERS: p_year(4) type c OBLIGATORY default '2014'.

selection-screen: end of line.

selection-screen: begin of line, comment 1(31) para2, position 33.

PARAMETERS: p_test as checkbox.

selection-screen: end of line.

selection-screen: end of block 1.

at selection-screen output.

  title1 = 'User processing parameters'.

  para1 = 'Ref year for dummy usage document'.

  para2 = 'Data validation only'.




if infile-status = 'R'. "status revoked


   write: /001 'Mandate:',infile-sepa_mndid,'Revoked mandate skipped'.

  1. else.


data: p_usage type SEPA_MANDATE_USE,

h_sel_criteria like SEPA_GET_CRITERIA_MANDATE,


wa_mandates LIKE LINE OF h_mandates,

h_emessage like BAPIRET1,

h_mandatesfail type SEPA_TAB_MANDATE_KEY_EXTERNAL,

h_usedate(8) type c.


if not infile-usedate is initial. "input is YYYY-MM-DD

  replace all occurrences of regex '[^0-9]' in infile-usedate with ''.

concatenate infile-usedate+4(4)



            into infile-usedate.

*write: /001 'last used date:',infile-usedate.

  h_usedate = infile-usedate.

* Get the GUID of the mandate

  h_sel_criteria-snd_type = 'BUS3007'.

  h_sel_criteria-mndid = h_mndid.

  h_sel_criteria-anwnd = 'F'.



      I_SEL_CRITERIA     = h_sel_criteria


      ET_MANDATES        = h_mandates

      E_MESSAGE          = h_emessage

      ET_MANDATES_FAILED = h_mandatesfail.

  if h_mandates is initial.

    write: /001 'Mandate:',h_mndid,

          'not migrated to SAP'.


    read table h_mandates into wa_mandates index 1.

    p_usage-MANDT = '360'.

    p_usage-MGUID = wa_mandates-mguid.

    p_usage-USE_DATE = h_usedate.

    p_usage-USE_DOCTYPE = 'BKPF'.

    concatenate '0668 9999999999 ' p_year into


      if p_test <> 'X'.

        call function 'SEPA_MANDATE_ADD_USAGE'


            i_usage = p_usage.

        commit work.


        write: /001 h_mndid,p_usage-MGUID,h_usedate,









With a few recordings and some standard function modules, it is possible to migrate SEPA mandates (including usage information) with LSMW.

This blog also gives an example of how to use a dummy recording and direct update in LSMW



Although SAP currently promotes “best practice data migration” using Business Objects Data Services, LSMW is still the tool of choice for many projects.

LSMW is free and simple to use and handles many things more or less automatically.

In this and other blogs I want to share some of my experiences from recent projects. I am not a programmer so any ABAP code that I show will not necessarily be the best that could be used. However, data migration is a one-off so it usually isn’t important if the code is beautiful and efficient (unless of course you have very large data volumes). I am assuming that you are already familiar with LSMW. If you are a beginner then there are plenty of other SCN posts that will help you.


How many LSMW programs to create a SAP project?

There is no standard SAP program, IDOC or BAPI available for the creation of a SAP project and its WBS elements, so recordings have to be used. The project builder transaction CJ20N is an “Enjoy Transaction” and is therefore not recordable.


The common approach is therefore to use CJ01 to create a project header and then to use CJ02 to add WBS elements. The question that then arises is how many recording and how many LSMW programs to use.


I adopted the classic approach of first creating the project header in LSMW and then separately adding the WBS elements.

The problem with adding WBS elements is the positioning of the cursor. The elements are added in a table and with an LSMW recording you can’t reposition the cursor with program code. Typically when adding records to a table, you need as a minimum to have a recording to add the first element and a recording to add subsequent elements. For WBS elements you only need these two recordings if you set them up correctly. These two recordings can be combined into a single LSMW program.


The reason that I am writing this blog is that I have seen examples with 3 or 4 separate recordings and LSMW programs being used and this seems unnecessarily complicated to me.


So, in order to add WBS elements to the projects created by a previous LSMW program, you need two recordings of CJ02:

  • Recording to add the first WBS element to a project. This has to be separate because there is no parent WBS
  • Recording to add subsequent WBS elements


Both recordings are included in a single LSMW program. In LSMW on the Maintain Object Attributes screen use the More Recordings button on the line where you add the recording. In the pop-up box you can then add extra recordings:



The “top” recording to add the first WBS element is straightforward. Here are some example screen shots:




The second CJ02 recording is what gives the most trouble. The way to set it up is as follows:

  • On the first screen enter then project and the parent WBS of the WBS element that you want to insert and then press enter, for example:
    • Project = ZB.999999
    • Parent WBS = ZB.999999.001
  • On the next screen which shows some WBS elements press the last page button followed by the next page button. This ensures that the second row of the table is always the place where you will enter the data for the new WBS. (When you do the recording with only your top WBS element present this seems a bit strange, but it’s the way to do it)
  • On the (empty) second line of the table enter the level, the WBS element and the description. Then go to the WBS detail screen either via the menu Details – WBS Detail Screen or CTRL F9
  • Now you can enter data on each of the tabs that you are using. Make sure that you analysed all of the tabs needed before you make the recording to avoid having to redo the recording in the future!
  • When you have entered all the data press the save button


You now need to be a little bit careful with the assignment of field names to the recording. You can use the “default all” button but you must then change some of the field names afterwards. The reason is that POSID on the initial screen is the parent WBS but on subsequent screens it is the WBS that you are adding. You should also be aware that in the separate recording to add the top WBS element, POSID is consistently the WBS that you are adding.


The actual field names that you use don’t really matter as long as you are consistent. In my LSMW I also had some help fields as follows:

  • h_pspid is the PROJECT identification
  • h_posid is the parent WBS
  • h_ident is the WBS to be added

and in the recordings I used the same convention.


Here are some example screen shots of the recording:





After defining the recordings you need to define the input file. The input file for the program should be sorted into the sequence of the WBS elements:

STUFE   C(003)   Level

PSPID    C(024)   Project Definition

POSID   C(024)   WBS Element


The remaining input fields will of course depend on the attributes being used.


Since multiple recordings are being used, we need some ABAP code in the BEGIN_OF_TRANSACTION block:

  • Determine which recording to use. This is easy: If STUFE = 1 then it’s a top level WBS
  • Determine the value for the parent WBS element. Obviously this depends on the template for the project type. For example in my case the level 3 element ZB.999999.001.01 would have a parent element of  ZB.999999.001
  • It is easier to work with these codes without the “.” Symbols. There is a function module CONVERSION_EXIT_PROJN_INPUT which can be used


In my case all of the project types used had the same mask for the WBS structure, so it was fairly easy to code.


We also decided to determine in the LSMW program the values of the operative indicators using logical rules based on the project type.



The indicators were only set at the lowest level WBS element and in order to know if the current element was at the lowest level, I implemented “read ahead” logic. I explained how to do this in a previous blog. With read ahead logic it is easy to decide if we are at the lowest level: if the current level is higher than the previous level, then the previous record was at the lowest level. When read ahead logic is used we test this condition in the BEGIN_OF_TRANSACTION block and write the previous record there.


The LSMW was also designed to handle multiple project types where the attributes that need to be filled (and sometimes their values) differ per project type. In the BEGIN_OF_TRANSACTION block the project profile was retrieved from table PROJ. This can then be used in the coding per field of the recordings. The input file was included the full set of attributes that might be used. In the spreadsheet that users used to provide the input, it was indicated which columns where needed per project type.



When set up correctly you only need 3 recordings and two LSMW programs to create projects and WBS elements. This is easier to manage during data migration.

R. Bailey

LSMW read ahead technique

Posted by R. Bailey May 5, 2015


Although SAP currently promotes “best practice data migration” using Business Objects Data Services, LSMW is still the tool of choice for many projects.

LSMW is free and simple to use and handles many things more or less automatically.


In this and subsequent blogs I want to share some of my experiences from recent projects. I am not a programmer so any ABAP code that I show will not necessarily be the best that could be used. However, data migration is a one-off so it usually isn’t important if the code is beautiful and efficient (unless of course you have very large data volumes). I am assuming that you are already familiar with LSMW. If you are a beginner then there are plenty of other SCN posts that will help you.


One of the advantages of LSMW can sometimes be a disadvantage. LSMW controls the flow of data in the program generated in the convert step. It reads the input records, applies the conversion logic, writes (for each segment if there are multiple segments) a record to the output buffer and, after processing all records relating to a transaction, it writes the transaction. However, sometimes you would like to know the content of the next input record and use this information while processing the current record. Unfortunately when LSMW reads a record, the previous record has already been written and is no longer available. This can be solved by using a “read ahead” technique.


Use cases

Here are some examples of where a read ahead technique might be used:

  • Processing GL bookings with RFBIBL00 using flat file input. Normally you have a header record followed by items and LSMW automatically detects each new header.
  • Processing WBS elements where operational indicators should be set on the lowest level. If the depth of the WBS structure is not fixed then you only know you reached the lowest level when you read the next record.
  • Processing vendor records from a legacy system where there are multiple records per vendor and you need to process all of the records before writing an output record.

All of the above occurred in a recent project of mine. I’ll now explain the technique using the RFBIBL00 example.

Worked Example

If you want to process GL bookings, AR open items or AP open items then SAP provides the standard batch input program RFBIBL00 which you can select in




For the transfer of opening balances in our project the input file provided from the legacy system was a flat file containing a limited number of fields. The Oracle Balancing Segment in the input file is used to determine a Profit Centre. The input account is actually an Oracle GL account which is converted using a lookup table in LSMW.



The input file is sorted by Company Code, Currency Key and Oracle Balancing Segment. A separate GL document is written for each combination of these values. The document is balanced by a booking to an offset account. If the balances have been loaded correctly then the balance of the offset account will of course be zero. During testing the GL conversion table was incomplete so some code was added to allow processing even if some input records were invalid – in this case the offset account will have a balance but we can see what is processed.


The structure relations are as you would expect:



With a flat input file we need to determine for ourselves when the key has changed and we will only know this when we read the next record. Therefore we change the flow of control in the LSMW program so that we can "read ahead" to the next record.


LSMW normally writes an output record in the END_OF_RECORD block and a transaction in the END_OF_TRANSACTION block. With the read ahead technique we do this in the BEGIN_OF_TRANSACTION block. At this point we still have the previous converted record and the next input record is also available so we can check whether there is a change of key. There are two things that have to be handled:

  • When processing the first input record we should not write any output
  • When we get to the end of the input file the last record hasn’t been written and we won’t come back to the begin block so the last record won't get written


Let’s now look at the code for each block. Since an offset booking has to be written at various places, the code for this has been put into a FORM routine.




* On change of company or currency code a new document is needed

* We write the balancing entry of the prior document here and

* a new header at end of record for BBKPF

if not prev_bukrs is initial and ( infile-bukrs ne prev_bukrs or

   infile-waers ne prev_waers or infile-balseg ne prev_balseg ).


  h_writehdr = 'X'.    "Check this at end of BBPKF record



We have defined some variable to contain the previous key field values: prev_bukrs, prev_waers and prev_balseg. When we read the first record these have an initial value. Otherwise if the value changes the we write the booking to the offset account and set a flag to write the header record for the new document.




* at_first_transfer_record.

if g_cnt_transactions_read = 1.


  1. endif.

if g_cnt_transactions_group = 5000.

  g_cnt_transactions_group = 0.




BGR00 is the batch input session record. This is the standard coding except that we replaced the “at first” test with a test on count of transactions read.




* On change of company, currency code or balancing segment

* start a new document

if h_writehdr = 'X' or prev_bukrs is initial.

* check prev_bukrs to get first header


  h_writehdr = ''.


* Set previous values here

  prev_bukrs = infile-bukrs.

  prev_waers = infile-waers.

  prev_balseg = infile-balseg.


BBKPF is the document header. We write a header for the first record and whenever the key changes. We also update the previous key values here.




if g_skip_record ne yes.


* Update running totals for the balancing item

  if INFILE-NEWBS = '40'.

    g_wrbtr_sum = g_wrbtr_sum + h_wrbtr.

    g_dmbtr_sum = g_dmbtr_sum + h_dmbtr.

  else. "Posting key 50

    g_wrbtr_sum = g_wrbtr_sum - h_wrbtr.

    g_dmbtr_sum = g_dmbtr_sum - h_dmbtr.


  g_item_count = g_item_count + 1.

  if g_item_count = 949.   "Split the document after 949 items


    g_item_count = 0. "Reset the item count after writing record

    transfer_this_record 'BBKPF'.  "Write header for next block




If the record is valid (our program contains various validity checks) then an output record is written and the cumulative value in local and foreign currency is updated. This coding block also contains a document split. If there are more than 949 items then a balancing entry is written followed by a new document header.




if g_flg_end_of_file = 'X'.




This is were we handle the problem of the last record. LSMW contains a number of global variables and a useful one that is not included in the LSMW documentation is g_flg_end_of_file. When this has value X we have reached the last record and a final offset booking should be written




  if g_wrbtr_sum ne 0 or g_dmbtr_sum ne 0.


* Offset entry not required if the document balances!

    bbseg-newko = p_offset.  "Use suspense account

    bbseg-zuonr = 'DATA MIGRATION'.

    bbseg-sgtxt = 'Balancing entry'.

    bbseg-prctr = h_prctr.

    bbseg-xref2 = '/'.  "Ensure this is empty here

    bbseg-valut = '/'.  "Empty on the offset booking

    bbseg-mwskz = '/'.  "Empty on the offset booking

*  bbseg-xref1 = '/'.  "Empty on the offset booking

    if g_wrbtr_sum ge 0.

      bbseg-newbs = '50'.    "Credit entry

      bbseg-wrbtr = g_wrbtr_sum.


      bbseg-newbs = '40'.    "Debit entry

      bbseg-wrbtr = - g_wrbtr_sum.


    if g_dmbtr_sum ne 0.

      if g_dmbtr_sum ge 0.

        bbseg-dmbtr = g_dmbtr_sum.


        bbseg-dmbtr = - g_dmbtr_sum.



    translate bbseg-wrbtr using '.,'.

    translate bbseg-dmbtr using '.,'.

    g_wrbtr_sum = 0.

    g_dmbtr_sum = 0.

    g_skip_record = no.  "LSMW carries over status of previous rec!!

    transfer_this_record 'BBSEG'.




There is no need for an offset booking if by chance the document already is in balance. Otherwise we create the offset booking. The offset account is an input parameter in our program and some other fields have fixed values. Our system is configured to use decimal comma so we need to change the value fields to what is expected on an input screen. At the end we write the balancing record and the transaction.



This is a simple technique that can be useful in a variety of situations.

Surprise for Kernel version 7.21 patch level 500 !


Today, I started applying EWA report actions to ne of my ABAP stack SAP systems. Since kernel was out of date, I checked download center whether there was a new patch or not. Luckily there was nw version 7.21 patch level 500. It was very fresh on download page and was released today.

I downloaded SAPEXE_500* and SAPEXEDB_500* immediately.


As it is always done I extracted both SAR files into a folder and copied extracted files into NTAMD64 folder with overwrite option.

Then I started my system. It didnot become all green, dispatcher was in Dialogue Queue Standstill status, there were no work processes seen on management console. I could see all wps that were started, using Task Manager processes tab page but they were not coming to management console AS ABAP WP TABLE. Besides this inconsistency I could login to system without any warning etc, too.




There was inconsistency and strangeness in the system.

When I checked SAPCAR command (used with -xf parameter) I realised that extraction did not finish successfully for SAPEXE file. So I redownload SAPEXE file 2-3 times thinking that there was an error in downloading (SAPEXE filesize incresed in later downloads) . But the same error occured each time for SAPCAR command. Something was wrong with the file not with downloading.


I tried download manager for downloading but there was also an oddness in DM. I have seen "You are not authorized to…" message. How could it be I downloaded the same file few minutes ago.


After this message, I decided to check the download page. What was the problem of SAPEXE file.


And there was a surprise waiting for me. SAPEXE*_500* files were withdrawn by SAP guys.


I was surprised. This was the first time I have met with a damaged kernel file.

A damaged file was released for all customers!

How could this be? I could not imagine.

Wasn't there a quality control?

This could not be done but it happened to me.


I have been checking download site for the files but they still did not appear.

Looking forward to 500.


I hope this kind of things will not occur again.



Hi fellows,


I want to share with you an experience about milestones after Go Live in business where I work.


We gone out Golive 9 months ago, since then we had many problems with: Users, Internal Communication, Process Speed and Productivity. Additionally the business was changed their natural process for another process. As the days the problems was increasing.


The CEO of the factory, is a person very very committed with the process and with SAP System, and always towards meetings for the purpose of communicate to all managers the importance to use SAP correctly, however after the meeting clutter return


In that moment was when I take awareness to the importance of Change Management, we had all day all days supporting different areas such as FI, CO, PS, MM, SD, PP, PM, ETM, HCM, QM.


After that and towards days, we start a program to had as core the Change management, with this tool was evident the improve in:


- Process

-Staff Communication

-Performance Workability

-Knowledge of process & business


Simply wanten to share this experience about impotance of tools as Change Management that are very interesting and helpful for our work


Currently we are designing Roll-Out to another centre of the Company and going to start to implementing WPB, surely considering The Change Management in book Lessons Learned



In December 2014, I had the chance to attend a press/analysts presentation at Cirque Du Soleil’s HQ on their Cloud adoption and overall IT strategy. Thanks SAP for the invite.



Even if I am from Montreal and that Cirque is a client of ours, I was very surprised to see the level of maturity of the client and their path forward.



First it was presented the current Success Factors adoption by the client.  SuccessFactors apps were being deployed fast and across departments. The reason were 2: a fit with the out of the box solution and the simplification of cloud consumption.



Another very important point presented was the adoption of the Ariba sourcing tool. I can’t recall the number exactly but it was a very large part of the high dollar RFQ sourcing now processed in the Ariba tool. Most of Freight and hotel sourcing. This is huge!  It was by far the highest adoption I saw to date.



But what caught my attention the most was that the customer has reached a point in their evolution that it realizes the importance of sticking to standard processes. What we often refer to “Vanilla” in SAP, actually yields much faster adoption, leaner/simpler deployments and best position to benefit from future functionality. In the SAP market, SAP ERP, with its incredible flexibility, has allowed us to design solutions very “tailor made”, processes very custom and unique solutions. Do the custom processes, often referred to as “competitive advantage”, really pay off? Customers often look only to the development cost of building a custom solution. But it actually costs a lot more than that. We should factor in the upgrade hickups/retests/adjustments and more importantly, the fact that the customer may, often, end up on the wrong track (bad designs etc.).



The head of Cirque’s Procurement clearly manifested the importance of returning to Standard. They are impressed by how much value can be taken from little investment by using the out of the box cloud apps but also they think that returning to standard processes will allow them to further integrate with the Ariba Network.



I wanted to bring the point about return to standard because SAP is introducing a lot of innovation these days. S/4HANA is a huge game changer. Even the base ERP on HANA brings a lot of benefits. But both will prove challenging to migrate to for very customized customers. In the case of S/4HANA, the benefits of Guided Configuration and the newly delivered Fiori apps will be much better adopted by customers close to standard and best practices.



Will 2015-2016 be the year where customers will start seeing the challenges of running very customized solutions? Wasn’t the adoption of out-of-the-box solutions the initial motivation to jump into SAP in the first place?


DISCLAIMER: This is not a challenge ONLY for SAP customers. In fact, any customer that runs a packaged software will face the dilemma of Standard vs customized. It is just that SAP is introducing so much innovation that these customers will be the first to realize it.

In many projects, we have had the need to have status management for our application. Many a times, we end up creating a new framework or functionality for the same, not knowing there is a standard feature for the same. Here is what you will need to do to configure and set up a new one.


  1. Define a new Object type (Tcode BS12)

Create a new object type which identifies a status object.



2. Maintain status profile (BS02)

Create a new status profile, which can be made up of one or more statuses. Each status has a number and you shall also specify the lowest and the highest status you can navigate to from here. It is not possible to specify minor status transitions like from A you can move to C and not D, but if you place the statuses in the right order, it should be possible to carefully define such transitions.



3. Maintain Business transactions (BS32)

The business transactions are like actions in the system. Some of the actions are possible only in certain statuses, and some of them can also cause a status change.





4. Business transactions valid for Object type

In TcodeBS12, double click on the object type, select all the business transactions that are eligible for this object type.



5. Transaction Control

In BS02, double click on each of the status configured to define the transaction control

It is possible to specify which business transactions are possible in a given status and which are not.

As a second step, it is also possible to specify that a certain transaction sets a certain status.




ABAP Code for status transition:

**Run business transction in simulation/update mode



check_only           = iv_simulation_flag

objnr                = lv_objnr

vrgng                = lv_biz_transaction


activity_not_allowed = 1

object_not_found     = 2

status_inconsistent  = 3

status_not_allowed   = 4

wrong_input          = 5

warning_occured      = 6

OTHERS               = 7.

IF sy-subrc <> 0.

MESSAGE e075(zawct_msg) WITH lv_biz_transaction INTO lv_message.

PERFORM bapi_message_collect CHANGING et_messages.



I see many questions posted in SCN could be resolved by a single note or KBA.  Considering the amount of notes/KBAs, I know that it could be quite difficult to find out the right note/KBA to resolve a specific problem.  So I'd like to share some tricks and experiences to search for the suitable notes/KBAs.


Where is the Note/KBA search tool?

  1. Go to the link :Home | SAP Support Portal
  2. Click the link "Note and KBA  search tool" on the right
    support portal.png
  3. Click the button "Launch the SAP Note and KBA search"
    search tool.png
  4. The search tool will be opened.
    search criterias.png

What search options can be used?

  1. There are 3 checkboxes for option "Language": German, English and Japanese

    If the deveopers are located in Germany, they tend to write original notes in German and then translate the notes to English or Japanese.  Since translation may need time, if you search with the option English or Japanese, you may not get a full list of the newest notes/KBAs.
    So my suggestion is :
    If you can read German and you know the developers for the application area is located in Germany, use the language "German" to search. 
    If you cannot read German, but you suspect this is a new bug/error which should have been covered by a note, you can still search with the language "German", but search with key words like program name, field name, error message number etc.
  2. Choose your search terms carefully.

    Use error message number instead of short text.
    If an error occurs, you can find the error message number in the long text by double clicking the error.  For example, search by "CP466" or "CP 466".
    Use field technical name instead of field description
    For example, use ELIKZ instead of "delivery completed".

    Use full name instead of abbreviation.
    eg. purchase requisition instead of PR, planned independent requisition instead of PIR

    Use function modules/programs if you know which is called and is behaving strangely
    eg. error occurs when converting planned orders to production orders, the function module CO_SD_PLANNED_ORDER_CONVERT is called.

    Use different t-codes
    eg. although error occurs in CO02, you can also try to use t-code CO01 during search.

    For short dumps, use the key words suggested in the dump.
    You can usually see the following statement in the dump:
    If the error occures in a non-modified SAP program, you may be able to find an interim solution in an SAP Note. If you have access to SAP Notes, carry out a search with the followingkeywords:
  3. Choose a right application area to restrict the selected note/KBA numbers, or do not enter the application area to expand the selection to all components (this could be useful if you don't know the right component or the issue crosses many applications).
    You can simply use a wildcard * after a main application (eg. PP* or PP-SFC*) if you are not sure about the sub-components.
  4. Choose the validity of your system release in the field "Restriction" by selecting "Restrict by Software Components".
    If the problem only appears after a system upgrade, it's better to specify your system release to filter out old notes.
    For example, you can find your own system release by t-code SPAM.  Click the button "Package level".  Usually for application areas like PP, QM, you should look for the component SAP_APPL.
    package level.png
    During search, input the software component, release from, release to. ( "From support package" is optional.)
    Here is the result from above search criterias:
  5. Choose a note/KBA category.
    If you are just looking for some explanation of system logic, you can choose category consulting and FAQ.  They usually don't include any coding.
    If you suspect a system error(for example issue only appears after system upgrade), you can choose category "program error " "modification".  They usually contain correction codes.



Common questions regarding notes/KBAs:


The note contains code corrections.  How can I see the codes?

Take the note 1327813 for example.

In the section " Correction Instructions", you can find a correction number corresponding to the valid system release.  Click  the number. A new window will be opened.  You can then click the object name to see the codes.correction instructions.png



How do I know if the note is valid for my system?

Take the note 1327813 for example.

See the section "Validity".  It shows the main SAP_APPL release for which the note is valid.
See the section "Support Packages & Patches".  It lists the exact SP and patch that imports the note.  If your system release is lower than the listed SP and patch level, the note should be able to be implemented by SNOTE.
sp and patch.png

The note includes Z reports.  How to implement it?

Many notes contain Z reports to correct inconsistencies. For example the notes listed in blog Often used PP reports in SAP Notes

These Z reports usually cannot be imported by SNOTE.  You have to create them manually in t-code SE38 and copy the source code in the notes.


Where are the related notes?

In the section "References".  You can see which notes are referenced to and referenced by.  Sometimes they can be quite useful to see other related notes.


Also refer to the following KBAs about searching notes/KBAs:


2081285 - How to enter good search terms to an SAP search?

1540080 - How to search for KBs, KBAs, SAP Notes, product documentation, and SCN


Amazing tool for automatic note search:


I have to mention the amazing tool which enables automatic note search.  It enables the user to find out which note correction is missing on your system automatically.  See the following note:

1818192 - FAQ: Automated Note Search Tool


Be aware that this tool can only find notes with correction codes.  So if you are looking for consulting and explanatory notes/KBAs, you still have to use the tips above to search by yourself.


Tips to search on SCN, see document:

My tips on searching knowledge content the SCN

We are present the installation of SAP System with a high availability for ABAP Instance:

This installation will be on Windows Server 2012 R2 as a platform and a SQL Server 2012 SP1 as adatabase level.

we well use Software provision manager 0.1 SP 06 and Kernel 7.2:

also we are divided this installation to the following Parts:

Part 1- Install SQL Server Cluster.

Installing SAP HA on SQL Part1: Install SQL Server Cluster.

Installing SAP HA on SQL Part1: Install SQL Server Cluster step2

Part 2- Install First Cluster Node.

Install First Cluster Node.

Part 3- Install DB instance.

Install DB Instance

Part 4- Install Additional Cluster Node.

Part 5- Install Central Instance.

Part 6- Install dialog Instance.

We will start directly now in Part 4- Install DB instance.


By using Software provision manager with last update (Uncar it) and Kernel last update for the same version an start by:

Choose system copy --> MS SQL Server --> Target System Installation --> High-Availability System --> Based on AS ABAP --> Install Additional Cluster Node.

Additional Cluster Node 01.PNG

At the first step, you must choose cluster group which you are created it in Install First Cluster Node. and choose the local driver on additional cluster driver to install local instance on it.

Additional Cluster Node 02.PNG

Enter the password for SAP System administrator and service user.

Additional Cluster Node 03.PNG

Specify the Unicode Kernel Netweaver location and select it.

Additional Cluster Node 04.PNG


Additional Cluster Node 05.PNG

Additional Cluster Node 06.PNG

In this step you must configure your Swap Size as recommended.

Additional Cluster Node 07.PNG


Additional Cluster Node 08.PNG

Here you can choose the domain which the sap system accounts for SAP Host Agent created on it.

Additional Cluster Node 09.PNG

Enter the password for the operating system users on additional node.

Additional Cluster Node 10.PNG

In this step, You must enter the instance number for Enqueue Replication Server.

Additional Cluster Node 11.PNG

This is the summery for all customizing installation selection before start in installation.

Additional Cluster Node 12.PNG

Start installation additional Cluster Node.

Additional Cluster Node 13.PNG


Additional Cluster Node 16.PNG

Said Shepl

Install DB Instance

Posted by Said Shepl Dec 9, 2014

We are present the installation of SAP System with a high availability for ABAP Instance:

This installation will be on Windows Server 2012 R2 as a platform and a SQL Server 2012 SP1 as adatabase level.

we well use Software provision manager 0.1 SP 06 and Kernel 7.2:

also we are divided this installation to the following Parts:

Part 1- Install SQL Server Cluster.

Installing SAP HA on SQL Part1: Install SQL Server Cluster.

Installing SAP HA on SQL Part1: Install SQL Server Cluster step2

Part 2- Install First Cluster Node.

Install First Cluster Node.

Part 3- Install DB instance.

Part 4- Install Additional Cluster Node.

Part 5- Install Central Instance.

Part 6- Install dialog Instance.

We will start directly now in Part 3- Install DB instance.

We must to be prepare our DB source, however DB backup or Export DB by uesing SWPM export tool.

You must download Software provision manager with last update (Uncar it) and Kernel last update for the same version an start by

Choose system copy --> MS SQL Server --> Target System Installation --> High-Availability System --> Based on AS ABAP --> Install DB instance.

DB Instance 01.PNG


DB Instance 02.PNG

We will choose standard system copy/Migration (load-based) because we use export DB tool

If you restore your DB using SQL Server, you can use another choice Homogeneous system copy


DB Instance 03.PNG

Choose MS SQL server instance name which you are created it during installing SQL Server Cluster.

DB Instance 04.PNG


DB Instance 05.PNG

In this step, we will provide sap installation with SAP Kernel CD location.

DB Instance 06.PNG

Choose LABELIX.ASC file for the required kernel.

DB Instance 07.PNG


DB Instance 08.PNG

In this step, we will Provide SAP installation by the location of Export DB which we are import it from the target system.

DB Instance 10.PNG

In this step, you can enter the password of SAP DB schema.

DB Instance 11.PNG

You can choose the required Number of data file according to the number of CPU cores for your server.

as illustrate for large system (16-32 CPU Cores), Medium System (8-16 CPU Cores) and Small System (4-8 CPU Cores).

DB Instance 12.PNG


DB Instance 13.PNG


DB Instance 14.PNG

In this step, you can enter the number of parallel jobs in the same time.

DB Instance 15.PNG

In this step, you select the kernel database .sar file to unpack it in the kernel directory.

DB Instance 16.PNG


DB Instance 17.PNG


DB Instance 18.PNG

We are received the following error during installation

DB Instance 20.PNG

We are use the following link and SAP Note 455195 - R3load: Use of TSK files to solve this issue:

SWPM: Program &amp;#039;Migration Monitor&amp;#039; exits with error code 103&lt;/title&gt;&lt;script type=&quot;text/j…

DB Instance 25.PNG

The problem is solved and installation is go on.

DB Instance 27.PNG


DB Instance 29.PNG

In this step, illustrate that the installation has complete successfully.

DB Instance 30.PNG



Said Shepl


Filter Blog

By author:
By date:
By tag: