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

Problem while calling F-04 through BDC

Hi all,

Here is a scenario.

I have developed a custom program where there is a BDC used to call the transaction F-04 to post the residual items. On testing i found something strange which has made me post this communication.

Through debugging, I executed the program and the BDC and found that in the final internal table before the screen F-04 was called, the item number that has to be selected on the F-04 screen is 17 which has an amount 753,000. But when I reached the screen F-04 I found that while selecting the open items, the line item number 17 has a value of 787000 wheras the amount 753000 has the line item number as 16.

The strange thing is that while it was in the final internal table, that item number is correct but when i entered on the screen, i found that the places are swapped!!!!.

However, the entry that was shown on the screen of F-04 is was deleted in the logic even before the final internal table was populated.

Can anyone please let me know if i have missed out something that has to be checked or is it that the system will do its own logic ion the case of F-04?

Thanks for your help.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Nov 21, 2012 at 06:27 AM

    Hi Taarikha,

    The issue is because of Items in the Screen Which is a Table Control.

    You need to handle the BDC Dynpro Field Correctly.

    When you pass the value check the Dynpro Field Value. like POSNR(01) or POSNR(02) etc..

    This value should be passed correctly. Please check on this part.. Hope this helps

    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.