Attach files to a Shopping Cart in SRM portal using a ABAP program.

Hello.
We need to attach files to a Shopping Cart using a ABAP program and see them in SRM portal.
Currently we know how to attach files in the backend using the function Xxxxxxxxxx but with this function we can not see the attachment in the SRM portal.
Do you know someway to attach files direclty in the front-end using a program?
Maybe i have to attach first in the back-end and after that transfer to front-end?
I have seen some thread but the solution provided is in the other way arround (transfer from front-end to backend) and then is not useful for my proble.
Thanks in advance.
Kr,
Angel.

Hello Angel,
You can attach a file to SC ,and it is a standard functionality provided in SRM.
While creating a Shopping cart,under Documents and attachements tab,there is an option to select a local file and attach it to a SC
If you are looking at attaching the document in SRM and sending it to BE system.(R/3 system), then have a look at SAP note Note 1057932 - FAQ: Atachment transfer to backend, Required Configurations.
The Following BADI’s will have to be implemented to allow the above functionality
For transfer of attachments in PO , activate the BADI BBP_CREATE_PO_BACK. Set the values of the following parameters in the
method BBP_CREATE_PO_BACK~Fill_PO_INTERFACE
CV_ATTACH_TRANSFER_ACTIVE = 'X'
CV_ATTACH_BE_STORAGE_CAT = 'DMS_C1_ST'
CV_ATTACH_BE_DOC_TYPE = 'SRM'.
For transfer of attachments in PR, activate the BADI
BBP_CREATE_REQ_BACK. Set the values of the following parameters in the method BBP_CREATE_REQ_BACK~FILL_REQ_INTERFACE
CV_ATTACH_TRANSFER_ACTIVE = 'X'
CV_ATTACH_BE_STORAGE_CAT = 'DMS_C1_ST'
CV_ATTACH_BE_DOC_TYPE = 'SRM'.
Award points if useful.
Thanks
Arshad

