How to use many format data into a template?
How to design a template but it can interface from many format data?
This is the one from 2010 but should still work.
http://www.bfcnetworks.com/blogs/alexpearce/pull-sharepoint-2010-document-properties-into-word-quick-parts/
You basically create a new document in the library (must have the columns you want into the word document), then you use the Quick
Parts to insert the data where needed. Then you save this document as your template. Then anytime someone creates a document in the library when you open the document it will read from the columns of the item.
I used a workflow and had the users actually update a SharePoint list, then that in turn creates a new document in the document library and populate the columns from the list form. Then You can send that document link to folks to download / print or whatever.
Is that what you are talking about?
Similar Messages
-
How to extract many procedures data into one procedure.
Hi all,
I have about 16 procedures which extracts a csv files every time we run
Exec package.procedure1;
Exec package.procedure2;
Exec package.procedure3;
I wish to stop doing this tedious operation(-_-)
How to put all these procedures in an EXTRACT_ALL procedure.
I tried something like this.But I think i am getting it all wrong.
PROCEDURE extract_all_states
IS
outfile UTL_FILE.file_type;
curr_curs1 varchar2(4000);
curr_curs2 varchar2(4000);
BEGIN
extract_Penang (curr_curs1);
extract_Selangor (curr_curs2);
UTL_FILE.fclose (outfile);
EXCEPTION
WHEN UTL_FILE.invalid_mode
THEN
UTL_FILE.fclose (outfile);
gv_error_message := 'Invalid Mode Parameter' || ' - ' || (SQLERRM);
RAISE gv_exp_generate_error;
WHEN UTL_FILE.invalid_path
THEN
UTL_FILE.fclose (outfile);
gv_error_message := 'Invalid File Location' || ' - ' ||(SQLERRM);
RAISE gv_exp_generate_error;
WHEN UTL_FILE.invalid_filehandle
THEN
UTL_FILE.fclose (outfile);
gv_error_message := 'Invalid Filehandle' || ' - ' ||(SQLERRM);
RAISE gv_exp_generate_error;
WHEN UTL_FILE.invalid_operation
THEN
UTL_FILE.fclose (outfile);
gv_error_message := 'Invalid Operation' || ' - ' || (SQLERRM);
RAISE gv_exp_generate_error;
WHEN UTL_FILE.read_error
THEN
UTL_FILE.fclose (outfile);
gv_error_message := 'Read Error' || ' - ' || (SQLERRM);
RAISE gv_exp_generate_error;
WHEN UTL_FILE.internal_error
THEN
UTL_FILE.fclose (outfile);
gv_error_message := 'Internal Error' || ' - ' || (SQLERRM);
RAISE gv_exp_generate_error;
WHEN UTL_FILE.charsetmismatch
THEN
UTL_FILE.fclose (outfile);
gv_error_message :=
'Opened With FOPEN_NCHAR But Later I/O Inconsistent'
|| ' - '
|| SQLERRM;
RAISE gv_exp_generate_error;
WHEN UTL_FILE.file_open
THEN
UTL_FILE.fclose (outfile);
gv_error_message := 'File Already Opened' || ' - ' ||(SQLERRM);
RAISE gv_exp_generate_error;
WHEN UTL_FILE.invalid_maxlinesize
THEN
UTL_FILE.fclose (outfile);
gv_error_message := 'Line Size Exceeds 32K' || ' - ' ||(SQLERRM);
RAISE gv_exp_generate_error;
WHEN UTL_FILE.invalid_filename
THEN
UTL_FILE.fclose (outfile);
gv_error_message := 'Invalid File Name' || ' - ' ||(SQLERRM);
RAISE gv_exp_generate_error;
WHEN UTL_FILE.access_denied
THEN
UTL_FILE.fclose (outfile);
gv_error_message := 'File Access Denied By' || ' - ' ||(SQLERRM);
RAISE gv_exp_generate_error;
WHEN UTL_FILE.invalid_offset
THEN
UTL_FILE.fclose (outfile);
gv_error_message := 'FSEEK Param Less Than 0' || ' - ' || (SQLERRM);
RAISE gv_exp_generate_error;
WHEN OTHERS
THEN
UTL_FILE.fclose (outfile);
gv_error_message := 'Unknown UTL_FILE Error' || ' - ' || (SQLERRM);
RAISE gv_exp_generate_error;
END extract_all_states;
END states_pkg;Error(321,3): PLS-00306: wrong number or types of arguments in call to 'EXTRACT_PENANG'
Error(321,3): PLS-00306: wrong number or types of arguments in call to 'EXTRACT_SELANGOR'
nullWhy is it that your "tedious" manual operation shows no parameters to the procedures while your extract_all procedure has parameters?
You need to call each of the individual procedures in exactly the same way as you do when you execute them individually at the command line. In your extract_all procedure, you are clearly not doing so, hence the "wrong number or types of arguments in call to"
John -
OWB11gR2 - simple and easy way to load XML formatted data into db tables?
Hi,
we're currently trying to load table data stored in XML files into our datawarehouse using OWB 11gR2.
However, we're finding this is not quite as trivial as loading flat files...
Most postings on this forum points to the blog-entry title "Leveraging XDB" found here (http://blogs.oracle.com/warehousebuilder/2007/09/leveraging_xdb.html).
This blog also references the zip-file owb_xml_etl_utils.zip, which seems to have disappeared from it's original location and can now be found on sourceforge.
Anyway, the solution described is for OWB 10g, and when trying to import experts from the zip-file etc. we end up not being able to run the "Create ETL from XSD" expert, as the 11gR2 client is different from the 10g and does not have the Experts menu et.al.
Also, this solution was published over 3 years ago, and it seems rather strange that importing XML-formatted data should still be so cumbersome in the newer warehouse builder releases.
The OWB 11gR2 documentation is very sparse (or rather - quite empty) on how to load XML data, all it has is a few lines on "XML Transformations", giving no clue as to how one goes about loading data.
Is this really the state of things? Or are we missing some vital information here?
We'd have thought that with 11g-releases, loading XML-data would be rather simple, quick and painless?
Is there somewhere besides the blog mentioned above where we can find simple and to the point guidelines for OWB 11gR2 on how to load XML-formatted data into Oracle tables?
Regards,
-Haakon-Yes it is possible to use SQL*Loader to parse and load XML, but that is not what it was designed for and so is not recommended. You also don't need to register a schema, just to load/store/parse XML in the DB either.
So where does that leave you?
Some options
{thread:id=410714} (see page 2)
{thread:id=1090681}
{thread:id=1070213}
Those talk some about storage options and reading in XML from disk and parsing XML. They should also give you options to consider. Without knowing more about your requirements for the effort, it is difficult to give specific advice. Maybe your 7-8 tables don't exist and so using Object Relational Storage for the XML would be the best solution as you can query/update tables that Oracle creates based off the schema associated to the XML. Maybe an External Table definition works better for reading the XML into the system because this process will happen just once. Maybe using WebDAV makes more sense for loading XML to be parsed (I don't have much experience with this, just know it is possible from what I've read on the forums). Also, your version makes a difference as you have different options available depending upon the version of Oracle.
Hope all that helps as a starter.
Edited by: A_Non on Jul 8, 2010 4:31 PM
A great example, see the answers by mdrake in {thread:id=1096784} -
How to load Matrix report data into basic table data using ODI
Hi,
How to load Matrix report data into basic table data using oracle Data Integrator ?
Requirement Description:
Following is the matrix report data:
JOB DEPT10 DEPT20
ANALYST 6000
CLERK 1300 1900 Need to convert it into below format:
JOB Dept Salary
ANALYST DEPT10
ANALYST DEPT20 6000
CLERK DEPT10 1300
CLERK DEPT20 1900
Thanks for your help in advance. Let me know if any further explanation is required.Your list seems to be a little restrictive, you can do a lot more with ODI procedures.
If you create new procedure, and add a step. In the 'command on source' tab set you technology and schema as per your source database. Use the unpivot functionality as described in the link, please, rather than using 'SELECT *' use the appropriate column names and alias them for eg:
SELECT job as job,
deptsal as deptsal,
saldesc as saledesc
FROM pivoted_data
UNPIVOT (
deptsal --<-- unpivot_clause
FOR saldesc --<-- unpivot_for_clause
IN (d10_sal, d20_sal, d30_sal, d40_sal) --<-- unpivot_in_clause
Then in your 'command on target' tab set the technology and schema to your target db, then put your INSERT statement for eg:
INSERT INTO job_sales
(job,
deptsal,
saledesc
VALUES
:job,
:deptsal,
:saledesc
Therefore you are using bind variables from source to load data into target.
Obviously if the source and target table are in the same database, then you can have it all in one statement in the 'command on target' as
INSERT INTO job_sales
(job,
deptsal,
saledesc
SELECT job as job,
deptsal as deptsal,
saldesc as saledesc
FROM pivoted_data
UNPIVOT (
deptsal --<-- unpivot_clause
FOR saldesc --<-- unpivot_for_clause
IN (d10_sal, d20_sal, d30_sal, d40_sal) --<-- unpivot_in_clause
also set the log counter as 'Insert' on the tab where your INSERT statement is, so you know how many rows you insert into the table.
Hope this helps.
BUT remember that this feature only came out in Oracle 11g. -
How to download the Dynamic data into PPT format
Hi Friends,
I have one doubt on WDJ. How to download the Dynamic data into PPT format. For Example Some Dynamic data is available in to View in that One Download Link or button available. Click on Download link or button download that data into PPT Format
Is it possible for WDJ. If possible please tell me.
Or
How to create Business Graphics in Web Dynpro Applications depening up on Excel Data and finally we can download the Business Graphics into powerpoint presentation.
Thank you,
Regards
Vijay Kalluri
Edited by: KalluriVijay on Mar 11, 2011 6:34 AMHi Govindu,
1. I have one doubt on WDJ. Click on either Submit Buttion or LinkToURL UI we can download the file that file having ppt formate(Text.PPT).
I am using NWDS Version: 7.0.09 and Java Version: JDK 1.6
2. is it possible to download the business Graphics in to the PPT by using Java DynPro
Regards
VijayK -
How to send ALV output data into Excel sheet format via Mail to the user?
Hi friends,
I have a doubt ie,
How to send ALV output data into Excel sheet format via Mail to the user?
regards
MoosaHi,
Provide the output internal table to the objbin in the below FM
Send Message
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = i_docdata
put_in_outbox = c_x
TABLES
packing_list = i_objpack
object_header = i_objhead
contents_bin = i_objbin
contents_txt = i_objtxt
receivers = i_reclist
and specify the document type
i_objpack-doc_type = 'XLS'.
and try.
Regards,
Nandha -
How to insert one table data into multiple tables by using procedure?
How to insert one table data into multiple tables by using procedure?
Below is the simple procedure. Try the below
CREATE OR REPLACE PROCEDURE test_proc
AS
BEGIN
INSERT ALL
INTO emp_test1
INTO emp_test2
SELECT * FROM emp;
END;
If you want more examples you can refer below link
multi-table inserts in oracle 9i
Message was edited by: 000000 -
How to use vCloud Director Catalog into vFabric Data Director
Hi,
How to use vCloud Director Catalog into vFabric Data Director.....When you install Data Director, you have the option of selecting a Global or Organizational installation. When you select Organizational, you have an additional option to specify the vCD instance from which you can get Organizations and Users. This must be set up at installation time.
-
How to use Count with Date Parameters
Hello,
I am having issues using the Count() function in conjunction with date parameters.
This is a Siebel report and in my report I have 2 date parameters(From Date, To Date). In a nutshell I am basically trying to count Opportunities that has a start date within the given date period. However I don't see a reasonable way to put my date parameters within the Count() function. The reason being is that I need to have a huge chunk of code to convert the dates into a common format that can be compared, and it won't even fit within the code block in my rtf template. I am not even sure how to put multiple conditional statements inside a Count() function since all the examples I have seen are very simple.
Anyone have a suggestion on how to use Count() with date parameters?
Thanks.Any chance you can get the date formats in the correct format from siebel?
I don't know Siebel - so I can't help you with that. If you get the correct format it is just
<?count(row[(FromDate>=date) and (date<=ToDate))?>
Otherwise the approach would probably need to use string function to get year/monthd/day from the date
and store it into a varialbe and compare later the same way
<?variable@incontext:from; ....?>
<?variable@incontext:to; ...?>
<?count(row[($from>=date) and (date<=$to))?>
Potentially you can use the date functions such as xdofx:to_date to do the conversion
[http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12187/T421739T481158.htm]
But I am not sure if they are available in your siebel implementation.
Hope that helps -
How to download internal table data into xml file?
Hi,
Experts,
I have downloaded internal table data into XLS format using GUI_DOWNLOAD Function module, But i didn't Know how to download internal table data into XML format please post some ideas/inputs on this issue.
Thank you,
Shabeer ahmed.check this
data : gd_repid type sy-repid.
GD_REPID = SY-REPID.
DATA : L_DOM TYPE REF TO IF_IXML_ELEMENT,
M_DOCUMENT TYPE REF TO IF_IXML_DOCUMENT,
G_IXML TYPE REF TO IF_IXML,
W_STRING TYPE XSTRING,
W_SIZE TYPE I,
W_RESULT TYPE I,
W_LINE TYPE STRING,
IT_XML TYPE DCXMLLINES,
S_XML LIKE LINE OF IT_XML,
W_RC LIKE SY-SUBRC.
DATA: XML TYPE DCXMLLINES.
DATA: RC TYPE SY-SUBRC,
BEGIN OF XML_TAB OCCURS 0,
D LIKE LINE OF XML,
END OF XML_TAB.
data : l_element type ref to if_ixml_element,
xml_ns_prefix_sf type string,
xml_ns_uri_sf type string.
CLASS CL_IXML DEFINITION LOAD.
G_IXML = CL_IXML=>CREATE( ).
CHECK NOT G_IXML IS INITIAL.
M_DOCUMENT = G_IXML->CREATE_DOCUMENT( ).
CHECK NOT M_DOCUMENT IS INITIAL.
CALL FUNCTION 'SDIXML_DATA_TO_DOM'
EXPORTING
NAME = 'REPAIRDATA'
DATAOBJECT = IT_FINAL_LAST1[]
IMPORTING
DATA_AS_DOM = L_DOM
CHANGING
DOCUMENT = M_DOCUMENT
EXCEPTIONS
ILLEGAL_NAME = 1
OTHERS = 2.
CHECK NOT L_DOM IS INITIAL.
W_RC = M_DOCUMENT->APPEND_CHILD( NEW_CHILD = L_DOM ).
*Start of code for Header
* namespace
t_mnr = sy-datum+4(2).
CALL FUNCTION 'IDWT_READ_MONTH_TEXT'
EXPORTING
LANGU = 'E'
MONTH = t_mnr
IMPORTING
T247 = wa_t247
concatenate sy-datum+6(2)
wa_t247-ktx
sy-datum(4) into t_var1.
concatenate sy-uzeit(2)
sy-uzeit+2(2)
sy-uzeit+4(2) into t_var2.
clear : xml_ns_prefix_sf,
xml_ns_uri_sf.
l_element = m_document->get_root_element( ).
xml_ns_prefix_sf = 'TIMESTAMP'.
concatenate t_var1 t_var2 into xml_ns_uri_sf separated by space.
clear : t_var1,
t_var2,
t_mnr,
wa_t247.
l_element->set_attribute( name = xml_ns_prefix_sf
namespace = ' '
value = xml_ns_uri_sf ).
clear : xml_ns_prefix_sf,
xml_ns_uri_sf.
xml_ns_prefix_sf = 'FILECREATOR'.
xml_ns_uri_sf = 'SAP'.
l_element->set_attribute( name = xml_ns_prefix_sf
namespace = ' '
value = xml_ns_uri_sf ).
clear : xml_ns_prefix_sf,
xml_ns_uri_sf.
xml_ns_prefix_sf = 'CLAIMGROUP'.
xml_ns_uri_sf = '1'.
l_element->set_attribute( name = xml_ns_prefix_sf
namespace = ' '
value = xml_ns_uri_sf ).
clear : xml_ns_prefix_sf,
xml_ns_uri_sf.
xml_ns_prefix_sf = 'CLAIMTYPES'.
xml_ns_uri_sf = 'W'.
l_element->set_attribute( name = xml_ns_prefix_sf
namespace = ' '
value = xml_ns_uri_sf ).
*End of Code for Header
CALL FUNCTION 'SDIXML_DOM_TO_XML'
EXPORTING
DOCUMENT = M_DOCUMENT
IMPORTING
XML_AS_STRING = W_STRING
SIZE = W_SIZE
TABLES
XML_AS_TABLE = IT_XML
EXCEPTIONS
NO_DOCUMENT = 1
OTHERS = 2.
LOOP AT IT_XML INTO XML_TAB-D.
APPEND XML_TAB.
ENDLOOP.
*Start of Code for File name
concatenate p_file
'\R'
'000_119481'
sy-datum+6(2) sy-datum+4(2) sy-datum+2(2)
sy-uzeit(2) sy-uzeit+2(2) sy-uzeit(2) '.xml' into p_file.
*End of Code for File name
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
BIN_FILESIZE = W_SIZE
FILENAME = p_file
FILETYPE = 'BIN'
TABLES
DATA_TAB = XML_TAB
EXCEPTIONS
OTHERS = 10.
IF SY-SUBRC = 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
How to populate the Quering data into Excel sheet in Oracle
Dear Guys,
How to populate the Quering data into Excel sheet in oracle.
Please provide a solution.
Thanks & Regards,
Senthil K KumarHi
To make Excel sheets from sqlplus, you can use the markup html tag in sqlplus.
Here's an example.
Example
<code>
SET LINESIZE 4000
SET VERIFY OFF
SET FEEDBACK OFF
SET PAGESIZE 999
SET MARKUP HTML ON ENTMAP ON SPOOL ON PREFORMAT OFF
SPOOL c:\test_xls.xls
SELECT object_type
, SUBSTR( object_name, 1, 30 ) object
, created
, last_ddl_time
, status
FROM user_objects
ORDER BY 1, 2
SPOOL OFF
SET MARKUP HTML OFF ENTMAP OFF SPOOL OFF PREFORMAT ON
SET LINESIZE 2000 VERIFY ON FEEDBACK ON
</code> -
Methods in bapi used to convert data into XML
Methods in bapi used to convert data into XML,
how to implement those also,
points will be rewarded
Thank you,
Regards,
Jagrut BharatKumar ShuklaHi
Check this
http://www.sap-img.com/abap/sample-xml-source-code-for-sap.htm
https://forums.sdn.sap.com/click.jspa?searchID=2889167&messageID=3406594
Reward points for useful Answers
Regards
Anji -
How to download the script data into pdf file
how to download the script data into pdf file
i have one option to download the script data to pdf file --->rstxpdft4 program.
i have one doubt how to use this proogram.or any function module to download the script data to pdf file.
Thanks and regards,
Sri.Hi Sri Sai,
I know one method to convert the sapscript to pdf file :
first generate a Spool Request for the required Sapscript
then goto transaction SP01 and copy the generated Spool Request number
now execute the SAP report RSTXPDFT4
here enter the copied Spool request number and the target directory into the parameters
execute the report
required pdf file will be generated into the target directory
i hope it will help you out
Please refer this simple program:
http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
Reward points if found helpful....
Cheers,
Eshwar. -
How to batch upload some data into SAP system?
Hi All:
I'm a SAP key user in our company, I want to know how to batch upload master data into SAP system? What t-code we can use for batch input?
Thanks in advance!Hi,
I think at least there are four methods for batch input which you can use in SAP system:
Standard mass change t-code: for example, MM17 for mass change of material master data, you can find the mass change t-code under the relevant function module;
T-code SCAT, you can use to record and generate the simple batch input template, it's easy to use for key user;
T-code LSMW, it's another transaction to generate batch input template, it's often used at the beginning of SAP rollout;
ABAP program, of course, ABAP is a universal tool for everything, you can use ABAP to generate a batch input program to upload data into SAP system as well.
So you had better contact your SAP support department, help you to upload data!
Good luck
Tao -
Can any body tell me how to pull SAP-CRM data into BW
Hi BW guru`s,
Does anybody tell me how to pull SAP-CRM data into BW.
Is there any configuaration setings takes place in CRM system or BW system?
Provide few of CRM datasources names (Transaction data Datasources)
Please explain indetail and give some examples.
Thanks in advance,
venkatHi.......
SAP CRM uses BW Adapter to extract data from SAP CRM and send it to SAP Business Information Warehouse and SAP NetWeaver Business Intelligence. For mBDocs, BW Adapter extracts objects for CRM business transactions and CRM billing use the BAdI CRM_BWA_MFLOW. However, in releases prior to SAP CRM 2005, after using transaction code RSA5 to activate business content in SAP CRM, you must use transaction code BWA5 to activate the business content for the BW Adapter.
Check this link :
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f2910623-0c01-0010-de8f-d1926988a986
Hope this helps you.........
Regards,
Debjani........
Maybe you are looking for
-
Problem with Integration Builder Logon
Hi all, we get the following error message when logging on to the Integration Builder: "Authorization error. Unknown user name or incorrect passwords." We installed the SDK versions 1.4.2_03 and 1.4.2_05 on our computer and have local Admin rights
-
Error in Web Service with Collaboration Room API
Hi experts, I'm developing a web service for creating Collaboration Rooms. I tested my source in a Web Dynpro Project and everything worked. Now I placed my code inside a web service, and the service gives a nullpointer exception in this line: IRooms
-
Collab Subscription Emails: How to detect HTML enabled cell phone?
We have found tremendous adoption success with using the "Subscribe Others" feature in collab. Naturally this concept rubs many folks the wrong way because often the end users don't know why they are getting these emails or what they are expected to
-
Preference Page Examples?
Hello, I'm trying to create preferences for some remote portlets that I'm developing, but I am having trouble finding examples of preference pages to use, and what exactly those pages are used for. Basically, I want an administrator to be able to edi
-
hi, can someone translate this to EJB-QL i can't find an example if there is an embedded select statement SELECT * FROM table1 t1, table2 t2 WHERE t1.id = ? AND t2.id IN (SELECT id FROM table3 WHERE id = ?) thanks