2016 Mar 25 9:36 AM
Hi All,
I have created a table control in screen 8309 of program SAPMV45A. After creating the table controls i am getting errors for missing entries in tables T185 and T185V.
When I maintained the entry as per the below picture, the error was removed. But the problem is on pressing enter/insert/delete/save.... the control passes back to the screen 4900( the data does not disappears). This is very annoying and I need to correct it. this is happening because of module -
FCODE_BVFP_V.
I tried to set screen/;leave to screen but I get the error - that i cant set the subscreen.
Can anyone please help me. I have wasted a lot of time in this , but not getting a proper solution to solve it.
2016 Mar 30 5:59 PM
I remove the insert/delete buttons of the table control. Now I am not getting the error messages any more.
Thanks for all the help.
2016 Mar 25 9:57 AM
Hi Raina,
Did you check the available notes?
SAP Note 302497 - Additional cust. fields not displayed in 'Additional data B'
SAP Note 209278 - Display of customer-specific fields in sales docSAP
SAP Note 386694 - Additional data not displayed in screen 8459 and 8309
SAP Note 420546 - Additional data B and transaction variants in sales order
Extrema ratio, check the VBFS transaction
2016 Mar 25 10:14 AM
Hi Simone,
thanks for your inputs.
These notes are not very helpful in my case.
I tried clearing my ok-code also. but it does not help. I suppose it is mandatory to maintain entries in T185, T186V tables.
The problem comes when the flow goes back to the initial screen.
Is there any particular screen sequence to be followed for table control pbo/pai/ sub programs ?
Regards
Meenakshi
2016 Mar 25 10:25 AM
Replying to the screen sequence part - by heart, the table control requires some LOOP AT -style coding in PBO and PAI of the screen. If this is the case, you'd have to make sure the PAI of the subscreen is executed as well (by adding a CALL SUBSCREEN statement smeewhere in the PAI of the 'main' screen)
Not sure this will help you much with your errors though.
2016 Mar 25 10:38 AM
2016 Mar 25 11:21 AM
Yes Simone,
I have maintained my
PAI code - MV45AIZZ
PBO code - MV45AOZZ
data declaration - MV45ATOP
include subprograms - MV45AFZZ
2016 Mar 25 11:32 AM
Is there some set cursor statement in the PBO of screen 4900? And can't you overwrite that in the PBO of screen 8309 (in case of certain user commands of course)?
2016 Mar 25 11:44 AM
yes set cursor is used in the include sub program part - MV45AFZZ . please find the screen shot -
2016 Mar 30 5:59 PM
I remove the insert/delete buttons of the table control. Now I am not getting the error messages any more.
Thanks for all the help.