Similar Messages

  • Error in Shopping Cart Upload from Portal Using Excel

    Dear All ,
                      I am facing problem when i try to upload excel file for creating Shopping cart from Portal . For doing this i have created a transaction from SRM r/3 and using Transaction i view i published the tcode on portal . But when i try to upload a excel file using the transaction i am getting a Exception UPLOAD_OLE . For uploading excel we copied the Fm ALSM_EXCEL_TO_INTERNAL_TABLE . Its working fine in SRM R/3 environment.but facing issue on portal . Please help us out on this .
    Regards
    Shankar

    Dear Poster,
    As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
    Best Regards,
    SDN SRM Moderation Team

  • How to attach files while Creating shopping cart using FM- BBP_PD_SC_CREATE

    Hi
    I am trying to create shopping cart from R/3 system using RFC calls to FM's BBP_PD_SC_CREATE, BBP_PD_SC_SAVE & BBP_PD_SC_COMMIT.
    Also I have to attach files as we do in Standard SAP shopping cart creation process..
    But I see a parameter IT_ATTACH to pass the attachments in the FM - BBP_PD_SC_CREATE..Is that the right one to use? If yes, can you suggest the values to be passed in the same if you have done this before..
    Thanks
    Geetha
    Edited by: GEETHA VASUDEVAN on Apr 20, 2009 6:17 PM

    Hi
    I am trying to create shopping cart from R/3 system using RFC calls to FM's BBP_PD_SC_CREATE, BBP_PD_SC_SAVE & BBP_PD_SC_COMMIT.
    Also I have to attach files as we do in Standard SAP shopping cart creation process..
    But I see a parameter IT_ATTACH to pass the attachments in the FM - BBP_PD_SC_CREATE..Is that the right one to use? If yes, can you suggest the values to be passed in the same if you have done this before..
    Thanks
    Geetha
    Edited by: GEETHA VASUDEVAN on Apr 20, 2009 6:17 PM

  • One Step Workflow Activation for Shopping cart in SRM 7.0

    Dear Experts,
    On working to EXtended Classic Scenario, I need to configure one step approval for shopping cart in SRM 7.0.
    Currently it is providing me Auto Approval  by default and based on it PO is being created. I need one-level manager approval  shopping cart.
    I am working in Demo System of Extended Classic Scenario, I need only one step approval SC without any condition.
    Kindly tell me the configuration steps in SRM and please tell me one more thing is there  any need of  BADI or other coding for one-step approval?
    Thanks in Advance,
    Regards
    Pawan Keshwani
    Edited by: pawankeshwani on May 25, 2011 6:22 PM

    Hi Ashutosh,
    Thanks for quick reply.
    As per your comment when i am tring to activate /SAPSRM/C_SC_600_001_SP04  by t-code SCPR20, But It shows me a information pop up Maintain the client role and then Activation is Cancelled.
    Kindly tell me what i am missing or any other prerequisite step to do for this BC Set Activation.
    Thanks
    Pawan Keshwani

  • Error while creating  shopping cart. in SRM 7.0

    HI experts,
                         while creating a shopping cart  in SRM 7.00 we r getting following error messages.
    Exception Data
    Date:     17.08.2010
    Time:     13:36:11
    Short Text of the Message:     An exception occurred
    URL:     http://hpsrm.iscodom.com:8001/sap/bc/webdynpro/sapsrm/wda_l_fpm_oif/
    Path:     /sap/bc/webdynpro/sapsrm/wda_l_fpm_oif/
    Message ID:     
    Message Type:     
    Message No.:     
    Message Variable 1:     
    Message Variable 2:     
    Message Variable 3:     
    Message Variable 4:     
    Error Code:     558
    Error Text:     RABAX_STATE
    Runtime Error:     UNCAUGHT_EXCEPTION
    ABAP Call Stack
    : Method:  ABORT of program /SAPPSSRM/SAPLBO_BASE
    Method:  /SAPPSSRM/IF_BADI_WRAPPER~CHANGE of program /SAPPSSRM/SAPLBO_BASE
    Method:  /SAPPSSRM/IF_BADI_WRAPPER~START of program /SAPPSSRM/SAPLBO_BASE
    Method:  HANDLE_PD_START_EVENT of program /SAPPSSRM/CL_BADI_WRAPPER=====CPForm: PROCDOC_CREATE of program SAPLBBP_PDFunction: BBP_PROCDOC_CREATE of program SAPLBBP_PD
    Method:  CREATE_SC_INT of program /SAPSRM/CL_PDO_FACTORY_SC_ADV=CP
    Method:  CREATE_NEW_INSTANCE of program /SAPSRM/CL_PDO_FACTORY_SC_ADV=CP
    Method:  CONSTRUCTOR of program /SAPSRM/CL_CH_WD_BOM_SC=======CP
    Method:  /SAPSRM/IF_CH_WD_MAP_FACTORY~CREATE_SC_MAPPER of program /SAPSRM/CL_CH_WD_MAP_FACTORY==CP
    Regards,
    vijay/nitin

    Hi NITIN KHAIRNAR  Masayuki Sekihara
    We are also facing the same issue.
    Can you help us out in identifying which BADI is active.
    Please help us in solving the issue as we are getting many short dumps on daily basis because of this.
    Thanks,
    Ramakrishnan

  • Error message while creating shopping cart in SRM 7.0

    Hi,
    While creating shopping cart in SRM 7.0, an error message is coming as 'No authorization to purchase from product category <product group>'.
    Is there any missing authorization.
    Thanks
    Saswata

    Hi Saswata,
    Can you confirm if the "Extended Attributes" of the user's position in Org Structure has the product category maintained for the appropriate backend system?
    Regards,
    Nikhil

  • Can we hide the field in Shopping Cart of SRM

    Hi..
    Can we hide the field in Shopping Cart of SRM??
    I have to hide some of the fields from SRM shopping cart screen. is it possible to hide the fields??
    Please suggest me
    Thanks.
    Regards,
    Manoj Tiwari

    Hy,
    For screen variants, just go to transaction SHD0.
    The only screen variants available in SRM 4.0 are:
    Item data overview in an invoice without purchase order reference: BBP_IV_NON_PO
    Item data overview in the invoice with purchase order reference: BBP_IV
    Item data overview in the confirmation: BBP_CF
    Item data overview in the confirmation for time recording: BBP_CF_TIMEREC
    Item data overview in the purchase order: BBP_PO;
    Item data overview for contracts: BBP_CTR_ITEMLIST
    Item data overview for selection of contracts: BBP_CTR_ITEM_SELLIST
    Search results for entering an invoice and/or confirmation: BBP_SEARCH_PO
    Search results for entering a purchase order: BBP_SEARCH_SC
    Search results for displaying/processing an invoice: BBP_CHANGE_IV
    Search results for displaying/processing a confirmation: BBP_CHANGE_CF
    Search results for entering/displaying/processing/status of a shopping cart: BBP_SC;
    Worklist for Sourcing: BBP_SOCO_WL
    Work area in Sourcing: BBP_SOCO_GA
    This is very light, and most of the SRM project have to make Templates, or ABAP screens repairs, to Hide/Show fields.
    Regards.
    Vadim

  • After Oracle Upgrade to 11G - Not able to open shopping carts in SRM system

    Dear Friends,
    We have upgraded the Oracle to 11G on our SRM development
    system.
    Now we have an issue with opening the shopping carts from below url.
    http://ussapdjs00.corpnet2.com:8001/sap/bc/gui/sap/its/bbp_mon_sc?sap-
    client=600
    But we could able to open the shopping carts from SRM(JED) system
    through SAPGUI.
    When we try to open the shopping carts from the URL, it is througing
    ABAP dumps as below after taking long time.
    28.09.2010 14:15:45 ussapdjs00 SYM98632 600
    C SYSTEM_CORE_DUMPED
    ShrtText
        Process terminated by signal 11.
    With this issue, we could not able to release the system to users for
    operations.
    Can some one please help me on this with some solutions.
    Thanks in advance,
    Regards,
    Srinivas

    Dear Friends,
    We have applied latest kernel as below.
    SAP R/3 Kernel information
    SAP R/3 Kernel              640_EX2
    Database Client Library     OCI_102
    created in                  AIX 2 5 00029F1AD300
    created on                  Sep 26 2010 20:38:32
    Support Level               0
    Kernel Patch number         348
    Source ID                   0.348
    DBSL Patch No.              335
    ICU Version                 2.6.1 Unicode Version 4.0
    libsapu16 Version           1.0025  Sep 24 2010 20:08:26
    Now issue is resolved... Thanks one and all for your help.
    Regards,
    Srinivas

  • Creating shopping cart in SRM through an interface from an external system

    Hello,
    i am currenlty working on a SRM implementation at a client and we are looking into
    building an interface for purchase requisitions from an external system to SAP.
    To be able to get these requisitions as a package approved I would want them to go though the
    approval process in SRM. Does anybody know if it is possible to create a shopping cart in SRM through an interface from another system?
    thanks,
    Geert

    SRM has a standard business scenario of PDP PM
    here the external requirements are transferred to SRM for sourcing
    in normal business scenario ECC PR is transferred to SRM which creates a dummy SC or say sourcing SC in SRM which appears in Purchaser's worklist after correct settings
    SRM can work with NON SAP system also
    so logically yr requirement should be possible
    but in ECC PR transfer case the SC created in SRM is already apparoved.
    BR
    Dinesh

  • Clearing shopping cart upon user logout using Javascript

    Clearing shopping cart upon user  logout using Javascript...
    How is it done? Anybody got a script handy?
    Thanks!

    You'd need to obtain the CartID cookie, then call the function ClearCart('cd00d0e5-1822-4440-8293-32b8f317e363',0); where "cd00d0e5-1822-4440-8293-32b8f317e363" is the CartID you obtained from the cookie. The function should reside in one of the eCommerce JS files.
    Cheers,
    -m

  • Attachment transfer issue from Shopping cart to Purchase req in ECC

    Hello,
    How are you all. Need your expert advise..
    We are trying to achieve functionality where documents which are attached on shopping cart get transfer into Purchase req in ECC (Classic Scenario with SRM 5.0 and ECC 6.0). For this we have done following config / enhancements:
    - Activated BADI "BBP_CREATE_BE_RQ_NEW" in SRM with following code for attachment;
    cs_ctrl_att-BE_DOC_TYPE = 'SRM'.
    cs_ctrl_att-BE_storage_cat = 'DMS_C1_ST'.
    cs_ctrl_att-TRANSFER_ACTIVE = 'X'.
    - Created new document type ECC with t.code DC30 for SRM and assigned the object links for EBAN table.
    After performing above task we are able to see Link of the attachment into Purchase req in ECC with document number (i.e. the one we assigned while defining document type in DC30) but not able to open the document in ECC.
    Could you please let us know if there is any settings which we have missed for actually opening documents in ECC?
    Thank you
    Ritesh

    Issue as reported Please let me know why the docs are not uploaded to SRm succesfully .
    I am facing the below weird issue .
    Easy shopping >Shop> eHiring catalog
    Click Transfer to SRM
    Now click on the button ‘Details’ and open the tab ‘Notes and attachments’
    All attchments are names after the 1st attachment and all have the same file type
    Basically you have lost all you attachments here, except 1 (when you click on the link, all links refer to the same document, so not just cosmetic). This is a problem.
    When you order this shopping cart and search for it and open it again, the attachment tab is even completely empty, so now all attachments are lost.
    Something like this, but less severe, happens in the process a bit further.
    - Approve the shopping cart with the applicable approver
    - Log in as Hiring desk:
    Still no original attachments (like job descriptions).
    Now click button ‘responses and awards’
    Click tab ‘Items’ and fill out price ‘40’ euro
    Click notes and attachment tab
    I added 5 attachments
    As can be seen here, the docx becomes an xlsx again, but it looks like it just takes over the 1st file type that was uploaded, it can also be the other way around (xlsx becomes docx) when the 1st uploaded attachment is a document.
    But in this case, when you click on the link, it will open the right file with the right program, so over here it looks like it is just cosmetic.

  • Attach documents to a shopping cart at header level

    Hello,
    I am currently working on SRM 5.0 in Classic scenario. We are going to implement attachement of documents functionality with transfer of documents to ECC.
    As far as I know, documents can only be attached to the posts of the shopping cart.
    In our case, if for example a requester create a shopping with 3 lines and only attach 1 document to the first line. In case, the approver delete the 1st line (the one you have attach your document) it is quite problematic.
    So would it be possible to attach documents to the header of the shopping cart or not? (by implementing a note or is it always by developping a specific program?)
    Has someone already had to cope with this probleme and would he/she have advices to handle the issue?
    Thanks a lot for your help!
    Regards,
    morgane

    Hello morgane
    As per i know i believe approver neither delete the attachment nor update the cart  but he can either approve or reject the cart.However BBP_WFL_SECUR_BADI  may help you to change the SC during approval upon the user settings
    for eg. 3 line items may create one PO if all vendors are same or if vendors are unique, it will create a 3 different po. so no concepts of header here in shopiing card.
    all sc informations will be transfered to follow on document as per standard.
    for eg. if you attach one document into one line item ,this line item document will be transfered to responding purchase order.
    regards
    Muthu

  • Autopopulate PO instructions to vendor in shopping cart in SRM 7.0

    Dear Experts,
    I need to autopopulate PO instructions (Free Text) in SRM shopping cart for each product category at item level.
    Auto-populate instructions to vendor based on product category (ability to add or remove on SC or PO).  Instructions may be local or global requirements.  These Instructions are required to ensure the vendor sends client the proper materials and services.
    Please help me on this, How to customise this requirement..
    Thanks in Advance
    Vikas

    Hi Vikas
    You will need to work with Texts in SRM, There are multiple types of text types in SRM Application documents. You can map these text types from SRM document to ECC follow on documents so that these gets transmitted to all follow on documents for internal or external purposes and to the Vendor too if required.
    Regards
    VIrender Singh

  • SAP Notes for Deleted Shopping Carts in SRM 7.02 in ECS

    Hi ,
    I am having an issue in SRM 7.02 in Extended Classic Scenario, Where Users are able to delete Shopping Carts even after Follow on Document created i.e. till Confirmation. Now they want to delete the SRM PO. As there is no Shopping Cart existing in SRM they are unable to delete the PO.
    Can you please suggest me the SAP Note relevant to this Requirement.
    Regards,
    Raju.

    Hello Raju,
    check below KBA:
    1649794 - Status dependent control of Shopping Cart
    At the end of the KBA, OSS notes are listed. Check them.
    Regards.
    Laurent.

  • Badi for preventing PO creation in shopping cart in srm

    Hi Experts,
    Here I have a senerio in SRM. In shopping carts we need to avoid purchge order cretion for particular vendors. Because for these vendors through workflow after approval PO has to be created.
    So I need BADI to prevent the purchage order creation for particular vendors.
    Please suggest me in this regards.
    Thanks in advance
    G.S.Naidu

    Hi Naidu,
    PLease try this:
    Enhancement   MM06E005       Customer fields in purchasing document  (It contains vendor as import paremeters)                    
    Enhancement  MEQUERY1        Enhancement to Document Overview ME21N/ME51N
    I hope this may helpfull.
    Thank you,
    Thanks,
    AMS

Maybe you are looking for

  • Creation of Purchase Requisition from a BID

    Hi, I am trying to create a purchase requisition from a bid instead of a purchase order. Does anyone have any idea on this? Thanks Sunny

  • CLR triggers and SQL Server CE

    I have an SQL Server 2012 database where a table should fire a trigger which populates an SQL Server CE 4.0 table. Developing the trigger was no problem. The problem I'm facing is the System.Data.SqlServerCe.dll registration in my SQL Server database

  • Query Dump for table space troubles

    Hi all, I have to solve a dump on a query executed within a large ammount of data. Error Message: No storage space available for extending the internal tab.  A dump occurred during the execution of a query dealing with the lack of space in the intern

  • Problem while doing vl10d ....

    Hi experts  , I'm facing a peculiar problem . While doing VL10D / vl10g , the outbound delivery document no. is not generated - and it's showing like this ... I don't know why it behaves as such ?? .... During creation of purchase order it behaves pr

  • PowerBook 1400 keeps giving type 2 error when I launch Earthlink

    Hi, I want to use Earthlink dial up on my PowerBook 1400 but everytime I launch it I get a window that tells me to select to either create an account or use your existing account. It dont matter which one I click because it always quits and gives me