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

how do display document no. generated while running BDC

Hi all,

I have devloped a BDC for t-code F-43 for passing expenses detail. But in this document created for the enteries is shown below , but i want all the document generated after running BDC should be shown in a screen at the end .

Please help me with the code to display all generated document no.

Thanks in advance,



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Nov 21, 2007 at 03:28 PM

    hi Vivek,

    if you do it with CALL TRANSACTIOn, you can capture all the return messages which will contain the numbers of the just created documents as well. BDC session method is not a solution in this case.


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      For each CALL TRANSACTION, put the messages into the message table; then loop through the table, formatting and writing them to the list. You will end up with a list of all the messages produced by all of the transactions.


  • Posted on Nov 21, 2007 at 03:33 PM

    If you have used SESSION for this BDC, than you can go to BKPF and find out the generated documents.

    WHERE BUKRS = <your_cc>
    GRPID = <your_session_name>.

    Make sure that your session name is unique every time you run your BDC to avoid duplicate entries from the the table.


    Naimesh Patel

    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.