05-26-2015 3:45 PM
Hi,
Im creating a program that will repeat output if we have not received OrderResponse in X amount of time.
Is there a function Module that allows me to repeat output by providing the Purchase Order number?
Thank you,
Jannus Botha
05-26-2015 3:51 PM
05-26-2015 3:47 PM
Hi Jannus,
Use Tcode ME9L and there give the document ... Select any of the Processed Record and Press Repeat output and --> SAVE. ...
Regards,
Prakash.
05-26-2015 4:07 PM
Hi,
This would still be a manual process and I dont want to do a recording. That would be my last option. Did you maybe mean something else? Because I am looking for a program or function module that will repeat my output like one would do on ME22N at the message tabs.
But thank you for the input.
Regards,
Jannus Botha
05-26-2015 3:51 PM
05-26-2015 4:12 PM
Thank you for this. But I think my initial questions wasnt complete because I would like to repeat the output before it has created the IDoc.
Does that make sense. I want to code the part where you are able to repeat output in ME22N using the message Tab.
Correct me if I am wrong but the AD_REPEAT_MESSAGE_OUTPUT normally only repeats IDoc's?
Regards,
Jannus Botha
05-26-2015 4:14 PM
I tried it with a manually created PO and it worked for me. Why not try it yourself??
Rob
05-26-2015 4:46 PM
Hi Rob,
Tried it using these values.
KAPPL - EF -> Purchase Order
OBJ KEY -> 4000128571 - . Purchase Order Number
Nacha -> 1,2,3,4,5,6,7,8,9,A and T
Am i missing something. I can see that PO has been processed before.
Regards,
Jannus Botha
05-26-2015 4:54 PM
05-27-2015 7:04 AM
05-27-2015 7:11 PM
Hi Jannus Botha ,
Try it
CALL FUNCTION 'AD_REPEAT_MESSAGE_OUTPUT' "
EXPORTING
kappl = " nast-kappl
objky = " nast-objky
nacha = " nast-nacha
EXCEPTIONS
ERROR_OCCURED = 1 "
. "
Thanks
05-30-2015 9:28 AM