Archive link : user defined document name in attachment list
Hi
I have created a content repository (OAC0), document type and had linked the doc n content rep with an SAP business object.
I am able to attach documents to business object using archive link feature.
If I attach more than one documents to an SAP business object, for same document type, all the documents are displayed with same name in the attachment list.
Is there any way by which I can show the original document name as selected by user?
Thanks in advance.
Regards
Ruhi Hira
hi i have this problem myself all I know is that the original names are used for the following document types
HRIBENEFIT PREL FAX 0053 -
HRIBESCHKI PREL FAX 0021 2
HRICERTIFI PREL FAX 0024 -
HRICOLFOTO PREL FAX 0002 -
HRICONTRAC PREL FAX 0016 -
HRICONTRAD PREL FAX 0016 -
HRIDATASEC PREL FAX 0002 -
HRIDATES PREL FAX 0019 10
HRIDIPLOMA PREL FAX 0022 +
HRIEMPFOTO PREL FAX 0002 -
HRIEVALUAT PREL FAX 0025 -
HRIHEALTHI PREL FAX 0013 -
HRIMASTERD PREL FAX 0002 -
HRIPERAPPR PREL FAX 0019 10
HRIREFEREN PREL FAX 0023 -
HRIRESUME PREL FAX * -
HRISOCIALS PREL FAX 0013 -
HRISTUDID PREL FAX 0013 -
HRITAXCARD PREL FAX 0012 -
HRIVL PREL FAX 0010 +
HRIWORKPER PREL FAX 0016 -
read this thread:
Link:[A couple of things regarding GOS and ArchiveLink for attaching Business Doc;
i hope this wiil help you a least a little bit
Similar Messages
-
Error -5002 when adding linked user defined field using DI API
Hello,
When I try to add a linked user defined field using DI API I get the error number -5002 with description:
"The field 'Related Table' should consist of 8 alphanumeric characters with no valid or default values"
I Get the error when I use the Add method.
What is the solution for this problem? I use SBO 2005 A SP1 Patch 18
The code I use is (.NET C# 2.0):
SAPbobsCOM.IUserFieldsMD uf = (SAPbobsCOM.IUserFieldsMD)company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields);
uf.Name = "S_BUCO";
uf.TableName = "OPOR";
uf.Type = SAPbobsCOM.BoFieldTypes.db_Memo;
uf.SubType = SAPbobsCOM.BoFldSubTypes.st_Link;
uf.LinkedTable = "S_BU";
uf.Description = "Description";
uf.Add()
Regards,
JeffreyHi Jeffrey,
Your code above does not match the settings you are using in the UI. In particular, the type and subtype you are setting in code are not correct.
To create the UDF via code, set the field types as follows:
SAPbobsCOM.IUserFieldsMD uf = (SAPbobsCOM.IUserFieldsMD)company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields);
uf.Name = "S_BUCO";
uf.TableName = "OPOR";
uf.Type = SAPbobsCOM.BoFieldTypes.db_Alpha;
uf.EditSize = 8;
uf.LinkedTable = "S_BU";
uf.Description = "Description";
uf.Add()
There's no need to set the SubType property as you require a regular alphanumeric field.
Kind Regards,
Owen -
hi all
Here my question is what is the business object for user define document?
please give me reply
Thanks & Regards
AmitHi Amit,
There's some additional information in this thread:
DI API for UDO !!!
Regards,
Niall -
Access Imported Archive in User Defined Function
Hi!
I want to access a XML file in an user defined function in a message mapping. The XML file is included in an imported archive. I need the information out of this XML file for configuring an extended receiver determination.
Does anyone know how to solve this?
Best regards,
DanielHi Krishna,
a property file will be a solution but is has to be stored in the filesystem. In my scenario I prefer a file (not neccessary xml) which is editeable in the IR.
I tried something in this way (just for testing):
try {
DocumentBuilderFactory factory = null;
DocumentBuilder builder = null;
Document document = null;
Element element = null;
factory = DocumentBuilderFactory.newInstance();
builder = factory.newDocumentBuilder();
document = builder.parse(Container.class.getResourceAsStream("routing.xml"));
element = (Element)document.getElementsByTagName("BUSINESS_SYSTEM").item(0);
return element.getNodeValue();
} catch (Exception e) {
return "Crash: "+e.getMessage();
But it crashes, because the resource "routing.xml" cannot be found. I tried to add the namespace or the name of the imported archive or both as prefix, but it don't work. How can I find out under which address/url I can open the xml document?
Best regards,
Daniel -
How register user defined listener name with OEM
DEFAULT LISTENER
[oracle@localhost ~]$ lsnrctl status
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 06-SEP-2010 10:03:46
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused
USER DEFINED LISTENER
[oracle@localhost ~]$ lsnrctl status LISTENER_LIMCAMP
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 06-SEP-2010 10:04:03
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.106.72)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER_LIMCAMP
Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production
Start Date 03-SEP-2010 19:42:11
Uptime 2 days 14 hr. 21 min. 52 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /ora10gsoft/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File /ora10gsoft/oracle/product/10.2.0/db_1/network/log/listener_limcamp.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.106.72)(PORT=1521)))
Services Summary...
Service "LIMCAMP" has 1 instance(s).
Instance "LIMCAMP", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
I am able to connected thru listener.
But my OEM database control showing
Host localhost.localdomain
Port 1521
SID LIMCAMP
Oracle Home /ora10gsoft/oracle/product/10.2.0/db_1
Status Down
Host localhost.localdomain
Port 1521
Name LISTENER
Oracle Home /ora10gsoft/oracle/product/10.2.0/db_1
Location /ora10gsoft/oracle/product/10.2.0/db_1/network/admin
Details TNS-12541: TNS:no listener
My OEM taking the default LISTENER( which is not running). how to register OEM to take the listener (LISTENER_LIMCAMP).# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain
192.168.106.72 localhost.localdomain
would you please have a look into the below link which is the issue on the same server.
Heartbeat failed to connect to standby : archive files not transfering....
Edited by: SAKTHIVEL on Sep 6, 2010 11:45 AM -
Error while linking user defined table to user defined field using vb6.0
Hi,
I am creating a userdefined field on a SAPB1 table(PDN1) using vb 6.0
I am trying to link this field to a user defined table.
When i do that i get the following error:
"The field 'Related table' should consist of 8 alphanumeric chracters with no valid or default values"
When i try to do the same thing from SAPB1(not using code) there is no such problem.
My vb code is as follows:
Set oUserFieldsMD = oCmp.GetBusinessObject(oUserFields)
oUserFieldsMD.TableName = "PDN1"
oUserFieldsMD.Name = "OB_Locn"
oUserFieldsMD.Description = "WH Location"
oUserFieldsMD.Type = db_Alpha
oUserFieldsMD.EditSize = 30
lRetCode = oUserFieldsMD.Add
If lRetCode <> 0 Then
oCmp.GetLastError lErrCode, sErrMsg
MsgBox sErrMsg
GoTo Err_
End If
If Not oUserFieldsMD.GetByKey("PDN1", 0) Then
MsgBox "Error"
GoTo Err_
End If
oUserFieldsMD.LinkedTable = "OB_TEST"
lRetCode = oUserFieldsMD.Update
Your help will be much appreciated.
Thanks.Great Sébastien!
Looks like we could not survive here one day without your contribution
Best regards,
Frank
PS: For readers of this thread who don't understand why
EditSize
must be "8":
This is the size of the
Code
field in the user-defined table to which the new field OB_Locn (in the DB it will be U_OB_Locn) is linked to...
So, it should be preferrably of the same size. -
Is it Possible to link user defined column of system matrix ?
HI All,
Is it possible to link (with ExtendedObject) user defined column of system matrix?
For Example, In purchase order form, I have added one column called U_ItemCode (through Tools-User Defined Fields-Marketing Doc). I want to give drill down to Item master.
Here is the code:
OColumn = OMatrix.Columns.Item("U_ItemCode")
olink = OColumn.ExtendedObject
olink.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_Items
the last line gives me 'Object refrence not set to an instance of the object' error.
For user form, it works fine (since it has the column defined as LinkedColumn in screen painter). How can we do this in system matrix?
thanks in advance
regards,
BinitaHi Binita,
nice to see you
i mean the following:
1.) add the field in marketing document lines -> you need this to store the values in database
but this user field column will not have the arrow so we do ...
2.) you also add a linked column to the system matrix. you can copy the values from the udf column
to your manual added column and than you can use the arrow. (maybe you should disabled this column)
the result is you have two columns - the udf column and the linked manual column
i hope you know what i mean - very complicated
regards
David -
Archive Link for Outgoing Documents (BUS2201)-- Customizing
Hi experts,
I want to establish a link between SRM (7.0) and an external archiv via Archive Link.
I want to store all outgoing Purchase order within TOA table TOA02
I have mantained Basic Customizing via transaction OAC0 so far(content repository)
No I am a litte bit confused:
I mantained "actions for Document Output" for Action Profile BBP_PD_PO --> (Print and archive)
Could anyone please guide me through the other relevant customizing steps?
application server > basis-services> archive link --> basic customizing
for example
1. Edit Document Types
--> which document type do I have to chose to storage outgoing Purchase orders or where do I set the link between my Purchase Order and "my" document type?
2. Edit Links
Object Type BUS2201
Object Document --> see my question above
Contenet Repository --> my customized Content Repository
which further steps are needed?
A short guide through the basic customizign steps would be great.
Thanks a lot!
Best regards
AndreasHi experts,
I want to establish a link between SRM (7.0) and an external archiv via Archive Link.
I want to store all outgoing Purchase order within TOA table TOA02
I have mantained Basic Customizing via transaction OAC0 so far(content repository)
No I am a litte bit confused:
I mantained "actions for Document Output" for Action Profile BBP_PD_PO --> (Print and archive)
Could anyone please guide me through the other relevant customizing steps?
application server > basis-services> archive link --> basic customizing
for example
1. Edit Document Types
--> which document type do I have to chose to storage outgoing Purchase orders or where do I set the link between my Purchase Order and "my" document type?
2. Edit Links
Object Type BUS2201
Object Document --> see my question above
Contenet Repository --> my customized Content Repository
which further steps are needed?
A short guide through the basic customizign steps would be great.
Thanks a lot!
Best regards
Andreas -
User defined spoolfile name at run time.
Hi all,
What I want to run in SQLPlus is
PROMPT Enter a spoolfile name
SPOOL &SpFile
SELECT * FROM Scott.emp
SPOOL OFF
When I run this as a script - i.e. @foo.sql, it works fine - i.e. it prompts the
user for a name for the SpFile. However, when I copy and paste the text into
SQLPlus and try and run it, it fails - it runs through the PROMPT/SPOOL bit
of the script with the message
apps@WHITE> SPOOL &SpFile;
Enter value for spfile:
not spooling currently
apps@WHITE>
and produces no output. If I put SPOOL '&SpFile'; it produces a file
called ''.lst - yes two single quotes.lst.
Can anyone explain what is going on and how I can get the
behaviours to match in the interactive and batch modes?
TIA.
Paul...SQL> spool off
SQL> spool &a
Enter value for a: c:\abc.txt
SQL> select count(*) from user_objects where
rownum<=1;Thanks for your interest, but you have slightly misunderstood me.
It will work fine if I have the spool &xyz in my_script.sql and then do
SQL> @my_script
but it does not* work if I copy and paste the contents of my_script.sql
at the SQL> prompt - i.e. all in one go.
This puzzles me, because it works fine if I copy and paste a multiline sql
statement which has an & in the SELECT part of the statement. I think it's
related to an issue I noticed recently whereby if you copy and paste an
SQL script into the buffer which contains non-SQL (i.e. column blah format a30),
for example, SQLPlus throws an error when you try to run what's in the
edit buffer by typing / and return.
This is why I started copying and pasting at the prompt in the first place,
but this is the first time I've tried to input a "non-SQL" variable name in
this fashion.
This is where I'm having the issue. Hope this is clearer now.
Paul... -
2005 PL07 User define table name size changed?
Hi everyone,
I just upgrade Add-on from SBO 2004 to SBO 2005 PL07, there is a problem, when a DBDatasource bind to an User difine table, if the UDT name length <=7, the code runs good under, but under 2005 PL07, when UDT name Length >7, an error "Data source - Invalid table name" shows when code runs to the statement "oDBDataSource.Query(oConditions)".
who knows what's the reason of this problem, is this by the UDT name longer than SBO 2005 PL07 SDK constraint or other reasons.
Thanks in advance!
KathyHi Kathy,
I haven't experienced this error, but it looks like Barend has. I am not sure if he has solved his problem, but it seems to be the same. His table name is also longer than 7 characters. Look at this post posted a couple of days ago:
SBO 2005 DBDatasource
Hope it helps,
Adele -
Setup of archive link to store documents such as Invoices
Dear Experts:
Where do you make te setup to print documents, and store an optic image of them?
When I try to print I am getting the following error:
object type BUS4401 and document type FMCAINV
Best regards.Hi
Try transaction OAD5 for ArchiveLink: Customizing Wizard as well as OAOH & OAC2 for SAP ArchiveLink: Global doc. types.
regards,
David -
Help: User defined field name to change
All Prof, please help me on this.
I am trying to change the name of "2nd ship date" under A/R sales -> A/R invoice to "BL Date". I can change the show column name, but cannot change the label of the input box.
2nd ship date: _______(input box)
2nd ship date --> BL DateIf you refer to the query parameter, that would not be changeable. System will only show the internal name.
Thanks,
Gordon -
Additional User Defined field in Maintenance Task List
I wan to add an additional field user field in Maintenance Task List.
I know It is possible in User Fields.
But I an not able added user field to Operations that are already there in the maintenance plan.
The system is allowing me to Add field in New Operations that I am adding the the Task List.
Thanks
SabyasachiHi,
If I am correct, It is not possible to add user fileds to the operations in the maintenance plan which was copied from the tasklist which is there in the maintenance plan.
if you required these user fileds goto to change mode in maintenance plan and remove the task list in plan and do necessary changes in the task list and add to plan again. After that you can get userfileds in the opeations as u required with was generated now onwards. It is not possible for the past ones.
Regards
Srinivas -
Archive Link problem with redundant document names
Hi all,
I have a tricky problem in archive link. I would like to attach some different documents to an HR/PD Organisation unit ( objekttyp pdotype_o )
All customizing works fine but the problem is, all documents attached to one busines object ID have the same name ( in this case objectnumber.pdf)
I am not lucky with this issue because the users must be able to see all documents ( via document finder ) attached to the org. unit and all what the users get, is a list of one or more documents with exactly the same name.
In some cases this are about 10 different documents and this issue is a very bad solution because users have to open all attached docs to recognize which one they need.
During the import/check in of the documents via transaction OAAD and OAWD, SAP renames the original document name.pdf into the related object ID.pdf and there is no way to rerename it or influence this process.
I tried to use some scan software with SAP interface but unfort. with the same result because software of this kind use the archive link interface too and cannot influence the process of check in and rename.
Has anybody an idea ( third party software, customer development or something like this ) to prevent this problem and give me the possibility to stay with the original document names or change it after check in?
Thank you in advance
RaykoHow you fix this problem?
I'm with the same problem. Could you help me please?
Edited by: broullon on Jul 16, 2009 5:31 PM -
How to attach a document stored in Archive link in a notification
Hi Friends,
Is it possible to get the PDF file stored in Archive link and make it as an attachment in a notification. I think we need to get this PDF attachment and convert it into SOFM instance, then only we can make it as an attachment in notification becoz notification can accept only SOFM instance right?
Please let me know how to do this or is there any other simple way to convert this attachment to SOFM instance.Hi
this has been discussed and solved somany times in the forum. Please search with relevant terms like "PDF attachment in a mail".
Goodluck
venu
Maybe you are looking for
-
When I create a PDF with Adobe Reader XI, it wont take the links behind the images. Sometimes he does, mostly not.. Whats the solution? The links in text do work!
-
I´m trying to place an anchor object behind a textframe, but it´s not working. Does anyone knos if it´s possible?? /Malin
-
What is the intent of this line ? What is it facilitating ?
-
Anyone having sign-in, cookie and password issues with Google Chrome Browser? Updated I am in signing-in hell with one particular computer (this one) and have spent days trying to rectify it. Basically..Chrome normally opens ( after computer shut
-
Hi friends, I have a requirement here. I am working with EDI Sales Orders.EDI Sales Orders will be coming in the form of IDOCs. For each Sales Order Item,I need to check the pricing conditions. In the <b>IDOC type ORDERS02</b>, I am accessing <b>Item