cancel
Showing results for 
Search instead for 
Did you mean: 

How can we stop triggering output more than once

Former Member
0 Kudos

Hi,

How can we stop triggering output more than once. I know there is a standard setting in the output control (NACE). If "Multiple issue" is disabled output will not trigger more than once.In my system this indicator is disabled, but out put is being triggered more than once.

I am refering output RD04 in the Billing document , is there any other way to stop triggering output more than once? if yes, please share.

We have created a new routine and assigned to RD04 in the output determination procedure. somehow it's not working! we get message "Requirement XXXX is not fullfilled and output is triggered more than once.

Thanks in advane.

Best Regatds

Ravinder

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Normally flag 'multiple issuing' is responsible for such behaviour. If you say that it is unchecked, then it means that something else or somebody else adds it.

Does it happen for every billing document or just for some of them ? Look for pattern.

Maybe it happens when invoice is created by specific user ? Please check data button in the output screen, to see if output was added automatically or added manually. Maybe you have a user who adds it.

Maybe it happens for specific billing types only ? Is this possible that you have VF31 or similar Z-transaction run in the background job which reprints output in question ?

Maybe you have some local customs solution which triggers outputs independently from 'multiuple issuing' checkbox. Maybe it is triggered by custom code from billing document user exit ?

Best regards

W.Prawecki

Former Member
0 Kudos

Thanks for your reply.

No custome transactions are executed in the back ground.

It happens for all the Billing docuemnts.

RD04 outpus is entered manually then triggered, but it should not be triggered more than once. first time batch job triggeres then second time we enter it is being triggered.

I don't see any modifications in user exit.

Former Member
0 Kudos

Hi,

Does it happen that output is generated always fixed number of times automatically ? For example 2 times ? Or does it happen that output is generated unlimited number of times - whenever you save billing document ?

If it happens that it is repeated fixed amount of times, then it could be related to partner functions in the output definition. For example once it is executed for PY and another time for BP.

Another suggestion - please verify access sequence. Go to the output screen via VF02 screen. Then you have blue-white icon with 'I' letter. It allows to check output determination logic. It should tell you which access sequence is used for determination. Note, that you need to be in VF02, it is not enough to check outputs using VF03.

Best regards

W.Prawecki

Former Member
0 Kudos

My requirement is that RD04 output should not be triggered if already triggered once. first time RD04 triggered as soon as Billing document is save and second time if I trigger manually it should not. currently if I trigger manually it's being triggered successfully. whe I try to trigger second time it should give an error message that output can't be processed repeatedly.

I understood your point but it's not triggering for different PF.

Thanks!

Former Member
0 Kudos

Hi

Let me repeat to see if I underestand your scenario. So the output generates only one time automatically. But then somebody might go into billing document header and manually add it. And you don't want to allow manual addition. Is that correct ?

Best regards

W.Prawecki

Former Member
0 Kudos

Yes, You're correct.

Former Member
0 Kudos

Hi,

You can control the other users accessing change mode through authorization control. In case you require repeat print then the ame can be done by selecting Repeat output throuth VF31

Hope this will help

Regards,

Srini

Former Member
0 Kudos

I don't think that is the correct solution. we can't restrict the change access to users. I am looking for permanent solution .

thaks for your reply.

Former Member
0 Kudos

pl go in v/40 -->Rd04 output type -->general data tab & select "check box" " CannotBe changed" and save. Now if you come back and try and add the RD04 in Invoices you wouldnot be allowed to add or even do repeast output form VF02. Pl let me know if this sorted out the issue.

Former Member
0 Kudos

pl go in v/40 -->Rd04 output type -->general data tab & select "check box" " CannotBe changed" and save. Now if you come back and try and add the RD04 in Invoices you wouldnot be allowed to add or even do repeast output form VF02. Pl let me know if this sorted out the issue.

Former Member
0 Kudos

pl go in v/40 -->Rd04 output type -->general data tab & select "check box" " CannotBe changed" and save. Now if you come back and try and add the RD04 in Invoices you wouldnot be allowed to add or even do repeast output form VF02. Pl let me know if this sorted out the issue.

Former Member
0 Kudos

pl go in v/40 -->Rd04 output type -->general data tab & select "check box" " CannotBe changed" and save. Now if you come back and try and add the RD04 in Invoices you wouldnot be allowed to add or even do repeast output form VF02. Pl let me know if this sorted out the issue.

Answers (1)

Answers (1)

former_member183879
Active Contributor
0 Kudos

I dont know why that "Multiple Issuing" checkbox is disabled. I am sure you looked in change mode !!!

Check that once again in change mode.

If this is disabled, anyway it is an issue, you can raise a message to SAP for the reason and get it rectified.

For the timebeing, if you want to go through the routine route, it should pass SYSUBRC = 0 only if there is no value for the object key already in NAST table. If you tell this clearly to ABAPer, he should be able to do it. Also ensure that the code in the requirement routine is written only in the subroutine KOBED and not in KOBEV.