Questions tagged [bapi]

BAPIs (Business Application Programming Interface) are specific methods for SAP business objects, which are stored in the Business Object Repository (BOR) of the SAP system and are used for carrying out particular business tasks.

BAPIs (Business Application Programming Interface) are specific methods for SAP business objects, which are stored in the Business Object Repository (BOR) of the SAP system and are used for carrying out particular business tasks.

In an SAP system, BAPIs are stored as RFC enabled function modules and can be accessed through the Function Module Builder. Standard BAPIs can be called in ABAP developments like a standard function module and as they have remote function call enabled, they can be used to integrate SAP with external systems.

Useful Links:

Related Tags:

209 questions
2
votes
1 answer

Is BAPI an interface or a conversion tool as per RICEF?

I initially thought BAPIs were categorized as an interface, however, after reading about BDC on the scn wiki, I learned that BAPIs should be used over BDC when bringing in data whenever possible. "BDC was a great way of uploading data into SAP in a…
Bilal Saleem
  • 633
  • 4
  • 8
2
votes
2 answers

Change Payment Block programmatically in MIRO tcode?

Is it possible to change the payment block via a BAPI, FM or code?
Eric S
  • 133
  • 1
  • 8
2
votes
2 answers

Get Quality notification attachments

So I'm working on a small program that will extract Quality Notification data from ECC. So far I've used the standard "BAPI_QUALNOT_GETDETAIL" to extract the textual data of a notification. What I want to do is to extract the attachments also which…
Isuru
  • 3,044
  • 6
  • 30
  • 39
2
votes
2 answers

Is there BAPI equivalent to transaction CKMM?

Is there a BAPI equivalent (or function module equivalent) to SAP transaction CKMM? The goal is to change the price determination programmatically. Everything I found is about updating price but not about updating price determination in material…
Gerd Castan
  • 6,275
  • 3
  • 44
  • 89
2
votes
2 answers

How to copy a lot of code to a different company

I have a set of ZBAPI structures on a server of a company in which we developed and installed a custom application. I am having to use a lot of the same BAPIs in the same application for a different company. Is there any quick way in which I can…
2
votes
1 answer

How to initially fill a WebDynpro table bound to a BAPI call result?

I am fairly new to webdynpro abap and have the following problem: I created a service returning a set of all existing customers. This function works well, if i test it in a litte program simply printing out the lines. now I created a webdynpro…
Philipp Andre
  • 997
  • 3
  • 11
  • 18
2
votes
1 answer

MB_CREATE_GOODS_MOVEMENT returns subrc = 5 when running BAPI_GOODSMVT_CREATE

Using me21n to do a returns purchase order (credit) we are getting a pretty uninformative error text in the return table when creating a MIGO entry. This is an enhanced step on the user exit. BAPI_GOODSMVT_CREATE returns; 1, E, WRF_CONS, 010, No…
Dan
  • 92
  • 10
2
votes
0 answers

Calling OLAP BAPI from C++

I am trying to use SAP OLAP BAPI for a very simple task. I want to connect to a SAP BW server, send an MDX query, get the result and disconnect. While I seem to have no problems connecting and disconnecting from the server, sending a query and…
Valeri Kim
  • 21
  • 1
2
votes
2 answers

Integrating Magento with SAP ECC 6.0 Backend

I'm a freshly graduated (read: inexperienced) developer who's been tasked with determining the feasibility of integrating Magento with an SAP-based backend. No developer at our company has any experience working with either SAP or Magento, so I was…
ikarous
  • 165
  • 3
  • 7
2
votes
2 answers

Example program to insert a row using BAPI with JCO3

I am trying to "insert" (or) "add a row" to Purchase Requisition using standard BAPI (PurchaseRequisition.CreateFromData). I am using JCo3. The example in JCo3 indicates that we should use table.appendRow() or table.insertRow() methods. I am trying…
Gana
  • 482
  • 3
  • 11
  • 32
1
vote
1 answer

Setting value of BAPI structure?

it's my first time using a BAPI and API to get data from an ABAP system, my problem is that I don't know how to send a specific entry (ORDER_OBJECTS) see below : these are my BAPI entries : and this is the ORDER_OBJECTS : for now I can send the…
Charaf
  • 23
  • 4
1
vote
1 answer

Is there a way to fill BAPI X structure automatically?

I am trying to create an API allowing user to change certain fields of a notification. The changes will be written using a BAPI BAPI_ALM_NOTIF_DATA_MODIFY. I have ls_struc1 that contains all fields I am publishing in the API. Is there a way to set…
Fleich89
  • 11
  • 1
1
vote
1 answer

Long texts are not changed via BAPI_MATERIAL_SAVEDATA?

I have a problem with my BAPI. I want to write a program to massively read out and change material long text in SAP, but somehow I cannot read out the table and change data. As you see, I tried changing some data in and this works. If I try to get…
mplnck
  • 31
  • 5
1
vote
2 answers

BAPI_GOODSMVT_CREATE with multiple material numbers and same PP order?

As I know of, When you're using BAPI_GOODSMVT_CREATE at the same time(by loop or just coincidence), Using same material number puts you an error about locked object (Material XXXX is locked by USER YYYY). But, as i know of, using…
1
vote
1 answer

How to update custom fields in PLM project definition?

I am required to create a custom report that bulk uploads the PROJ table, that has around 8 custom fields that have been created by a Fiori app, the data to be updated would be provided as a CSV file and would have the project id for which the data…
Bhanu
  • 11
  • 1
1 2
3
13 14