cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict sale invoice creation before PGI

Former Member
0 Kudos

Hello All,

What are the controls to be set in SPRO to restrict creation of invoice (excise, proforma, sales) before PGI.

Currently the system allows the users to generate invoices even before PGI.

Request to please give me the config settings for this issue.

Regards,

Manoj

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Manoj ,

In the standard SAP system design , there is no check on the PGI ( GOODS MOVEMENT STATUS -VBUK-WBSTK) during the creation of PROFORMA INVOICE.

If you want the system to check the PGI status ,then please use the following coding in your own copying requirement

( field -> V_TVCPFLK-GRBED) in the copy control ( Tx VTFL -> for the delivery type and proforma invoice type )

If you want the system to check the PGI status , then you will need to use the

following coding in your own copying requirement.

  • Goods movement status

IF VBUK-WBSTK NA ' C'.

PERFORM VBFS_HINZUFUEGEN USING '000000' '066' SPACE SPACE SPACE.

SY-SUBRC = 4.

EXIT.

ENDIF.

Please try this in a TEST system before implementing in a DEV system. I hope this information has been helpful for you.

Thank you.

Best Regards,

Frank