Display Cutomer Details in the Order Confirmation - Webtools
Hi
I just need to need to display the user details in the email send to
the user. With the reference to API I put the following html
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="25%">Email</td>
<td width="75%"> %%Email%% </td>
</tr>
<tr>
<td>Telephone</td>
<td>%%DayPhone%% </td>
</tr>
</table>
%%DayPhone%% seems to work fine but I cannot make email display. I check the user and user already filled the email and the dayphone fields. Could you please help me to display user email address.
I have notice that section tags been used in the email template to define other table. Where can I find the reference to section names.
e.g.:<section name="orderdetail">
Thanks in advance.
Sanjaya
Hi Sanjaya,
This is probably a bug.
Since account and user both have the Email field, I believe the Email that is being displayed is the account email. Perhaps this account does not have one.
There is currently no way to resolve this situation.
The section tags are currently undocumented.
They define which database object that section binds to. The Webtools api documentation will tell you which fields are available in each object.
For the invoicetemplate, the sections and bindings are as follows:
"weight" section binds to the netpoint.api.commerce.NPOrder object
"orderdetail" section binds to the netpoint.api.commerce.NPOrderDetail object
"orderdiscounts" section binds to the netpoint.api.commerce.NPOrderDiscount object (not available in 5.9)
"expenses" section binds to the netpoint.api.commerce.NPOrderExpense.OrderTotals (not available in 5.9)
"orderpayments" section binds to the netpoint.api.commerce.NPOrder.OrderPayments collection
"billingaddress" section binds to the netpoint.api.account.NPAddress object using the BillingAddressID on the OrderMaster object to build the object.
shippingaddress" section also uses an NPAddress object derived from the ShippingAddressID defined on the OrderDetail
"shipments" section binds to the netpoint.api.commerce.NPOrder.Shipments (collection of NPShipment objects)
Similar Messages
-
I have an estimated ship date of 10/14/2014, for 2 iphone 6(not the plus) 16GB in Silver. Like others I have not received any new details since receiving the order confirmation. Can anyone tell me if my order will ship tomorrow?
I dont mean to rude. but I have seen the same response to others over the past month. I have been keeping up w/ check status from the link provided in my order confirmation. At this point your depts management should be demanding more detailed info on order status. They have you customer service folks answering these question blindly, wasting your time and mine and ultimately costing verizon money which they will pass along to me and the other millions of customers out there. If you cannot give me a more detailed answer please escalate this to someone who can. Thank you.
-
How to display discount price amt in order confirmation page
hi,
I created a discount for site,who places any order will get a discount for that particular order ,How to display discount price amt in order confirmation page.suggest some points guys.Try displaying it as following , just put the jsp code for the if() statement i have put below.
This block loops through order level adjustments and displays the discounts for the one's associated with order promotions.
<dsp:droplet name="ForEach">
<dsp:param name="array" bean="ShoppingCart.current.priceInfo.adjustments" />
<dsp:param name="elementName" value="pricingAdjustment" />
<dsp:oparam name="output">
//displaying if discount was provided, associated with some order level promotion
if (pricingAdjustment.getPricingModel() != null && pricingAdjustment.getAdjustment() < 0) {
<dsp:valueof param="pricingAdjustment.totalAdjustment" />
</dsp:oparam>
</dsp:droplet> -
Credit block not allowing delivery dates on the order confirmations
Hello,
We are a full module SAP shop on ECC 6.0.
For one of our businesses, we have credit checking to take place at the time of Sales Order entry. This is causing an issue for the business because they are using Demand planning and need to have the Delivery Dates on the Order confirmations and they also want to be able to run an ATP check on the Sales Order. The credit check on sales order entry, prevents them from doing both of these things.
Does anybody know if there is a way to get the dates to show up on the order confirmations when a sales order is on credit block? Also, is it possible to run the order through ATP checking with this sales order credit block taking place?
thanks for your help!Dear,
Ideally this question should have been posted in ERP SD forum.Please check out your credit check settings in OVAK and OVA8. Hopefully it help you. -
Display employees details in the stacked canvas from the content canvas
Hi all,
I want to display employees details in the stacked canvas from the content canvas,where i passed the empno & click on the find button , i have 2 blocks(emp,control), in control block only find button there, I have only one table i.e;emp
BEGIN
GO_BLOCK('EMP');
Set_block_property('EMP', default_where, 'Empno = :EMP.EMPNO');
Show_view('EMP_DET_CAN');
execute_query;
END;
Thank YouHi Andreas Wieden,
Andreas Weiden wrote:
When you query on the EMP-block, yiou cannot include a WHERE-condition to that block as the block is cleared when the EXECUTE_QUERY starts. If you want to have a different find-block where you enter your search-condition, you have to include that item in your separate find-block. Otherwise use the standard-search-mechanism with ENTER_QUERY and EXECUTE_QUERY.
You are right, so where clause is not possible in the same block, right?.I have to take empno column where it is a search column into the control block right?
Please suggest me i want to retrieve records into the stacked canvas when i pass the empno & click on the find button in the content canvas? Is this not possible? If possible please let me know? I mean i want to take the search column in the EMP Block & find button in the control block..
Thank You -
TABLE: ACTUAL DURATION IN THE ORDER CONFIRMATION
HI EXPERT,
WHAT'S THE TABLE OF THE "ACTUAL DURATION OF THE ACTIVITY" CORUF-IDAUV IN THE "ORDER CONFIRMATION"
THANKSHi Bakkali,
The table AFVV stores all the dates related information for the activity. Unfortuenately you can not get the actual duration directly, as such field does not exits. But you can use the following information to calculate it:
ISDD (actual start), IEDD (actual finish),
Alternative is use the function CXPS_CALC_FIELDS_FOR_ACT,
which you get the the actual duration too: CALCULATED- IDAUER (actual duration).
Kind regards,
Zhenbo -
it says that i have to pay again to download it from itunes.. how can i get the game in my itunes and phone? do I accept the charges and it will be re-embersed? what should I do? I have the order confirmation number etc.
Contact iTunes Customer Service and request assistance
Use this Link > Apple Support iTunes Store Contact -
Barcode scanning and displaying other details on the screen
Hi All,
I have a requirement to replace the existing leagacy which has a POS functionality screen with SAP Screen.
Currently the leagcy does the following function.
When the user scan the Barcode of the product, other details of that are reflected and displayed.
The same requriement has to be developed in ABAP.
When the user scan the barcode, the details of the product should be displayed on the screen.
This functionality is same as in POS.
Kindly let me know how to proceed ...as I am unable to find any event where in after just scanning the barcode the detials of barcode are captured on screen field but how and which code/event triggers the other details to be displayed on the screen without any action from the user except scanning the barcode.
Thanks in advance for any clarification and suggetion.
Regards..
Shakeel.Hi,
the barcode scanner should be set up to trigger an Enter key after scanning a barcode.
This will trigger your PAI right after scanning a barcode, so you can easily handle the input and process it as necessary.
There is really no difference between entering the input through keyboard and pressing Enter, and entering it using a barcode scanner.
You won't need anything else apart from the standard PAI/PBO processing. -
PA30 Display Employee details on the Header Screen
Dear Team:
Sometimes I see that using transaction PA20 or PA30, when I give the Personnel Number, in the header screen, I do not see any employee information for some employees and could able to see other employees.
Anything that restricts us to see the employee details in the header screen.
If it is an authorization issue, what is the check that is restricting the same. Which authorization details should the I have to look for the employee details in the header screen.
Thanks and Regards
Team Member.Below are already avialable in the table.
00 A 60
00 B 80
01 A 01
01 B 21
02 A 02
02 B 22
03 A 03
03 B 23
04 A 04
04 B 24
05 A 18
10 A 00
10 B 20
45 A 45
Regards
Team Member -
Need some help on CRM tables which have the details of the order created
Hi,
Can anyone help me in knowing the tables which stores the information of an order . I need to find the status, priority, category and the partner functions of a particular order. Is there any table which stores all these data.
Thanks & Regards,
Anuradha.PHi Anuradha,
basically you link partner function of an order with view:
CRMV_LINKPARTNER.
In this view you can find :
Guid of an order coming from CRMD_ORDERADM_H
Guid of BP coming from BUT000,
and <b>partner function</b> stored in field PARTNER_FCT.
For sold-to-party you have to select 00000001.
Concerning priority and category I suggest you investigating with "where used list", tool in which tables the data element is used.
Then start from CRMD_ORDERADM_H or CRMD_ORDERADM_I , and with the guid go to CRMD_LINK.
Extract the proper Guid set and try going into the table/s you select, previuosly.
Regards,
AndreA
<b></b> -
"Output could not be issued" when trying to display the layout of the order
"Output could not be issued" error comes when trying the display layout of the order confirmation.
ThanksHi,
This error is faced generlly when output type has not been assigned to the document type.In sales order Follow the path
Goto-Extras-Output-Header-Edit.
Here mention the output type and communication medium and save the document.
Now try to issue the output.
I assume that you have maintain the output determination procedure in SPRO.
For automatic determination of output maintain the output condition record
Reward points if useful
Regards,
Amrish Purohit -
Hi,
We have created Production Order confirmation and reversed,now when we go to CO14 to see the order confirmation, we are getting error message as "No confirmation has been carried out". We could able to see the confirmation entries in table AFRU.May i know what could be the reason?. Where can we see the initial confirmation details that was cancelled later?.
Thanks in advance.We have created Production Order confirmation and reversed,now when we go to CO14 to see the order confirmation, we are getting error message as "No confirmation has been carried out". We could able to see the confirmation entries in table AFRU.May i know what could be the reason?. Where can we see the initial confirmation details that was cancelled later?.
Dear adithya,
If my assumption is correct
after confirmation & cancellation of the order.
Your user has done the read master data, at the time status came back created state CRTD , at the time confirmation done earlier Link will go out,
IF you have still doubt
go to production order
click header--> status change, you can find out when the status is set CRTD after the confirmation & By whom & date -
In order confirmation i need invoice number and delivery number.
Dear Experts,
I need invoice number and delivery number in order confirmation.
how can i get the delivery number an invoice number.
Program name: RVADOR01
Regards
AhmedHi
In the Order confirmation Only sales order details will be there
You better write a PERFORM statement in Script and in the subroutine fetch the Delivery number and Invoice number with the following links and display them in script
LIPS-VGBEL = VBAK-VBELN
LIPS-VGPOS = VBAP-POSNR
VBRP-AUBEL = VBAK-VBELN
VBRP-AUPOS = VBAP-POSNR
You can also can use the VBFA table
using Prev doc type = C (order) and Subsequent doc type = J to get the Delivery
and Sunsequent type = M for getting the Invoice Number
see the sample code for subroutine
REPORT ZMPO1 .
form get_freight tables in_par structure itcsy out_par structure itcsy.
tables: ekko,konv,t685t.
data: begin of itab occurs 0,
ebeln like ekko-ebeln,
knumv like ekko-knumv,
end of itab.
data: begin of itab1 occurs 0,
knumv like konv-knumv,
kposn like konv-kposn,
kschl like konv-kschl,
kbetr like konv-kbetr,
waers like konv-waers,
kwert like konv-kwert,
end of itab1.
data: begin of iout occurs 0,
kschl like konv-kschl,
vtext like t685t-vtext,
kbetr like konv-kbetr,
kwert like konv-kwert,
end of iout.
data v_po like ekko-ebeln.
read table in_par with key 'EKKO-EBELN'.
if sy-subrc = 0.
v_po = in_par-value.
select
ebeln
knumv
from ekko
into table itab
where ebeln = v_po.
if sy-subrc = 0.
loop at itab.
select
knumv
kposn
kschl
kbetr
waers
kwert
into table itab1
from konv
where knumv = itab-knumv and
kappl = 'M'.
endloop.
loop at itab1.
if itab1-kposn <> 0.
select single * from t685t
where kschl = itab1-kschl
and kappl = 'M'
and spras = 'EN'.
iout-vtext = t685t-vtext.
iout-kschl = itab1-kschl.
iout-kbetr = itab1-kbetr.
iout-kwert = itab1-kwert.
append iout.
clear iout.
endif.
endloop.
sort itab1 by kposn.
loop at iout.
sort iout by kschl.
if ( iout-kschl eq 'GSDC' OR
iout-kschl eq 'GSFR' OR
iout-kschl eq 'GSIR' ).
at end of kschl.
read table iout index sy-tabix.
sum.
write:/ iout-kschl,iout-vtext,iout-kwert.
out_par-name = 'A1'.
out_par-value = iout-vtext.
append out_par.
out_par-name = 'A2'.
out_par-value = iout-kwert.
append out_par.
endat.
endif.
endloop.
endif.
endif.
endform.
IN THE FORM I AM WRITING THIS CODE.
/:DEFINE &A1& = ' '
/:DEFINE &A2& = ' '
/:PERFORM GET_FREIGHT IN PROGRAM ZMFORM_PO1
/:USING &EKKO-EBELN&
/:CHANGING &A1&
/:CHANGING &A2&
/:ENDPERFORM
&A1&
&A2&
This Code is to be written in the PO form under ADDRESS window.
/:DEFINE &A1& = ' '
/:DEFINE &A2& = ' '
/:DEFINE &A3& = ' '
/:DEFINE &A4& = ' '
/:DEFINE &A5& = ' '
/:DEFINE &A6& = ' '
/:PERFORM GET_VENDOR IN PROGRAM ZMFORM_PO
/:USING &EKKO-EBELN&
/:CHANGING &A1&
/:CHANGING &A2&
/:CHANGING &A3&
/:CHANGING &A4&
/:CHANGING &A5&
/:CHANGING &A6&
/:ENDPERFORM
&A1&
&A2&
&A3&
&A4&
&A5&
&A6&
Regards
Anji -
Sales Order Confirmation through Email
Dear Friends,
Can i ask you to give me a quick idea on what need to be done to establish the functionality to send the order confirmation through emails.
Thanks in advance.
RaviOnce you made sure that the output type definition is all set with all relevant data and ABAP work, go to the condition record of the same output. Maintain the mediums as 5 -- Extrenal Send and Date / Time as 4- send immediately when saving the order. Then go to the details of the record and maintain the relevant communication strategy. Save the record. This should trigger the mail automatically when you save the order.
If you also want to print with the same output type, then you need to go back to order VA02 , repeat output and change the medium to 1.
If you want to automatically print and also mail on single save / then you need to tweak the output program to trigger print and mail both at the same instance. This is possible by the output program. Then you need to keep the medium as 1.
Hope this helps.
Sai -
Hi All.
I have an orderconfirmation page that sends out an email to
both the
customer and myself.
The page uses an include that sets the details for CDONTS and
also the body
of the email (see code below)
All works fine, but now i want to send two versions of the
confirmation
email, one to the customer and one to myself. The reason for
the need for
two versions is that my version will have, in addition, a
simple table with
boder to allow me to add notes for processing reasons.
When i put two includes on the order confirmation page (one
for each email)
only one is executed!! - and it's always the second include.
I have to admit that im not too familiar with using
functions, so i'm not
even sure if this is possible.
Please see code below:
OrderConfirmation.asp
<!--#include file="functions_email_ourcopy.asp" -->
<!--#include file="functions_email.asp" -->
<%
SendEmail CustomersRS("CustomerEmail")
%>
Functions_email_ourcopy.asp
<%
'Start the functions
function SendEmail(c)
Set objMail = Server.CreateObject("CDONTS.NewMail")
objMail.From = "[email protected]"
objMail.To = c
objMail.Bcc = ""
objMail.CC = "" 'Maybe send a CC to your sales office
objMail.Subject = "Order from Website"
objMail.Body = Mailbody
objMail.MailFormat=0
objMail.BodyFormat=0
objMail.Send
Set objMail = Nothing
end function
function SiteRoot
'This function tries to ascertain the site root. If it's
wrong, enter your
own manually
CurrentPage=Request.ServerVariables("SCRIPT_NAME")
SiteRoot="
http://" &
Request.ServerVariables("SERVER_NAME") &
left(CurrentPage,instrrev(CurrentPage,"/"))
end function
Function Mailbody
'on error resume next
Set objXML = Server.CreateObject("MSXML2.ServerXMLHTTP")
' Call the remote machine the request
objXML.open "POST", SiteRoot & "email_ourcopy.asp", False
objXML.SetRequestHeader "Content-Type",
"application/x-www-form-urlencoded"
objXML.send("OrderID=" & OrderID)
' return the response
Mailbody = objXML.responsetext
' clean up
Set objXML = Nothing
End Function
%>
Functions_email.asp
<%
'Start the functions
function SendEmail(c)
Set objMail = Server.CreateObject("CDONTS.NewMail")
objMail.From = "[email protected]"
objMail.To = c
objMail.Bcc = ""
objMail.CC = "" 'Maybe send a CC to your sales office
objMail.Subject = "Order from Test4Less Website Customer
Copy"
objMail.Body = Mailbody
objMail.MailFormat=0
objMail.BodyFormat=0
objMail.Send
Set objMail = Nothing
end function
function SiteRoot
'This function tries to ascertain the site root. If it's
wrong, enter your
own manually
CurrentPage=Request.ServerVariables("SCRIPT_NAME")
SiteRoot="
http://" &
Request.ServerVariables("SERVER_NAME") &
left(CurrentPage,instrrev(CurrentPage,"/"))
end function
Function Mailbody
'on error resume next
Set objXML = Server.CreateObject("MSXML2.ServerXMLHTTP")
' Call the remote machine the request
objXML.open "POST", SiteRoot & "email.asp", False
objXML.SetRequestHeader "Content-Type",
"application/x-www-form-urlencoded"
objXML.send("OrderID=" & OrderID)
' return the response
Mailbody = objXML.responsetext
' clean up
Set objXML = Nothing
End Function
%>Hey - Thanks Dooza
I will be working on this tomorrow and report back - much
appreciated
Regards
Andy
"Dooza" <[email protected]> wrote in message
news:gkpufc$d2e$[email protected]..
> Andy wrote:
>> Hi All.
>> I have an orderconfirmation page that sends out an
email to both the
>> customer and myself.
>> The page uses an include that sets the details for
CDONTS and also the
>> body of the email (see code below)
>> All works fine, but now i want to send two versions
of the confirmation
>> email, one to the customer and one to myself. The
reason for the need for
>> two versions is that my version will have, in
addition, a simple table
>> with boder to allow me to add notes for processing
reasons.
>>
>> When i put two includes on the order confirmation
page (one for each
>> email) only one is executed!! - and it's always the
second include.
>> I have to admit that im not too familiar with using
functions, so i'm not
>> even sure if this is possible.
>
> You are including the same function twice, then only
sending one, the
> second time you include the function it overwrites the
first, so when you
> call it, it only sends to the second one.
>
> The solution? Rename the function in the second one,
then call it after
> you call the first one.
>
> <!--#include file="functions_email_ourcopy.asp"
-->
> <!--#include file="functions_email.asp" -->
> <%
> SendEmail CustomersRS("CustomerEmail")
> SendEmail2 CustomersRS("CustomerEmail")
> %>
>
> You might end up with the same content in both, as you
have another
> function called Mailbody that is defined twice, so you
may need to rename
> that, and where it is called as well.
>
> Dooza
Maybe you are looking for
-
I back up with an external hard drive using time machine. I am trying to reload my iphoto library but it won't let me get back to a date that I need to. How do I do this?
-
I have Imac that was upgraded from Snow Leopard to Lion. Originally had an ATT Modem that with wi-fi to our Imacs. Original modem quit working and ATT replaced it with a different modem and wi-fi network was changed. During these changes and subse
-
[Problem] Noise/Rustle with iPhone headphones
Hi guys, first of all i must apologise for my english, it is not my native language, but hopefuly you will understand what i'm saying. Second of all, this may not be a very big deal for some of you, but it is for me and i'm very sure for others too.
-
I just bought a new iMac after i lost my last one in the divorce. I have the Adobe Creative Suite 2, but of course I can't install it in my new iMac. Do they offer a newer version upgrade or do i have to purchase the newer version? Any help would be
-
SQL Developer 3.0.04 worksheets not displaying
Worksheets are not displaying in SQL Developer 3.0.04.34 (download included JDK1.6.0_11) on Windows 7 Enterprise 32-bit. I upgraded from 2.1.1.64 and chose to migrate existing connections. I am able to open all connections, view table and object list