Application Development 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: 

bdc and alv bock display

Former Member
0 Kudos

Can anybody help me with this query. since i am a beginner in abap.

this is my requirement

i have to do a recording using shdb(i have done that for xk01 t-code. i have given entries only for the mandatory fields).

then based on that i have to write a code to export data from a flat file on my desktop(presentation server).

i have done till this.

the next requirement is that i have to use alv block display to show a block to display the vendor name and all the records which were populated and success message if records are populated from flat file into the system.

else if i have errors then i have to show another bock containing the error messages. can anybody help me with that?

Edited by: kundan jha on Dec 26, 2007 4:27 PM

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Kundan,

You can do it in one way,

After you call the transaction , just check the return code, if the call success then maintain the table value as 0(success, or your own). and if it fails maintain it as 1.

After total records have been processed, then create an ALV report to show 1 records or 0 records.

Pavan

1 REPLY 1

Former Member
0 Kudos

Hi Kundan,

You can do it in one way,

After you call the transaction , just check the return code, if the call success then maintain the table value as 0(success, or your own). and if it fails maintain it as 1.

After total records have been processed, then create an ALV report to show 1 records or 0 records.

Pavan