cancel
Showing results for 
Search instead for 
Did you mean: 

If there is no accounting document; SAP should not allow users to print

Former Member
0 Kudos

Dear Gurus,

Is there a standard way that,

--if there is no accounting document; SAP should not allow users to print invoice?

How can I do it?

Regards,

Accepted Solutions (0)

Answers (4)

Answers (4)

jpfriends079
Active Contributor
0 Kudos

You can either use Tcode NACE for output procedure pr follow following path in SPRO:

IMG - SD - Basic Functions - Output control - Output Determination - Maintain Output Determination for Billing Documents - Maintain Output Determination Procedure

There for your output procedure used for the desired output type maintain requirement routine as 62 : Billing doc released to acctng.

This requirement is met if the billing document is complete checking the header, pricing, and all items and has already been passed to financial accounting. The requirement also checks that the document is not relevant for an invoice list. This requirement can be assigned to billing document output condition types that should only be processed when the billing document is complete and forwarded to accounting. This requirement can only be used with billing documents.

Regards

JP

Shiva_Ram
Active Contributor
0 Kudos

In print output program, which is assigned to the output type in SPRO, you can just add a code like CHECK vbrk-rfbsk = 'C'. This will take care of your requirement. Check with an ABAP'er to add this code in the program.

Regards,

Former Member
0 Kudos

Dear

It is easily possible through requirement, Please fallow

SPRO>IMG>SALES AND DISTRIBUTION>Basic Functions>Output ControlOutput Determination>Maintain Output Determination for Billing Documents>Maintain Output Determination Procedure

here select your procedure and go to control and after your output type give requirement, 60 is very near to your need but with the help of ababer you develop a code with reference to VBRK-RFBSK and try to stop output from here, if there is no accounting.

This will solve your problem

former_member184555
Active Contributor
0 Kudos

Hi

In the configuration of output determination...for the output condition type...against the accesses (condition tables) assign a Requirement Routine which should check for the existance of the accounting document related to that invoice, before triggering the output. If the accounting document is missing, the access will fail.

Thanks,

Ravi