Application Development and Automation 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: 
Read only

Buffer issue: Using same FM twice in the report causing buffer issue

Former Member
0 Likes
349

Hi guys,

I'm using FM "BBP_PD_PO_GETDETAIL" twice in the same report.

  

1. By using this FM, I retrieve Partner details using PO and update partner tables with some new requestor name.

 

    Example: changed requestor name (partener function - 16) from 'TESTuser1' to 'TESTuser2'.

I used "COMMIT WORK AND WAIT. " statement after updating in partner table.

  

2. when I call the same FM second time to see the updated partner information, it is showing up still with old value, ie (TESTUSER1)

    When I execute the same FM separately in another screen, it is showing up with new value "TESTUSER2".

 

I think while executing in the report, the first step values are stored in some buffer and pulling the same old information for this PO when I called second time.

 

How can i clear this buffer and retrieve the latest partner information from this FM for the same PO ??

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
301
1 REPLY 1
Read only

RaymondGiuseppi
Active Contributor
0 Likes
302