How to Include Date variables in the Attachments sent via ibots
Hi Experts,
I have a requirement that when i configure an i-bot , i need to get a mail with attachment as an excel say "attname".This is fine,but how to customize such that the attachment contains date variables like "attname_24April2010" when recipients receive the mail?
Also if this is possible then when i open the attachment, then it should have the title with report name and date variables? Can we achieve this?
You can put varables in several views in OBIEE (e.g., Narrative, Title, etc.). BTW, in the Title View, you can also use built-in variables that display the run date and time.
Click on this link to get the syntax:
http://shivabizint.files.wordpress.com/2008/10/obiee-variables-overview.jpg
Similar Messages
-
How to include a report into the SAP-SCRIPT
plz tell me
How to include a report into the SAP-SCRIPT
ASAPcreat a z report like this....................
REPORT zmmgl_picklist1.
TABLES : likp,ltap,ltak.
data : lv_NUM1 type c .
data : lv_NUM type c.
*& Form get_data1
text
-->IN_DATA text
-->OUT_DATA text
FORM get_data1 TABLES in_data STRUCTURE itcsy
out_data STRUCTURE itcsy.
READ TABLE in_data WITH KEY name = 'LTAP-VBELN'.
lv_NUM = lv_NUM1 + 1.
out_data-name = 'lv_NUM'.
out_data-value = lv_NUM .
APPEND out_data.
endform.
*& Form get_data
This form is to read details from LIKP *
-->IN_DATA text
-->OUT_DATA text
FORM get_data TABLES in_data STRUCTURE itcsy
out_data STRUCTURE itcsy.
READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
Select single bldat from likp into likp-bldat where lgnum = ltap-lgnum.
out_data-name = 'LIKP-BLDAT'.
out_data-value = likp-bldat.
APPEND out_data.
READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
Select single vstel from likp into likp-vstel where lgnum = ltak-lgnum .
out_data-name = 'LIKP-VSTEL'.
out_data-value = likp-vstel.
APPEND out_data.
READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
Select single kunnr from likp into likp-kunnr where lgnum = ltap-lgnum.
out_data-name = 'LIKP-KUNNR'.
out_data-value = likp-kunnr.
APPEND out_data.
ENDFORM. "get_data.
after this go to the script editor......
/: perform get_data in program zmmgl_picklist1.
/: using <ap-vbeln& (Reference field.this field should be there in both program and script.....)
/:changing &likp-bldat&
/:changing &likp-vstel&
/:changing &likp-kunnr&
\[removed by moderator\]
Regards
Anbu
Edited by: Jan Stallkamp on Jun 10, 2008 2:26 PM -
How to convert DATE variable to CHAR variable
dear all,
How to convert DATE variable to CHAR variable
thanqDepending on your final goal here are 2 options.
DATA: datein TYPE d.
DATA: dateout(10) TYPE c.
DATA: dateout2(8) TYPE c.
datein = sy-datum.
WRITE datein TO dateout MM/DD/YYYY.
dateout2 = datein.
WRITE:/ datein, dateout, dateout2.
and the output
05022008 05/02/2008 20080502 -
How to Including custom text in the step "User Decision"
Hi All
Please help me in this regards I got problem
How to Including custom text in the step "User Decision"
Regards
Poonam
Edited by: Julius Bussche on Feb 2, 2009 1:59 PM
Please use the corect forum, meaningfull subject titles and use the search before asking questionsHi Poonam,
If I understood your problem correctly...
When you create a user decision a screen will appear.
In the decision tab under Title you can give your custom text.
Even if you want to give some variable (value of which will be determined at runtime) you can give that as well.
Like you have created a container for BOR objects MAT_DETAIL, in that object there is a field MATERIAL.
You can define your custom text as below:
Title: Would you like to create new material or display material &
Parameter 1: &MAT_DETAIL.MATERIAL&;
In Title you can give as max. as 4 &(ampersand). And each & will be replaced by each Parameter at runtime in same sequence.
In parameters you use to select the container defined by you earlier.
Hope this will help. -
Hi There,
Please can someone tell me how to specify a variable in the path prefix of an External HTTP (RFC) connection in transaction SM59?
For example if my path prefix is /invoke/test/example?input=XYZ; how do I replace "XYZ" with a variable so that I can pass in any value after "=" ?
Thanks,
BrendonHi,
This is SAP Business one system administration forum. Please find correct forum and repost above discussion to get quick assistance.
Please close this thread here with helpful answer.
Thanks & Regards,
Nagarajan -
How to use bind variables in the following query
CREATE OR REPLACE PROCEDURE MMDB.test IS
sel_qtn VARCHAR2 (10);
CURSOR PT_QUANTITY IS select * from mmdb.product_tree WHERE QUANTITY_CHECK ='E'
AND run_id = 100
a PT_QUANTITY%ROWTYPE;
BEGIN
FOR i IN PT_QUANTITY
loop
sel_qtn := i.quanttity-1;
While sel_qtn>=1
loop
insert into mmdb.product_tree (BILLING_ACCOUNT_NO ,S_CODE) values (i.BILLING_ACCOUNT_NO ,i.S_CODE||'E');
sel_qtn :=sel_qtn -1;
End loop;
commit;
end;Don't duplicate threads: How to use bind variables in the following query
-
How to include a jButton in the jTable CellEditor?
sir,
how can include a jButton in the jTable cell Editor as we include checkbox & Combo inthe Cell Editor?
thks.There is c:import tag in the JSTL that will include the HTML from a file on another server.
-
How to display data elements in the tempalte header
Hello friends
i've this date_from and date_to parameters which are date parameters that user enters..
based on these date parameters I want to display them in the header as
day of date_from(for example if the date_from is 13-nov-2010.then I should display 13)and for date_to it should dispaly as 15 if for example the user enters
16-nov-2010.(date-1's day)
so it should break down to
date_from-13-nov-2010, 13
date_to- 16-nov-2010, 15
I want these two values to be displayed in the header of the template how to do this
pls help
also let me know how to display data elements in the template header
Edited by: erp on Dec 22, 2010 12:44 AMHi Ananth..Thanks for ur timely reply
Can I use it with <? substring(':date_from',1,2)?>
where date_from is an input parameter which user enters at the run time of the report.
I've to capture the date entered by the user and print it in the header..
Pls reply -
How to keep data integrity with the two business service in OSB 10.3.1.0
How to keep data integrity with the two business service in OSB 10.3.1.0
In our customer system, customer want to keep data integerity between two businness service. I thinks this is XA transaction issue.
Basing customer requirment, I created a testcase but I can't keep data integerity, For detail information, please refer the attached docs.Can you please explain what you meant my data integrity in your use case?
Manoj -
How to check data type of the field symbol at run time
Hi,
My code is as following:
LOOP AT <fs> ASSIGNING <wa_covp_ext>.
ASSIGN COMPONENT 86 OF STRUCTURE <wa_covp_ext> TO <f_zzname>.
IF sy-subrc = 0.
ASSIGN COMPONENT 158 OF STRUCTURE <wa_covp_ext> TO <f_pernr>.
IF sy-subrc = 0.
SELECT SINGLE sname INTO <f_zzname> FROM pa0001
WHERE pernr = <f_pernr>
AND endda GE sy-datum
AND begda LE sy-datum.
ENDIF.
ENDIF.
ENDLOOP.
This query is giving dump when <f_zzname> is type P length 8 and decimals 2, because it tries to put PA0001-sname into it which is type C length 30. So I want to check the type of <f_zzname> before the select statement. If it is character 30, then I will write the select statement else not.
How to check data type of the field symbol at run time? If it's not possible, then can somebody suggest a workaround? Thanks.check this ...
write describe statement ...
field-symbols : <f_zzname> .
data : sname like pa0001-sname,
typ(10).
assign sname to <f_zzname>.
describe field <f_zzname> type typ.
write : typ. <-- typ contains character type in this case ..
U can check if typ is of character(C) if so .. write the select statement ... -
How will my data Secure in the cloud
how will my data Secure in the cloud when i take the membership with them
Please read the Data security section of the Creative Cloud FAQ here http://www.adobe.com/products/creativecloud/faq.html#data-security.
-
How to generate PNG file to the disk folder by IBOT?
Is there a piece of code in JavaScript on how to generate PNG file to the disk folder by IBOT?
thanks a lotPlease disregard this message. The information below is only semi-accurate. When I get some kinks worked out I'll edit this again. -Bill
FYI,
Don't really know if I'm adding anything useful but here it is. I use NetBeans and I simply added an images folder so now I have my package (deckofcards) and a sub package deckofcards.images.
The image:
back: Image {
url: "{__DIR__}images/B.JPG",
backgroundLoading:true
placeholder:bind placeholder
};works and the value of "{__DIR__}images/B.JPG" becomes
<CARD backUrl="jar:file:/C:/Users/Bill/Documents/NetBeansProjects/DeckOfCards/dist/DeckOfCards.jar!/deckofcards/B.JPG">
...when I marshal. That string (backUrl) will unmarshal correctly and can be use in the url variable to display and image too.
-Bill
Edited by: bthayer on Feb 21, 2009 6:04 AM -
How does a global variable affect the runtime of optimisation-function fminsearch?
Hi,
my function "fmintest" needs 254s ~ 4min to finish calculation in Mathscript, while Matlab needs
3s!!! I need the sorfware for data processing in a real time measuring system, where the calculation have to be done within 5 seconds.
In the Mathscript-help I found the following (global -> details):
If you call this function from a MathScript Node, LabVIEW operates with slower
run-time performance for the MathScript Node. To optimize the performance of the
MathScript Node, remove this function from scripts.
How can I remove needed global variables in the fminsearch function handle? Is the system faster if I would/can remove the global variables?
How can I avoid Mathscript-breakdown after saving changes to m-files and restarting them again?
regards
Attachments:
ni3.7z 2 KBHi,
can you provid a VI and not only your m-files? It will be easier to help you!
Can the customer provide a VI that demonstrates this behavior, rather than just providing the m files?
Also, the Help file says fminsearch is not supported by the
LabVIEW Run Time engine, so please take that in mind. If you want to build an application you cant use this function.
Regards, RMathews -
How to include Material Cost in the SD report
Hi,
I am working on Cube 0SD_C03 for the Sales and Distribution Report "Sales Contribution - Product Wise u2013 KPI" where I have to show the following information which are given below.
1. Total Sales Qty.
2. Total Sales Value
3. Total Material Cost
For third one I do not know how to include this in this SD report.
so please tell me about this if anybody has idea about this?Hi Francisco,
Note:
your xml should only have
<URL>http://dbxserver.dbxprts.com:7778/pls/apex/f?p=134:1:::NO::P1_ID_CONSTANCIA:1183</URL>
Show me your sample XML , i can help you.
What is your expected output ? PDF or HTML ?
here it is.
option1:
If the XML data includes an element that contains a hyperlink , then you can use that element to create dynamic hyperlinks at runtime.
a. insert hyperlink from word menu
b. In the Type the file or Web page name field of the Insert Hyperlink dialog box, enter the following syntax:
c. {ELEMENT_NAME_WHICH_HAS_URL_LINK}
where ELEMENT_NAME_WHICH_HAS_URL_LINK is the xml data element name
option2:
create a form field, you can add it
<fo:basic-link external-destination="http://www.google..com">
<fo:inline text-decoration="underline">google Link</fo:inline>
</fo:basic-link>
or
<fo:basic-link external-destination="{ELEMENT_NAME}">
<fo:inline text-decoration="underline">google Link</fo:inline>
</fo:basic-link>
or
<fo:basic-link>
<xsl:attribute name="external-destination"><xsl:value-of select="ELEMENT_URL"/>
</xsl:attribute>
<xsl:value-of select="LINK_NAME"/>
</fo:basic-link> -
PDF: How to get date/time into the heading of a FOP/PDF file?
Hi!
What changes do I need to make to the PDF report template or what else can I put in the heading block of the "Print" page so that it will include the date and time the PDF was generated?
Also how would I add this so that it prints on the bottom of the page like the page number?
Thanks in advance for any tips, tricks, ideas, examples, etc.!
Dave VenusHi!
Perhaps I missed this some place but you can get the value of a page item or application item into the header or footer of a (FOP) PDF report by using a "&<item>." format substitution string. For example I have a 1 time application process that puts todays date in an application item named F106_SYSDATE (F106_ is the application id). Then in my headers I use:
XXXX Report on: &F106_SYSDATE.
Simple. Works great! And better yet my users are a little happier! :)
Thank for everyone's help and suggestions!
Dave Venus
Maybe you are looking for
-
How to create an if-statement in ANT
Hopefully many of you build with ANT and can help be with my problem. I want to put an if-statement within my ANT script. Ex) if(flag) execute(something); I have been searching the documentation and can't find anything useful. Thanks!
-
Is there a connector that will hardwire my iPod to iPad
-
HT1918 move some songs out of my library
How can I move songs my son bought (years ago) and I don't care to have on my Apple ID over to an account for him?
-
Recapture of slide show photos
Does anyone have a method of copying photos saved in a iDVD slideshow? The original scans were lost by upgrading software, and now the only place the photos exist is in the slideshow. I'd like to copy them in a JPG format into another file so I can u
-
Anyone tried Xalan2.2.0? I found it slow...
anyone tried the new Xalan2.2.0? Supposedly the new implemented DTM provides better performance and less memory hog. However in comparing with Xalan2.1, I have found Xalan2.1 excels in terms of execution time in transformation. I have written some XS