Skip to Content
author's profile photo Former Member
Former Member

bdc and alv bock display

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Dec 26, 2007 at 03:12 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.