Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

error : batch program

Former Member
0 Likes
304

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

1 REPLY 1
Read only

Former Member
0 Likes
280

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