Application Development 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: 

Same output type getting triggered twice upon saving the document

Former Member
0 Kudos

Dear SDNers,

I have a shipment Document.

Upon saving it the same Output type gets generated twice. ( in a gap of 1 second)

Clarification needed:

1. Please guide as to where i need to look for the error as to why same output is getting triggered twice simultaneously( gap of 1 second).

2. i have checked in the processing routine associated with it. Is it the right place?

P.S. I had posted another similar thread. Closed it since i felt it lacked clarity.

Regards,

SuryaD.

1 ACCEPTED SOLUTION

former_member536879
Active Contributor
0 Kudos

Hi,

Fetch the data from Nast table for that document number

Check the vstat . if it is 0 then use the below function module.

CALL FUNCTION 'RV_MESSAGE_SET_PROCESS_STATE'.

Then it will update the existing single record for the first time .

Next time on wards you will get the multiple records for te document in the Nast table.

For that you need to change the VSTAT status as per the requirement.

Hope this might solve your problem.

With Regards,

Sumodh.P

4 REPLIES 4

Former Member
0 Kudos

First check the Output screen in the shipment document - see if the output is set to print 2 copies.

You could then check the print program to see if there is some hard-coding that generates 2 outputs. The print program name can be found from table TNAPR (KSCHL = condition type, KAPPL = V7).

Former Member
0 Kudos

Hi,

1. Go to Txn. NACE... Choose your Application "V2 / V7"

2. Click on "Condition Records" button.. then double click on the Output type.

3. under change condition records screen....

4. Select your condition record then Click on "Communications" button.

5. under "print Output" screen check the value maintained on "number of Messages" here delete the value.

Regards

GK.

former_member536879
Active Contributor
0 Kudos

Hi,

Fetch the data from Nast table for that document number

Check the vstat . if it is 0 then use the below function module.

CALL FUNCTION 'RV_MESSAGE_SET_PROCESS_STATE'.

Then it will update the existing single record for the first time .

Next time on wards you will get the multiple records for te document in the Nast table.

For that you need to change the VSTAT status as per the requirement.

Hope this might solve your problem.

With Regards,

Sumodh.P

0 Kudos

Hi All,

I have found some OSS notes relevant to my issue.

Note 358121 - No outputs or multiple outputs

Note 350926 - No output or multiple outputs

Note 45915 - NAST: multiple output of NAST records

Note 99406 - Multiple output of messages

Regards,

SuryaD.