Skip to Content
avatar image
Former Member

Get Different Spool requests for multiple print documents of same business partner

Hi All,

We have a problem in SAP ISU when we print multiple print documents for the same business partner ( using tcode EA60, EA29 ).

These standard tcodes trigger a custom application form( print work bench) in SAP. It finally generates a spool which is sent to third party systems for formatting etc.

Now, if multiple documents for a business partner are printed together , then the output for all three is found together in one spool output. I want them to come as separate spool output files ( one spool output file per print document ). If multiple documents of different business partners are printed together then separate spool files are generated.

Any ideas? Print parameter settings are correct.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Dec 29, 2016 at 04:38 PM

    Hi Suman,

    One way out would be to that in the print program you can loop through the internal table containing invoice numbers(print doc No) , calling OPEN_FORM, WRITE_FORM etc for sap script inside the loop for each invoice, creating separate spool request for each invoice.

    You can make use of these FMs RSPO_RETURN_ABAP_SPOOLJOB or RSPO_RETURN_ABAP_SPOOLJOB_RW .
    They are helpful in splitting the spools. It splits the spool document wise

    Thanks,
    Amlan

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 13, 2016 at 02:07 PM

    Dear Suman,

    SAP tries to add a new spool to existing spool files, if printer, title, datset ... fit.

    I do not know which technology you use (Sapcript, Smartforms, Adobe), so I cannot tell the parameter/fields . Can you check the call that starts the output and set e.g. field TDNEWID = TRUE . Then it should be in a separate spool. Or you can modify TDDATASET, TDSUFFIX1 and TDSUFFIX2 (in a sapscript printing case) to split the spools.

    Regards

    Jürgen

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 12, 2017 at 12:28 PM

    Hi Suman,

    Have you explored the option to add your logic in FQEVENT R392? Here you can Change Print Object meaning you have control to determine new spool requests under parameters:

    tdsuffix2
    tdcovtitle
    tdnewid
    tdfinal 
    for XY_PRINTPARAMETER

    You may have to gather the Print header object at the beginning of invoice print and sort based on BP and Print doc first at FQEVENT R390, something like:

    SORT xyt_eiterdk BY partner ASCENDING.

    Thanks,

    Srini

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 19, 2017 at 02:29 PM

    Thanks for your support guys. This is solved now. The open/close optimization active checkbox was causing the issue. Overlooked it.

    Add comment
    10|10000 characters needed characters exceeded