RE:[sap-log-sd] Single Invoice for Same Customer With Multiple Deliveries

Posted by bhushanh
on Sep 19 at 1:03 PM
This 902 -

FORM DATEN_KOPIEREN_902.
* Billing document modifications for Capital Tool & Design
*tables: .
* break-point.
* Header Data
VBRK-FKDAT = SY-DATUM. " Billing Date=sy-datum
IF VBRK-LANDTX = VBRK-LAND1. " Clear FT Data
CLEAR: VBRK-EXPKZ, " for domestic use
VBRK-EXNUM.
ENDIF.

IF VBRK-FKART = 'F2'. " Clear FT Data
CLEAR: VBRK-EXPKZ, " F2 invoice
VBRK-EXNUM.
ENDIF.


if vbrp-kdgrp_auft = '01'.
* vbkd-bstkd = 'No Reference '.
* vbak-xblnr = vbak-vbeln.
* vbrk-zuonr = 'No Reference '.

elseif vbrp-kdgrp_auft = '02'.
VBRK-XBLNR = VBRP-VGBEL.
VBRK-ZUONR = VBKD-BSTKD.
endif.
* Item Data



* Split Criteria

DATA: BEGIN OF ZUK, " Single Doc Sample
MODUL(3) VALUE '003',
VTWEG LIKE VBAK-VTWEG,
SPART LIKE VBAK-SPART,
* VGBEL LIKE VBRP-VGBEL,
END OF ZUK.
ZUK-VTWEG = VBAK-VTWEG.
ZUK-SPART = VBAK-SPART.
IF KURGV-PERFK = SPACE.
* ZUK-VGBEL = VBRP-VGBEL.
ENDIF.
VBRK-ZUKRI = ZUK.

ENDFORM.

---------------Original Message---------------
From: bhushanh
Sent: Friday, September 16, 2011 9:14 PM
Subject: Single Invoice for Same Customer With Multiple Deliveries

Hi,

I believe it is possible to create a Single Invoice for same customer with multiple deliveries. Will it also be possible to capture sales order/ delivery numbers and print them on top of its respective line item?

What should be the copy control rules in Tran.code VTFL?

My settings are - Bill Type - F2 Invoice
From Delivery Type- LF Outbound Delivery
Copying Requirement - 003
Export data - A
Assignment - Blank
Ref Number - E
Checked- Copy Item Number


Item cat - TAN
F2 from LF
Copy Req- 004 Deliv-related item
Data VBRK/ VBRP - 902 PO Split Criteria
Billing Qty - B
Pos / Neg Qtyt -
pricing Type G

delviery types- same
delvieries being shipped from - same country
payment terms- same
bill-to or payer - same

Anything else required to create single invoice for multiple deliveries for one customer?

__.____._
Copyright © 2011 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
Mark as helpful
View this online
  
Popular White Papers

In the Spotlight
SAP BusinessObjects: Dashboards and Analytics. Learn more about this Toobox.com Marketplace online course.

_.____.__