‎2007 Feb 23 6:58 PM
Hi :
I had created a bdc program using call transcation.When i execute in mode 'A',im selecting a record from my ALV list and creating a process order.
but when i execute in mode 'N', it says "no records are seelcted', since im not selecting any record from the ALV .
My recording did not show any field for selecting the record in the batch program, how can i select a particular record from ALV list and execute it mode N'.
Thx .
Rah
‎2007 Feb 23 10:36 PM
Hello,
do you want to process all entries of your alv list or only one entry? How do you know in background task which entry you want to process ?
You can check for batch mode (sy-batch = 'X') and display the alv only in online version. for background task you loop over your alv output table to fill your bdc structure and then process call transaction.
regards sven