on 02-09-2007 8:46 AM
Hi Guys
I want to insert data from a Table( in a View ) to R3.. Though data is getting inserted but only one Row... I want all the Rows to be inserted.. Plz help...
Hi Puneet,
I feel this is a question more on BAPI front !!
I mean the Functionmodule that you are calling should allow this kind of multirow update.Did you test the FM in the backend ??
Check this thread https://forums.sdn.sap.com/click.jspa?searchID=1107779&messageID=2739910
Regards,Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In that read the table context elements one by one.
for(int i=0;i<wdCOntext.nodeTable().size();i++)
{
wdContext.nodeTable.getElementAt(i); //Read eleement
//Read the attributes by using Get wdContext.nodeTable.getElementAt(i).getAttributeValue("<<AtrtibuteName>>);
//Now set the Inputparameters to FM and execute
}
Regards, Anilkumar
Hi Anil
I went through the link..
It says all about how to insert one row of data but not how to insert multiple rows.
i am able to insert one row of data bt not able to insert multiple rows of data at a time so that only one requsition number is generated for all the rows..
Thanks
Monika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anil
The code u have given i guess will call the bapi n number of times..
wat if i want to want to call the bapi once and want all the rows inserted..
m also doing the same one..
Thanks
Monika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.