Automatically Fill Test Data in FM & BAPIs for SE37 – The Lazy Way

Understand Automatically Fill Test Data in FM & BAPIs for SE37 – The Lazy Way. We frequently run over many issues with the transfer programs that we create to work with mass transfer. The most exhausting work that I feel is the point at which I need to duplicate the runtime information in SE37 BAPI fields to investigate the issue. So here is a tip to stay away from this manual work. J

Charge Entryways loves Apathetic Designers, as they generally will more often than not track down a Programmed, Fast and Simple method for finishing things. This stunt is from that one Apathetic yet Savvy ABAPer. J

In this article, we will gain proficiency with a little yet supportive stunt of filling the BAPI fields while we troubleshoot the program. Automatically Fill Test Data in FM & BAPIs for SE37 – The Lazy Way!

Following are the means that should be followed:

  1. Set a break-point on Call Function Statement
  2. Execute the upload program
  3. Press F5
  4. Press Services Of The Tool button
  5. Press Save Parameters as Test Data
  6. Give test data name

Allow us to attempt with a basic model. We are having a material transfer program utilizing BAPI_MATERIAL_SAVEDATA. We have set the break-point and executed the exchange.

SE37 Test Data

Press F5 and click on Services of the Tool.

BAPI_MATERIAL_SAVEDATA

Click on Save Parameters as Test Data (SE37) option.

ABAP Tricks

Give a name to the test information variation and snap on proceed with button.

Presently let us check in SE37. Enter BAPI name and execute.

Lazy Developers

Open Test information catalog.

Select the variation made by us already and see the tables loaded up with the qualities from transfer program. J

BAPI test data

Bingo. I’m certain, it is new for the vast majority of us. Trust you loved this intriguing disclosure. The following time, you want to test an independent FM/BAPI in SE37, you know how to naturally populate the information.

YOU MAY LIKE THIS

SAP BusinessObjects

Top SAP ABAP Interview Questions (2024)

SAP ABAP Training Institute in Pune, SAP ABAP Courses Online

WhatsApp WhatsApp us