‎2008 Nov 28 11:18 AM
Hi Experts,
I am using a FM 'PRICING_SUBSCREEN_PBO' inside a loop.
This FM should work for all the line items in a contract . But my issue is that this works only for the first line item and not populating the required tables . This happens because inside the FM two internal tables are getting polpulated in the first iteration,in the second iteration there are read statements from these tables ,which will end up in exit from FM without populating the required output tables,in case of succesful read statements.
I want all the internal table inside the FM to be cleared after first iteration. What to do.
Is there any way to reset the FM ?
Thanks in advance
‎2008 Nov 28 11:51 AM
‎2008 Nov 28 11:20 AM
hai i think
u have to use commit
after this FM
ie., BAPI_transaction_commit
‎2008 Nov 28 11:27 AM
Hi,
Try refreshing the internal tables used to pass/get values to/from the FM.
See F1 help for REFRESH.
Regards
Karthik D
‎2008 Nov 28 11:32 AM
I have done , REFRESH for all the tables getting values and that passing values into the FM. The FM works fine for the first line item . For the second line item onwards it is not populating the required tables due to some already filled tables inside the FM .
BAPI_TRANSACTION_COMMIT also doent work.
‎2008 Nov 28 11:51 AM