Creation of PDF in SAP per Vendor - Remitance Advice
Hello Everybody,
We have come up with a requirement.
We are sending the remittance advice automatically to vendors once the payment run is executed via transaction F110.
The remittance advice will also be saved on the desktop of the user in PDF format, so that in future if the remittance advice is not delivered to the vendor then the user can send a copy to the vendor.
A spool will be created after F110 is executed. With the spool number we can convert the forms into PDF.
Now the issue is Only one PDF document is created for one spool. One spool will have the advices created for multiple vendors. We requrie one PDF document per vendor. That is each vendor should have different PDF document.
Let us know you views on this .
Regards,
MG
Did you develop a custom program to output the file on to the users computer? If so you may be able to modify it. I'm familiar with the standard program that will let you e-mail the PDF but didn't realize it would save it to the local machine, especially as it's run as part of a background job and would have thought it would drop it on the application server.
That said depending on the number of vendors you have saving one PDF per vendor I think would be more of a pain. We for example pay 1,000s of vendors a week so looking through the files, even it it were somehow named intelligently (vendor #, payment date, etc.) may take some time. There are 3rd party apps that let you print to a PDF or modify an existing PDF.
For example CutePDF allows you to print a document and save it to a PDF. What I'm thinking is just open the large file that contains all of the vendor remittances, search on the vendor #, and then print the pages you need to a PDF file which can be e-mailed. Or use some PDF modify/creation program to just save the pages you want to a new file and e-mail that out. May be less clunky than CutePDF but I don't have an app like that installed. Not exactly what you asked for I know but a possible solution.
Good luck.
Similar Messages
-
Report in SAP that shows me the fixed assets per vendor
Hi,
I have been asked to produce the following;
Can I run a report in SAP that shows me the fixed assets per vendor?
I need the detail of the depreciations (start and end date, purchase price, depreciation rate, methodu2026) and the fixed assets register (purchase amount, purchase date, vendor nameu2026)
Could you kindly explain to me in simple steps what report I should run?
Many thanks in advance.
AlexHi, there is no such report in SAP. You can develop your own, The main issue is that to get vendor for asset to which were issued material from storage. You can do it via batch(write down while purchasing to some field, or to find it via batch). Fir material for which batch management is not active it's not possible to, because you can buy one material from different vendors.
-
Error when PDF File is send through SAP to Vendors.
Hi,
We are regularly sending payment advices as PDF File to our Vendors. but from february all of sudden many of vendors are facing issue while opening PDF File.
Some of them are getting Error as "Adobe reader could not open file because it is either not supported file or because file has been damaged(it was sent as an email attachment and wasn't correctly decoded) while some of them are receiving Blank attachment.
Also when we try to send same file to internal id's and our personal Id's we are able to open same. So this is not sap problem as file leaves sap correctly.
What could be reasons they are not able to open same? Also this can't be a problem at recipients end as many of Vendors are facing this problem all of a sudden. Also one more observation when correct file is received size is of 8KB while same when received by Vendors its only of 1 KB.
Please let me know solution for this.
Regards
Tanuja NaikSee the steps to fix the issue here https://getsatisfaction.com/mozilla_messaging/topics/why_does_thunderbird_corrupts_pdf_file_attachments#reply_4197276
Config editor article here if needed https://support.mozilla.org/en-US/kb/config-editor
Tools menu can by "discovered" if missing by pressing Alt+T -
SAP MM vendor master Corporate group
Hi Gurus,
Can you help me find out a vendor spend report in SAP for vendors which belong to same company and are linked to each other with a field in the vendor master- "Corporate group"
This field is in the Control tab of the vendor master.
Regards
Kapil1. you need to get a list of all vendor in that account group
2. get the purchasing documents for these vendors in the specified company code
3. from the purchasing documents find the purchase order history to see if any invoice exists take all the invoice nos. per PO for each vendor
4. goto RSEg and give the invoice doc. nos.
you will get the details of all payments made as in price and the qty.
hope this helps -
Report for Number of invoice per vendor with amount
Hi All,
is there any standard SAP report we have which provide us number of invoices and amounts invoiced per vendor for a given time period.
Amit.Hi amit
I have the same requirement
"The requirement is to view POs related to invoices per vendor""
Can you suggest me a solution
Please help
Regards
Shanker -
Sending PDF to SAP Outbox - Urgent
Hi All,
I try to send a SAP mail with PDF Attachment throught a Program. Its sending the mail along with the attachment. But when i try to open the PDF in SAP Outbox, its giving formating error and file is not getting opend. The code as follows. Anybody code give us the solution.
[code
*& Report ZHH_TEST_CODE3 *
REPORT ZHH_TEST_CODE3 .
DATA: it_attachment TYPE soli OCCURS 0 WITH HEADER LINE.
Hold contents of attachment file for use by email
perform send_email USING '[email protected]' 'C:\TEST1.PDF'.
FORM send_email USING p_email p_filename.
DATA: lt_objpack LIKE sopcklsti1 OCCURS 2 WITH HEADER LINE,
lt_objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE,
lt_objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE,
lt_objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE,
lt_reclist LIKE somlreci1 OCCURS 5 WITH HEADER LINE,
l_document_data TYPE sodocchgi1.
DATA: l_att_lines TYPE i.
CHECK NOT ( p_email IS INITIAL ).
CLEAR: lt_reclist, lt_reclist[],
lt_objhead, lt_objhead[],
lt_objtxt, lt_objtxt[],
lt_objbin, lt_objbin[],
lt_objpack, lt_objpack[].
CLEAR l_document_data.
Read in file to attach to internal table it_attachment
PERFORM read_attach_file USING p_filename.
CHeck that attach file has been read
CHECK NOT ( it_attachment[] IS INITIAL ).
Body of email
MOVE 'This is the body of email' TO lt_objtxt.
APPEND lt_objtxt.
l_document_data-obj_name = 'Xtract'.
Title of email
MOVE 'This is the title of the email' TO l_document_data-obj_descr.
l_document_data-sensitivty = 'O'.
l_document_data-expiry_dat = sy-datum + 10.
l_document_data-doc_size = STRLEN( lt_objtxt ).
Settings for e-mail body
CLEAR lt_objpack.
lt_objpack-head_start = 1.
lt_objpack-head_num = 0.
lt_objpack-body_start = 1.
lt_objpack-body_num = 1.
lt_objpack-doc_type = 'RAW'.
lt_objpack-doc_size = STRLEN( lt_objtxt ).
APPEND lt_objpack.
Settings for e-mail attachment
DESCRIBE TABLE it_attachment LINES l_att_lines.
READ TABLE it_attachment INDEX l_att_lines.
CLEAR lt_objpack.
lt_objpack-transf_bin = 'X'.
lt_objpack-head_start = 1.
lt_objpack-head_num = 0.
lt_objpack-body_start = 1.
lt_objpack-body_num = l_att_lines.
lt_objpack-doc_type = 'PDF'.
lt_objpack-obj_name = 'email'.
lt_objpack-obj_descr = 'KANBAN'.
lt_objpack-doc_size = ( 255 * ( l_att_lines - 1 ) ) + STRLEN( it_attachment-line ).
APPEND lt_objpack.
make recipient list
lt_reclist-receiver = p_email.
lt_reclist-rec_type = 'U'. "OUT OF SAP user
APPEND lt_reclist.
send mail with attachment
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = l_document_data
put_in_outbox = 'X'
TABLES
packing_list = lt_objpack
object_header = lt_objhead
contents_bin = it_attachment
contents_txt = lt_objtxt
receivers = lt_reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
If sy-subrc = 0.
write:/ 'successful sending'.
else.
write:/ 'failure in sending'.
endif.
ENDFORM. " send_email
FORM read_attach_file USING p_filename TYPE string.
DATA: act_filetype LIKE rlgrap-filetype,
act_filename LIKE rlgrap-filename,
h_filename LIKE rlgrap-filename,
doc_length LIKE soxwd-doc_length,
f_cancelled LIKE sonv-flag,
file_put_to_kpro LIKE sonv-flag,
def_filename(12),
l_filetype TYPE rlgrap-filetype.
l_filetype = 'PDF'.
def_filename = 'TEST1.PDF'.
REFRESH it_attachment.
CALL FUNCTION 'SO_OBJECT_UPLOAD'
EXPORTING
default_filename = def_filename
filetype = l_filetype
path_and_file = 'C:\TEST1.PDF'
*no_dialog = 'X'
IMPORTING
filelength = doc_length
f_cancelled = f_cancelled
act_filename = act_filename
act_filetype = act_filetype
file_put_to_kpro = file_put_to_kpro
TABLES
objcont = it_attachment
EXCEPTIONS
file_read_error = 1
invalid_type = 2
x_error = 3
object_type_not_allowed = 4
kpro_insert_error = 5
OTHERS = 6.
if sy-subrc = 0.
write:/ 'file uploaded'.
else.
write:/ 'problem in uploading'.
endif.
ENDFORM. " upload_file
[/code]
And I promise to return and reward the answers.
With Regards,
Raja T.Hi,
Check the sy-subrc value while reading the attachement in the function module 'SO_OBJECT_UPLOAD'.If it is not zero,then there is problem there itself.
Check these link for sample coding.
http://www.sap-img.com/fu016.htm
Re: Sending e-mails using ABAP
Have a look at this sample coding also.
FORM SEND_MAIL.
DATA: OBJPACK LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
DATA: OBJHEAD LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE.
DATA: OBJBIN LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
DATA: OBJTXT LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
DATA: RECLIST LIKE SOMLRECI1 OCCURS 5 WITH HEADER LINE.
DATA: DOC_CHNG LIKE SODOCCHGI1.
DATA: TAB_LINES LIKE SY-TABIX.
DATA L_NUM(3).
Creation of the document to be sent
File Name
DOC_CHNG-OBJ_NAME = 'SENDFILE'.
Mail Subject
DOC_CHNG-OBJ_DESCR = 'Delivered Mail'.
Mail Contents
OBJTXT = 'Object text'.
APPEND OBJTXT.
DESCRIBE TABLE OBJTXT LINES TAB_LINES.
READ TABLE OBJTXT INDEX TAB_LINES.
DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
Creation of the entry for the compressed document
CLEAR OBJPACK-TRANSF_BIN.
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 0.
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = TAB_LINES.
OBJPACK-DOC_TYPE = 'RAW'.
APPEND OBJPACK.
Creation of the document attachment
LOOP AT ITAB_DATA.
CONCATENATE ITAB_DATA-PRODUCTOR
ITAB_DATA-VBELN
ITAB_DATA-POSNR
ITAB_DATA-MATNR INTO OBJBIN.
APPEND OBJBIN.
ENDLOOP.
DESCRIBE TABLE OBJBIN LINES TAB_LINES.
OBJHEAD = 'ORDERS'.
APPEND OBJHEAD.
Creation of the entry for the compressed attachment
OBJPACK-TRANSF_BIN = 'X'.
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 1.
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = TAB_LINES.
OBJPACK-DOC_TYPE = 'TXT'.
OBJPACK-OBJ_NAME = 'WEBSITE'.
OBJPACK-OBJ_DESCR = 'ORDERS.TXT'.
OBJPACK-DOC_SIZE = TAB_LINES * 255.
APPEND OBJPACK.
Completing the recipient list
target recipent
clear RECLIST.
RECLIST-RECEIVER = '[email protected]'.
RECLIST-EXPRESS = 'X'.
RECLIST-REC_TYPE = 'U'.
APPEND RECLIST.
copy recipents
clear RECLIST.
RECLIST-RECEIVER = '[email protected]'.
RECLIST-EXPRESS = 'X'.
RECLIST-REC_TYPE = 'U'.
RECLIST-COPY = 'X'.
APPEND RECLIST.
Sending the document
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = DOC_CHNG
TABLES
PACKING_LIST = OBJPACK
OBJECT_HEADER = OBJHEAD
CONTENTS_BIN = OBJBIN
CONTENTS_TXT = OBJTXT
RECEIVERS = RECLIST
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
OPERATION_NO_AUTHORIZATION = 4
OTHERS = 99.
ENDFORM. " SEND_MAIL
Check this link also.
http://www.sapdevelopment.co.uk/reporting/email/emailhome.htm
Message was edited by: Jayanthi Jayaraman -
Deafult tax code and tax jurisdiction per vendor
Hi,
We are using tax jurisdiction in Process, now while creating Po every time according to vendor we have to enter the tax jjurisdiction and tax code , i s there any mwthod with which we can set default tax code and tax juridiction code as per vendor means we want to maitain as per vendor code, so that for eah item i n that PO , tax code and jurisdiction code will come automatically.
I have also check by making the tax jurisdiction code mandatory in Vendor master , in vendor master i have added tax jurisdiction for the vendor but while creating PO, system is not selecting the tax jurisdiction automatically.
regards,
zafar
Edited by: zafar_karnalkar on Jun 4, 2010 6:18 AMHello,
Tax Jurisdiction code will be determined from the plant. Please check your Plant/Site Master. SAP provided a BADI ME_TAX_FROM_ADDRESS also to redetermine Tax Jurisdiction code based on custom logic.
For Tax codes, you have to maintain condition records for condition type NAVS using MEK1. There are many standard access sequences available to maintain this. You may also build custom one if needed.
Thanks,
Venu -
Hi,
We need to generate a report listing out the purchases per vendor and giving the details of articles purchased, quantaties, and values. Could you please advise as to how can this be generated ? We tried to ran the report ME80FN, and after checking for the "Invoice Receipt" under the Dynamic Selections, we observed that the values picked up are same as those mentioned in the PO. However, while doing the Invoice Verification the values were changed and it is desired to generate a report for purchases with the final vlues and not purely the PO values.
Thanks in advance.Dear Raj,
Run tcode SAP1, this will give you all SAP standard reports available. You can find here various reports according to your choice. Menu Path is: SAP1 - MM- Purchasing/Inventory/LIV....
Rewards me if it helps you.
Thanks.
Vineet Dhawan -
Placing a PDF file in an InDesign Doc and PDF again for a vendor- Good or Bad?
Current debate in the graphics department is
Is it good or bad to place a PDF (general Press Quality) into an InDesign document and then creating a new PDF file with print vendor settings from that document?
My thought is that you in some cases are double compressing, lower dpi images getting compressed, RGB color mode images okay on layout but now are converted to CMYK and shift in the PDF.
Are there other issues and if so what are they.
Also is there an easy way to check ppi, color mode and compression of an acrobat PDF? I mean other than doing a preflight and searching into each image folder twenty levels deep. FlightCheck and Enfocus are not options,
too many vendors and not enough time.
Thank you all in advance for your words of wisdom.Dov, I just got off the phone with a trusted professional in the Prepress field at a quite reputable print house, and he said "Dov is the guru of PDFs, ask him this...Will the InDesign CS3 preflight see the characteristics of a PDF (color mode, dpi(ppi), compression) if the original placed PDF is created as a pdf .X4 (1.7)? Ask him also if you were to use one form of compression (say lossless) in the original PDF, and then another form(say lossy) in the vendor PDF would it hold both or convert the first PDF compression to the second form?"
Any other responses are also welcomed. -
How to create automatic creation of BP from customer and vendor master data
Hi gurus,
can any one tell how to create automatic creation of BP from customer and vendor master data.
Please give me the steps.
Thanks
Sasikanth.HI,
Goto SPRO\ Cross application components \ Master data synchronization \ Synchronization control.
Assign account groups of customer and vendors to respective BP grouping. This setting is enough to create BP in background while creating customer / vendor. But the fields groups are very much important, ensure mandatory fields should be sync.
rgds,
Srini -
Message "Creation of DataSources for SAP source system is not permitted"
Hi,
I am in DW Workbench: Modeling and I need to copy a DataSource.
It's impossible, beacause I have this Message "Creation of DataSources for SAP source system is not permitted"!
What can I do?
ThksHii.
You can not copy the standard datasource to any other source system it will not allow you to do that.
But if you want to copy you can copy it to PC FILE source system.
It will allow you to copy there.
Right click in Datasource->Copy-> Give Target datasource name -
> intarget Source system tab -
>Give Source system for File.
Thanks
Mayank
Edited by: Mayank Chauhan on Sep 4, 2009 5:41 PM -
Creation of Material from SAP VIEW using CDESK.
Hi Experts,
I have one question related to creation of Material from SAP View.
CAD file created say SM1000.prt
Create DIR in CAD View say SM1000
Scenario 1 : Create Material in Background from CAD VIEW or SAP VIEW from cad desktop, It creates material SM1000
in background.
Scenario 2 : Open CDESK ( Transaction)
Click on OPEN,
Selecting the DIR created SM1000
Create the material in background in SAP View, it gives message " enter material number"
Why am not able to create the material from SAP view using CAD Desktop. If any modifications needs to be done in CDESK CUS to solve this please let me know.
Thanks,
SudharshanHi Sudharshan,
maybe the reason for this is that your CAD applications provides a special material number and the customizing in CDESK is defined to use this number. In this case the number or value can by provided from the CAD application only from the CAD View.
In the SAP view the material gets created like in MM01 for example and so mabye you have to enter a material number.
Best regards,
Christoph -
Creation of PDF Document using ADF Table data in new window
Hi Guys,
I have a requirement of creating a pdf document from adf table and it must open in a new window.I know creation of pdf document using itext pdf jar.But in my case how to write the table data to pdf and how to open it in new window.
Thanks,
Srinivas.In the TF do like this..
view activity A-------dialog:invokePdf------->view activity B (invokePdf)
Fragment A command button would be
<af:commandButton action="#{pageFlowScope.PdfBean.openPDF}"
text="Generate" id="cbpdf"
useWindow="true"
windowWidth="700" windowHeight="700"/>
in the action add a return like return "dialog:invokePdf";
Control flow outcome is "dialog:invokePdf". B would be just a empty fragment. -
Creation of WBSE in SAP-PS from all Phase of Project from cProjects
Hi,
Need suggestion for the automatic creation of WBSE in SAP-PS from each phase of Projects from cProjects i.e. multi level controlling scenario
I have done the required configuration of Define Controlling Scenario where for the project type, controlling method has given (Multilevel Controlling (Structure Element, Automatic).
But in my case only one WBSE is getting created for all phse s & project defintion of project in cProjects.
Request you to suggest me on this issue.
Regards,
RanjanHi Vetrivel,
Thanks for your prompt response. These are settings made for multi level controlling scenarios.
1. Project Type:
Accounting Intergation-accounting integration in my SAP ERP, as of relese of the project
2. Define Object Links for Accounting Integration
- 0FIN_INT_ERP_PS Single-Obj. Controlling on WBS Elements
- Search Fields OLR3_TS_PRPS_SHLP
- Proxy Class CL_DPR_OLR3_WBSELEMENT
- 0FRAME9 frame has considered
3. Controlling
- Controlling Scenarios: PS01 Costing Variant
- Then Costing Model has assigned to Controlling Scenarios
- Assignment of Cost Elements to Cost / Revenue rate
Please suggest me if i have missed some things. I am checking the planed cost in CN41 transaction of the PS module. Morever in Project in cProjects costing button is disabled & while doing calculate no planned cost os updating in Projects.
I am following role based costing process. Project Role has defined & employee assiged to Projects.
Thank you in advance.
Regards,
Ranjan -
Creation of destination to SAP failed. Could not copy SAPOSS in SDCCN t-cod
Hi experts,
i am trying to generate rfc destination after entering SDCCN transaction when i click create destination to SAPNET R/3 Frontend getting an error as " Creation of destination to SAP failed. Could not copy SAPOSS"
can any one explain how to resolve it
Thanks&Regards
KeesaraSee [Note 763561 - Service Data Control Center (SDCCN) - FAQ|https://service.sap.com/sap/support/notes/763561] -> Question 8.
Regards,
Nelis
Maybe you are looking for
-
Can Drop Ship Warehouse be Utilized for Commission Only Business?
Our company has a small percentage of business where we act as a broker only. We process the customer orders, send the vendor POs and monitor the shipments, but we do not pay the vendor or collect the payment from the customer. The customer pays th
-
Hi professionals, I am working in a ALE/IDOC support project and I am an ABAP certified consultant. Now I am planning to take up BI. I have few doubts, 1. How is the job opening for an ABAP certified + BI certified person with 2+ years of experience
-
I'm running Lion on an iMac and have an iPad2. My wife also has an iPad but hers is the older generation. In iTunes we both have the 'Open iTunes when iPad is connnected' box checked and also the 'Sync with iPad over Wi-Fi' box checked. When conne
-
Is there a way to unlock a HD disc without erasing it?
I am trying to re-install Lion after making the ghastly mistake of messing with my HD permissions, completely messing up all my Sytem/library/extension/...Kext files, not that I understand what they are. Advice seemed to be that the best solution was
-
Illustrator CS5.1 Non Responsive
Hello, Up until recently, Illustrator worked just fine. Now, between most actions (be it clicking, copying, etc) there will be a delay where the whole window will become non responsive. My mouse will go the loading wheel and the Windows Task Manager