CF8 - Ajax Form Post and Document Type
I'm having a problem trying to figure out how to get a form
post to return a PDF document using CF8. I can't seem to get
CFDOCUMENT to deliver a PDF through the form.
I have a form inside a CFDIV...
<cfdiv id="mydiv">
<cfform action="myscript.cfm" method="post">
a bunch of input fields, then...
<input type="submit" value="Generate PDF" />
</cfform>
</cfdiv>
On submit, the form makes an Ajax call sending the data to a
script that generates a PDF using CFDOCUMENT and delivers it
through the browser.
However, it is not delivering the PDF. Instead, it is
delivering the CODE for the PDF into the CFDIV and trying to
display the code. I tried the same form delivering an Excel file
with cfcontent and cfheader. It delivers the code instead of the
actual document.
If I take this form out of the CFDIV, everything works great.
Why can't the Ajax call made by the CFDIV functionality
deliver a PDF or other file?
I'm having the same problems over two years later. CFCONTENT
doesn't work as documented when you call it from within an AJAX
app. My workarounds that call the code from another directory are
way too kludgey for the client, but proved my standard code works
outside of AJAX layout areas. I'm specifically trying to do what
tSpark also mentioned, that is generate an Excel spreadsheet from
query results displayed in an HTML table.
Has anyone solved this problem?
Similar Messages
-
Hello,
I have just detected an inconsistency in one of my SAP environment (Development). I have an invoice posted from the SD module, document type of this invoice is RV.
If there is a reason to cancell this invoice, the transaction used is VF11. The document type in SD for this cancellation is S1. Thereafter an FI document is generated with document type AB.
Even though the settings in both Production and Acceptance and Developement are the same.
I have realised that the initial document when cancelled (reversed) has an FI document RV and posting key 11. whiles in customizing the settings for posting keys and document types are different from what has been customized. Below is my current settings.
The posting key 01 has a reversed posting key 12 and the document type RV has a reverse document type AB. This customizing is in correct in SPRO.
Transactions : OB41 and OBA7
Can anyone help on this....
Thanks
ElvisHello,
Did you verify whether AB document type in OBA7 is marked in "Account Types allowed" the Customer checkbox?
If not, maybe that is why it is not selecting AB as the reversal document type for RV, even though it is set up in RV document the AB document type as reverse document type.
Other than this (if the mentioned above doesn't solve your issue), I would say there should be any user-exit that can be changing the document type, according to some specific business rule of your SAP client or even a substitution.
I hope it helps you.
Regards,
Daniel. -
Document Posting restriction using posting key,document type combination
Hi
We have a authorization restriction issue using posting key&document type&Accoutn type combination.
Requirement is
User A should be able to post to vendors only for particular posting key&document type.He should be able to post to with any other posting keys and document types to vendors.
We have tried with document type authorization object/vendor authorization objects from user profile but it does,t work.
can any one suggest some way please/
r
regardsHi
I think you should be able to achieve the same through Validation rule:
Prerequisite
Document Type - XXXX
Check
User name = 123 and Posting Key = XX
You can set a an error messsage which would be bleeped when the check fails
Regards
Sanil Bhandari -
SD invoice posted with document type RV ,
Hi all,
I try to do incoming payment for SD invoice posted with document type - RV. when i used to do incoming payment by transc code: f-28. An ABAP dun error occurs, stating termination " message type-X".
Is it possible to do incoming payment for SD invoice from FI. Urgent help needed.
Regards
RajHi,
Once an Invoice is created in SD, An Accounting document is generated with document type RV. RV Doc. Type shows that the customer is liable to pay the amount.
While you post the document through f-28, the document type shuld be changed to customer payment.
It may be one of the reason. So select the docment type customr payment but not RV and try
Regards -
Hi Experts, i need to limit the document types an user can choose on the transaction FB60, how can i do that? thanks in advance.
HI
Use validation for this purpose. OBB8
Write a validation at Header level.
In pre requisites : User Name (give here all user with operator Or")
In check : Give Compnay code and Document type
Create a message like " You cannot post using this document type"
What system does is first checks the user name for ex : XYZ if it is correct, then system goes to check and checks for company code XXXX and teh doc type XX
If these two conditions are satisfied only the system allows user to post the transaction.
Reward if useful.
sarma -
Once I create a form how do I post it on my website and how do I receive e-mail answers of form posted to me on my website? I own www.sportsdds.com and am trying to activate my Contact Form. I use Adobe Dreamweaver CS6. Please e-mail me to [email protected]
Randy, I am sorry but your reply was absolutely useless to me. I do not understand a word you said. Your reply is very high-brow and I am a new user to Adobe Dreamweaver CS6. You reply needs to be more graphic and less wordy. It is certainly no "cook book." And it comes across unintelligible to the general public. I have no idea what you are talking about. You give no examples nor do you try to teach. Sorry. Perhaps another staff member can help if you are unable to.
Dr Michael D Kurtz
Date: Fri, 21 Feb 2014 10:45:58 -0800
From: [email protected]
To: [email protected]
Subject: Form posting and feedback
Re: Form posting and feedback
created by Brian Havlin in FormsCentral - View the full discussion
Hi,
Please refer to the following document for instructions on how to embed a form in a page on your website.
http://forums.adobe.com/docs/DOC-1991
To receive an email when a new response is submitted, you can use the Email Notifications feature.
Regards,
Brian
Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6144203#6144203
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6144203#6144203
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6144203#6144203. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in FormsCentral at Adobe Community
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0. -
Regarding Delivery and document type
Hi Gurus,
I copied both the delivery type and document type from NL and UB and I also assigned delivery type and checking rule to the supplying plant in SPRO- LE - MM- PUR- PO - set up STO. and also assigned the Document type in SPRO- LE - MM- PUR- PO - set up STO assign doc type, one step....
But when I create the STO the system issues a warning message that
Doc. type YUB should be used for suppl. plant XXXX and receiving plant XXXX
Message no. 06674
can you please give me some suggestions
ShaneHi narayan,
I am working with INTRA company STO and I have checked with the config what i have did again and now I can get the shipping tab.............. only thing is before I have forgot to assign the Issuing storage location in the transaction process. So now i can create a STO.
Now I am not sure how and where we need to make changes so that the process doesnt ask for Issuing storage location information and still create the STO between two plants in a same company.
Thank you for your responses. They really helped me in figuring where exactly i am going wrong
Shane -
SAP Easy DMS - Link between Document Area and Document Types
Deat Friends,
Is there a transaction code or a customizing available to link the Document Area and Document Types??
For example: Document Area (DMS) is linked with Document Type (DRW)
Thank you,
SriHello Chandu,
We are trying to create a documents via TCODE: CVO1N
One of the entry we need to populate is the "DOCUMENT TYPE" to create a document. If, we enter the Document Type = DRW, we are not able to see our custom Storage Category while attaching/Check-in a document.
Where as, If, we enter the Document Type = DMO, we are able to see our custom Storage Category while attaching/Check-in a document.
I see that the Document Type = DRW is linked to Document Area = DMS
Similarly, the Document Type = DMO is linked to Document Area = FILESYSTEM
My question is, Is there a transaction code or a customizing option available to link the Document Area and Document Type?
Thank you,
Sri -
Message No delivery type defined for supplying plant BP01 and document type
Hi all,
I am trying to create a purchase order with a BP01 supplier and the BP02 division but I get the following error message No delivery type defined for supplying plant BP01 and document type.
When I create a PO with a BP02 supplier and the BP01 I do not get any message.
How can I fix it ?
Thanks
Regards
Pierre1)Create one Customer for Supplying Plant Sales area and assign this Customer no with Receiving Plant in OLME---> PO -
> Set up STO -
> define Shipping Data for plants. and maintain the same sales area in your Supplying plant.
2) In OLME---> PO -
> Set up STO.....for your Document Type: UB and Suppying plant Combination assign Del. Type NL and Checking rule RP
3) In OLME---> PO -
> Set up STO...for your Supplying Plant and Receiving Plant combination Maintain Doc. Type : UB
Make sure you are maintaining Sales View for your Material at Supplying Plant.
4) Maintain Shipping point at, SPRO----> Logistics Execution -
> Shipping -
> Basic Shipping Functions -
> Shipping Point Determination for Plants.....there for your Loading group,Shipping Condition, Shipping Plant combination maintain Shipping plant..
Now Create STO in ME21N with Doc.type: UB at Receiving Plant.
Then Create Delivery in VL10B from Supplying Plant...
Then Do PGI in VL02N from supplying Plant.
Then do GR at Receiving Plant based on Outbound Delivery at Receiving Plant... -
In PO No delivery type defined for supplying plant and document type MRO
Hi,
i need urgent solution for this problem please.
i am getting this error while creating stock transport order PO(intercompany)
No delivery type defined for supplying plant (ex:1500) and document type MRO .
thanks
madhuHi,
i am getting problem in vendor master data
1) recently we started inter company stock transfer order (STO)process for a vendor (delivery plant), the same vendor was using before for internal procurement for some other company code /plant, i made settings in vendor master last screen ie conditions , sales data and control data ,and took path from main menue selected extras-> addtional purchasing data tab to enter plant under plant assignment tab to work STO. now we are unable to create PO for other company and pur org(non STO company code /plant) with the STO vendor,if i remove plant under plant assignment tab in vendor master , it is effecting inter company STO,
i need solution for this , please help me by giving valuable solution.
Thanks and Regards
MM -
No delivery type defined for supplying plant 6110 and document type ZSTD
Hi all,
I am trying to create a purchase order with a P6110 supplier and the 6115 plant but I get the following error message No delivery type defined for supplying plant p6110 and document type.
When I create a PO with a 6115 supplier and the 6110 I do not get any message.
How can I fix it ?
Thanks
Regards
SAGAR>
sagarn wrote:
> Hi all,
>
> I am trying to create a purchase order with a P6110 supplier and the 6115 plant but I get the following error message No delivery type defined for supplying plant p6110 and document type.
>
> When I create a PO with a 6115 supplier and the 6110 I do not get any message.
>
> How can I fix it ?
> Thanks
> Regards
> SAGAR
If ZSTD is a copy of UB type PO, then you need to provide the plant number as the supplier. The delivery type can be configured in the following path
Materials Management -> Purchasing -> Purchase Order -> Set up Stock Transport Order -> Assign Delivery Type and Checking Rule
Copy and existing record and maintain the combination of your PO type (ZSTD), supplying plant (6110) and delivery type (NL). Leave the others the same.
Regards,
Aroop -
Error:-No delivery type defined for supplying plant and document type RB
Hi,
Here issue is such that while creating purchase order(Return order type)the error coming as follows.
"No delivery type defined for supplying plant and document type RB"
Scenario:-There are some damaged goods which are coming from france vendor to ukrain customer,now ukrain customer wish to send back the damaged goods to france.
Looking forward:-1>Can anyone please let me know if there is an any customizing setting required if yes then how to maintain(navigation).
2>Is it something like practically it is not possible as goods are dispatched back to the country from where it is coming.
Thanks for your help !!!
DharmeshHi Naveen,
Thanks for the information !!!
Futher while creating PO i am getting an error message as purchase org. not responsile for plant how to solve this error can you plz let me know.
Regards,
Dharmesh -
No archive information found for object type and document type
Hi All,
When i try to view the print preview for a perticular doc type, system is giving the error as "No archive information found for object type and document type"
Diagnosis
No information was found about optical archiving. This may be due to
either of the following reasons:
1. No valid archiving parameters were passed
2. Your system is not configured for optical archiving
System Response
Processing is cancelled.
Procedure
Specify valid archiving parameters or check whether your system is configured for optical archiving
Regds,
CBHello,
You are trying to Print & also archive by selecting the option Print & Archive.
You have to do archivelink configurations and then create document type and assign to the object type with content repository with archivelink table.
If you want to archive the spool or output then you have to use object type as DRAW. If you are archiving invoice document or letters or so on then you have to know the object type/Business object of the transaction.
Please note that for archivelink configuration, attachment will be either stored in archive server or in SAP database table based on business requirement.
Hope this will give you some understanding on archiving area.
-Thanks,
Ajay -
Report that displays Costcenter , Document Number and Document type
Hi All,
Can anyone suggest Report that displays Costcenter for a Document Number of certain Document type - Like G/L accounts .
Thanks in advance ,
Regards,
RyGood afternoon.
If you are trying to run a report for a particular cost center (or range of cost centers) and have the report show the GL document number and document type, try transaction KSB1. You can update the line layout to show these fields.
If you are trying to run a report for a GL account and have the report show the cost center, run FAGLL03. You can update the line layout to include cost center.
Apologies if I have mis-understood your question.
Barb -
Separate Transaction event key and Document type
Hello Gurus,
Need suggestion and process how to have separate transaction event key and Document types sued in Material document creation with a different number range for the movement types used for SD processes.
Example: 601/602/651 movement types have the Transaction event key as WL
561 has the Transaction event as WA
701/702 movement types have the Transaction event as WI
the transaction event keys of WA WH WI WL WQ WR WS WZ have the same number range.
I am looking for solution and suggestion as how do we maintain transaction event key and document type for SD dispatches, cancellation, returns movement types separately.
Thanks and RegardsHi,
U can create new document type in OBF4 copy the existing on ee.g WA make new document type and in number range assign the FI number range which u want to assign, MM number range can be create in T. code OMBT and FI number range in FBN1. Documen ttype assignment to t. code is done in OMBA
regards,
zafar
Edited by: zafar_karnalkar on Aug 13, 2010 12:23 PM
Maybe you are looking for
-
What is the proper way to create a new line space int the output?
I want to create a space in between each input so the output would look something like this, Name of item 1: lollipops Quantity of item 1: 10 Price of item 1: .50 Name of item 2: diet soda Quantity of item 2: 3 Price of item 2: 1.25 Instead of this:
-
One lockbox for multiple company codes
Is it possible to have one lockbox for multiple company codes?
-
How to compare two rows in PL/SQL?
Hi All, How to compare two rows in PL/SQL? Is there any method that I can use instead of comparing them column by column? Any feedback would be highly appreciated.
-
I log on to my work site and Firefox will not let me enter info for the customer. The cursor blinks, but it will not allow me to put anything in the blank. I can go to the same site in IE and it lets me fill in the blanks. How do I do that in Firefox
-
How do I set a different homepage
Why do I have get the basic to get started