on 11-09-2012 6:16 AM
How to configure to allow billing document (commercial invoice - Not the Proforma invoice) to be created (but not posted - No accounting ) prior to the post goods issue.
The actual posting takes place at post goods issue.
Dear Sachin
You don't want to make billing before the PGI date in the delivery.
You can do it in the following manner with the help of ABAPER
Run T Code
CMOD give your project name click on "Enhancement assignment"provide there
SDVFX001:User exit header line in delivery to accounting and then click on component
Function exit EXIT_SAPLV60B_001
Click and then enter on ZXVVFU01
and write the following code
DATA :DEL_DATE TYPE SY-DATUM .
IF SY-TCODE = 'VF01' OR SY-TCODE = 'VF02'.
SELECT SINGLE WADAT_IST INTO DEL_DATE FROM LIKP WHERE VBELN = CVBRP-VGBEL .
IF DEL_DATE IS NOT INITIAL .
IF VBRK-FKDAT LT DEL_DATE.
MESSAGE 'Billing date is less than Goods Issue date' TYPE 'E'.
ENDIF .
ENDIF .
ENDIF .
By doing this it won't allow you to create invoice but with the help of ABAPER you can block it for posting.
This will resolve your issue.
Kind regards
Ashish Mishra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sachin ,
You have to do the following.
1) Enable "Posting Block" field in the Billing Type
2) Check the Copy control from Delivery to Billing (VTFL) so that system should not validate the status of the Delivery.Refer the standard requirement 11. Assign it to the line item.
3) Do the enhancement in VFX3 so that before releasing the Billing, system should validate the PGI status of the delivery.
Regards
Vinu.N
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sachin,
In billing document, you can select "Posting block" on which will avoid posting the invoices to post to accounting.
To post it to accounting, you can manually run VFX3 and post it or built an enhancement in MV45AFZ1 with logic that if Actual PGI or Goods movement status is C then process the invoice to accounting.
Thanks
Nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sachin,
use Posting Block option in your Billing Document Type, and write coding in MV50AFZ1 so as at the time of PGI the relevant billing document will automatically released to accounting.
thanks,
Sandeep Singh Chauhan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
12 | |
11 | |
6 | |
6 | |
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.