Skip to Content
avatar image
Former Member

PO form (SAPSCRIPT form) setup


is it possible to have multiple PO form (SAPSRIPTs) per given plant? i.e. plant 1 will create/use PO form1, plant 2 will use PO form2. the purpose is have one plant print it in an 80 col. printer landscape, the other form on a 132 col. printer.

thank you very much,


Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Aug 24, 2004 at 09:47 AM

    I can suggest this as i have not personally tried. Since in the configuration you mention the print program as well as the form name for the output type NEU(Purchase order output type) and in the processing routines you give the print program and the layout set name i guess it will take that layout set. In this case you having to mention two forms would not be possible but would it be possible to leave the form name blank there and in the print program you can use a different form if the plant differs.













    hope this will help.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      This can be controlled Using Condition Records. In condition records you can specify Document Type / Pur Org and Output device. If your plant is linked to a Pur Org and Pur Organinaztion is unique for a PLANT you can use this technique.

  • Aug 25, 2004 at 06:10 AM

    Hi Rico,

    If your goal is to print two different forms from the same PO, one possible approach is as follows:

    (1) Set up two output message types based on NEU -- such as 'Z80L' (for 80 col. landscape) and 'Z132' (for the other). Both could be hooked into the same print program (if need be) yet different SAPscript forms.

    (2) Build a condition table with plant as part of the key.

    (3) Configure output determination for the relevant procedure to include these new message types, with the plant condition table in the access path for both of them.

    (4) Load unique plant-specific condition records under each output type, specifying the appropriate printer in the communications tab (e.g. plant 1 would go under Z80L with printer ZABC while plant 2 would go under Z132 with printer ZDEF).

    During document-based automated output proposal, SAP will scan through both output types' condition records. When it finds a plant that matches the one on the PO it will act on the corresponding message type which will then route the correct form to the correct printer.

    Note: One thing you didn't mention is whether the plant field you wish to use is at the header level (ekko-reswk) or item-level (ekpo-werks). If the latter, there may be additional work involved. In any case, I hope the above is enough to get you started.



    Add comment
    10|10000 characters needed characters exceeded