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: 

Error in MASS PO GET DETAIL....

Former Member
0 Kudos

Hi,

Im fetching the PO Details using the BAPI BAPI_PO_GETDETAIL Function Module. Im trying upload in background execution, Some po's are randomly skipped. How to correct this one...

Regards,

Deepthi.

2 REPLIES 2

Former Member
0 Kudos

Hi Deepthi,

This seems to be due to buffering. Please got to transaction SM56.

Procedure to reset the buffers manually:

1. Go to transaction SM56

2. Click on NumberRange Buffer --> Reset.

3. A popup would appear.

4. Enter the Client and the SAP Number Range object name as required. This would reset the buffers for the particular number range object.

If you would like to skip the buffer and get the document number directly from the database table, use the option IGNORE_BUFFER in the function module NUMBER_GET_NEXT.

Thanks,

Chinmay

Former Member
0 Kudos

In the Excel, we have columns shrt text there if the text contains any ,(comma) like that...all the skipped po's are in that cell only. We have resolved this issue by replacing all '"' and ',' with SPACE in the Program.