‎2010 Oct 13 8:05 AM
Hi;
I have created the simple bapi..Now is it possible to give multiple values for bapi import parameter.that is if the car is my import parameter then for car i want to give 3 values to that car import parameters...can anyone throw some light on this..
Thanks and Regards,
sapdev10
Moderator message: Hi Omkar, please search for available information/documentation before asking, we will continue to delete your reincarnations as long as you keep ignoring moderator messages and forum rules.
locked by: Thomas Zloch on Oct 13, 2010 10:15 AM
‎2010 Oct 13 8:21 AM
Hello,
Then you have declare the parameter as an internal table so that you can pass multiple values. Also you have to change the BAPI logic to process the data collectively.
Regards,
Karthik D
‎2010 Oct 13 8:23 AM
Hi,
yeh you can pass multiple values to BAPI , but for that you will have to call BAPI in a loop.
eg. if Itab contains multiple CAR, then
loop at itab.
call the bapi.
import
CAR = itab-car
export
call bapi_transaction_commit
endloop.
‎2010 Oct 13 8:25 AM
hi ,
you can use RANGES : r_matkl FOR mara-matkl . in bapi
but not as import parameter .
Regards
Deepak.