on 03-08-2007 4:04 PM
Hello
IN function BBP_PD_SC_GETDETAIL I can see the path were my attachment is stored.
Do you know where we can modify this path, and If we can just modify the url to access it for one backend?
Thanks,
Hi
Sorry i didn't get you. What is the exact requirement ?
Do you want to send attachements with the Shopping cart ?
Please explain in detail.
Regards
- Atul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Could you please explain why you want to modify it ?
It looks strange... )
Kidn regards,
Yann
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Because, One backend can't access to this url...
In fact our SRM url is for exemple : http://serverprod:50/.
but them they use http://serverprod.df/.
so in the structure I write http://serverprod.df/.
but for the attachement I don't know where it is...
Hi
<u>Inside the BBP_PD_SC_GETDETAIL Function module ->The following area holds the attachment path
BBPT_PDS_ATT_T -> " KW Attachments Including Document
BBP_PDS_ATT_T " Structure for Attachments
BBP_PDS_ATT_T-URL " URL Case-Sensitive</u>
Inside various BADIs, this attachment structure is passed
<b>BBP_CREATE_PO_BACK
BBP_TARGET_OBJECTS
BBP_DETERMINE_LOGSYS
BBP_PD_SDLN_BADI
BBP_PGRP_ASSIGN_BADI
BBP_RESERVATION_GRP</b>
Inside BBP_CREATE_PO_BACK BADI,
CT_ATTACH_BE -> "KW Attachments Including Document
CV_ATTACH_BE_DOC_TYPE ->"Document Type for DMS in the Backend System
CV_ATTACH_BE_STORAGE_CAT
CV_ATTACH_TRANSFER_ACTIVE -> "Activate Transfer of Attachments
CV_ATTACH_USE_URL -> "Transfer URL Instead of the File
CV_INTERNAL_ATTACH_NO_TRANSFER ->"Do not Transfer Internal Attachments
CV_INTERNAL_ATTACH_BE_DOC_TYPE ->"Individual Document Type in DMS for Internal Attachments
You can change it accordingly depending on your requirements.
Let me know incase you need any other information.
Hope this will help.
Please reward suitable points, incase it suits your requirements.
Regards
- Atul
Hi
As Marcin told
Go to Transaction - SE18 , give the BADI name as BBP_CHANGE_URL there and then on tha application toolbar Select Enahancement Implemenetation -> Create.
Then follow the steps told by Marcin,
Give any name of the Implemntation starting with either Y or Z character name
(say, ZBBP_CHANGE_URL) and so on...
<u>Here is another sample code of this BADI Implementation using SE19 Transaction.</u>
METHOD if_ex_bbp_change_url~change_url .
DATA:
lv_prottype TYPE syindex VALUE 1,
lv_prot TYPE plg_name,
lv_host TYPE plg_host,
lv_port TYPE plg_srv.
* this is a implementatopmj that deals with the behaviour
* of an application server, where in ICM HTTP is configured
* but HTTPS not. In that case attachments are not displayed
* if you logon to seperate ITS with HTTPS.
IF iv_url IS INITIAL.
CALL FUNCTION 'TH_GET_PLUGIN_INFO'
EXPORTING
protocol = lv_prottype
IMPORTING
name = lv_prot
host = lv_host
service = lv_port
EXCEPTIONS
no_plugin_active = 1
internal_error = 2
OTHERS = 3.
IF sy-subrc = 0.
* http://host:port
CONCATENATE lv_prot
bbpoa_http_colon
bbpoa_http_slash
bbpoa_http_slash
lv_host
bbpoa_http_colon
lv_port
INTO ev_url.
* add /srm/docserver
CONCATENATE ev_url
bbpoa_http_slash
bbpoa_http_path_sap
bbpoa_http_slash
bbpoa_http_path_ebp
bbpoa_http_slash
bbpoa_http_path_docserver
bbpoa_http_slash
sy-mandt
INTO ev_url.
ENDIF.
ENDIF.
ENDMETHOD.
Let me know incase you face any issues.
Hope this will help.
Please reward suitable points, incase it suits your requirements.
Regards
- Atul
Hello Atul and all,
My question in this regard hence asking on this thread.
We are aiming at standard attachment transfer from SRM SC item to backend ECC PO item.
We are on SRM server 5.5 SP9 CLASSIC scenario.
Service docserver is active for SRM.
In BADI for back end PO method FILL_PO_INTERFACE1 , we have specified
cs_ctrl_att-TRANSFER_ACTIVE = 'X'.
In ECC DC10 we have doc <b>SRM</b> set as per config guide.
In ECC DC30 all file types have been defined.
In ECC the document storage path is defined under ECC SPRO ->Cross-Application Components->Document Management->General Data->Define Data Carrier->Define mount points / logical drive->as
data carrier=<b>ZSRM</b>
Type=<b>PC</b>
Prefix for access path =
10.20.11.200\egat$\srm_share_doc
But when I create attachment to my SC item and study BBP_PD.
if I check the table BBP_PDATT --> I can not see any entry in the URL field.
also if I check BBP_PD_SC_GETDETAIL for this SC as you had said
go to export parameter <b>ET_ATTACH</b> I can see 1 entry
but if I check <b>DISP_URL</b> i get
I feel some correction is needed for Doc server path in our ECC system.
Please help.
BR
Dinesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.