cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict the system not to create Proforma without completing PGI.

0 Kudos

Hi SAP Gurus,

We are making STOs in which after PO, vl10bdelivery & in vl02nPGI, then Vf01 Proforma Invoice.

Now the Proforma Invoice can be created even without completing the PGI, once the delivery number is generated in vl10b.

Can any one plz let me know how to restrict the system not to create the Proforma Invoice without completing the PGI.

Regards,

Aravind.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi there,

Yes possible. Maintain the copy controls from for eg NL delivery & F8 proforma in VTFL. In the header level requirements routine select the one which suits your delivery PGI condition. Or you can take the existing routine & put a customized logic that for company code XXXX NL delivery should be PGI'ed. Assign the same routine to the requirements.

So system will see if NL delivery is PGI'ed. Only then it will trigger F8.

Regards,

Sivanand

Answers (2)

Answers (2)

Former Member
0 Kudos

GOTO VTFL --> select the delivery and invoice type

Copying requirements = 311

The addifional check done in this routine is that it will check whether post goods issue is done for the delivery document.

Sam

Former Member
0 Kudos

Hi,

You need to develop a routine and attache the same routine in copy controls between delivery to billing of Copy requirements area.

The logic to write in routine as -

If VBUK-VBELN-WBSTK="C" then only system allows to create billing document.

VBUK-VBELN=LIKP-VBELN

Regards

Gooutham