Skip to Content
Technical Articles
Author's profile photo Dipankar Mohanty

SAP IRPA : Purchase Requisitions creation using tcode me51n – Part 1

Use Case

Purchase Requisitions creation using tcode me51n

In the SAP GUI, me51n transaction code is used for creating Purchase Requisitions (PR). Creating a PR manually is a tedious and monotonous task hence using iRPA will make the user free from this time taking and repetitive process.

I have broken the Use Case into 2 parts.

Part 1: – Exploring the iRPA Desktop studio features and leveraging the GUI Connector support which makes the connection with SAP GUI seamless. Creating a PR from a pre-defined entry.

Part 2: – Collecting user input in an excel and on creation of PR displaying them in an excel.


Overview of Workflow




Steps Done –

  1. The BOT launches the SAP GUI application and selects the desired system.

  1. The credentials are entered automatically in EC1 system.

3. Me51n transaction is entered

4. Values are entered in the respective desired field and the document is checked

  1. Document- PR is created successfully.



This blog post shows the creation of PR in SAP GUI leveraging the desktop studio features and in the next part the integration with excel and creation of PR from the user entries will be shown.


Peter Engel  : Thanks for all your help.


Dipankar M

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Edgar Chavez
      Edgar Chavez

      Hi Mohanty,

      i am facing popup of ERP when working in TX ME21N , you facing with this case  and  how solved?

      Thanks u



      Author's profile photo Dipankar Mohanty
      Dipankar Mohanty
      Blog Post Author

      Hi ,

      Could you please translate the message in the dialog ? would be easy for me to understand.



      Author's profile photo Edgar Chavez
      Edgar Chavez

      Hi Dipankar.


      I want click in grabar is equal a save in the dialog, for create the tx.

      ignore the message in the dialog, please…




      Author's profile photo Ravikumar Billa
      Ravikumar Billa

      how do we pass values to the sap screen in step 4 , is it from excel or manually we need to pass when its running