on 07-24-2007 12:39 PM
Hi,
I am configuring proforma invoice in STO scenario and the requirement is tht the system should not allow the user to create proforma invoice before goods issue is posted. Kindly advice if any standard routine is available in SAP and whether I should assign it at item or header level in VTFL (delivery to billing copy control).
Dear Rahul
Please check the code - it will work only in case Billing Quantity field at item level is either B or D.
do not invoice without goods issue posted
if tvcpf-fkmgk ca 'BD'.
if vbapf-erlmenge_p ne vbapf-rmenge_p
or vbapf-rmenge_p is initial.
perform vbfs_hinzufuegen using '000000' '066'
space space space.
sy-subrc = 4.
exit.
endif.
endif.
Regards
Jitesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yep ur correct, you need to maintain the logic in copying requirement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.