PI 7.1 - Getting the Communication Party from the document
Hello,
In XI 3.0 when I made a Receiver Determination I was able to use "/p1:<document>/<field>" to pull in the Communication Party and Component (Service).
In PI 7.1 I am getting an error when I try to use / or : in the Receiver Determination.
Does anyone know how I can call fields from my document from my Receiver Determination in PI 7.1?
Thanks,
Matt
You need to use the drop menu for Communication Party and select "Extended". Although the result is the same as manually entering the fields it does not give the error when you use the drop menu.
Thanks,
Matt
Similar Messages
-
How to get the document type, name and revision from the search page cv04n
Hello,
After performing cv04n and getting a list of documents satisfying the search criteria, how can I then get the document type, name and revision of the selected document using ABAP?
ThanksHI,
IN table DRAW... u have Document type, Version and document number.
In Table DRAT also u get Document Type, Version, Number and Description of Doucment.
Regards
SAB -
Failed to get the document information (LO 26315)
Hi,
I have to create an Xcelsius dashboard where I use a Live Office connection based on a WebI-report. The WebI is created on top of a BEx Query.
I need to pass 12 parameters to the WebI-report in orde to get the correct data.
Everything works fine in design-time, but when I want to preview the dashboard, I get the error: Failed to get the document information (LO 26315).
After investigating the issue, I've noticed that everything works fine when the parameters I have to pass, are only created in the WebI-report. But in my case it is a BEx variable that causes the error.
There is no possible way that I can recreate the BEx variable in the Universe (There are restricted key figures, calculated key figures and cell restrictions in the BEx query).
My question: is there a way to pass a parameter from an Xcelsius dashboard to a WebI-report via a Live Office connection to a BEx variable?
LievenFred,
on the SAP Notes Search page on sdn.sap.com, you can enter the note number in a text field at the right side of the page, just above the Search Option part.
Just enter Note 1357924 in that text field and press the blue icon with the arrows next to it. Thiw ill show the corresponding note.
Lieven -
APEX_UTIL.GET_PRINT_DOCUMENT Error Unable to get the document
Hi,
I am working on Oracle APEX 4.1 to send the report as an attachment through mail I am unable to get the document while calling the APEX_UTIL.get_print_document. I have created a report query and report template (rtf template) so as to send the report as an email attachment. The report works fine individually upon clicking of button so there is no issue in BI publisher configuration. I am sure there is something very trivial which I am missing out here. Any help will be appreciated.
Declare
l_id number;
l_document BLOB;
l_error_msg varchar2(2000);
BEGIN
l_document := APEX_UTIL.GET_PRINT_DOCUMENT
p_application_id=>'123',
p_report_query_name=>'Sample_Report',
p_report_layout_name=> 'Sample_Report',
p_report_layout_type=>'RTF',
p_document_format=>'PDF',
p_print_server => 'f?p=&APP_ID.:0:&SESSION.:PRINT_REPORT=Sample_Report'
IF l_document is null
THEN
dbms_output.put_line( ' no report returned');
l_error_msg:='<html> <body> <h1 > Apologies the report was not returned from the apex , as there is some printing issues </h1> </body> </html> ';
ELSE
l_error_msg:=null;
END IF;
IF l_error_msg IS NULL THEN
l_id := APEX_MAIL.SEND(
p_to => '[email protected]',
p_from => '[email protected]',
p_subj => 'APEX_MAIL with attachment',
p_body => 'Please review the attachment.',
p_body_html => '<b>Please</b> review the attachment' || l_error_msg);
dbms_output.put_line(l_id);
IF l_document is not null then
APEX_MAIL.ADD_ATTACHMENT (
p_mail_id => l_id,
p_attachment => l_document,
p_filename => 'Sample_Report.pdf',
p_mime_type => 'application/pdf');
END IF;
END IF;
END;
Here the output says no report returned.
Thanks & Regards
AhmedTry removing the parameter p_print_server from the call. This will use your default print server which should already be configured to use the BI Publisher engine.
-
Documents created on my iPhone or iPad go into iCloud with no problem and I can then access those documents from any of my "toys". However, documents created on my MacBook Pro do not go into iCloud, and as such, they are not accessable from my iPhone or iPad. How can I get the documents created on my MacBook Pro to go into the cloud?
Reset iCloud sync state
On Mac:
Close open applications
Open a Finder window
Choose “Go to Folder…” from the “Go” menu
Enter “~/Library/Application Support/”
Find the folder named “Ubiquity” and move it to the Trash
Restart your computer -
Getting the document ID of an uploaded document
Hello All,
Perhaps someone out there can help with this assumingly simple task of getting the document id of a file that was uploaded.
Back ground:
I have a separate system which retains records of transactions. Paperwork is often received as a part of these transactions and my intention is to store those documents into SharePoint. I want to store the document id on the record to facilitate easy retrieval
of the document. No need to search by meta tags or the like; I will have the specific document id which will point to the document.
Environment:
I currently have SharePoint 2013 online. The program that creates and maintains the records is an in-house VB.Net application running on 4.5 framework. The document repository is defined as a record center and contains several content types and meta tags
(columns) already defined. Again the application is written in VB.
Goal:
Upload a given document, get the document id, and store that id to the record.
What I have done:
I have created a function that will take a given file name and proceed to upload the document to the given SharePoint list. It then proceeds to update the meta tags with information that will help find it using alternative methods. I have also spend hours
upon hours researching every corn of every forum to find an answer. But to no avail.
The problem:
I cannot find how to get the document id of the document that I uploaded. Either it is so easy that no-one has bothered to post how it is done. Or it is not doable. I say this because I can find absolutely no reference to how to get the document id. There
is lots of references on how to get the name, the url, the meta tags, etc... But NO example on getting the document id. Very frustrating. Below is the code that I am using. Can someone suggest how I can go about getting the document id. Please treat me like
I am a noob and spell it out. Sample code would be great! I have already burnt way too much time on this seemingly simple task. I would greatly appreciate any help.
Thanks
Mike
Imports Microsoft.VisualBasic
Public Class Class1
Private mVarTitle As String
Private mVarStockCode As String
Public Property DocTitle() As String
Get
Return mVarTitle
End Get
Set(value As String)
mvartitle = value
End Set
End Property
Public Property StockCode() As String
Get
Return mVarStockCode
End Get
Set(value As String)
mVarStockCode = value
End Set
End Property
Public Function UploadFile(FileName As String, Path As String, ListName As String, ContentType As String)
'For each record, copy the file from knowledgetree to the local directory and then upload it with the metatags.
Dim mKTFile As String = String.Empty
Dim mFileName As String = String.Empty
Dim mSource As String = String.Empty
Dim mTarget As String = String.Empty
Dim mTitle As String = String.Empty
Dim mStockCode As String = String.Empty
Dim mDocId As String = String.Empty
Dim mCTid As String = String.Empty
Dim mBaseKTFolder As String = "\\<computerName>\c$\Program Files\ktdms\documents\"
mFileName = FileName
mKTFile = Path
mTitle = mVarTitle
mStockCode = mVarStockCode
mKTFile = Replace(mKTFile, "/", "\")
mSource = mBaseKTFolder & mKTFile
mTarget = ".\temp\" & mFileName
UpdateStatus("uploading " & lrows.ToString)
' Copy the file to a new folder and rename it.
My.Computer.FileSystem.CopyFile(
mSource,
mTarget,
Microsoft.VisualBasic.FileIO.UIOption.AllDialogs,
Microsoft.VisualBasic.FileIO.UICancelOption.DoNothing)
Dim mpassword As New System.Security.SecureString()
Dim mp As String = "<adminPassword>"
For k = 1 To Len(mp)
mpassword.AppendChar(Mid(mp, k, 1))
Next
Dim mycred As New Microsoft.SharePoint.Client.SharePointOnlineCredentials("<AdminUserId>", mpassword)
Dim url As String = "https://<SharePoint URL>/sites/rms"
Dim listTitle As String = ListName
Using clientContext = New ClientContext(url)
clientContext.Credentials = mycred
Using fs = New System.IO.FileStream(mTarget, System.IO.FileMode.Open)
Dim fi = New System.IO.FileInfo(mTarget)
Dim list = clientContext.Web.Lists.GetByTitle(listTitle)
clientContext.Load(list.RootFolder)
clientContext.ExecuteQuery()
Dim fileUrl = [String].Format("{0}/{1}", list.RootFolder.ServerRelativeUrl, fi.Name)
fileUrl = Replace(fileUrl, "#", " ")
Microsoft.SharePoint.Client.File.SaveBinaryDirect(clientContext, fileUrl, fs, True)
Dim web As Web = clientContext.Web
Dim newFile As Microsoft.SharePoint.Client.File = web.GetFileByServerRelativeUrl(fileUrl)
clientContext.Load(newFile)
clientContext.ExecuteQuery()
'*****this section finds the content type and sets
Dim contentTypeColl As ContentTypeCollection = clientContext.Web.ContentTypes
clientContext.Load(contentTypeColl)
clientContext.ExecuteQuery()
mCTid = String.Empty
'/ Display the content type names that are available in the website
For Each ct As ContentType In contentTypeColl
If ct.Name = ContentType Then
mCTid = ct.Id.StringValue
End If
Next
'***************End content type find.
newFile.ListItemAllFields("ContentTypeId") = mCTid
newFile.ListItemAllFields("Title") = mTitle
newFile.ListItemAllFields("StockCode") = mStockCode
'******This is the section where I have tried to get the uploaded document Id.
'******None of these statements work.
mDocId = newFile.ListItemAllFields("Document ID").ToString
mDocId = newFile.ListItemAllFields("_dlc_DocId").ToString
mDocId = newFile.ListItemAllFields("DocID").ToString
newFile.ListItemAllFields.Update()
clientContext.Load(newFile)
clientContext.ExecuteQuery()
End Using
End Using
' Delete the file .
My.Computer.FileSystem.DeleteFile(mTarget)
UploadFile = mDocId
End Function
End ClassThanks Micheal for confirming SharePoint version.
Is your VB code working with SharePoint 2010 Client Object model? It would give the idea that there is some poroblem in SharePoint 2013 CSOM.
By the way, I tried the below code in C# and I was able to print the Document ID and it worked for me.
using (ClientContext clientContext = new ClientContext("http://<<Server Name>>:2425/sites/test/"))
Web site = clientContext.Web;
// Change your document library name
List docLib = site.Lists.GetByTitle("tester");
clientContext.Load(docLib);
CamlQuery caml = new CamlQuery();
ListItemCollection items = docLib.GetItems(caml);
clientContext.Load(items);
clientContext.ExecuteQuery();
// Iterate through all items in the document library
foreach (ListItem item in items)
Console.WriteLine("File Name:: " + item.FieldValues["Title"]);
Console.WriteLine("Document Id : " + item.FieldValues["_dlc_DocId"]);
Console.ReadLine();
Output:
File Name:: Remove_URL
Document Id : TEST-1-1
File Name:: Request
Document Id : TEST-1-2
Please check that your code is working with SP2010 or not?
Thanks
Ashish
Ashish Gupta Click "Vote As Helpful"! if you think that post is helpful in responding your question click "Mark As Answer, if you think that this is your answer for your question. -
How to read/get the document attached to PO line item
Hi experts,
I got a requirement wherein I need to read/get the document attached at PO line item and to send that document through mail as an attacment .
please suggest me how to proceed on this.actually your are picking up the correct data from Table EKET (EKET-EINDT) but your are printing that in item data loop for EKET might have already executed in your script and the header of that internal table consist the last entry of the table so for that. Fetch the delivery date explicite from the Table EKET when your in item level processing and print that.
For Example u can use this code.
To print you have write the this code in Script item level printing window "MAIN" window
Following perform is called to get the line item delivery date in PO
{/: PERFORM GET_DEL_DATE IN PROGRAM ZPerform_prog
/: USING &EKPO-EBELN&
/: USING &EKPO-EBELP&
/: CHANGING &DEL_DATE&
/: ENDPERFORM}
{* Dellivery date &DEL_DATE& }
write the below code in the Z program "ZPerform_prog"
{ FORM get_del_date TABLES in_par STRUCTURE itcsy
out_par STRUCTURE itcsy.
READ TABLE in_par WITH KEY 'EKPO-EBELN'.
CHECK sy-subrc = 0.
$_po_no = in_par-value.
READ TABLE in_par WITH KEY 'EKPO-EBELP'.
CHECK sy-subrc = 0.
$_po_line = in_par-value.
SELECT *
FROM eket UP TO 1 ROWS WHERE ebeln EQ $_po_no AND ebelp EQ $_po_line.
$_del_date = eket-eindt.
CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
EXPORTING
date_internal = eket-eindt
IMPORTING
date_external = $_del_date
EXCEPTIONS
date_internal_is_invalid = 1
OTHERS = 2.
READ TABLE out_par WITH KEY 'DEL_DATE'.
CHECK sy-subrc EQ 0.
out_par-value = $_del_date.
MODIFY out_par
INDEX sy-tabix.
CLEAR : $_po_no , $_po_line ,$_del_date.
ENDSELECT.
ENDFORM. "GET_DEL_DATE } -
Cannot access external data , Failed to get the document information.
Hi All,
In my dashboard there are live office connections which has optional prompts defined in SAP BI. I have bound the cells to these prompts in live office object properties.
There are no errors while refreshing the LO connections from excel sheet.
But when i run that dashboard and give BLANK value for that prompt then it throws the error :
Cannot access external data , Failed to get the document information. (LO 26315).
Reply highly appreciated.
Thanks & Regards,
DJHi Hardik,
I am building a similar solution as yours connecting webi reports to Bex queries and reading the webi data through live office into the dashboards. I am using almost similar versions as yours - BW 7.1 SP5, BO 4.1 SP4, Dashboards and Live Office SP4 versions. I am facing issues setting up the live office connections itself. I create the Live office connections within an excel and when I try to import this excel spreadsheet into my dashboard designer, it runs forever and crashes.
Could you please list out the steps you performed to get the Dashboard to preview live office data? Do you have OLAP connections for BW cubes and created WebI reports using these connections or You created a Universe on top of the Bex Queries?
It would be great if you could share the steps performed.
With respect to your issue, check if the report engine service is running. Do you have any error message details apart from this error?
Thanks.
Regards,
Rohini. -
How can we get the document id at event close?
Hi All!
I wanted to perform some actions at document close on the document file that has been saved to disk. To make sure that I am perfoming these actions on the right document, in case the user does a close all if multiple documents are open, I thought of getting the document id of the document which is closing. But I am having problems getting the document id from the descriptor I get at the close event call back function. How can I get the document id from this descriptor?
Pls guide.
Thanks!Hi Sandy,
This should be no different than any other form of completing it. You can bind the Actual Agent back to your WF, and you could also bind SY-UZEIT if you need have the completion time in a WF container element.
If you are talking about reading this afterwards, the agent is in SWWWIHEAD-WI_AAGENT.
Hope that helps,
Mike -
How do I get the "Document" tab to appear in the toolbar?
How do I get the "Document" tab to appear on the "Adobe Reader" toolbar?
There is no way to add that. All changes to the Adobe Reader toolbar can be found here:
View->Show/Hide/Toolbar items -
How to get the "Document Info" in illustrator
In illustrator using "Document Info" we can get the file information. Like that how to get the document information using script. Anyone please help me.
Regards,
PrabudassI think sample code in the SDK contains a 'skeleton' plugin, I'd start with that. It should also provide a list of suites that get automatically loaded, I think it's in Suites.h. Just make sure AIDocumentSuite is in the list, and if it's not, just follow the examples in that file to add it. That should end up with a global variable called 'sDocument', which has all the suite functions as methods.
Then it's something like:
AIDocumentSetup setup;
AIErr error = sDocument->GetDocumentSetup(&setup);
// check error to make sure it's kNoErr
Then you just have to inspect the setup struct for (hopefully) the answers you're looking for. -
How can i get the document full path in S_TieDocument?
I create a new S_TieDocument and override 2 methods:
extendedPreInsert and extendedPostInsert
how can i get the document full path in these 2 methods?
(e.g. if i use the system user to upload a new file named 'test.file' in system root path /home/system, and i want to get the document full path '/home/system/test.file', how to get it?
anybody know it, pls tell me, thanks a lot.
java source is as below
package oracle.ifs.server;
import oracle.ifs.beans.Document;
import oracle.ifs.beans.DocumentDefinition;
import oracle.ifs.beans.LibraryObjectDefinition;
import oracle.ifs.beans.LibrarySession;
import oracle.ifs.beans.PublicObject;
import oracle.ifs.common.AttributeValue;
import oracle.ifs.common.IfsException;
import oracle.ord.itech.cmsdk.ws.view.EmbeddedCMSDKWebServicesWSStub;
public class S_TieDocument extends S_Document
public S_TieDocument(S_LibrarySession session, S_LibraryObjectData data)
throws IfsException
super(session, data);
public S_TieDocument(S_LibrarySession session, java.lang.Long classID)
throws IfsException
super(session, classID);
// Overrides
public void extendedPreInsert(OperationState opState,
S_LibraryObjectDefinition def)
throws IfsException
// Always call super
super.extendedPreInsert(opState, def);
// Get the LibrarySession
S_LibrarySession session = getSession();
def.setUserSetAttribute("CUSTOMATTRIBUTE",
AttributeValue.newAttributeValue(""));
//how can i get the document file full path here?
public void extendedPostInsert(OperationState opState,
S_LibraryObjectDefinition def)
throws IfsException
// Get the LibrarySession
S_LibrarySession session = getSession();
//how can i get the document file full path here?
}In the new version of Numbers this option is not available. You will have to type the file name into the header yourself. You can post feedback to Apple using the menu item "Numbers > Provide Numbers Feedback"
or use Numbers2.3 which should be in the folder "/Applications/iWork '09" if you previously had it installed -
Getting the documents in open line items for t-code f-53
Hello gurus,
In one scenario i want to get the document numbers against which the accounting document number is created after posting(saving) in t-code F-53. I am using BTE event -00001030 (posting of standard data). In this function module i am getting the tables t_bkpf and t_bseg etc.. in which the newly generated document number (Belnr) is present in the table. But the field AUGBL is blank. I want to get the document for which this clearing is being done. How can i get the open line items?Thanks, I solved the problem
-
How to get the document which is associated with a process having specific Guid value?
when a PDF file is opened, AcroRd32.exe is started automatically, and we get the GUID value of that adobe reader.
In c#, can't we get the document associated with the GUID value, I mean the total PDF file which is opened in adobe reader at runtime.
Here I'm struck up in code, can anyone suggest how to where I was missing something.
Acrobat.CAcroAVDoc AcroAvDoc;
Type AcrobatCAcroType;
AcrobatCAcroType = Type.GetTypeFromCLSID(new Guid("{CA8A9780-280D-11CF-A24D-444553540000}")); This CLSID is of adobe reader's.
///////Here I think I'm missing something
Object obj = Activator.CreateInstance(AcrobatCAcroType);
AcroAvDoc = (Acrobat.CAcroAVDoc)obj;
I think I can get the full PDF document with AcroAvDoc.GetPDDoc();
Thank you...Post your question in the forum for Acrobat SDK.
-
How to get the document details of a Workflow Request?
We are using listRequests method of RequestManager class for getting workflow requests. This method returns collection of request information. But how we can get details of document, which has to be approved, through that request id?
Hi,
Hope u got the solution. If not, you can get the Document Item like this.
// Its the method call of previous link nickw-ocs has provided
Vector fileNames = getTargetDocumentsFromFolder(request1);
for (int j = 0 ;j<fileNames.size() ;j++ )
AttributeRequest[] pathar = new AttributeRequest[]
WSF.newAttributeRequest(Attributes.PATH),
WSF.newAttributeRequest(Attributes.PARENT_FOLDER)
FileManager filemanager = session.getFileManager();
// Resolve the file path based on folder ,document name
// combination.
String fileName = (String)fileNames.get(j);
System.out.println("Item id : "+item.getId()+" File Name : "+fileNames.get(j));
Item targetItem = filemanager.resolveRelativePath(item.getId(), fileName,
pathar);
// here you got the Document Item. So, you can do what ever u want, like read the docuemnt, update categories etc..
if (targetItem != null)
targetdocuments.add(targetItem);
} -
How to get the document path of the pictures uploaded for products?
Hi Gurus,
How to get the document path of the pictures uploaded for products uploaded through tcode COMMPR01?
Many Thanks,
Neerajclient path.
I need to get the client path in order to download files form server to client.
Best regards,
Huy.
Maybe you are looking for
-
I have checked my installed programs, the list of add ons on internet explorer and the one on Firfox, and cannot find sweetim. However, when I try to do a keyword search in the location bar, I am only able to do it twice, until I switch to a new tab.
-
The USB Ports on my 2012 MacBook Pro have stopped working. Initially, port #1 (the one closest to the screen) stopped working, but now (probably nearly 12 months later) they have both stopped working. The SD card reader is starting to work intermitte
-
Can no longer send or receive text messages
Hi, I'm new to this but here i go. I have a 3GS Iphone that has the latest update. Recently the plan i had was a family plan and just a few days ago i split the two phones that was on my plan to be two separate plans (accounts). The other phone that
-
CS6 Master Suite Trial Issues Getting Started
Hi, I am both a Macbook andCS newbie ;-) I've had a nightmare first downloading the Adobe CS Download Assistant and now the actual software. It has put Adobe CS6 folders in my Finder, but they seem to be empty and I can't open them. Can anyone help
-
Hello, I need help getting Adobe AIR to update. I have tried downloading the installer and installing the program that way but every time I just get the 'An error occurred while installing Adobe AIR. Installation may not be allowed by your administra