Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem while creating the spool requests for multiple PO's

Hi Experts,

I have a program to send the PO message output as an email to vendor.

When I create a spool requests for individual PO, it is working very well.

But, if I try to create the spool requests for 15 PO's ,spool request is created for only some PO's.

I am using FM to get the spool request number and I am calling these FM 's in loop.


CALL FUNCTION 'RSPO_FIND_SPOOL_REQUESTS'

           EXPORTING

             rqowner       = sy-uname

           TABLES

             spoolrequests = lt_spool

           EXCEPTIONS

             no_permission = 1

             OTHERS        = 2.



Kindly anyone advise how to solve this problem.


Thanks & Regards,

Anusha.B

Not what you were looking for? View more on this topic or Ask a question