Document attachment to custom tables / records
Good morning,
do you know if it is possible to attach external documents to custom tables / records, in the same way as it is possible for standard transactions (Services for Object)?
If yes, can you please advise me on some reference documetns about how to customize this functionality?
Thanks in advance
AS
Hi ,
Displaying attachments is not available in the Interaction record view.You need custom development to enable the attachemnts there.
usually the process would be to create a followup activity from the interaction record and attch documents there.
Thanks,
Rajiv.
Similar Messages
-
Error in multiple operation with change document object for custom table
hi all,
I have developed a change document object for a custom table ZTEST and developed a report program for insertion, updation & deletion..everything works fine if I do only once ie. if I created only 1 entries. If I created 2 new entries , I am getting an Error "DUPREC:POS&Z3RL_TAB&Z3RL_TAB" and EXIT the transaction.
why I am getting this error??? is it not possible to do multiple operation with the change document???
kindly help.
Edited by: JaiKarthik on Apr 7, 2010 6:20 AMLOOP AT ts_mod INTO wa_mod.
READ TABLE <i_itab> INTO <wa_tab> INDEX wa_mod-row.
* Select the existing entries in table Z3RL for change history
SELECT SINGLE * FROM z3rl
INTO wa_z3rl
WHERE vkorg = <wa_tab>+3(4)
AND zzkunnr = <wa_tab>+7(10).
* Move the old entries
IF sy-subrc = 0.
CLEAR ls_z3rl.
ls_z3rl = wa_z3rl.
ENDIF.
* Update the table
MODIFY (viewname) FROM <wa_tab>.
CLEAR wa_z3rl.
wa_z3rl-mandt = <wa_tab>+0(3).
wa_z3rl-vkorg = <wa_tab>+3(4).
wa_z3rl-zzkunnr = <wa_tab>+7(10).
* Populate change tables
CLEAR wa_change.
wa_change-teilobjid = 'Z3RL'.
wa_change-textart = 'TEST_2'.
wa_change-textspr = 'EN'.
wa_change-updkz = 'U'.
APPEND wa_change TO ts_change.
*call the fM to log the values in CDHDR table.
CALL FUNCTION 'Z3RL_WRITE_DOCUMENT'
EXPORTING
objectid = 'Z3RL'
tcode = sy-tcode
utime = sy-uzeit
udate = sy-datum
username = sy-uname
planned_change_number = ' '
object_change_indicator = 'U'
planned_or_real_changes = 'U'
no_change_pointers = 'U'
upd_icdtxt_z3rl= 'U'
n_z3rl= wa_z3rl
o_z3rl = ls_z3rl
upd_z3rl= 'U'
lv_opt = ' '
TABLES
icdtxt_z3rl= ts_change.
CLEAR : wa_mod, <wa_tab>.
ENDLOOP.
Edited by: JaiKarthik on Apr 7, 2010 6:49 AM -
Document attaching to Customer Object link
Hi all,
I have created a document relevant for Sales. In object links i have attached this document to Customer object. Here in the Customer master data (After double clicking the Customer object link in the DIR), Can i attach any document to the Customer master irrespective of whether it belongs to Sales?
Venu...Can i attach any document to the Customer master irrespective of whether it belongs to Sales?..
Yes,provided you have the requisite authorization for creation of the document types and document creation has been enabled from Customer object in DMS customizing.
Regards,
Pradeepkumar Haragoldavar -
Attaching a custom table a check table.
Dear Freinds
i have created a custom , and i have made enhancment by a field
for the infotype 0022...
could any one tell how to make make this custom table as check table for the
field which i have created through enhancment in the infotype 22.
i.e when you user press F4 on the custom field when he creates in PA30 for the
education infotype i want to have all the data which is there in the custom table.
thanks in advance
regards
vamsihi,
you can go to transaction PM01 and edit the PS structure. go to the entry help check tab and press the search help button on that. Assign the Z table with the key fields referencing the field for which you are putting on the F4 help.
Generally it maps automatically.
I think this can solve ur problem
regards
manish
Reward points if helpful -
I need to create a program that edits the entries of a ztable. I made the the program for inserting data but what is the best way on how to do it?
I need to select a record and then edit the whole details in the program.Hi Adrian,
There is comprehensive help available in SAP for this.
But some of things you can put are:
Auth Group - Either a group of ppl who are authorised to use that table or in case you are not sure at the moment choose no authorizatio.
Function Grp: you can give the same name as the table. In this case it will automatically generate the function group.
You can also use an already existing group.
On the same screen you can choose to have a single-step or two-step maintenance. In either case you need to ptovide a screen no. once you give them these will the screen available to you through sm30 . You can choose any number for screen as you wish . these will be created in the function grp.
Rest you can leave default as of now. If you still have questions you can revert back
Regards
Nishant -
Download a Document from a custom table
Hello,
Currently I maintain HTML documents in a CLOB and I want to provide the user a means to download it as a file.
I followed the instructions for this in the HOWTO but I am having problems executing my procedure via a URL along the lines of:
#OWNER#.my_proc?my_var=1
I get the following error:
The requested URL /pls/htmldb/scott.my_proc was not found on this server.
Any tips on how to debug this? I'm pretty sure it has nothing to do with HTML DB itself but thought someone in this forum would know where to point me.
Regardshey peter--
did you already grant execute on scott.my_proc to your mod_plsql DAD user or Public? not doing so is one cause for error in these cases. anyhow, that error's a generic one, so you'd probably want to check your apache error logs if you wanted more info. if it were me, i'd grant execute first to see if that worked. try either or both angles when you get a chance and let us know if you need further assistance.
regards,
raj -
Creating a custom change document for a standard table field
Hi
Is it possible to create a change document for a field in a standard table?
I have searched the forum and only found threads about creating change document to a custom table.
Will the creation of change documents to a standard SAP table be a modification?
Thanks.
Regards
Sowbhagya.LYes it will be a modification on standard table, but you can always create change document for any field by assigning it to custom change object.
Regards,
Krishna. -
hi friends...
i am posting fico document using bapi BAPI_ACC_GL_POSTING_POST.
after that i am updating the document number to my custom table.
but in some cases while updating the document in my custom table i am getting the fallowing dump..
in ST22
How to correct the error:
Database error text........: "[1205] Transaction (Process ID 66) was deadlocked
on lock resources with another process and has been chosen as the deadlock
victim. Rerun the transaction."
Internal call code.........: "[RSQL/UPDT/ZIF004_PKT ]"
Please check the entries in the system log (Transaction SM21).
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
"ZFI_01_MONTHLY_RESULT_FRM_PKT" or "ZFI_01_MONTHLY_RESULT_FRM_PKT"
"UPLOAD_SAP"
Source Code Extract
LOOP AT i_zif004_pkt_sum .
UPDATE zif004_pkt SET xblnr = i_zif004_pkt_sum-xblnr ---> i am getting DUMP here
gjahr = i_zif004_pkt_sum-gjahr
sap_flag_posting = i_zif004_pkt_sum-sap_flag_posting
WHERE compcode = i_zif004_pkt_sum-compcode
AND ccode = i_zif004_pkt_sum-ccode
AND wbselement = i_zif004_pkt_sum-wbselement
AND kostl = i_zif004_pkt_sum-kostl
AND code = i_zif004_pkt_sum-code
AND month1 = l_ltx
AND year1 = p_year.
IF sy-subrc = 0.
WRITE :/ 'Document ', i_zif004_pkt_sum-xblnr, 'is posted for ', i_zif004_pkt_sum-code.
ENDIF.
ENDLOOP.
kindly give some inputs..
regards
SelvaHi,
You will face this issue if your oracle data base is lack of work processes. try to check the work processes and increase them if possible with the helps basis guys.
check the below thread.
DI job failed ORA-12537: TNS:connection closed.
Regards,
Venkatesh -
Attaching a document to a customer
Hi Expert,
I want to attach a document (PDF) to a customer.
And when creating a new sales order of this customer, the document attached appear. How can i do ?
Thanks in advance for your replyHi,
You have entered the customer number in the object link of the u2018Documentu2019 created in DMS. So, you are able to see the PDF file in the Customer master only. Goto the customer master XD03 and check the document in Extras >> Documents.
If you want to link the document number of DMS in the sales order you should have u2018Sales documentu2019 as one of the tabs in object links. Then only you can link the document number with the sales document.
To add the u2018Sales document itemu2019 in the Object link: Goto SPRO >> Cross app components >> Document management >> Control data >> Maintain key fields. Check for table VBAP; or add this in the list.
Goto SPRO >> Cross app components >> Document management >> Control data >> Define document types. Select your document type say u2018ABCu2019 and click on u2018Define object linku2019. Goto new entries and enter the object VBAP. The screen number is 215. Save the settings.
Now you are able to link the document number created in DMS with sales order.
Hope this information will be useful to you.
Regards,
K Bharathi -
How to delete the records from custom table???
My requirement is,
I have a custom table, assume as ZABC, I have updated this by my custom program, This data having table can be extracted by BI etract program(Assume ZZZ). Here I am not writing any code for extracting data from table to BI extract program, That they will do by BI extract program. But I want to write the code for
<b>Cleanup of Z tabledelete records 30 days after the BI data extractor has run.</b>
How this is possible suggest me any method having for these???
Thanks SanjuHell Sanjana,
Ask your basis people to do the clean up after 30 days. If you want the clean up only to be done 30 days after BI extract has been done, then u need some sort of indicator to say that BI Extract has been done , like flag and date in a custom table which will be set as soon as extract is done. Then based on that info u need to delete a the records.
Regards -
How to transport records of custom table in SAP BI?
Hello,
I creeated a custom table and entered some records there. Now I would like to transport it to production.
When I select the records and press 'transport records' the system doesnt allow me to save it under transport request.
The following error message pops up :
This is customization request but you need workbench one.
But I dont see any workbench requests in this window.
ThanksGo to SE09,
Select Create Request
It will ask for selection for type of request.
Select 'Workbench Request' and try with this request.
Sankar Kumar -
Subject: Document attached to record (Automtically convert to PDF)
Dear All,
My requirement in record management is as follows:
I have a document attached to a record. (Tcode: SCASE)
The document needs to be converted into pdf and attached a different node in the record. All of this should be done by the system automatically (as a background step of the workflow). Do we have any configuration set in the record/document management to convert them? Please suggest.
Thanks,
nsp.Hi,
Class CL_CRM_DOCUMENTS has different methods that you can use:
CREATE_WITH_FILE
CREATE_WITH_URL
CREATE_WITH_TABLE
Depending on the source of the document you want to attach, you can call one of those methods to attach your document.
Embed this in a FM that you trigger out of your action, and you should be good to go
regards -
Custom Oaf form inserting blank records into custom table
Hi all,
I have developed custom OAF form to insert vendor details mapped to custom table.
Oaf form is working fine without giving any error.
In back end blank records is inserting into the custom table i.e. only WHO columns (creation_Date, created_by, last_update_login etc.) values are populating correctly but the
data which i am entering in OAF form is not populating into the table.
Please help, tnx in advance.
Regards,
MohitDo you have mapping of your form fields with the view object and view attribute ?
-
BTE for Parking a document and updating a custom table
Hi
I want to update a custom table whenever a new parking document got posted through FBV4. I want to use a BTE for this please advice....
Moderator message: please do some research before asking.
Edited by: Thomas Zloch on Mar 10, 2011 9:15 AMHi Gaurav,
First time the correct data i have entered..and pressed "Save" button it is going and updating .After that i given same priority to multiple absence types..it errored out.. till now everything is fine.. Again i changed to correct value.. and pressed "Save" button. It is error out with an error like :
JBO-25001: Name LOCATOR_SELECT3 of object type View Row Set Iterator already exists
Code :
int rowCount = vo.getFetchedRowCount();
RowSetIterator rIter1 = vo.createRowSetIterator("LOCATOR_SELECT3");
rIter1.setRangeStart(0);
rIter1.setRangeSize(rowCount);
int g=0;
rIter1.reset();
for ( int i=0;i<rowCount;i++)
XxchrResultSetVORowImpl row = (XxchrResultSetVORowImpl)rIter1.getRowAtRangeIndex(i);
String priority = ((String)row.getAbsencePriority());
System.out.println("First Priority" + priority);
for ( int j=0;j<rowCount;j++)
if(i==j)
g++;
//leave this row
else
XxchrResultSetVORowImpl rows = (XxchrResultSetVORowImpl)rIter1.getRowAtRangeIndex(j);
String priority2 = ((String)rows.getAbsencePriority());
//String priority2 = ((String)row[j].getAttribute("AbsencePriority"));
System.out.println("Second Priority" + priority2);
if(priority.equals(priority2))
//that means priority is repeated
throw new OAException("error",OAException.ERROR);
rIter1.closeRowSetIterator();
Serializable[] param = {Businessgroupname,Retroactivedays};
am.invokeMethod("Apply");
Thanks
Preeti -
Trapping the error records in a custom Table
Hi,
I am executing a report program. It is extracting different types of files - Invoice Header, Invoice line items, Customers, Master data attributes, Sales representative, Branch location data. Each file from different tables. In the selection screen we will be having check boxes for each file. The output is stored either on desktop or on application server in a file format.
Here there are some mandatory fields for each file which should not be blank.
For example there is one custom field for Sales Invoice header BUILDER which is mandatory. If it is blank then it will be an error record.
We need to create a custom table with all these mandatory fields.
Kindly pls help.Hi Abdul,
this is a consulting issue, not an allowed question.
Regards,
Clemens
Maybe you are looking for
-
Upgrade to 7.0.2 English Version showing Japanese Characters & Yen prices
I recently upgraded to iTunes 7.0.2. Since completing installation, I've noticed that the fonts within the iTunes Store interface are off and I'm noticing a lot more Japanese support (including a lot more spotlighted albums of Japanese singers). Alon
-
What do I have to do to set up the new ipad and keep the old one as it is? Thx, JOey
-
How to use switch condition in XMII??
Hi , I am not able to find the output path for the match values of switch statement. Please explain in detail.
-
Hi, Is there anyway to find out the CSS images delivered with SAP Portals. For ex. I am trying to customize the light detailed tree delivered with Portal. When I downloaded lightdetailed tree from Portal and imported into NWDS, CSS images in the /di
-
Hello Forum, I wanted to take up certification.So where can i download the materials for BW 305,310,315,330,340 etc. I wanted to have the soft copies of these materials. Thanks & Regards, BV Jagadish