Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI Execution in SWO1

vivekkrishnan
Active Participant
0 Likes
646

Dear all,

We have created an object type in SWO1 and also linked it with the function module.

When we are executing the BAPI from SWO1 the values are not populated in the internal table.

Regards,

Vivek K

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
557

Hi Vivek,

why dont you execute that BAPI in se37. try it once and get back if you have any queries.

Regards,

Younus

<b>Reward Helpful Answers:-)</b>

Dear all,

We have created an object type in SWO1 and also linked it with the function module.

When we are executing the BAPI from SWO1 the values are not populated in the internal table.

Regards,

Vivek K

2 REPLIES 2
Read only

Former Member
0 Likes
557

Hi,

go to transaction SWO1, enter BUS2032 and click display. This is the BO for sales order. You can now see a tree structure, open the methods node, lets say that we want to create a sales order, double click on the method, SalesOrder.CreateFromData2. This is the newest version of this method, you see in the dialog, there is a tab for "ABAP', click this.

You can see the name of the BAPI here. In order to call this BAPI in your programs, you can simply use the Patturn button in the editor for call funciton modules, enter the

BAPI name and click green check mark. Of course, you will have to pass certain things to the BAPI

Regards

Read only

Former Member
0 Likes
558

Hi Vivek,

why dont you execute that BAPI in se37. try it once and get back if you have any queries.

Regards,

Younus

<b>Reward Helpful Answers:-)</b>