cancel
Showing results for 
Search instead for 
Did you mean: 

Sending attachments from SRM to SAP Purchase Requisition

0 Kudos

Hi

Is there a way to send attachments from shopping carts to backend SAP Purchase Requisitions? We are using SRM 5.0 SRM Server 5.5 and are using the classic scenario. The client using attachments functionality in SRM extensiveley and wants to transfer the attachement to SAP Purchase Requisition. Is there a way we can do it with standard SRM/ SAP without having to activate the SAP DMS? Any help is welcome.

Any alternate creative ideas are welcome and will be suitably rewarded.

Thanks

Vinay

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

For SRM 5.0 ,to transfer attachments to backend,you need to do the foll:

-->configure DC10 and DC30 trx in R/3

in DC10 you make a new doc type e.g. SRM and configure it

for the same ref config guide of self service procurement

In DC30 you canfigure various file types.

-->In BADI BBP_CREATE_BE_RQ_NEW (in SRM)

in the method

FILL_REQ_INTERFACE

you need to set attachement active with statement

cv_attach_transfer_active = 'X'.

.

HTH.

BR,

Disha.

Pls reward points for helpful answers.

Former Member
0 Kudos

Disha,

I tried the same in our system also in following

SPRO -> Supplier relationship management -> SRM Server -> Business Add-ins -> Follow-On Document Genration in Backend System -> Purchase Requisition in Backend System.

As suggested we created new implementation for BADI ‘BBP_CREATE_BE_RQ_NEW’.

Under Method FILL_RQ_INTERFACE when I enter following statement

CV_ATTACH_TRANSFER_ACTIVE = 'X'.

System issue error message Field "CV_ATTACH_TRANSFER_ACTIVE" is unknown. It is neither in one of the specified tables nor defined by a "Data" statement. "Data" statement

However system accepts the same statement in BADI ‘BBP_CREATE_REQ_BACK’ under FILL_REQ_INTERFACE method.

Why doesn’t system accept field CV_ATTACH_TRANSFER_ACTIVE in new PR creation BADI?

Regards,

Sandeep Parab.

Former Member
0 Kudos

Hi,

Sorry the parameter mentioned was for BADI BBP_CREATE_REQ_BACK.For the new BADI BBP_CREATE_BE_RQ_NEW,the parameter to be set is

CS_CTRL_ATT-TRANSFER_ACTIVE = 'X'.

BR,

Disha.

Pls reward points for useful answers.

Former Member
0 Kudos

Yes now its correct.

Sandeep

Former Member
0 Kudos

Hi,

Please go through the details for the attachment configuration.

To display attachments in your Internet browser, make the relevant settings in the

Internet Communication Framework in transaction SICF.

2. If you want to have several clients in the system, create an alias for each client, with the

alias pointing to /default_host/sap/ebp/docserver.

Go to transaction SMICM and choose Goto Services.

_ View the domain name that is being used for SAP Web Application

Server and check against the domain name being used in the webserver

for SAP Internet Transaction Server. The same domain name must be

used for both, for example, washost.<sap.corp>:4711/… and

itshost.<sap.corp>:0815/…

_ Go to transaction SS02, enter RFC destination NONE and execute. Check

that the profile parameters login/create_sso2_ticket and

In order to store shopping cart attachments in the backend system, you must first activate the

transfer by creating an active method and by setting the indicator for parameter

CV_ATTACH_TRANSFER_ACTIVE in BAdI BBP_CREATE_PO_BACK (for purchase orders)

or BAdI BBP_CREATE_REQ_BACK (for purchase requisitions).

When you are uploading and downloading files between systems, you must ensure that the

decimal notation settings in both systems are the same. In other words, you must have the

same decimal notation settings in your SAP Enterprise Buyer system and in the system

where you access the file offline.

Moreover, you can change the default value above which the system switches to background

processing. In the standard system, this value is 1000 and currently applies to download,

upload and other performance-critical processes within the following business objects:

&#61472;BUS2000113 (purchase contract)

&#61472;BUS2200 (bid invitation)

&#61472;BUS2202 (bid)

Award the points for the help.

BR,

Vijay Mittal

Former Member
0 Kudos

Hi Disha and Sandeep,

I am working with Vinay on this and need some further help. Vinay and I have been trying to identify the reference document type in SRM (the same reference document type) and have not been able to locate where this setting is done in SRM.

Please advise.

Thanks,

