Customer - vendor is same ...clearing
Hi,
we have same customer and vendor .. so in master record i did the configuration
Now .
Business need ..
Customer invoice $ 500
customer paid : $ 400 and we r using residual pmt
So system will generate $100 financial doc as residual item.
So $100 we need to collect from customer ..
Now .. customer is vendor so he dont wanna pay this residual item .. so what he do . he send invoice of $100 ..
So we have $100 to collect and $100 to pay .. so
My Que : where ( mean which T- code ) and how can i clear this both invoice ifi need posting key to enter what i have to use ?
Moderator: Please, avoid asking basic questions
Hi
For clearing to happen between customer and vendor, please follow these steps:
1. Go to vendor master and ensure that customer number is entered in the "Control" tab and "clrng with cust" is ticked in "Payment transactions" tab.
2. Then Go to F-44 and enter the vendor number and click process open items.
3. In the open items listed, you can see both the vendor as well as the customer open items.
5. set-off the debit with the credit and post.
Regards
Similar Messages
-
Customer - vendor is same ... (F110 )
Hi,
I have customer is vendor . so i did the configuration in Master record .. but ..
In customer Master record .. I have payment method is C- check and
in Vendor master record .. i have payment method is 9 - Direct debit
so My Que is .. In F110 ...
which payment method i have to use ..
Thank you,
PB PatelHi,
If you are making a vendor payment then the payment method should be of that what is assigned in vendor master record.Same applies in case of customer also.
Regards
Partha -
Payment block in customer/vendors - how to clear
Hi there,
We have a situation where we have a customer, who is also a vendor. When we receive a remittance from the customer, sometimes they deduct the vendor invoice from the remittance. Because of this we always post invoices to this particular vendor with automatic payment block - so that we do not pay them in error. i.e. the payment crossing in the post!
When we receive payment from the customer, we use transaction f-26 and by selecting more add the vendor to the payment file, however we are not able to allocate the vendor invoice as there is a payment block against it. We know how to take the payment block off,, but this means coming out of F-26, unblocking and then going back in.
Does anyone know of a single transaction that will allow us to unblock a vendor invoice and allocate to a customer payment?
Thanks in advance (hopefully with fingers crossed!)
Jackieyou can do it in F-26
Go to process open items.
Go to "Edit"
Go to "Select more"
Change the account type to "K" and enter the vendor number.
You may need to make sure Doc type "DZ" is set for for "K" which is easy to do in config.
Message was edited by:
Mark Chalfen -
Hello,
We have customer & vendor to be cleared against each other.There is document splitting at Business area & PC level.
If the BA is is same - it clears.But If business area is different, there is an issue-It asks for profit center.
How do we handle this?
Thanks & regardsHi
What is the document type you are using for clearing document? For that document type, check if you have the Business Transaction 0000 and variant 0001 assigned. This is assuming you are using the standard splitting variant 00000000012 used for your client.
If the above is not the case, check if the document type used allows the below type of transactions allowed for the combination of Business Transaction and variant at least:
Balance Sheet Account
Cash Discount Clearing
Customer
Vendor
Cash Account
Taxes on Sales/Purchases
Withholding Tax
Expense
Revenue
Cash Discount (Expense/Revenue/Loss)
Exchange Rate Difference
Also inheritence should be maintained for your document splitting method
Thanks & regards
Sanil Bhandari -
Hi all
I am trying to clear a customer invoice with vendor invoice. We have the normal customer vendor setting and clearing against each other.
However if i simulate, the profit center picked up while clearing the two items using F-02 is completely different to the profit center in the revenue posting and am not sure where it is getting picked from.
Besides the amount on customer invoice is higher than the vendor invoice so I need to know if the remaining amount will be shown as a residal amount.
your responses/solutions will be appreciated.Hi.
'the profit center picked up while clearing the two items using F-02 is completely different to the profit center in the revenue posting and am not sure where it is getting picked from.' you mean PC different from Clearing item?
'Besides the amount on customer invoice is higher than the vendor invoice so I need to know if the remaining amount will be shown as a residal amount.' how do you want to be? Eg if customer invoice less then vendor invoice, do you wait new invoice for remains amount? -
DRQ : Customer / Vendor ref. no. duplication check
Hi Expert,
At present Customer / Vendor ref. no. duplication check is perform on all documents (e.g. A/R Invoice / A/P Invoice)
Where as I believe it should be performed Customer / Vendor wise.
The reason is simple, say in a new year all customer / vendor will generate their respective A/R invoice OR A/P invoice starting from 1. So verifing it accross the documents seems sence less. If is verified that whether the same Customer / Vendor 's same document is entered earlier or not then it makes sence.
Samir Gandhias I reach 10 post, I have to compulsorily close this thread
-
Custom purchase requsitionto vendor open and cleared payment report
dear all i develop report but i cant ableto show in that open amount and cleared amount of vender in that report so please see this report and feedback me for logic to show open and clear amount of vendor purchase orderwise or vendorwise
report zpo_purchase_history no standard page heading message-id 00.
TABLES : bsik, bsak, lfa1, lfb1, skb1, t001, bapifvdexp_vzzbepp.
type-pools:slis,ICON.
types :begin of ty_po,
banfn type eban-banfn,
"Purchase Requisition Number
bnfpo type eban-bnfpo,
"Item Number of Purchase Requisition
ekgrp type eban-ekgrp, "Purchasing Group
badat type eban-badat,
"Requisition (Request) Date
menge type eban-menge,
KNTTP TYPE EBAN-KNTTP,
PSTYP type eban-PSTYP,
"Purchase Requisition Quantity
meins type eban-meins,
"Purchase Requisition Unit of Measure
lifnr type ekko-lifnr, "Vendor Account Number
bedat type ekko-bedat, "Purchasing Document Date
ebeln type ekpo-ebeln,
"Purchasing Document Number
ebelp type ekpo-ebelp,
"Item Number of Purchasing Document
matkl type ekpo-matkl, "Material Group
mtart type ekpo-mtart, "Material Type
matnr type ekpo-matnr, "Material Number
txz01 type ekpo-txz01, "Short Text
menge1 type ekpo-menge, "Purchase Order Quantity
meins1 type ekpo-meins,
"Purchase Order Unit of Measure
balqty type ekpo-menge, "Balance Quantity
netpr type ekpo-netpr,
"Net Price in Purchasing Document
peinh type ekpo-peinh, "Price Unit
mblnr type mseg-mblnr,
"Number of Material Document
zeile type mseg-zeile, "Item in Material Document
menge2 type mseg-menge, "GR Quantity
meins2 type mseg-meins, "GR Unit of Measure
werks type mseg-werks, "Plant
charg type mseg-charg, "Batch
belnr type rbkp-belnr,
"Document Number of an Invoice Document
bldat type ekbe-bldat, "Document Date in Document
belnr_b type rbkp-belnr,
SHKZG type ekbe-SHKZG , "Debit/Credit Indicator
DMBTR type bsik-dmbtr, "Amount in Local Currency
DMBTR_C type bsAk-dmbtr, "Amount in Local Currency
thick(10) type c, "Thickness
width(10) type c, "Width
length(10) type c, "Length
grade(10) type c, "Grade
BELNR_d type bseg-belnr,
xblnr type bkpf-xblnr,
awkey type bkpf-awkey,
RMWWR type rbkp-RMWWR,
WMWST1 type rbkp-WMWST1,
end of ty_po.
types :begin of ty_ekko,
ebeln type ekko-ebeln,
lifnr type ekko-lifnr,
bedat type ekko-bedat,
end of ty_ekko.
types:begin of ty_ekpo,
ebeln type ekpo-ebeln,
ebelp type ekpo-ebelp,
matnr type ekpo-matnr,
txz01 type ekpo-txz01,
menge type ekpo-menge,
meins type ekpo-meins,
netpr type ekpo-netpr,
peinh type ekpo-peinh,
banfn type ekpo-banfn,
bnfpo type ekpo-bnfpo,
mtart type ekpo-mtart,
end of ty_ekpo.
types :begin of ty_eban,
banfn type eban-banfn,
bnfpo type eban-bnfpo,
matnr type eban-matnr,
menge type eban-menge,
meins type eban-meins,
end of ty_eban.
types : begin of ty_ekbe,
ebeln type ekbe-ebeln,
ebelp type ekbe-ebelp,
belnr type ekbe-belnr,
bldat type ekbe-bldat,
gjahr type ekbe-gjahr,
buzei type ekbe-buzei,
matnr type ekbe-matnr,
DMBTR type ekbe-dmbtr,
shkzg type ekbe-shkzg,
end of ty_ekbe.
types : begin of ty_mseg,
mblnr type mseg-mblnr,
mjahr type mseg-mjahr,
zeile type mseg-zeile,
menge type mseg-menge,
meins type mseg-meins,
ebeln type mseg-ebeln,
ebelp type mseg-ebelp,
matnr type mseg-matnr,
werks type mseg-werks,
charg type mseg-charg,
end of ty_mseg.
types : begin of ty_rbkp,
belnr type rbkp-belnr,
gjahr type rbkp-gjahr,
bldat type rbkp-bldat,
lifnr type rbkp-lifnr,
ZUONR type rbkp-ZUONR,
RMWWR type rbkp-RMWWR,
WMWST1 type rbkp-WMWST1,
end of ty_rbkp.
types : begin of ty_bseg,
bukrs type bseg-bukrs,
belnr type bseg-belnr,
gjahr type bseg-gjahr,
buzei type bseg-buzei,
valut type bseg-valut,
wrbtr type bseg-wrbtr ,
augbl type bseg-augbl,
matnr type bseg-matnr,
lifnr type bseg-lifnr,
ebeln type bseg-ebeln,
end of ty_bseg.
types : begin of ty_rseg,
belnr type rseg-belnr,
gjahr type rseg-gjahr,
ebeln type rseg-ebeln,
ebelp type rseg-ebelp,
matnr type rseg-matnr,
bukrs type rseg-bukrs,
end of ty_rseg.
types : begin of ty_bsik,
belnr type bsik-belnr,
buzei type bsik-buzei,
DMBTR type bsik-DMBTR,
budat type bsik-budat,
shkzg type bsik-shkzg,
ebeln type bsik-ebeln,
lifnr type bsik-lifnr,
end of ty_bsik.
types : begin of ty_bsak,
belnr type bsak-belnr,
lifnr type bsak-lifnr,
ebeln type bsak-ebeln,
DMBTR_C type bsak-DMBTR,
ZUONR type bsak-ZUONR,
end of ty_bsak.
types: begin of ty_bkpf,
BELNR type bkpf-belnr,
xblnr type bkpf-xblnr,
awkey type bkpf-awkey,
end of ty_bkpf.
data: it_po type standard table of ty_po,
it_ekko type standard table of ty_ekko,
it_ekpo type standard table of ty_ekpo,
it_eban type standard table of ty_eban,
it_ekbe type standard table of ty_ekbe,
it_mseg type standard table of ty_mseg,
it_rbkp type standard table of ty_rbkp,
it_rseg type standard table of ty_rseg,
it_bseg type standard table of ty_bseg,
it_bsik type STANDARD TABLE OF ty_bsik with header line,
it_bsak type STANDARD TABLE OF ty_bsak,
it_bkpf type standard table of ty_bkpf,
wa_po type ty_po,
wa_ekko type ty_ekko,
wa_ekpo type ty_ekpo,
wa_eban type ty_eban,
wa_mseg type ty_mseg,
wa_rbkp type ty_rbkp,
wa_rseg type ty_rseg,
wa_bseg type ty_bseg,
wa_ekbe type ty_ekbe,
wa_bsik type ty_bsik,
wa_bsak type ty_bsak,
wa_bkpf type ty_bkpf.
data: it_fcat type slis_t_fieldcat_alv,
it_lshead type slis_t_listheader,
it_sort type slis_t_sortinfo_alv,
wa_fcat type slis_fieldcat_alv,
wa_lshead type slis_listheader,
wa_layout type slis_layout_alv,
wa_sort type slis_sortinfo_alv.
data :it_cl_data like table of clobjdat,
wa_cl_data like clobjdat.
data: values(10) type n.
data: value1(4) type N.
data: c_matkl type ekpo-matkl,
c_matnr type ekpo-matnr,
c_ekgrp type eban-ekgrp,
c_badat type eban-badat,
c_index type sy-tabix,
c_grmenge type mseg-erfmg,
c_low(10) type c,
c_high(10) type c,
c_date type string,
c_bukrs type ekko-bukrs,
c_WERKS type eban-WERKS.
data: gd_date(10).
DATA: V_EVENTS TYPE SLIS_T_EVENT,
WA_EVENT TYPE SLIS_ALV_EVENT.
*********Selection screen variables*********
selection-screen:begin of block b1 with frame title text-001.
select-options: s_bukrs for c_bukrs DEFAULT 'bmp1',
s_WERKS for c_WERKS,
s_matnr for c_matnr DEFAULT 'rm-01',
s_matkl for c_matkl ,
s_badat for c_badat ,"obligatory,
s_ekgrp for c_ekgrp.
parameters: ch_bal as checkbox.
selection-screen:end of block b1.
*initialization.
* PERFORM EVENT_CALL.
* PERFORM POPULATE_EVENT.
start-of-selection.
PERFORM EVENT_CALL.
PERFORM POPULATE_EVENT.
perform getdata.
perform setdata.
perform fieldcat.
perform display.
*& Form GETDATA
form getdata .
select a~BANFN
a~bnfpo
a~ekgrp
a~badat
a~KNTTP
a~PSTYP
b~ebeln
b~ebelp
b~matkl
b~matnr
b~bukrs
into corresponding fields of table it_po
from eban as a inner join ekpo as b
on a~banfn = b~banfn and
a~bnfpo = b~bnfpo AND
A~KNTTP = B~KNTTP and
a~PSTYP = b~PSTYP
where a~badat in s_badat and
a~ekgrp in s_ekgrp and
a~WERKS in s_WERKS and
b~matnr in s_matnr and
b~matkl in s_matkl and
b~bukrs in s_bukrs and
b~loekz <> 'L' and
a~loekz <> 'X'.
if it_po[] is not initial.
select ebeln
ebelp
matnr
txz01
menge
meins
netpr
peinh
banfn
bnfpo
mtart
from ekpo into table it_ekpo
for all entries in it_po
where ebeln = it_po-ebeln and
ebelp = it_po-ebelp and
loekz <> 'L'.
select banfn
bnfpo
matnr
menge
meins
from eban into table it_eban
for all entries in it_po
where banfn = it_po-banfn and
bnfpo = it_po-bnfpo and
loekz <> 'X'.
if it_ekpo[] is not initial.
select ebeln
lifnr
bedat
from ekko into table it_ekko
for all entries in it_ekpo
where ebeln = it_ekpo-ebeln.
select ebeln
ebelp
belnr
bldat
gjahr
buzei
matnr
DMBTR
shkzg
from ekbe into table it_ekbe
for all entries in it_ekpo
where ebeln = it_ekpo-ebeln and
ebelp = it_ekpo-ebelp .
*if it_ekbe-shkzg = 'H'.
**ekbe-dmbtr = ekbe-dmbtr * -1.
**ekbe-menge = ekbe-menge * -1.
*endif.
* select belnr
* gjahr
* ebeln
* ebelp
* from bseg into table it_bseg
* for all entries in it_ekpo
* where ebeln = it_ekpo-ebeln and
* ebelp = it_ekpo-ebelp.
select belnr
gjahr
ebeln
ebelp
matnr
bukrs
from rseg into table it_rseg
for all entries in it_ekpo
where ebeln = it_ekpo-ebeln and
ebelp = it_ekpo-ebelp.
endif.
if it_ekbe[] is not initial.
select mblnr
mjahr
zeile
menge
meins
ebeln
ebelp
matnr
werks
charg
from mseg into table it_mseg
for all entries in it_ekbe
where mblnr = it_ekbe-belnr and
mjahr = it_ekbe-gjahr and
zeile = it_ekbe-buzei and
bwart = '101'.
endif.
if it_rseg[] is not initial.
select belnr
gjahr
bldat
lifnr
ZUONR
RMWWR
WMWST1
from rbkp into table it_rbkp
for all entries in it_rseg
where belnr = it_rseg-belnr.
endif.
*if it_rseg[] is not initial.
* SELECT bukrs
* belnr
* gjahr
* buzei
* valut
* wrbtr
* augbl
* matnr
* lifnr
* ebeln
* INTO TABLE it_bseg
* FROM bseg
* FOR ALL ENTRIES IN it_rseg
* WHERE bukrs = it_rseg-bukrs and ebeln = it_rseg-ebeln and mwskz = ''.
*endif.
*loop at it_BKPF into wa_BKPF.
* values = wa_rbkp-belnr.
* value1 = wa_rbkp-gjahr.
data: aekey_1 type string .
*CONCATENATE values value1 into aekey_1.
* if it_BSEG[] is not initial.
*MESSAGE aekey_1 type 'I'.
SELECT single belnr xblnr awkey into wa_bkpf
from bkpf
where awkey = aekey_1.
SELECT SINGLe belnr
buzei
dmbtr
budat
shkzg
ebeln
lifnr
FROM bsik
INTO CORRESPONDING FIELDS OF wa_bsik
*FOR ALL ENTRIES IN it_bseg
WHERE
bukrs in s_bukrs and
lifnr = wa_rbkp-lifnr
and
*AND gjahr = it_bseg-gjahr
* AND
belnr = wa_bkpf-belnr.
insert wa_bsik into table it_bsik.
CLEAR wa_bsik.
CLEAR it_bsik.
*endloop.
* and ebeln = it_bseg-ebeln .
* select BELNR
** SHKZG
** DMBTR
* from bkpf into table it_bkpf
* for ALL ENTRIES IN it_rbkp
* where belnr = it_rbkp-belnr.
* ENDif.
IF IT_bseg[] IS NOT INITIAL.
select belnr
LIFNR
ebeln
DMBTR
ZUONR
from bsik into table it_bsik
for all entries in it_bseg
where belnr = it_bseg-belnr.
select belnr
LIFNR
ebeln
DMBTR
ZUONR
from bsak into table it_bsak
for all entries in it_bseg
where belnr = it_bseg-belnr.
ENDIF.
else.
message s002.
leave list-processing.
endif.
endform. " GETDATA
*& Form SETDATA
form setdata .
clear wa_po.
loop at it_po into wa_po.
c_index = sy-tabix.
********Calculate PR Quantity**********
clear wa_eban.
read table it_eban into wa_eban
with key banfn = wa_po-banfn
bnfpo = wa_po-bnfpo.
if sy-subrc eq 0.
move:wa_eban-menge to wa_po-menge,
wa_eban-meins to wa_po-meins.
endif.
********Calculate PO Quantity**********
clear wa_ekpo.
read table it_ekpo into wa_ekpo
with key banfn = wa_po-banfn
bnfpo = wa_po-bnfpo .
if sy-subrc eq 0.
move:wa_ekpo-txz01 to wa_po-txz01,
wa_ekpo-netpr to wa_po-netpr,
wa_ekpo-peinh to wa_po-peinh,
wa_ekpo-mtart to wa_po-mtart,
wa_ekpo-menge to wa_po-menge1,
wa_ekpo-meins to wa_po-meins1.
endif.
********Calculate Balance Quantity******
clear wa_mseg.
loop at it_mseg into wa_mseg
where ebeln = wa_po-ebeln and
ebelp = wa_po-ebelp.
c_grmenge = c_grmenge + wa_mseg-menge.
endloop.
move:wa_mseg-mblnr to wa_po-mblnr,
c_grmenge to wa_po-menge2,
wa_mseg-meins to wa_po-meins2,
wa_mseg-werks to wa_po-werks,
wa_mseg-charg to wa_po-charg.
wa_po-balqty = wa_eban-menge - c_grmenge.
clear : wa_rseg,wa_rbkp.
read table it_rseg into wa_rseg with key
ebeln = wa_mseg-ebeln
ebelp = wa_mseg-ebelp.
read table it_rbkp into wa_rbkp
with key belnr = wa_rseg-belnr
gjahr = wa_rseg-gjahr.
if sy-subrc eq 0.
move : wa_rbkp-belnr to wa_po-belnr,
wa_rbkp-bldat to wa_po-bldat,
wa_rbkp-RMWWR to wa_po-RMWWR,
WA_RBKP-WMWST1 TO WA_PO-WMWST1.
endif.
read table it_bseg into wa_bseg with key
ebeln = wa_rseg-ebeln
bukrs = wa_rseg-bukrs.
if sy-subrc eq 0.
move wa_bseg-belnr to wa_po-belnr_d.
endif.
* read table it_bkpf into wa_bkpf
* with key belnr = wa_ekbe-belnr.
* read table it_bseg into wa_bseg
* with key belnr = wa_bkpf-belnr.
CLEAR wa_bsik.
clear it_bsik.
read table it_bsik into wa_bsik
with key belnr = wa_bkpf-belnr.
* if wa_bsik-shkzg = 'H'.
* wa_bsik-DMBTR = wa_bsik-DMBTR * 1.
* endif.
if sy-subrc eq 0.
move : wa_bsik-belnr to wa_po-belnr,
wa_bsik-DMBTR to wa_po-DMBTR.
endif.
* clear wa_bsik.
* read table it_bsik into wa_bsik
* with key belnr = wa_bseg-belnr.
* if sy-subrc eq 0.
* move : wa_bsik-DMBTR to wa_po-DMBTR.
* endif.
*clear wa_bsak.
* read table it_bsak into wa_bsak
* with key belnr = wa_bseg-belnr.
* if sy-subrc eq 0.
* move : wa_bsak-DMBTR_C to wa_po-DMBTR_C.
* endif.
*clear : wa_rbkp.
*loop at it_bsik into wa_bsik.
*read table it_bsik into wa_bsik with key belnr = wa_rbkp-belnr.
*if sy-subrc eq 0.
* move : wa_bsik-DMBTR to wa_po-DMBTR.
* endif.
*endloop.
*********Assign Vendor,PO Date*********
clear wa_ekko.
read table it_ekko into wa_ekko
with key ebeln = wa_po-ebeln.
if sy-subrc eq 0.
move:wa_ekko-lifnr to wa_po-lifnr,
wa_ekko-bedat to wa_po-bedat.
endif.
*clear wa_ekko.
*read table it_ekko into wa_ekko
*with key lifnr = wa_po-lifnr.
*if sy-subrc eq 0.
* move: wa_bsik-DMBTR to wa_po-DMBTR.
* endif.
* call function 'ZSD_BATCH_CLASSIFICATION_DATA'
* exporting
** ch_charg = wa_po-charg
* ch_matnr = wa_po-matnr
* ch_werks = wa_po-werks
* tables
* cl_data = it_cl_data
** I_SEL_CHARACTERISTIC =
loop at it_cl_data into wa_cl_data.
if wa_cl_data-ausp1 ne '?'.
if wa_cl_data-atnam eq 'THICKNESS'.
move wa_cl_data-ausp1 to wa_po-thick.
elseif wa_cl_data-atnam eq 'LENGTH'.
move wa_cl_data-ausp1 to wa_po-length.
elseif wa_cl_data-atnam eq 'WIDTH'.
move wa_cl_data-ausp1 to wa_po-width.
elseif wa_cl_data-atnam eq 'GRADE'.
move wa_cl_data-ausp1 to wa_po-grade.
endif.
endif.
endloop.
modify it_po from wa_po index c_index.
clear :c_grmenge,wa_po,wa_ekpo,wa_mseg,c_index.
endloop.
endform. " SETDATA
*& Form FIELDCAT
* text
* --> p1 text
* <-- p2 text
form fieldcat .
perform buildfields using '1' 'BANFN' 'IT_PO' 'PR Number' '' ''.
* perform buildfields using '2' 'BNFPO' 'IT_PO' 'PR Item Number' '' ''.
perform buildfields using '2' 'KNTTP' 'IT_PO' 'A/c Assignment Cat' '' ''.
perform buildfields using '2' 'PSTYP' 'IT_PO' 'Item Cat' '' ''.
perform buildfields using '3' 'EKGRP' 'IT_PO' 'Purchase Group' '' ''.
perform buildfields using '4' 'BADAT' 'IT_PO' 'Request Date' '' ''.
perform buildfields using '5' 'MENGE' 'IT_PO' 'PR Quantity' 'X' ''.
perform buildfields using '6' 'MEINS' 'IT_PO' 'PR Unit' '' ''.
perform buildfields using '7' 'LIFNR' 'IT_PO' 'Vendor Number' '' ''.
perform buildfields using '8' 'EBELN' 'IT_PO' 'Purchasing Doc No' '' '' .
perform buildfields using '9' 'BEDAT' 'IT_PO' 'PO Date' '' ''.
perform buildfields using '10' 'MTART' 'IT_PO' 'Material Type' '' ''.
perform buildfields using '11' 'MATKL' 'IT_PO' 'Material Group' '' ''.
perform buildfields using '12' 'MATNR' 'IT_PO' 'Material Number' '' ''.
perform buildfields using '13' 'TXZ01' 'IT_PO' 'Material Desc' '' ''.
perform buildfields using '18' 'MENGE1' 'IT_PO' 'PO Quantity' 'X' ''.
perform buildfields using '19' 'MEINS' 'IT_PO' 'PO Unit' '' ''.
perform buildfields using '20' 'NETPR' 'IT_PO' 'Net Price' '' ''.
perform buildfields using '21' 'PEINH' 'IT_PO' 'Price Unit' '' ''.
perform buildfields using '22' 'MBLNR' 'IT_PO' 'GR Number' '' ''.
perform buildfields using '23' 'MENGE2' 'IT_PO' 'GR Quantity' 'X' ''.
perform buildfields using '24' 'MEINS2' 'IT_PO' 'GR Unit' '' ''.
perform buildfields using '25' 'BELNR' 'IT_PO' 'Invoice doc. number' '' ''.
perform buildfields using '26' 'BLDAT' 'IT_PO' 'Invoice Date' '' ''.
* perform buildfields using '26' 'BELNR_D' 'IT_POP' 'A/C Doc. No.' '' ''.
* perform buildfields using '26' 'AUGBL' 'IT_PO' 'Clearing Doc No.' '' ''.
perform buildfields using '26' 'DMBTR' 'IT_PO' 'OPEN AMOUNT' '' ''.
perform buildfields using '26' 'DMBTR' 'IT_PO' 'clear AMOUNT' '' ''.
* perform buildfields using '26' 'DMBTR_C' 'IT_PO' 'Clear balance' '' ''.
if ch_bal = 'X'.
perform buildfields using '27' 'BALQTY' 'IT_PO' 'Balance Quantity'
'X' ''.
endif.
perform buildfields using '26' 'WMWST1' 'IT_PO' 'TOTAL TAX ADDED' 'X' ''.
perform buildfields using '26' 'RMWWR' 'IT_PO' 'TOTAL AMOUNT IN INVOICE' 'X' ''.
endform. " FIELDCAT
*& Form BUILDFIELDS
* text
* -->P_0449 text
* -->P_0450 text
* -->P_0451 text
* -->P_0452 text
form buildfields using value(p_col_pos) like sy-cucol
value(p_fldname) type slis_fieldname
value(p_tabname) type slis_tabname
value(p_reptext) like dd03p-reptext
value(p_do_sum) type char1
value(hotspot) type char1.
wa_fcat-col_pos = p_col_pos.
wa_fcat-fieldname = p_fldname.
wa_fcat-tabname = p_tabname.
wa_fcat-reptext_ddic = p_reptext.
wa_fcat-do_sum = p_do_sum.
wa_fcat-hotspot = hotspot.
append wa_fcat to it_fcat.
clear wa_fcat.
endform. " BUILDFIELDS
*& Form DISPLAY
form display .
clear wa_layout.
wa_layout-zebra = 'X'.
wa_layout-colwidth_optimize = 'X'.
* wa_layout-box_fieldname = 'SEL'.
* wa_layout-edit = 'X'.
perform build_sort using 'BANFN' '1' 'X'.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
* I_INTERFACE_CHECK = ' '
* I_BYPASSING_BUFFER = ' '
* I_BUFFER_ACTIVE = ' '
i_callback_program = sy-cprog
* I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = 'USER_COMMAND '
i_callback_top_of_page = 'TOP_OF_PAGE'
* I_CALLBACK_HTML_TOP_OF_PAGE = ' '
* I_CALLBACK_HTML_END_OF_LIST = ' '
* I_STRUCTURE_NAME =
i_background_id = 'ALV_BACKGROUND'
* I_GRID_TITLE =
* I_GRID_SETTINGS =
is_layout = wa_layout
it_fieldcat = it_fcat
* IT_EXCLUDING =
* IT_SPECIAL_GROUPS =
it_sort = it_sort
* IT_FILTER =
* IS_SEL_HIDE =
* I_DEFAULT = 'X'
I_SAVE = 'A'
* IS_VARIANT =
* IT_EVENTS =
* IT_EVENT_EXIT =
* IS_PRINT =
* IS_REPREP_ID =
* I_SCREEN_START_COLUMN = 0
* I_SCREEN_START_LINE = 0
* I_SCREEN_END_COLUMN = 0
* I_SCREEN_END_LINE = 0
* I_HTML_HEIGHT_TOP = 0
* I_HTML_HEIGHT_END = 0
* IT_ALV_GRAPHICS =
* IT_HYPERLINK =
* IT_ADD_FIELDCAT =
* IT_EXCEPT_QINFO =
* IR_SALV_FULLSCREEN_ADAPTER =
* IMPORTING
* E_EXIT_CAUSED_BY_CALLER =
* ES_EXIT_CAUSED_BY_USER =
tables
t_outtab = it_po[]
exceptions
program_error = 1
others = 2
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
endform. " DISPLAY
*& Form top_of_page
* text
form top_of_page. "#EC *
**********Create report header*********
refresh it_lshead.
clear wa_lshead.
**********To display date in header*********
* write: s_badat-low to c_low dd/mm/yyyy,s_badat-high to c_high
* dd/mm/yyyy.
* if s_badat-high is initial.
* concatenate 'Dated on' c_low into c_date separated by space.
* else.
* concatenate 'Dated between' c_low 'and' c_high into c_date separated
* by space.
* endif.
wa_lshead-typ = 'H'.
wa_lshead-info = 'PR To Payment History'.
* 'Pending Indents History -We had a requirement to retrieve "aging of receiveables" by customer. Basically, it goes thru each record and depending on the due date places the amounts in the following buckets (example). 0-30 day Overdue, 31-60 days Overdue, 61-90 days overdue, 30+ days overdue, 60+ days overdue) etc all the way to 6+ years overdue.
There are also cooresponding buckets for coming due analysis. For example, what is: 0-30 days coming due, 31-60 days coming due, 30+ days coming due, etc...
To do this, first I needed to be able be able to produce an open items statement at any given time in the past. Now, this seems impossible because of how the items go from open to cleared all the time. And an item that was open one month ago, may not be open anymore.
What I did was first remove any selections on item status. Then compare the posting date with teh key date in the past, if the posting date is less than or equal to the key date, keep the record.
Then compare the clearing date with the key date. First, keep all that are #. (This keeps all records still open from that posting date/key date)
Then, add another check for all items that were cleared after the key date (GT Key Date). This gives you the open items on that date.
Hope that makes sense. Let me know if you want clarification.
/smw -
Intercompany FI customer/vendor invoice clearing F-32
Hello,
In ECC 6.0, we created Customer (DR) and Vendor (KR) invoices using FI transaction. When we clear Customer/Vendor using F-32, the invoices get cleared, but the process produces intercompany document (AB) as a open item on both Customer and Vendor accounts. The companies have different currencies, but no exchange rate differences. OBYA has customer / vendor account numbers as clearing accounts. Can some one tell me why the intercompany clearing document is created as an open item and what need to be done to avoid this.
Thanks in advance.
Raj VelloreHi sagar,
two causes it will appear
1) if u r clear partial payment that time it will come open items.
2) if u r useing Document splitting in New G/L concept ECC 5.0 OR ECC 6.0, this will come because of Document Splitting.
in which version u r using.
regards
gvr -
Problem with customer/vendor clearing
Hi all,
We are launching the payment proposal for this month and we have found one issue related to the clearing customer/vendor.
The vendor invoices are filled in the Part. Bank Type with 1 or 2u2026, but the customer invoices has this field as blank.
In the payment proposal, the system does not clear both documents. It only considers vendor invoice.
We solve the issue temporally by changing manually the partner bank type for the customer invoices. Then the system considers both documents (vendor/customer).
Does anyone has an idea how to solve this problem?
Thanks in advance,
SoumayaHi,
I already tried this option.
But the problem is not only for one single customer, but for several ones.
Which means that if I am going to use this solution I will have to
maintain the Bank details for all customers master data which is a long process.
Any other suggestions?
Thanks,
Soumaya -
CVI - linking vendor and customer to the same BP
Hi all,
I'm working in a scenario where the CVI (Customer Vendor synchronizing with Business Partners) works in the direction Vendor/Customer to BP. This means that the user creates a vendor or a customer (within the AP/AR modules) and the system creates the business partner automatically.
The problem is that the system doesn't perform any check to see if the vendor (or the customer) is linked to a customer (or a vendor) within the AP/AR master data and if yes, connects the vendor/customer to the same BP which is assigned to the customer/vendor.
Example: vendor 1000 is connected to customer 2000 within their master data in AP/AR. the system will create 2 separate business partners, one for vendor 1000 and one for customer 2000 rather then connect them to the same business partner.
The CVI_CUSTOM_MAPPER BADI kicks in too late (!!) since at that point of the process, the system has already determined the necessary entry for the link tables (CVI_CUST_LINK and CVI_VEND_LINK) and any change to the BP GUID within methods MAP_CUSTOMER_TO_BP or MAP_VENDOR_TO_BP will result in dumps at a later stage, as the link in the CVI link tables will contain a GUID which was never created...
Please help me.. I'm stuck now...
ShlomiHi,
Check the "Automatic creation of Business Partner in FSCM" message. You have to create BP to synchro with customer and customer to BP.
To synchro personal data, you have to run MDS_LOAD_COCKPIT program.
JPA -
Customer & Vendor Balance clearing
Hi All,
We have maintained the customer in the Vendor master Data and vice versa.
We have made some transactions,invoice and payment etc...
Now the accounts are showing balance...how to knock off the balance.
Appriciate your help
RegardsHi
Since your vendor master 100 is having customer 58 , but customer 58 is having vendor 115, System will remove customer assignment from vendor master as soon as you assign different vendor master in customer 58,
Please re-check vendor master again and correct the customer assignment here as 58 and in customer master data vendor assignment as 100 , then tick in payment transaction- clearing with customer in vendor master and clearing with vendor in customer
Go to F-44 , select your vendor 100 and execute it , it will include open items of customer 58.
Cheers
Mukta
Edited by: MUKTAKUMARI on Jul 28, 2009 12:02 PM -
Custom vendor,freight vendor in case of import purchase order
Hi all,
I make the purchase order for imported goods and provide the insurance vendor,custom vendor & clearing charges vendor in PO itself. But when i was go for MIRO for planned delivery cose system show me message as:
Different invoicing party 1000055 planned for del. costs item in PO
4500000280
Message no. M8287
Diagnosis
You entered an invoice for delivery costs.
In a delivery costs item for purchase order 4500000280, the invoicing
party is 1000055. You are now posting the invoice to 1000040. This can
be for one of two reasons:
o You entered 4500000280 in the field Purchase order, and 1000040 in
the field Invoicing party.
o You entered a multiple allocation. The first item refers to a
purchase order with invoicing party 1000040. Another item refers to
purchase order 4500000280. The system copies the invoicing party
from the first delivery costs item to all items, in this case
Note:
The category of this message can be changed in Customizing for Invoice
Verification. This means that you can receive a message as an error
message even though it is defined as a warning message in the standard
system.
The following documentation deals with the case applicable to the
standard system only.
cedure
Check your entries and make any necessary corrections.
If you want to allow delivery costs with different invoicing parties to
be selected, change the system message to W in Customizing. To do this,
you work through the step Define Attributes of System Messages in the
Implementation Guide for Invoice Verification.
The message is set as an error message in the standard system. In this
case, the delivery costs are not selected.
regards,
dineshImport Vendor return is like re export from business point of view.
You can follow export sales process in sap.
What i suggest is for example if it is raw material you can create a bom with parent material as X-01,child material as Y what
you are returning to vendor.
Note: Create parent material as HALB with sales view & accounting view with valuation of raw material.
Do production goods receipt,it willl bring stock to parent material.
Create customer for vendor.
Adopt export sales process,create a sales order,delivery,billing,invoice,excise invoice,ARE1.
Note : Discuss with FI consultant/core team take care of accounting effects in billing.
Clear balances for customer or vendor using F-53 or F-58.
Note : You need to tell excise/submit documents telling it is not actual export.
or
If you opt for purchasing route,then there is lot of customs formalities to be completed & also need to pay duties taken credit,depends on value of goods if it is high, you can opt for import vendor returns or ask vendor for debit memo which will be adjusted with future purchases against same vendor
I also asked same question in forum, refer link for solution [ Import material - Vendor returned(Indian scenario) |Import material - Vendor returned(Indian scenario); -
Withholding tax amount exceeds the customer/vendor line item amount
Hi experts
I am having one problem please help me
My user created one down payment, entry is like this
Vendor Dr-193914
To TDS 3878
To Bank 190036
After this he has booked MIRO with the same value 193914 & has deducted TDS 3878 over that invoice
Now when he is going to adjjust that down payment against that MIRO with specific line item 62
system is throwing that error.
Withholding tax amount exceeds the customer/vendor line item amount 002
Message no. 7Q321
I checked invoice booked correctly & TDS also dedcuted properly why system is throwing that error message
please help me
Regards
Nitin ShuklaHi Madhu
thanks a lot for instant reply
We are using F-54 Down Payment adjustment at this time we are facing problem & we are clearing against invoice
& with specific line item
For Eg. 5100001596 & line item - 53
Regards
Nitin Shukla -
Intercompany customer/vendor netting
Can someone pls share what is the IHC config steps required for intercompany Customer/vendor netting.
is there a way to make payment from F110 run from Intercompany vendor, clears receivale balance by Financial statement posting to the intercompany customer.
customer vendor belong to same company.
Thanks-VivekHi Vivek,
In the case of customer receivables, you can set-up a company code as a customer. For example you have company code 0001 and company code 0002. You want company code 0001 to collect from company code 0002. You can simply set-up company code 0002 as a customer in company code 0001. Let's say company code 0002 will be customer number 11002. You create a customer invoice for 11002 in company code 0001 and then run F110.
Postings will be the same as how normal customers are.
Hope this helps!
Josef -
Reimbursing to customer vendor
Hi Folk,
In travel expense module, if employe spent out of his pocket the amount will be reimbursed to his employee vendor account. Is there is any posibilty to reimburse the amount to the customer vendor?
Our requirement is the employee going to use the corporate credit card for travel. If he select any credit card expense type the amount should be posted to credit card vendor account as it is happening to employee vendor. (because we dont want any clearing account for the credit card expenses).
Kindly suggest.
Thanks,
Nandagopal CBusiness Area is not assigned to Customer / Vendor Reconciliation Account but the same gets derived from Plant, in case of vendor and from sales area i.e. combination of sales organisation, distribution channel & division for customers.
The business area so derived is applicable for vendor / customer reconciliation accounts
Regards
Rakesh Pawaskar
Maybe you are looking for
-
Finder shows deleted files until I reopen the folder
Hi, I am having a problem in finder after I updated to Maverick (10.9) Say; I have 3 files in a folder and I delete the first file, Finder still shows all 3 files. But when I open the first one in an app it opens the second one because the first one
-
Pull compressed file (.gz format) via FTP and place on Application server
Hello! Greetings. We have a requirement where a compressed file in the format *.gz is to be pulled via FTP and saved to the application server after extracting. I searched the forums and found options to pull text or XL files, but nothing about pulli
-
Replacing a 32 bit primary server with a 64 bit
I have two zcm11 servers. Our first server is a 32 bit and the second is 64 bit. The 32 bit server was our first server and the 64 bit was added later. I would like to remove the 32 bit server and install a new ZCM server, preferably with sp3. I'm no
-
Hello all, I need to initiate a criteria workflow with 2 steps and each step having 1 user. I want a situation where a workflow is being initiated and it goes to step1 user then it will wait for a specific time (say 5 mins) for that user to approve.
-
I have countless repetitve tasks to do with SPSS - statistcal analysis for a PhD I'm doing. I can see that automator with the addition of an Applescript may be very useful, however my expertise is acupuncture not computer programming. First of all ca