Write table to SAP (BAPI, ActiveX...)

Hello everybody,
I have to do a SW that interfaces with SAP. I already have functions to login/out, read/write a single parameter, and read a table (all this trough BAPI ActiveX), but I’m not able to write in a SAP table.
Does somebody already have done this job?
Many thanks for any advice!
(LV2010SP1 or 2014SP1, W7, SAP Business Client 3.5)


Many thanks, nyc, mike, for your responses and interest!
I find SAP doc not so easy to transpose into LabVIEW code...
Error happends like this:
Login SAP: OK (work also in other programs)
Add name of the specific BAPI function to be used: OK (work also in other programs)
Input of several single parameters (strings): OK (work also in other programs)
Input of 2 Tables (2x same VI): see code here enclosed. No error at this point. (never tested in other programs)
Call of BAPI function (code tested OK in other programs) but returns an error "SYSTEM_FAILURE"
Reading some return parameters (code tested OK in other programs, but do not works here because of System_Failure)
Close ref and Logoff  (code tested OK in other programs)
I enclose also in this mail an image showing the main VI (named "Créer contenu HU.vi") making all this procedure. You will see that the error comes after the function call.
I'm not a SAP pro (and far away!), but the SAP specialist has tested the BAPI function (with php?) and the function works. So the first suspect code is the one attached here.
Please ask me if you need more details.
Many thanks in advance, best regards,
SAP Write Table.png ‏52 KB
Créer contenu HU.vi.png ‏170 KB

Read/write table rather than calling BAPI

Hi experts, I need set "Deliv. compl." flag as true . set NOMOREGR='X' when call BAPI_GOODSMVT_CREATE I want to read/write table rather than calling BAPI, but I don't know what's the table,what's the field. who can tell me?  How to find that? I

BAPI-VB, Unable to call method GetDetail of USER Object using SAP.BAPI.1

Hi, I am trying to call SAP Methods using Excel VBA. In the below example, I am trying to get the user details. I can solve this, if I use SAP.Functions object, but not when I use SAP.BAPI.1 object. The Procedure GetUserDetails() works fine, but the

How to Send Internal table to SAP Spool using Function Modules or Methods?

Hi Experts, How to Send Internal table to SAP Spool using Function Modules or Methods? Thanks , KiranThis is my code. I still get the no ABAP list data for the spool, even tho I can see it sp01? REPORT  Z_MAIL_PAYSLIP. * Declaration Part * tables: PE

Transport table entries sap to sap using rfc

Hi Guru's,            I want to write a program for update one table entries of sap system  to onother table of sap system using RFC establishment. If you have any example code kindly give it to me. Thanks & Regards, Lakshman.annamaneniHi, POST - 1 F

Protection of Key SAP HR tables in SAP R/3 Upgrade

Hello, We are upgrading SAP R/3 to ECC 6.0. We have SAP HR, that also needs to be upgraded. Based on this, I have 4 queries, seen below. 1- What are the Pre-reqs and protection of data related activities prior to doing the above upgrade?  2- What are

Creation of tables in SAP R/3

Hi all, I am new to SAP. i would like to know how to create tables in SAP R/3. what is T-code fot that. regards, santoshHi  karthik, thanks, please let me Know , in which tables,The SAP components are get stored. like all infoobjects, infoarea,ods,in

Field symbols for tables used under tables tabstrip in bapi

Hi all, I am created a bapi and under tables tabstrip i have given  3 tables, Inside the bapi , i have written a perform statement which returns these 3 tables . PERFORM bapi_sales TABLES it_valid it_error it_errorc USING testrun. how can we create f


hi friends please give me the information regarding the RELATIONAL DATABASE TABLES IN SAP BW?Hi, See the tables. InfoObjects Table: RSDIOBJ Directory of all InfoObjects RSDIOBJT Texts of InfoObjects InfoCube Tables: RSDCUBE Directory of InfoCubes RSD

How to change the unload priority of a table in SAP HANA?

Hi Experts, How we can change the unload priority of a table in SAP HANA? I know by default the priority is 5. Is there any way so that we can check the unload priority of a particular table in HANA studio? Is there any SQL statement to get the same?

Extracting Values of a Field from a Database Table in SAP ECC System

Hi, I downloaded Extracting Values of a Field from a Database Table in SAP ECC System Using MII 12.0 senario from sdn. I'm trying to do that senario in MII 12.05. But I have problem with section 6 in page 7 (you can supply senario from sdn) "6- Under

How to put data in tables in SAP LogOn

For example,i'm doing company benefits,branching this aspect is Medical leave,taxi fees claims and company insurance,how do i put it inside the tables in SAP LogOn?please help me,thanks=)Hi, Go to SE16 and enter your table name and click on icon in t

Error -2147417851 for example write table to XL

Hi, I want to save array data into excel. I try the example    write table to XL.vi  but error -2147417851 comes out  I have no idea to solve this error. Can anybody help? Thank you very much! Solved! Go to Solution.Oh, here is the example Attachment

Tables of sap directories

Are there any tables which stores the directories? I know USER_DIR but it only shows the user made directories. please tell me.Hi, Checj this link..it can resolve u r problem Re: table containing SAP  directory...... Regards KiranRead other 6 answers

Join between two tables in SAP ( actual sales vs budget sales)

I have one table with  actual data sales in SAP .This table has a name   CE11000 This table contain amounts about : customers ,Products, Quantity of Sales ,amount of sales ,month witch did the sales and the year. The other table from SAP has the budg

Extracting data from Z-table from SAP R/3 to BW

Hi all I want to extract data from a Z-table from SAP R/3 system to Bw system. Currently I am on BW 3.5. Since it is a Z table I dont have a standard extractor for it & I dont knw how to create it. Can anyone provide me with the step-by-step document

Dynamic internal table in SAP 3.1I version

hi All, i am new to this form and have the following question. Currently i am working in SAP 3.1I version and i am required to create a dynamic internal table. Basically the table name will be entered by the user on the selection screen and the dynam

Loading records from .csv file to SAP table via SAP Program

Hi, I have a .csv file with 132,869 records and I am trying to load it to an SAP table with a customized SAP program. After executing the program, only 99,999 records are being loaded into the table. Is there some setting to define how many records c

HR tables in SAP CRM

Hi I wrote a programme for removing and adding roles on mass in ECC6, our security team would now like to have this programme avialble in SAP CRM, where I have come across a bit of a snag. The FM and everything are there ok, but I get an error on the

Is there a way to create "temporary" tables in SAP database?

Hello, Is there a way to create temporary tables in ABAP? Here is our scenario: 1. Invoke a custom RFC that creates a temporary table and returns the name of the table. 2. Invoke another custom RFC and pass this table name as parameter. This RFC inte