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.
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