Double vendor for invoicing
Dear SAP Expert,
I have a little question about SAP.
Here is the root case :
My client (Z) have a contract with vendor X while several service in contract was perform
by vendor Y. In Contact paper documentation, it was writen. But in SAP data, contract only
exist for vendor X. Then vendor X should pay to vendor Y.
But some regulation changed.
This situation is not permitted. So, if i want to create SO, invoice document should
created for two vendor (X and Y). I just try using partner function in vendor master data
and contract data. But SO still can not invoiced for two vendor.
Error message was occured in SAP : only one invoice presented by can be entered.
My questions are :
1. Does SAP really not allowed us to created invoiced for more than one vendor?
Please let me know the business explanation for this.
2. Is there any solution for this matter?
3. Can partner function perform this request? since i just failed to using this function.
Appreciate for your help
Thank you so much
Regards,
hi,
Invoice can be paid for the single vendor in the single trasaction MIRO..
Even if you define the partner functions, at a time you can enter the only one vendor for the payments...
You can do this just only by creating the PO for the two different vendors differently and then post the invoice for both of them differently...
> its easy to explain, because when you make the MIRO(IR doc), you can see the vendor field, where there you can enter only one vendor...Partner function is use to have different functions of your vendor as partner like invoicing party, ordering address, freight payment etc...
Hope it helps..
Regards
Priyanka.P
Similar Messages
-
Validation for vendor for invoice Rs.20000
H expert
I would like to build a validation for one time vendor for which it should not allow invoice value for <20000
How to do it. Please suggest me a step by step config involved in this.Points will be rewarded.
skBetter to write Validation :
Prereqisit:
BKPF-LIFNR>=1 AND BKPF-LIFNR<=100
**Check**
BSEG-WRBTR
and Write any Message what you want then SAVE
Go to OB28 and assign this validatin to our company code and active and SAVE
I hope this validation useful for you
If it will useful 4 u give rewards
Regards
TML -
Configuration for new company code & new vendor for Invoicing(FB60)
Hi All,
i am using FB60 to create the Invoice & then using F110 for the payment for existing company codes. Now i need to do the invoice & payment for a new comapny code & new vendor . Please tell me what are the configurations, i should do so that i can do the invoice for new comapny code & new vendor.
Thanks
pabiHi,
Use tables,
1.For material MARA,MARC,MVKE,( try use t.code:MM60)
2.For vendor LFA1,LFB1 (try use t.code:MKVZ)
Regards,
Biju K -
Convertion of Smart form to pdf and sending mail to vendor for Invoice
Hi All...
now I am getting the output form of Invoice by the T-code VF02
here Im using Zreport & Zform...
my requirment is to convert smartform output to PDF and send as an e-mail attachment on my Existing report
where I use the FM - CONVERT_OTF_2_PDF ..
here my code
REPORT yinvoice_is.
TABLES: vbrk,vbrp, vbak, vbap, vbkd .
DATA : it_vbap TYPE STANDARD TABLE OF vbap WITH HEADER LINE ,
it_vbrk LIKE STANDARD TABLE OF vbrk with header line,
it_vbkd TYPE STANDARD TABLE OF vbkd WITH HEADER LINE ,
it_vbrp TYPE STANDARD TABLE OF vbrp WITH HEADER LINE ,
it_vbrp1 TYPE STANDARD TABLE OF vbrp WITH HEADER LINE ,
it_vbfa TYPE STANDARD TABLE OF vbfa WITH HEADER LINE ,
it_adrc1 TYPE STANDARD TABLE OF adrc WITH HEADER LINE,
it_adrc2 TYPE STANDARD TABLE OF adrc WITH HEADER LINE.
DATA: sum TYPE vbrp-kzwi5.
DATA: v_vkbur TYPE vkbur,
v_adrnr1 TYPE adrnr,
v_adrnr2 TYPE adrnr,
v_vbelv TYPE vbelv,
v_delch TYPE vbeln,
v_bstkd TYPE bstkd,
v_kdmat TYPE kdmat,
v_kwert TYPE kwert.
DATA : fm_name TYPE rs38l_fnam.
PARAMETER p_inv_no LIKE vbrk-vbeln OBLIGATORY .
Selecting Data
SELECT VBELN
ERDAT
VKORG
KUNRG
STCEG
NETWR
MWSBK
KNUMV
KUNAG
REGIO
FROM vbrk
INTO CORRESPONDING FIELDS OF TABLE it_vbrk
WHERE vbeln = p_inv_no .
SELECT matnr
kzwi1
kzwi2
kzwi3
kzwi4
kzwi5
netwr
mwsbp
meins
fklmg
arktx
FROM vbrp
INTO CORRESPONDING FIELDS OF TABLE it_vbrp
WHERE vbeln = p_inv_no .
Selecting Sales Order No.
SELECT SINGLE vbelv
FROM vbfa
INTO v_vbelv
WHERE vbeln = p_inv_no
AND vbtyp_v = 'C'.
IF sy-subrc = 0.
Selecting Delivery Challan...
SELECT SINGLE vbeln
FROM vbfa
INTO v_delch
WHERE vbelv = v_vbelv
AND vbtyp_n = 'J'.
SELECT SINGLE bstkd
FROM vbkd
INTO v_bstkd
WHERE vbeln = v_vbelv .
SELECT matnr kdmat
FROM vbap
INTO CORRESPONDING FIELDS OF TABLE it_vbap
WHERE vbeln = v_vbelv.
ENDIF.
READ TABLE it_vbrk INDEX 1.
IF sy-subrc = 0.
SELECT SINGLE kwert
FROM konv
INTO v_kwert
WHERE knumv = iT_vbrk-knumv
AND kschl = 'HD00'.
ENDIF.
Selecting From Address
SELECT SINGLE vkbur
FROM vbak
INTO v_vkbur
WHERE vbeln = v_vbelv.
IF sy-subrc = 0.
SELECT SINGLE adrnr
FROM tvbur
INTO v_adrnr1
WHERE vkbur = v_vkbur.
IF sy-subrc = 0.
SELECT SINGLE *
FROM adrc
INTO CORRESPONDING FIELDS OF it_adrc1
WHERE addrnumber = v_adrnr1.
APPEND it_adrc1.
ENDIF.
ENDIF.
APPEND it_adrc.
Selecting TO Address
SELECT SINGLE adrnr
FROM vbpa
INTO v_adrnr2
WHERE vbeln = p_inv_no
AND parvw = 'RE'.
IF sy-subrc = 0.
SELECT SINGLE *
FROM adrc
INTO CORRESPONDING FIELDS OF it_adrc2
WHERE addrnumber = v_adrnr2.
APPEND it_adrc2.
ENDIF.
Calling Function Module
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'YINVOICE_IS'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
fm_name = fm_name
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Calling Function Module
CALL FUNCTION fm_name
*'/1BCDWB/SF00000496'
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
i_vbelv = v_vbelv
i_bstkd = v_bstkd
i_kdmat = v_kdmat
i_kwert = v_kwert
i_delch = v_delch
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
it_vbrk = it_vbrk
it_vbrp = it_vbrp
it_vbap = it_vbap
it_adrc1 = it_adrc1
it_adrc2 = it_adrc2
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
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. "ENTRYhi,
use this code..
DATA: i_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
i_tline TYPE TABLE OF tline WITH HEADER LINE,
i_record LIKE solisti1 OCCURS 0 WITH HEADER LINE,
Objects to send mail.
i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
i_objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
i_objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
Variables declarations
v_len_in LIKE sood-objlen, "#EC NEEDED
v_lines_txt TYPE i,
v_lines_bin TYPE i,
Work Area declarations
w_ctrlop TYPE ssfctrlop,
w_return TYPE ssfcrescl,
w_compop TYPE ssfcompop,
wa_objhead TYPE soli_tab,
wa_doc_chng TYPE sodocchgi1,
wa_buffer TYPE string. "To convert from 132 to 255
Put a IF ELSE condition whether u want form output or E-mail output..
if it is a E-mail.. then call a small Sub-routine within your program..
FORM f_email .
w_ctrlop-getotf = 'X'.
w_ctrlop-no_dialog = 'X'.
w_compop-tdnoprev = 'X'.
CALL FUNCTION fnam
EXPORTING
control_parameters = w_ctrlop
output_options = w_compop
nast = nast
v_tcode = v_tcode
IMPORTING
job_output_info = w_return
TABLES
it_vbdkr = it_tvbdkr[]
it_vbdpr = tvbdpr[]
it_zglentitycode = it_zglentitycode[]
it_vttk = it_vttk[]
it_kna1 = it_kna1[]
it_t005 = it_t005[]
it_adrc = it_adrc[]
it_ekpo = it_ekpo[]
it_ekko = it_ekko[]
it_vbrp = it_vbrp[]
it_mara = it_mara[]
it_vbrk = it_vbrk[]
it_likp = it_likp[]
it_vttp = it_vttp[]
it_t001 = it_t001[]
it_zlogdely = it_zlogdely[]
it_prod = it_prod[]
it_lineitems = it_lineitems[]
it_tvzbt = it_tvzbt[]
it_t173t = it_t173t[]
it_t005t = it_t005t[]
it_zplant = it_zplant[]
it_stxbitmaps = it_stxbitmaps[]
it_prod_desc = it_prod_desc[].
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
i_otf[] = w_return-otfdata[].
*Converting the OFT format data to PDf format
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = v_len_in
TABLES
otf = i_otf
lines = i_tline.
LOOP AT i_tline.
TRANSLATE i_tline USING '~'.
CONCATENATE wa_buffer i_tline INTO wa_buffer.
ENDLOOP.
TRANSLATE wa_buffer USING '~'.
DO.
i_record = wa_buffer.
APPEND i_record.
SHIFT wa_buffer LEFT BY 255 PLACES.
IF wa_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
Attachment
REFRESH:
i_reclist,
i_objtxt,
i_objbin,
i_objpack.
CLEAR wa_objhead.
i_objbin[] = i_record[].
Create Message Body
Title and Description
i_objtxt = 'COMMERCIAL INVOICE'.
APPEND i_objtxt.
DESCRIBE TABLE i_objtxt LINES v_lines_txt.
READ TABLE i_objtxt INDEX v_lines_txt.
wa_doc_chng-obj_name = 'COMMERCIAL INVOICE'.
wa_doc_chng-expiry_dat = sy-datum + 10.
wa_doc_chng-obj_descr = 'COMMERCIAL INVOICE'.
wa_doc_chng-sensitivty = 'F'.
wa_doc_chng-doc_size = v_lines_txt * 255.
CLEAR i_objpack-transf_bin.
i_objpack-head_start = 1.
i_objpack-head_num = 0.
i_objpack-body_start = 1.
i_objpack-body_num = v_lines_txt.
i_objpack-doc_type = 'RAW'.
APPEND i_objpack.
Attachment
(pdf-Attachment)
i_objpack-transf_bin = 'X'.
i_objpack-head_start = 1.
i_objpack-head_num = 0.
i_objpack-body_start = 1.
DESCRIBE TABLE i_objbin LINES v_lines_bin.
READ TABLE i_objbin INDEX v_lines_bin.
i_objpack-doc_size = v_lines_bin * 255 .
i_objpack-body_num = v_lines_bin.
i_objpack-doc_type = 'PDF'.
i_objpack-obj_name = 'COMMERCIAL INVOICE'.
i_objpack-obj_descr = 'COMMERCIAL INVOICE'.
APPEND i_objpack.
IF it_adr6[] IS NOT INITIAL.
LOOP AT it_adr6 INTO wa_adr6.
CLEAR i_reclist.
i_reclist-receiver = wa_adr6-smtp_addr.
i_reclist-rec_type = 'U'.
i_reclist-com_type = 'INT'.
APPEND i_reclist.
ENDLOOP.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = wa_doc_chng
put_in_outbox = 'X'
TABLES
packing_list = i_objpack
object_header = wa_objhead
contents_bin = i_objbin
contents_txt = i_objtxt
receivers = i_reclist.
ENDIF.
ENDFORM. " f_email
regards
vijay -
How to restrict a hold GR document for invoicing
Dear all,
I made the GR against a PO in MIGO. for that document no also generated. But due to some reason i want to hold the document no, so that it can't be further processed.
I also hold the same document no by performing "DISPLAY" "MATERIAL DOCUMENT" & entering the same document no and click on the "HOLD" button in MIGO.
After this, it shows in the document overview tree under "HELD DATA". but it still allowes for invoicing in MIR7 and MIRO which i want to restrict.
Is it possible to restrict for invoicing.
Quick reply will be appriciated.
thanks
Prasant sekharHi
Goto Transaction code: XK05 and Block that particular vendor for Invoice posting at select Company code level..
Reward if useful
Regards
S.Baskaran -
Maintain Vendor for the excise invoice
Dear Guru's,
While creating goods receipt (In STO Process), I am facing the following error,
"Maintain Vendor for the excise invoice"
How to solve this one.
Regards,
CSHi CS,
Check whether you had maintained the vendor(supplying plant) in J1ID and also check whether excise indicator 1 is there.
And also check whether vendor (supplying plant ) is linked with customer in vendor master in Account control tab and also check whether vendor master (supplying plant) is linked to your customer master in control data ....
Hope this will serve you..
regards,
Patil -
Maintain Vendor for excise Invoice in STO
Hi Friends
I am doing GR against Stock transport Order and getting error as Maintain vendor for excise Invoice
I created vendor master for plant then i maintained additional purchasing data in purchasing view there i did settings as follows
Purchasing View --> Extra --> Add purchasing data --> Selected data retention at plant level
Purchasing view --> Alternative Data --> Selected purchasing here i maintained supplying plant code
Same procedure i did for receiving plant also.
After that i maintained vendor master recored excise details in J1id
Still i am getting same error
Please give your valuable inputs
Regards
Vivek
Edited by: Supergene on Jul 24, 2008 1:01 PMHi,
Its not necessary to selected data retention at plant level.
Have you assigned Excise Indicator (For e.g. "1") to the Vendor Master, also maintain the ECC No, Excise Reg, Division, Commissionarate, LST, CST, etc....
Then it will work for new transactions. (For old, I think it will not work) -
Maintain vendor for excise invoice -STO process??
Hi,
Still facing problem in Same issue so...
I am doing Stock transfer from plant to plant in same company code.
i have maintain all the information in the Excise TAB of migo but still face the following errors.
Error is "Maintain Vendor for the excise invoice. (Message No 4F185) ...????"
In STO process, vendor it won't come in the picture ??Becas , once we create purchase order with UB document type , it 'll ask for only supplying plant not for vendor .
So what might be the problem and how to locate it , trouble shoot the same .???
Thanks in advance
SAP-MMhi
check following
goto Xk02
give ur vendor ( plant assigned to)
then goto PURCHASING TAB
here in menu EXTRAS>ADD URCHASING DATA
here u can find field for plant
just check and revert back
regards
kunal -
In STO process, am getting error in GR"Maintain vendor for Excise invoice "
Hello
In STO process(MM route) I have prepared excise invoice by J1IS. While preparation of J1IS i have enterd customer(recieving plant as customer).I have also mainatin the the supplying plant as vendor in J1ID. But when i am trying to capture the excise invoice at recieving plant during GR am getting error "Maintain vendor for Excise invoice "
Kindly suggest
Regards
Manishdear sir
please check in customer master record , in control Data tab, vendor master assigned .
if not assigned the vendor master in customer master.
regards
jrp -
Vendor wise/Invoice wise consumption for each WBS element
Any standard report from SAP, which provide details of Vendor Purchase order / Contract, details of SES with WBS no. and details of Vendor invoice in columnar form.
SAP system can not generate standard reports giving vendor wise/Invoice wise consumption for each WBS element of particular asset.
Please help me to get this report.
Thanks in Advance.Hi
Your starting point should be CJI3 report or any PS report... Here you get the FI Doc no
If this FI Doc No is generated from MM, check the Header segment of the document.. It would have MM Doc NO + Fisc Yr populated in the ref key... This gives you the link between FI & MM
From here on, you can take it forward... You can look up this doc no in MSEG Table and find the PO no... Then go to EKBE table for other PO details....
br, Ajay M -
hi all,
i want to post subsequent debit for a vendor before invoice. but the system is giving a message "The quantity to be debited/credited cannot be any greater than the quantity invoiced so far."
can anybody tell me how to post subsequent debit before posting the invoice (i haven't got the vendor invoice yet but i must pay the freight cost).Hi,
Subsequent debit : Rarely, you receive from your vendors invoices or credit memos that refer to transactions that have already been invoiced. Your company wants to use subsequent debits/credits to process these documents. A subsequent debit/credit changes the total invoice value only of a purchase order item but the total invoice quantity remains unchanged.
The processes are:
1) Subsequent credit or even subsequent debit is done when total VALUE" of invoice is changed.
2) Total invoice Quantity is remained same.
3) Only value based transaction takes place & not quantity base.
4) If credit memo is received from memo then subsequent credit is done in MIRO.
For example vendor has submitted invoice of 100 Qty for Rs 1000 & we have posted the invoice & subsequently he realized that he has invoice for higher price i.e. it should have been actually 900 Rs as against Rs 1000 .In this case he will send a credit memo of Rs 100 for which we will be doing subsequent credit.
5) This is done for PO items if an invoice is already posted
6) cannot refer to particular invoice
7) Listed separately in PO history
8) In PO total values is updated but not Quantity.
For ur case you can pay to Vendor(freight cost ) by selecting Planned Delivery Cost instead of Goods/Services items in MIRO T.Code
Regards,
Biju K -
How to produce an XML file in OAGIS format ( for Vendor Master & Invoices)
Hi Guys,
I've requirement to produce an XML file in OAGIS format ( for Vendor Master & Invoices) under Oracle AP and PO.
Any inputs?
thanks.Not sure,you are looking for inbuild product to produce the OAG XML format, or trying to build custom one.
If options is Inbuild Product, Oracle Exchange is yeh another product has such kind of capability. Refer this
http://download-west.oracle.com/docs/cd/A97329_03/web.902/a88894/adx16orx.htm#1007387
FOr second , check out these two document in metalink
150083.1 XML Utilities
123491.1 How To Insert XML Documents Into The Database And Validate Them Using PL/SQL ?
Hope this will be help -
Hi SAP Gurus,
Could you help me on this, How system will automatically populate clearing date field for invoices paid similar to when payments are made to the vendors.
Regards
MohanHi Ramakrishnappa,
If you clear the invoice against payment, then the invoice clearing date would be payment document posting date.
Regards,
Mukthar -
XML Incoming Invoices - Send response to Vendor for Failed Messages in XI
In our system, Vendor are posting XML Invoices to XI using HTTP adapter and then XI is sending invoices to R/3 using IDOC adapter. Is there anyway I can send response message to vendors for the error out invoice messages in XI?
Please help me if someone has any information about it.
Thanks in advance!
Mrudula PatelMrudula
There are two types of errors you have take care of. One is technical error and the other application error.
To sending technical errors like mapping error, you can use fault messages in XI.
For application errors, you can use ALEAUDIT functionality from the receiver R/3 system, which you can map in to an asynchronous XML message as agreed between you and your vendor.
It is a good practise to always send acknowledgements (both failure and success) to your vendor so that at the end of the day, the number of invoices matches on both systems (yours and your vendor's).
Thanks
KK -
Maintain Vendor for the excise invoice Message no. 4F185
I am doing stock transfer PLANT to PLANT.
ME21N, VL10D, VF01 and J1IIN it was save properly.
After that I make MIGO. That time Error show "Maintain Vendor for the excise invoice Message no. 4F185"
MIGO time I am changing Indicator for material type FG to RM.
I am maintaining Vendor (Acct Control as Customer) & J1ID data also.
I am maintaining Customer (Acct Control as Vendor) & J1ID data also.
Please do needful
AlpeshHi Alpesh,
Please find the below links
Error : Maintain Vendor for Excise Invoice
Vendor error in STO ????
Hope this links helps you
Dasaradha
Maybe you are looking for
-
In CLIENT_RESULT_CACHE_STATS$ "Find count always shows 0"
In CLIENT_RESULT_CACHE_STATS$ "Find count always shows 0" even client cache is enabled. I am not able to enable client side result cache . I use ODAC which uses ODP.net driver internaly i have attached code file. I have done following settings in dat
-
How do I overcome Error A12E6 on I-Mac OS 10.6.X?
-
I have a PIXMA Pro9000 Mark II Canon printer. I get ten flashes of the orange light. The manual says that means the front tray is not properly adjusted. I have set and reset the front tray numerous times and I know it is properly set. BUT, I still
-
The power supply in my Intel iMac went out (and smelled pretty burned) so I replced it and now when I start it up the display is so dark I can hardly see it and it shows the missing folder icon. Is it the inverter? Or if shine a flashlight on it and
-
Plugin update page is not responding. Why?
I have gone to the page to update plugins. https://www.mozilla.org/en-US/plugincheck/?utm_source=firefox-browser&utm_medium=firefox-browser&utm_campaign=plugincheck-update But nothing happens there. Something turns and turns next to the message: "Che