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

Problem in SAP Script Printing

Former Member
0 Likes
343

Hi All,

We are having a very strange problem while passing the data in SAP Script.Actually we are doing the Script of Payment Advice(FI/CO),but while calling the Function Module 'RSPO_RID_SPOOLREQ_LIST' in the driver program the values are lost.I have debugged it but right after the execution of 'RSPO_RID_SPOOLREQ_LIST' when the spool is generated, the variables are lost with the data they contain!!!As a result nothing are coming in Payment Advice Script.

Can anyone plz help me out!!!

Thx in advance.

Regds.

Atrai.

1 REPLY 1
Read only

Former Member
0 Likes
311

Hi,

You have to ensure that its called only in case of print and not otherwise and may be this piece of code helps:

check tab_ausgabe-spoolnr ne space.

refresh up_list.

up_list-id = tab_ausgabe-spoolnr.

append up_list.

call function 'RSPO_RID_SPOOLREQ_LIST'

exporting

id_list = up_list[]

exceptions

others = 0.

Regards,

Satya