Skip to Content

Need help in BDC Recording.

The scenario is .

-Create a database table with the parameters from the excel file(tab name , description , domain name etc..)

-The table should be created when the program is executed.

-i use the "N" mode while the program executes.

The requirement is , when the program finishes executing , the table should be created . But While defining the Technica settings and at during final exit , the program displays two modal dialog boxes weather to save the contents or not.

We have to manually click 'YES' button to save it . I tried to auto save by using the code ,

perform bdc_field using 'BDC_OKCODE'


it did n work

Is there any other method to auto save the contents of the values at that two points ??

It works fine in "E" mode.. But i need to run it in "N" mode.

Friends Please help ...

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Aug 08, 2011 at 05:38 AM


    At Clicking Yes, Check the OK Code., or try this for Clicking Yes.,

    perform bdc_field using 'BDC_OKCODE'

    '/00'. " I think by default Yes button is there., So when you use Enter Command It may work.,

    hope this helps u.,

    Thanks & Regards,


    Add a comment
    10|10000 characters needed characters exceeded

    • Sandra Rossi Karthikeyan Chandrasekaran


      you're not on the good track, and sorry to repeat myself, I guess I was not clear enough :

      1) as explained in the official doc, and as I experienced for years, the I message is ignored during the recording and playing.

      2) The explanation why it is displayed (that means you used display mode E) is that the playing has stopped just before because of a COMMIT WORK (see the workaround I have given in yesterday's post). If that's not the reason, then your issue is not part of the standard behavior (that could be kernel error, external error (like SAPGUI error, GuiXT error if you use it in that transaction)), in that case you could contact SAP support.

      I tested on my 7.0 system, passing though this MESSAGE i... line, and couldn't reproduce your error (as I said, it is ignored). So, I would be grateful if you could paste your BDCDATA table (not your code).


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.