cancel
Showing results for 
Search instead for 
Did you mean: 

Proforma Invoice for Sales Order

Former Member
0 Kudos

Hi,

Currently, SAP will generate all items using the entered SO for Proforma Invoice despite that some items already being created.

There isn't any suitable user exit to filter those checking on items being generated.

Please revert if there is any other way in doing it.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

My suggestion is to use the copying requirements at the item category level in the copy control in VTFA

Copy routine is created in VOFM

KIndly take the help of ABAPER for the Code, example given below

if vbap-vbeln is not initial.

select single * from vbfa into wa_vbfa

where vbelv = vbap-vbeln

and posnv = vbap-posnr

and VBTYP_N = 'U'.

if sy-subrc = 0.

concatenate 'proforma for sales order ' vbap-vbeln 'and' vbap-posnr 'already generated' into lv_text separated by space.

message lv_text type 'E'.

endif.

endif.

Regards

Damu

Former Member
0 Kudos

Hi,

This is not what the users want.

The users do not want to see the error message but filter it automatically.

ivano_raimondi
Active Contributor
0 Kudos

Hello Sally,

in the standard there is not any configuration to get what you want.

The proforma billing document do not change the billing status of the sales order.

So it is possible to create many proforma.

The lonely possibility is to create a copy requirement routine fulfilling your requirement.

Best regards,

Ivano.

ajitsingh6
Active Contributor
0 Kudos

Dear,

If you have proper Copy Control between S.O. and Profarma Invoice at Item level then it will not allow to bill twice the same item

from S.O. to do so use following path,

Use Tcode: VTFA select S.O. Type and Profarma Invoice Type and click on ITEM and select the ITEM CATEGORY you are

using in S.O. and click on Detail Button and maintain Billing Quantity Field as A instead of C.

Regards

AJIT K SINGH

HAPPY TO HELP U

Former Member
0 Kudos

Hi,

This does not work.

When change from C to A, SAP prompted an error that Proforma Invoice, Billing Qty is not involved.

Then i still try and do the same scenario.

It does not work.

Thus, I had changed back to C.