Need to create Attachment option in Contract Toolbar
Hi
We have a requirement to create an attachment option ( exactly same as the attachment option in the MA toolbar and Rfx toolbar ) in the contract page toolbar
Can anyone help me with the steps ?
Thaks in advance
Sudipta
Thanks Vikram for the reply .
I have alraedy tried that option by creating an collection extension attachment in the page . But customer wants the attachment only at the toolbar.
So for this approach I am trying to create a system toolbar but I can not assign any toolbar action at the page as the option is grayed out.
If you have any knowledge pls share .
Appreciate your help
Regards
Sudipta
Similar Messages
-
Need to Create More Options in Cisco ACS 5.2 User section
Hi Team,
I Need to create more options on Cisco ACS 5.2 under internal identity store in users. please help how to do add, default not showing all.
i have seen on internet. attaching doc.
Regards
MRTo create additional attributes for internal users do the following:
- go to System Administration > Configuration > Dictionaries > Identity > Internal Users
- Press Create to define the additional attributes you require
For each attribute can
- define the type
- give a default value. This will be applied to all existing users and appear as default when new user is created
- indicate whether the attribute is required and must be defined for each user
- define a policy condition. If define such a condition will appear as an option when customize rules in a policy -
Need to find attachment (PDF) for contract on server
Hi
Weare using SAP e sourcing 5.1/ CLM 2.0. We have created master agreement and now in contracts tabs using upload document we have uploaded a pdf document. However we are not able to locate that PDF document on the server on which SAP E Sourcing/ CLM is installed.
Can somebody plz provide some pointers on where the contract attachments are stored on the server.
Thanks
ShobhaHi Baski,
Thanks for your quick reply, i checked in the database in attachment table in the table just mentioned BLOB. can you please tell me what is BLOB. is it possible to access pdf file in BLOB. -
Generic Object Services ; create attachment function grey out in Tcode KA03
Hi all,
I would like to know how can I enable create attachment function in GOS toolbar in Tcode KA03.
Currently it was grey out.
However, was tried to use the same function in KS03 and it works.Please help. Thanks!I just found the solution...
SAP note : 961572
Symptom</u>
In the transactions for displaying cost elements (KA03) and changing cost elements (KA02), the 'Services for Object' function does not work correctly, as most Generic Object Services are unavailable.
Other terms
KA03, KA02, SWO1, K_OBJECT_SERVICES_INITIALIZE, BUS1059, BUS1030
Reason and Prerequisites
The problem is caused by a program error.
Solution
Implement the attached program corrections
Then go to Transaction SW01 (Business Object Builder), enter BUS1059 as the object type, click Change, and make the following changes:
Navigate to Methods -> RevenueType.Display, press F2 to select it, and go to the 'ABAP' tab page: Select the 'Transaction' radio button, enter the name as KA03, and click 'Save'
Navigate to Attributes -> Attribute properties, select the 'Mandatory' checkbox, and click 'Save'
Then change the release status by navigating as follows:
Edit -> Change Release Status -> Object Type -> To implemented
Edit -> Change Release Status -> Object Type -> To released
Then double-click BUS1059 (or select using F2) in SWO1 to reach the 'General' tab page, which should appear as follows:
ObjectType BUS1059 Revenue element
Object Name RevenueType
Program RBUS1059
Objtype status generated Saved released -
Create select-options using internal table
Hello,
I have number of table-fields in one internal table.
I need to create select-options on screen for each of the table field in that internal table.
Can anybody please provide a code for it ?
Thanks.hi,
you can create in this way :
select-options: <name> for itab-<field name>.
example code:
TABLES: vbak. " standard table
TYPE-POOLS: slis.
*-- Structure to hold data from table
TYPES: BEGIN OF tp_itab1,
vbeln LIKE vbap-vbeln,
posnr LIKE vbap-posnr,
werks LIKE vbap-werks,
lgort LIKE vbap-lgort,
END OF tp_itab1.
*-- Data Declaration
DATA: t_itab1 TYPE TABLE OF tp_itab1.
DATA : i_fieldcat TYPE slis_t_fieldcat_alv.
* Selection Screen *
*--Sales document-block
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
SELECT-OPTIONS: s_vbeln FOR vbak-vbeln,
s_posnr FOR vbap-posnr,
s_werks FOR vbap-werks,
s_lgort FOR vbap-lgort.*
SELECTION-SCREEN END OF BLOCK b1.
hope it will help you
regards
Rahul sharma
Edited by: RAHUL SHARMA on Sep 19, 2008 8:25 AM -
Dear SAP gurus,
I notice that there is an attachment button in tcode ME21N, where we can create attachment in the PO and link it to Document Management system. I have requirement from my client that they will need the same functionality in Contract. But in tcode ME31K i cannot find any button for the attachment. Is this functionality not exist in Contract? Or it exist but there is another way to create the attachment and link it to Document Management system.
Please help.
Best regards,
Johnhi
you can attach documents to the items in the contract.
select the item.
select the more function --> document -
I am working on many projects and my bookmark folders suffice. I need to create new folders, but not "Smart Folders." After over 2 hours, I keep coming back to the same description of how to add new folders to existing ones. NOT what I want to do. This used to be easy, but the set up must have changed as I've been trying to do this all day with no success.
Also, somehow my gmail inbox appears twice in my bookmarks toolbar. Again, I am finding information that does not apply to me in help and former question files and links. How do I remove things from my bookmarks toolbar?
Thank you and PLEASE, oh Please e-mail the answer to me as I seem to have problems with your site.Open the Bookmarks Library, to do that in the Bookmarks menu select "Organize Bookmarks"
In the Bookmarks Library, in the left hand pane click on "Bookmarks Toolbar" to select it, now in the Organize menu select "New Folder".
If you have the capability to right-click, you can also right-click on the Bookmarks Toolbar and select New Folder.
ps Questions on this forum are normally answered by volunteers, and for privacy reasons many will not be willing to send emails. You have also not shown your email address. -
I am currently using FormsCentral to distribute a form created in Acrobat. I need to add an option to one of the drop down fields but do not want to re-distribute the form due to reporting purposes. How can I do this?
You can open the form in Acrobat, select "File > Save a Copy", open the copy you just saved (it doesn't happen automatically), edit the dropdown to add the new item, save as a new file, and then Reader-enable the file by selecting: File > Save As Other > Reader Extended PDF > Enable More Tools. The resulting PDF should work with FormsCentral just like the original.
-
I need to create a Notification in CRM WebUI When we create a new contract
Hi Experts,
I am working in Utility Industry and as per the business requirement I need to create a Notification in CRM WebUI
When we create a new contract & click on apply button.
As per my knowledge we are not maintaining Notification information in CRM System. So could you please
help me to call IW52 during the new contract creation when we click on apply button.
Thanks
RoliHello Roli,
If your requirement is to launch Transaction IW52 after clicking apply button then you can use Transaction Launcher tool in CRM to integrate to CRM WebClient UI.
Calling Transaction Launcher on user action
BOR object or ITS based Transaction Launcher
Regards,
Ashik -
Need help creating pdf contracts: Reader vs. Acrobat
I am needing some help regarding creating pdf contracts to send to clients. It will basically need to have info input by 2 different parties, the catering company and their client. I am on a Mac and will be originally creating the pdf contract. It will then be used by a catering company, who is using Windows. They will need to input information into this contract, such as dates, client info, prices, menus, etc. Then, they will email it to the client (probably using Windows) for their electronic signatures, ability to print for their files, etc., and then return the signed pdf to the catering company.
I have been going through Reader and Acrobat to see which application would be better to use. In Acrobat, I exported the pdf to Word to input info, but Word changes the appearance/formatting of things. The catering personnel don't need to have to rearrange the appearance, they need something they can simply fill in info on. Is there a way around this?? I then made a new pdf and the rest of the process seemed to function okay.
In Reader, I couldn't find a way to export to Word in order to fill in info and create a new pdf...is this correct? So it seems that I would have to create forms for both parties originally, then have the catering company fill out their portions, and then send the pdf onto the client to fill in their portions. But, if the client highlights the fields, all will be highlighted, not just the ones they need to complete. And, would they be able to alter the fields that the catering company filled out?
Could somebody PLEASE help me out with the logistics of this process???
Any help is greatly appreciated!!Boy - it's been a year and a half since you asked this question! So not sure if you're still out there.....
Looks like no one replied. Did you ever figure it out? I need to do the same thing... -
Hi All I need to Create a Frame contract with incomplete material configuration through report , In the manual we have lock symbol which when unlocked enables to to save a contract with incomplete configuration.
But through BDC , I am unable to save as there is no screen available like we do in manual way for BDC session.
So I need a help to create a Frame contract with incomplete configuration.Hi Experts,
I need help to solve the need, may be if have any sample code to create a Contract material configuration or classification will be much benifited. -
I need to create a resume on my mac which I can send as an attachment as a word document. How do I do this?
You either buy Microsoft Office, or Apple Pages (which can save a document in Word format), or use one of the free office suites like LibreOffice, OpenOffice, or NeoOffice.
-
I can not open links on my desktop, says I need to create an association in folder options
Ever since I switched from IE to Foxfire, I cannot click on desktop links to open programs. I get a message saying I need to create an association in Folder Options
See this: <br />
http://support.mozilla.com/en-US/kb/Managing+file+types -
Attachment list in Contract - required in Report
Hi All,
I want to create a report on contracts and it should display the documents in the attached in the contract (ME31K) when it is clicked. when I see in the ME33K i find that SAP is doing the same (below the command box and above the application toolbar there is a button- tool box). This is triggered by the the EVENT and it shows all the attachment on a pop up window. The documents are stored link TOA02 and SRGBTBREL table.
Please let me know is there any FM or Class or logic to do the same in my program.
Regards,
Prabhuhello Prabhu ......
u can make use of class : cl_gos_manager
here the same code to all that GOS button on ur screen/report......
create object lo_callback.
if manager is initial.
create object manager
exporting
is_object = obj ---> your object key like companycode document no year.....
ip_no_instance = space "Publish
ip_no_commit = commit "No Commit Work
exceptions
object_invalid = 1
callback_invalid = 2
others = 3.
if sy-subrc <> 0.
message id 'YFIMC01' type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
*--- Publish GOS
call method manager->set_id_of_published_object
exporting
is_object = obj.
if sy-subrc <> 0.
endif.
regards
Prabhu
endif. -
PM Notification Attachments via "Create Attachment" vs "Creat Ext Doc (URL)
Uwe -
Did you create the PM notification attachment using
Create Attachment
or Create External Document (URL) ???
Mine were created as attachments, not as external documents - that may be why your code isn't working ...
I'm going to try to do an external document create and see if that works ...
DaveFUNCTION z_pm_attachment_and_url.
*"*"Interface local:
*" IMPORTING
*" VALUE(I_QMNUM) TYPE QMNUM OPTIONAL
*" VALUE(I_AUFNR) TYPE AUFNR OPTIONAL
*" VALUE(I_URL) TYPE SO_URL OPTIONAL
*" VALUE(I_FILE) TYPE ZPMCT002 OPTIONAL
*" VALUE(I_FILENAME) TYPE STRING OPTIONAL
*" TABLES
*" T_RETURN STRUCTURE BAPIRET2
* Objetos locais
DATA:
vl_url TYPE so_url,
vl_path TYPE string, "#EC NEEDED
vl_loopc TYPE sy-loopc,
vl_lines TYPE sy-loopc,
vl_filename TYPE string,
vl_filelength TYPE i,
it_url TYPE STANDARD TABLE OF sood-objdes,
it_obj_cont TYPE STANDARD TABLE OF solix,
wa_obj TYPE borident,
wa_obj_cont TYPE soli,
wa_obj_data TYPE sood1,
wa_folder_id TYPE soodk,
wa_document_id TYPE sofmk.
DEFINE valida_retorno.
loop at t_return into t_return.
if t_return-type eq zgtpm_e.
exit.
endif.
endloop.
if t_return-type eq zgtpm_e.
exit.
endif.
END-OF-DEFINITION.
* === Valida parâmetros de entrada
IF i_qmnum IS INITIAL AND i_aufnr IS INITIAL.
* Nenhum objeto informado: Informe Nota ou Ordem de Manutenção
PERFORM mensagem_retorno_tab
USING
'ZPM_PORTAL' zgtpm_e '055' '' '' '' ''
CHANGING
t_return[].
EXIT.
ELSEIF NOT i_qmnum IS INITIAL AND NOT i_aufnr IS INITIAL.
* Informe apenas um objeto: Nota ou Ordem de Manutenção
PERFORM mensagem_retorno_tab
USING
'ZPM_PORTAL' zgtpm_e '054' '' '' '' ''
CHANGING
t_return[].
EXIT.
ENDIF.
IF i_url IS INITIAL
AND i_filename IS INITIAL.
* Informe Anexo e/ou URL
PERFORM mensagem_retorno_tab
USING
'ZPM_PORTAL' zgtpm_e '060' '' '' '' ''
CHANGING
t_return[].
EXIT.
ENDIF.
* === Define Categoria de objeto
IF NOT i_qmnum IS INITIAL.
wa_obj-objkey = i_qmnum.
wa_obj-objtype = 'BUS2038'. " Nota PM
ENDIF.
IF NOT i_aufnr IS INITIAL.
wa_obj-objkey = i_aufnr.
wa_obj-objtype = 'BUS2007'. " Ordem de manutenção
ENDIF.
* === Anexo
IF NOT i_filename IS INITIAL.
* Conteúdo do arquivo
IF NOT i_file[] IS INITIAL.
it_obj_cont[] = i_file[].
DESCRIBE TABLE it_obj_cont LINES vl_lines.
READ TABLE it_obj_cont INTO wa_obj_cont INDEX vl_lines.
vl_filelength =
( 255 * ( vl_lines - 1 ) ) + STRLEN( wa_obj_cont ).
ELSE.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = i_filename
filetype = 'BIN'
IMPORTING
filelength = vl_filelength
TABLES
data_tab = it_obj_cont
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
IF sy-subrc <> 0.
PERFORM mensagem_retorno_tab
USING
sy-msgid sy-msgty sy-msgno sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
CHANGING
t_return[].
EXIT.
ENDIF.
ENDIF.
* Pasta de Destino
PERFORM get_folder CHANGING wa_folder_id t_return[].
valida_retorno.
* SAPoffice: definição do objeto, modificar atributos
wa_obj_data-objla = sy-langu. " Idioma
wa_obj_data-objsns = 'O'. " Objeto confidencial
wa_obj_data-objlen = vl_filelength. " Tamanho conteúdo documento
wa_obj_data-ownnam = sy-uname. " Nome proprietário
CALL METHOD cl_report_viewer=>split_path_filename
EXPORTING
i_filename = i_filename
IMPORTING
e_path = vl_path
e_filename = vl_filename.
SPLIT vl_filename AT '.' INTO
wa_obj_data-objdes " Descrição breve do conteúdo
wa_obj_data-file_ext. " Extensão de file de uma aplicação PC
CONDENSE wa_obj_data-file_ext NO-GAPS.
* Insere Objeto (Anexo)
PERFORM object_insert
USING
'EXT' " Anexo
wa_obj_data
wa_folder_id
it_obj_cont
CHANGING
wa_document_id
t_return[].
valida_retorno.
* Relacionamento Objeto PM x Anexo
PERFORM relation_create
USING
'ATTA'
wa_obj
wa_document_id
CHANGING
t_return[].
valida_retorno.
ENDIF.
* === URL
IF NOT i_url IS INITIAL.
* Inicializa estruturas comuns a Anexo e URL
CLEAR:
it_obj_cont,
wa_obj_cont,
wa_obj_data,
wa_folder_id,
wa_document_id.
* Conteúdo da URL
MOVE i_url TO vl_url.
WHILE NOT vl_url IS INITIAL.
CONCATENATE '&KEY&' vl_url(250) INTO wa_obj_cont.
APPEND wa_obj_cont TO it_obj_cont.
SHIFT vl_url LEFT BY 250 PLACES.
ENDWHILE.
* Pasta de Destino
PERFORM get_folder CHANGING wa_folder_id t_return[].
valida_retorno.
* SAPoffice: definição do objeto, modificar atributos
wa_obj_data-objla = sy-langu. " Idioma
wa_obj_data-objsns = 'O'. " Objeto confidencial
wa_obj_data-ownnam = sy-uname. " Nome proprietário
SPLIT i_url AT '/' INTO TABLE it_url.
DESCRIBE TABLE it_url LINES vl_loopc.
READ TABLE it_url INDEX vl_loopc
INTO wa_obj_data-objdes. " Descrição breve do conteúdo
* Insere Objeto (URL)
PERFORM object_insert
USING
'URL' " Link Inter/Intranet
wa_obj_data
wa_folder_id
it_obj_cont
CHANGING
wa_document_id
t_return[].
valida_retorno.
* Relacionamento Objeto PM x URL
PERFORM relation_create
USING
'URL'
wa_obj
wa_document_id
CHANGING
t_return[].
valida_retorno.
ENDIF.
* === Libera objetos locais
FREE:
vl_url,
vl_path,
vl_loopc,
vl_lines,
vl_filename,
vl_filelength,
it_url,
it_obj_cont,
wa_obj,
wa_obj_cont,
wa_obj_data,
wa_folder_id,
wa_document_id.
ENDFUNCTION.
***INCLUDE LZGPM0010F01 .
*& Form mensagem_retorno_tab
FORM mensagem_retorno_tab
USING
p_msgid TYPE symsgid
p_msgty TYPE symsgty
p_msgno TYPE symsgno
p_msgv1 TYPE any
p_msgv2 TYPE any
p_msgv3 TYPE any
p_msgv4 TYPE any
CHANGING
t_return TYPE ty_return.
DATA:
vl_msgty TYPE symsgty,
wa_return LIKE LINE OF t_return.
IF p_msgty IS INITIAL.
MOVE zgtpm_e TO vl_msgty.
ELSE.
MOVE p_msgty TO vl_msgty.
ENDIF.
IF p_msgno IS INITIAL.
EXIT.
ENDIF.
MOVE p_msgid TO wa_return-id.
MOVE vl_msgty TO wa_return-type.
MOVE p_msgno TO wa_return-number.
MOVE p_msgv1 TO wa_return-message_v1.
MOVE p_msgv2 TO wa_return-message_v2.
MOVE p_msgv3 TO wa_return-message_v3.
MOVE p_msgv4 TO wa_return-message_v4.
MESSAGE ID p_msgid TYPE vl_msgty NUMBER p_msgno
WITH p_msgv1 p_msgv2 p_msgv3 p_msgv4
INTO wa_return-message.
APPEND wa_return TO t_return.
FREE: vl_msgty, wa_return.
ENDFORM. " mensagem_retorno_tab
*& Form get_folder
FORM get_folder
CHANGING
w_folder_id TYPE soodk
t_return TYPE ty_return.
CALL FUNCTION 'SO_FOLDER_ROOT_ID_GET'
EXPORTING
region = 'B' " ?
IMPORTING
folder_id = w_folder_id
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
PERFORM mensagem_retorno_tab
USING
sy-msgid sy-msgty sy-msgno sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
CHANGING
t_return[].
ENDIF.
ENDFORM. " get_folder
*& Form object_insert
FORM object_insert USING
p_objtp TYPE so_obj_tp
w_obj_data TYPE sood1
w_folder_id TYPE soodk
t_obj_cont TYPE zpmct002
CHANGING
w_document_id TYPE sofmk
t_return TYPE ty_return.
* Objetos locais
DATA:
it_objcont TYPE STANDARD TABLE OF soli,
it_obj_head TYPE STANDARD TABLE OF soli,
wa_obj_id TYPE soodk,
wa_obj_cont LIKE LINE OF t_obj_cont.
* RAW to CHAR
LOOP AT t_obj_cont INTO wa_obj_cont.
APPEND wa_obj_cont TO it_objcont.
CLEAR wa_obj_cont.
ENDLOOP.
* Insere objeto
CALL FUNCTION 'SO_OBJECT_INSERT'
EXPORTING
folder_id = w_folder_id
object_type = p_objtp
object_hd_change = w_obj_data
owner = sy-uname
IMPORTING
object_id = wa_obj_id
TABLES
objhead = it_obj_head
objcont = it_objcont
EXCEPTIONS
active_user_not_exist = 1
communication_failure = 2
component_not_available = 3
dl_name_exist = 4
folder_not_exist = 5
folder_no_authorization = 6
object_type_not_exist = 7
operation_no_authorization = 8
owner_not_exist = 9
parameter_error = 10
substitute_not_active = 11
substitute_not_defined = 12
system_failure = 13
x_error = 14
OTHERS = 15.
IF sy-subrc = 0.
w_document_id-foltp = w_folder_id-objtp.
w_document_id-folyr = w_folder_id-objyr.
w_document_id-folno = w_folder_id-objno.
w_document_id-doctp = wa_obj_id-objtp.
w_document_id-docyr = wa_obj_id-objyr.
w_document_id-docno = wa_obj_id-objno.
ELSE.
PERFORM mensagem_retorno_tab
USING
sy-msgid sy-msgty sy-msgno sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
CHANGING
t_return[].
ENDIF.
* Libera objetos locais
FREE:it_objcont, it_obj_head, wa_obj_id, wa_obj_cont.
ENDFORM. " object_insert
*& Form relation_create
FORM relation_create
USING
p_relationtype TYPE binreltyp
w_obj TYPE borident
w_document_id TYPE sofmk
CHANGING
t_return TYPE ty_return.
DATA wa_doc TYPE borident.
wa_doc-objtype = 'MESSAGE'.
CASE p_relationtype.
WHEN 'ATTA'.
wa_doc-objkey = w_document_id(34).
WHEN 'URL'.
wa_doc-objkey = w_document_id.
WHEN OTHERS.
ENDCASE.
CALL FUNCTION 'BINARY_RELATION_CREATE'
EXPORTING
obj_rolea = w_obj
obj_roleb = wa_doc
relationtype = p_relationtype
EXCEPTIONS
no_model = 1
internal_error = 2
unknown = 3
OTHERS = 4.
IF sy-subrc = 0.
COMMIT WORK AND WAIT.
CASE p_relationtype.
WHEN 'ATTA'.
* O anexo foi criado com êxito
PERFORM mensagem_retorno_tab
USING
'SGOS_MSG' zgtpm_s '043' '' '' '' ''
CHANGING
t_return[].
WHEN 'URL'.
* A URL foi criada com êxito
PERFORM mensagem_retorno_tab
USING
'ZPM_PORTAL' zgtpm_s '059' '' '' '' ''
CHANGING
t_return[].
WHEN OTHERS.
ENDCASE.
ELSE.
PERFORM mensagem_retorno_tab
USING
sy-msgid sy-msgty sy-msgno sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
CHANGING
t_return[].
ENDIF.
FREE wa_doc.
ENDFORM. " relation_create
Maybe you are looking for
-
Problem in getting attribute from request.
HI I have a JSR 168 portlet which was earlier running in tomcat 6 and liferay...i'm now migrating that in webcenter portal framework 11g. after migration when i run it ... i have set some attribute in actionRequest class of processAction method in my
-
IPad mini doesn't recognize my phone number only email
iPad mini lost my phone number. Only text from my email. How do I get it to recognize my phone number again
-
Hi, I am looking to learn SAP. Can any body please tell me which is better FI/CO or SD(Functional Consultant) in the current market. Thanks in advance Ram
-
Hi, I created a custom refresh button in alv. However when user clicks on this, it opens the refreshed data in a new window. When i click on back, it takes me to the previous window having my original data. I want that it should take me to the main s
-
Error 5002 "Invalid code" while BP update
Hello! I need to update BP via DI API. I deleted all code except update command oBusinessPartners.GetByKey(cardCode) oBusinessPartners.Update() But for some cards I recieve an error 5002 "Invalid code". From the application it is possible to update t