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: 

Problem while calling F-04 through BDC

Former Member
0 Kudos

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.

1 REPLY 1

Venkat_Sesha
Advisor
Advisor
0 Kudos

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