cancel
Showing results for 
Search instead for 
Did you mean: 

how to pass the selected data of a table to SAP(R/3)

Former Member
0 Kudos

Hi all,

I have a table with 2 colums and 10 records.Now i want to send the selected record to the R/3.

Once the user checks the checkbox i retrivred the colum values of that row into a string array.

and i added all the string arrays to an AbstractList.

Now in function module it is giving as setT_Operations(AbstractList)

but it is giving error..can u plz tell me how the function module understands the individual String arrays

Regards

Padma N

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hey try to accept the values of a column as import parameters to a BAPI and you can send the data.But this will work out for a single data.

In the BAPI insert the data making use of insert command.

ITAB-COLUMN1 = IMPORT PARAMETER 1.

ITAB-COLUMN2 = IMPORT PARAMETER 2.

INSERT INTO VALUES ITAB.

If you want to insert multiple records then you have to change the cardinality of the node.And add the node elements to the node.If any doubts then do reply.

Answers (0)