10-09-2008 11:23 AM
Hi all,
I am using bapi BAPI_REQUISITION_DELETE to set deletion flag of PR.
Here all the error messages are captured and i need to display that resulttant error data in spool.
How can I dispaly resultant error message captured by BAPI in Spool.
Is there a FM/BAPI or i shld be using Simple write statement.
10-09-2008 11:28 AM
Hi Sacin,
If you are using a report program running this in Background, then simle write statement should work in displaying the error records in spool log.
Regards,
Dinakar.
10-09-2008 11:27 AM
Hi,
Just loop at the return table and write the MESSAGE field out to create the spool.
Regards,
Darren
10-09-2008 11:28 AM
Hi Sacin,
If you are using a report program running this in Background, then simle write statement should work in displaying the error records in spool log.
Regards,
Dinakar.
10-09-2008 11:30 AM
there is no BAPI/FM that will do this work..
I have to use only WRITE statemnt...
I am doing a report program..
10-09-2008 11:57 AM
Hi Sachin,
Check with the simple write statement.
If you run this report program in back ground job, then this
should work.
If it doens't work, there are few class methods to handle this.
Regards,
Dinakar.