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

Help in BAPI

Former Member
0 Likes
428

Hi Experts,

I want to create a cutomize BAPI.That has to show all content of CDCHR & CDPOS table. Input parameters are Transaction Code (CDHDR.TCODE) & date (CDHDR.UDATE).

Can anyone help me to do this.

with regadrs,

Silviya T

3 REPLIES 3
Read only

FredericGirod
Active Contributor
0 Likes
412

Hi,

Why do you want a BAPI ? why don't you want a simple RFC ?

Rgd

Frédéric

Read only

0 Likes
412

Hi Frédéric ,

can we use RFC? how? Please explain all steps.

thanks & regards

Silviya T

Read only

Former Member
0 Likes
412

Hi,

Create the function module (using SE37) with your functionality. (Select statement).

Using SWO1 create the business Object, with method with any name, eg get_CDHDR data etc. The method should be configured to point to ABAP (tab) and function module or API function) pointing to earlier FM.

Then assign the function module to method of your Business Object.

Done, your code is now ready.

Regards

Kiran