Skip to Content

Passing information to SAPScript

Hello,

I have a header output type with which I want to manage SAPScript faxes at scheduling line level. On the basis of changes to key fields in the schedule line(s), I set a flag which indicates that the schedule line data has changed. That is to say, if I have an order with three schedule lines and two of the schedule lines have been modified (1 and 3), I will generate a field like this : 'X X'. Then in the subsequent SAPScript, I would like to be able to say CHECK field+n(1) EQ 'X', which means I should send the fax for the corresponding schedule line. I have tried to EXPORT TO MEMORY and SET PARAMETER ID, but neither works when the output is set to 'Send immediately' (although GET PARAMETER ID seems to work when output type is 'Send with periodically scheduled job). Does anybody have any ideas as to how I can pass the information from one program (MF45AFZZ) to another (SAPScript on the back of generated output type) ? Thanks all in advance.

Peter.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2007 at 09:13 AM

    This is just an idea, i dont know whether it will work or not.

    In exit, you update Z table with required values and then use PERFORM from SAPscript to access those values.

    Another option is to create Z table entries in Exit and then during Script printing, you find another exit to access Z table.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.