cancel
Showing results for 
Search instead for 
Did you mean: 

Attachments in Shopping cart

Former Member
0 Kudos

Hello,

Can anybody tell me what configuration you need to do for attaching a document in the Shopping cart. We have already done settings for ebp/Docserver and we have our system single sign on enabled.

We are not having any external content server.

We want to store attachments in the SRM system. For this please suggest the steps for configuring it from scratch.

Thanks

sarabjeet

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Just determined that since we are using the Extended Classic Senario, that the two BADIs BBP_CREATE_PO_BACK and BBP_CREATE_BE_PO_NEW are not called (they are only called in Classic senario).

In this scenario, the parameter CV_ATTACH_TRANSFER_ACTIVE is not available in the BBP_ECS_PO_OUT_BADI to set as active. The table IT_ATTACH is populated with the attachment information but there is not field to set as active. I am not getting the attachment populated on the R/3 backend system.

Is there another field that must be set to activate the transfer of attachments?

Former Member
0 Kudos

Hi

Please go through this ->

<u>Note 916347 Transfer shopping cart with internal attachments

Note 989184 Transferred shopping cart with internal attachments

Note 550071 FAQ: EBP - Shopping Cart

Note 1004196 Note for Virus scan of Attachments</u>

http://help.sap.com/saphelp_srm50/helpdata/en/23/00dd3aeedb7445e10000000a114084/frameset.htm

http://help.sap.com/saphelp_srm50/helpdata/en/ea/59bc392ceddf3ce10000000a114084/frameset.htm

Hope this will help.

Regards

- Atul

Former Member
0 Kudos

Dinesh,

Thanks for the detailed instructions. I am having problems in getting it to work. Can you provide the SICF services that must be activated?

When I submit the purchase order to go to the backend system (R/3) in our extended classic scenario running SRM 5.0, I get two errors:

1. Enter name and short text - The further information states:

Diagnosis

You want to create a profile and authorizations. These each require a name. In this case, the new profile and the authorizations all have the same name.

System Response

Procedure

Please enter a name and a descriptive text.

2. Profile alredy exists. The further information states:

Diagnosis

You tried to create a new profile (through copying) which already exists.

System Response

Procedure

Maintain the existing profile or use another name for copying.

Can you provide any assistance?

Thanks.

Ramki
Active Contributor
0 Kudos

Hi

I do not think you need any additional settings.

If it is not working, pl run program REPAIR_BDS_OC1 in Txn SE38 once and check.

Best regards

Ramki

Former Member
0 Kudos

Hello,

<i>I am giving you info on configuration you need to do for attaching a document in the Shopping cart and config for attachment transfer to backend.</i>

Configuration for Attachment transfer

Prerequisites

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).

See Implementation Guide (IMG):

Supplier Relationship Management > SRM Server > Business Add-Ins (BAdIs) > Follow-

On Document Generation in the Backend-System > Purchase Order in Backend System

Or

Supplier Relationship Management > SRM Server > Business Add-Ins (BAdIs) > Follow-

On Document Generation in the Backend-System > Purchase Requisition in Backend-

System

Procedure

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.

Document settings for attachement is configured in the SRm IMG :

Path: SPRO-> SRM Server->Cross-Application Basic Settings->Define Settings for Attachments

More importantly, you need to do other settings to connect to filenet server here.

SRM uses Kpro for document management. Now, if you want to use other document server, then please follow the menu path given below and do the settings (It will be difficult to explain all required settings here...your filenet expert & BAsis expert will be able to figure out easily):

SPRO->SAP IMG--> SAP WAS->Application server->basis services->Knowledge Provider

In DC30 you canfigure various file types.

-->In BADI BBP_CREATE_REQ_BACK(in SRM)

in the method

FILL_REQ_INTERFACE

you need to set attachement active with statement

cv_attach_transfer_active = 'X'.

There are BADI's in SRM 5.0 by the name,

BBP_CREATE_BE_RQ_NEW for PR creation and BBP_CREATE_BE_PO_NEW badi for PO creation.

Also, you need to activate some specific services in SICF (sorry I forgot the names)

BR

Dinesh

<b>Reward if helps</b>