11-01-2010 3:50 PM
Hello,
I'm searching a Bapi or MF to duplicate an output message executed on invoice.
For exemple:
on invoice 12345 I create and execute the message RDA0 (for exemple for print).
Now, by a zprogram I would duplicate this message.
Any idea ?
Thank you.
11-01-2010 5:15 PM
Hi,
You need use the below function Modules in the below order..
1. RV_MESSAGES_INSERT
2. RV_MESSAGES_UPDATE
You need to build the NAST structure as per your requirement which will be the IMPORTING structure to this Function Modules.
Regards,
Srinivas
11-01-2010 4:17 PM
Hi
Try to check fm like RV_MESSAGE_UPDATE (or search for RV_MESSAGE*),, but u can also simulate VF02 (by BDC) in order to duplicate a message
Max
Edited by: max bianchi on Nov 1, 2010 5:17 PM
11-01-2010 5:15 PM
Hi,
You need use the below function Modules in the below order..
1. RV_MESSAGES_INSERT
2. RV_MESSAGES_UPDATE
You need to build the NAST structure as per your requirement which will be the IMPORTING structure to this Function Modules.
Regards,
Srinivas
11-02-2010 12:07 PM
Hello,
tks for reply, I run both
1. RV_MESSAGES_INSERT
2. RV_MESSAGES_UPDATE
and the message is created. Anyway, I chose mode 'Archive only', and the archive is not done.
Do you jnow why ?
Thank you.
11-03-2010 8:58 AM
Hello Srinivas,
you're right tks. I was missing commit work.
nice day.