Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Duplicate output message for invoice

Former Member
0 Likes
1,593

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,140

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

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.

4 REPLIES 4
Read only

Former Member
0 Likes
1,140

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

Read only

Former Member
0 Likes
1,141

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

Read only

0 Likes
1,140

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.

Read only

0 Likes
1,140

Hello Srinivas,

you're right tks. I was missing commit work.

nice day.