Yoginder Kaura.

0 Kudos

Hi Sandeep

What settings did you do in SAP (DC10 and DC30?)

Can you give me the details?

Thanks

Vinay

Former Member
0 Kudos

Hi Vinay,

In order to store shopping cart attachments in the backend system, you must first activate the transfer by creating an active method and by setting the indicator for parameter in BAdI .

Then you must configure the R/3 Document Management System (DMS) in transaction

DC10:

1. Create document type SRM. Note that no flag is set in any of the columns.

2. Double click in the detail view to define the new Doc. type desc. = SRM Documents.

Set the Use KPro indicator.

Enter 1 in the Number assignment field.

Enter an internal number range interval. You can use an existing interval or

create a new one in transaction CV90. The internal number range must be used,

because the GUID of the SRM attachments has more digits than the number in

the backend system.

Maintain the number exit. The number exit is a program exit for document

number. It controls number assignment and version numbering for documents.

The default setting is MCDOKZNR. If you want to control the number assignment

or the version increment via a USER_EXIT, then you have to replace the

program MCDOKZNR with a company-specific program. You can find further

information in the field help for number exit.

In the screen area Field selection enter – in the field Document Status.

3. Go to the Dialog Structure and double-click on the entry Define object links. Define the

new object links EKPO and EBAN. Maintain object link descriptions for EKPO

(Purchase order item; Scr.no. 248) and EBAN (Purchase req. item; Scr. no. 247)

4. Define the workstation application in transaction DC30.

All required file types should be included in this list.

BR,

Disha.

Pls reward points for useful answers.

0 Kudos

Hi Disha

I have made the necessary changes on the SAP side. The documents are coming but we are unable to open them. It seems that it is looking for data carrier and data path and we seem to be missing that configuration. We are seeing the excel iconif the excel files are sent but the word document is not getting attached to the DMS document number. Can you through some more light? We seem to be close but still far.

Thanks a bunch for your help.

Regards,

Vinay

Former Member
0 Kudos

Vinay,

In our case even after all required configuration in place the documents are not getting transfered from SRM to R/3. When we open the PR link documents in R/3 we do not see any documents attach.

Is there anything else you tried apart from the mentioned config settings?

sandeep

Former Member
0 Kudos

Vinay,

Just check whether required file extension is defined in DC30 for individual document type.

Hope this helps you...

Regards,

Sandeep

Answers (3)

Answers (3)

former_member348740
Participant
0 Kudos

Hi Vinay/ All,

Please let me know did you find solution for SRM PO attachment transfer to R/3 (Back End). I am also trying to configure the same. But I am not getting the solution. Could you please send the details to me.

Thanks,

Sudarsan

Edited by: KOYYA SUDARSANA NAIDU on Dec 4, 2008 1:49 AM

Former Member
0 Kudos

Hi Vinay/ All,

Please let me know did you find solution for SRM PO attachment transfer to R/3 (Back End). I am also trying to configure the same. But I am not getting the solution. Could you please send the details to me.

Thanks,

Wim

Former Member
0 Kudos

Hi

I am also doing the same configuration.

Before that can you please let me know whether the above procedure will transfer both Header level and line item attachment.

Or it transfer only the Header level attachment.

I could not understand why we need DMS configuration DC10 and DC30 setting in R3 system.

This requires only for SRM TO ERP Transfer alone? pls confirm.

Regards

Ckumar

Former Member
0 Kudos

here is the missing config..

In DC30 for doc type, double click and mark "data check Off"

For each fiel under "Define workstation application in network" specify the data carrier and path = C:\Program Files\Internet Explorer\IEXPLORE.EXE'

data carries are defined for "carrier type "Server , front end"

0 Kudos

Hi Sandeep/ DIsha

We did not do anything extra on SAP side other than what Disha mentioned. Can you provide me the settings for Data Carrier? I entered R3 but the systme says it is invalid, use from drop down. There are no values under drop down.

Thanks

Vinay

Former Member
0 Kudos

Dear Vinay,

You can request your Basis consultant to configure Data Carrier for R/3? as we need to tell system the path where it should store all the attached documents on server.

Meanwhile try to attach document in R/3 PR and then open the same PR in another machine, you should be able to view the document.

let me know if it works

Regards,

Sandeep

0 Kudos

Disha and Sandeep

Is there a way I can reach you directly?

Thanks

Vinay

my email is vinayjkumar@hotmail.com