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

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

Automatically Fill Test Data in FM & BAPIs for SE37. We often come across many issues with the upload programs that we develop to facilitate mass upload. The most boring work that I feel is when I have to replicate the runtime data in SE37 BAPI fields to investigate the issue. So here is a tip to keep away from this manual work. J

Charge Doors loves Lethargic Designers, as they generally will more often than not track down a Programmed, Speedy and Simple method for finishing things. This stunt is from that one Sluggish however Shrewd ABAPer. J

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

Following are the means that should be followed:

  • Set a break-point on stand by Capability Explanation
  • Execute the transfer program
  • Press F5
  • Press Administrations Of The Apparatus button
  • Press Save Boundaries as Test Information
  • Give test information 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 Administrations of the Apparatus.

BAPI_MATERIAL_SAVEDATA

Click on Save Boundaries as Test Information (SE37) choice.

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 majority of us. Such deceives and tips are the strength. Trust you loved this fascinating disclosure. The following time, you want to test an independent FM/BAPI in SE37, you know how to consequently populate the information.

 

YOU MAY BE INTERESTED

Why is it called rapid prototyping?

Message Processing and Transformation in SAP PO

Effective Code Snippets – Beyond Functionality

 

WhatsApp WhatsApp us
Call Now Button