Transfer attachments from Shopping cart to Backend ?

Hi again everybody,
one more problem ...
We try to transfer an attachment from the SC to the Requisition or PurchaseOrder in the Backend. We implemented the two BAdi's
BBP_CREATE_BE_RQ_NEW
BBP_CREATE_BE_PO_NEW
The method 'FILL_RQ_INTERFACE' contains the following code:
  CS_CTRL_ATT-BE_DOC_TYPE = 'SRM'.
  CS_CTRL_ATT-BE_STORAGE_CAT = 'DMS_C1_ST'.
  CS_CTRL_ATT-TRANSFER_ACTIVE = 'X'.
The storage_cat and the doc_type existin the backend as they are sap-standard-settings.
The Requisitions are created in Backend, but the attachments do not arrive there ... lost ...
We are on SRM Server 5.5 SAPKIBKT14 and backend ECC6.
Thank you !

Hello Deepti,
thanks a lot for your replies. At least one of your links given above led to the solution for our problem.
We also had the error Network address DEFAULT of your computer is not maintained . This error is normally not visible, but it also occurs when trying to create a document via transaction CV01N in R/3, so that is a simple check.
We could solve it by maintaining entries via
R/3 ->SPRO -> Cross Application Components --> Document Data --> General Data --> Define Data Carrier
In category "Define data carrier type server frontend" the entry: type=PC, Description=Windows PC, Path=C:\temp, Online=X
When marking this entry a doubleclick on "identify frontend computers" in the left hierarchy tree should show at least the entry Data Carrier = Default, Type=PC, Net.address=DEFAULT, Description=PC no hostname.
Kind regards
Andreas
Edited by: Andreas Milbredt on May 4, 2009 9:14 AM

Similar Messages

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

  • Auto creation of po from shopping cart

    hai gurus
    Iam in SRM 5.o,CLASSIC Scenario.
    In configuration for "Auto creation of po from shopping cart"i  have given "purchase order if item data complete,otherwise PR"in  SPRO>SRM>srmserver>cross application basic settings>Define  objects in Backend(PR,PO,requisition)
    So shopping cart is been created with PUR org,PUR GROUP,Vendor tax code,account assignment etc,but  purchase requisition is created and not  purchase order.Is there any  settings left over
    Thanks in Advance
    chandra

    Hello Chandra,
    You also could use the PR (in ECC) and try to convert it into a PO (ME57). If it asks you for some additional data (e.g. vendor, price, ..) this might indicate, that it is missing in the SC.
    Also, you could try and debug transaction ME59 (auto PO creation) to see, what's missing/checked.
    Good luck.
    Franz

  • GL directly from  shopping cart without account assignment

    Hi All
    Is there any prerequisite in the account assignment overview  to select GL from the free text shopping cart?
    (backend acct assignment category ) X= GL ( Account assignment category ).
    any instances we may need to do this from SRM?
    i believe BAPI  BAPI_PO_CREATE1  badi always expects SOME ACCOUNT ASSIGNMENT  right?
    Note 1408312 - Direct material does not derive correct account assignment - Can some one expalin this sap note please?
    MM06EF0P_PRUEFEN
         MESSAGE e000(mepo).
        ENDIF.
        LOOP AT ett WHERE item_with_error NE space.
          MOVE-CORRESPONDING ett TO potkey.
          READ TABLE pot WITH KEY potkey BINARY SEARCH.
          IF sy-subrc EQ 0 AND pot-loekz NE 'L'.
            MESSAGE e001(mepo) WITH ett-ebelp.
          ENDIF.
        ENDLOOP.
        LOOP AT knt WHERE item_with_error NE space.
          MOVE-CORRESPONDING knt TO potkey.
          READ TABLE pot WITH KEY potkey BINARY SEARCH.
          IF sy-subrc EQ 0 AND pot-loekz NE 'L'.
            MESSAGE e046(mepo) WITH knt-ebelp.
          ENDIF.
        ENDLOOP.
      ENDIF.
    Muthu

    Thanks Summer
    My context is different.
    free text --cost assignment folder --. select  GL account only ( slect account assignment category -AcctAssCat ) - so
    now assignto G/L ACCOUNT AND G/L ACCOUNT thats all and again i am fing GL accounts and select ..order
    We do have option in SRM posting to direct GL account like GL = X (BACKENED ACCOUNT ASSIGNMENET) . FOR FREE TEXT ITEM , Can we post the GL account directly without ORDER / COST CENTER /WBS eleement .
    if we choose GL all will disappear like cost center , order , wbs .
    cost assignment
    account assignemnt over view
    line ; -1
    percentage ;-100
    assign to ; -G/L account
    description;- balank
    G/l ACCOUNT ;- 2XXXXX
    Description;- Testing
    Business area ;- blank
    hope it clears now
    thats what i am asking.the note might confused .
    FOR EX
    BBP_PDACC TABLE ACC_CAT = GL NOT CC
    Muthu

  • Error in creating PO from shopping cart

    Hi,
    While creating PO from Shopping Cart in SRM, we are getting the error message "Net price must be grater than 0" and the PO is not getting generated.
    Is this issue is somewhere related to maintainance of pricing conditions? if yes, how can we maintain that?
    Regards,

    Hi,
    Are you creating PO directly from shopping cart or through PR.If through PR (Purcahse requisation) then chack the valution price in valution tab in PR (ME53N)
      PO directly from shopping cart then check the price in Basic data of the shopping cart.if price is there it should reflect in PO.Check your shopping cart free Zero value shopping cart.

  • Error while clicking 'Transfer Items' in shopping cart processing

    Hi,
    When I click on 'Transfer Items' in shopping cart creation, I get the following error.
    The following error text was processed in the system P2S : Template interpretation failed. Template does not exist.
    The error occurred on the application server p2p_P2S_00 and in the work process 1 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Function: BBP_WS_IMPORT_SC_DATA of program SAPLBBP_WS_API
    Function: BBP_WS_IMPORT_SC_DATA of program SAPLBBP_WS_API
    Form: CATALOG_CONTENT_GET of program SAPLBBP_SC_APP
    Function: BBP_SC_APP_EVENT_DISPATCHER of program SAPLBBP_SC_APP
    Form: APP_EVENT_HANDLER of program SAPLBBP_SC_UI_ITS
    Form: SC_EVENT_DISPATCHER of program SAPLBBP_SC_UI_ITS
    Module: SC_EVENT_DISPATCHER of program SAPLBBP_SC_UI_ITS
    Can any one suggest on this.
    Rgds,
    Sanjeet

    Hi Paul,
    Yes, we could resolve the issue.
    But we used to get this errror when we set the debugger in
    the newly implemented code.
    If we remove the debugger, it was working fine.
    Solution:
    Go to transaction SICF.
    If you execute that, a tree structure will appear.
    Expand "Default Host".
    Default Host>SAP>BC->GUI>SAP-> ITS-> BBPSC02
    Go to EDIT mode.
    Change GUI configuration as below:
    Like other available parameters, add one more parameter called
    ~GENERATEDYNPRO  and make it equal to 1.
    i.e. ~GENERATEDYNPRO  = 1.
    But we tried this solution only when debugger was on.
    Please check it in your case also and let me know if it works.
    The other solution may be to publish the required template again.But I am not sure about that.
    Rgds,
    Sanjeet

  • Reservation not getting created from shopping cart for stores order.

    Hi experts,
    Reservation not getting created from shopping cart for stores order,process used is some custom BADI.Extended classic scenario is the procrss .
    Please help me
    Thanks in  advance.

    Hello,
    please check below wiki:
    Determination of the follow-on document type
    Regards.
    Laurent.

  • Regarding Removal of filed from Shopping Cart Extented Search

    Dear All,
    We have a requirment where we need to remove a field from shopping Cart Extended Search. Field name called "Role" has to be removed.
    Could some one let us know,  how to  remove the field?  we observed that BADi  CUF is being not triggered to suppress this field. And also we would like to know what is the Field name or Sturucture we need to remove.
    Waiting for  your response.

    Hello Amarnath,
    >
    amarnath g wrote:
    > (...)
    > we are on SRM version 5 ( SRM_SERVER 5.5). Does this imply to this release as well? (...)
    I think so. But to be sure, have a look at ABAP code for concerned Dynpro PBO.
    >
    amarnath g wrote:
    > (...)
    And also I would like to know wheter can we add a custom field  to the search Criteria.....
    Yes, but you will have to manage it in search structure GS_SEARCH_FIELD.
    Regards.
    Laurent.

  • How to get Products from Shopping Cart(Basket) in ATG

    I want get all products from shopping cart
    can any one help on this requirement?
    Thanks in Advance.

    Hi ,
    If you want directly JSP , use the droplet as suggested correctly by shaik,
    If you want it in java code,
    A good way is to make a Droplet ( global scoped ) and pass the current shopping cart to the droplet.
    eg :
    <dsp:droplet name="MyDroplet">
    <dsp:param name="inOrder" bean="/atg/commerce/ShoppingCart.current"/>
    OR
    <dsp:param name="inOrder" bean="/atg/commerce/order/purchase/CartModifierFormHandler.order" />
    <dsp:oparam name="output">
    </dsp:oparam>
    </dsp:droplet>
    and in the droplet java file you can use it as :
    CommerceItemContainer inOrder = (CommerceItemContainer) request.getObjectParameter("inOrder");
    and you can use inOrder.getCommerceItems(); to get a list of commerce items from order.
    You can directly get the order in your droplet ,but then you will have to make it request scoped , making global scoped droplets is good practice.
    ~Praveer

  • Moving data from shopping cart to Purchase Req in backend

    Hi,
    We are implementing SRM 5.0 with R/3 ECC 6.0 in the backend.  I am brand new to this module and version. 
    When shopping and ordering, then running clean_reqreq_up to transfer to the backend, we notice a material number does not flow through to R/3.  I have implemented the BADI BBP_CREATE_BE_RQ_NEW to try and force a material number into the parameter field CS_RQ_DOCUMENT-IT_REQUISITION_ITEMS-MATERIAL.  When I activate the badi, and shop and order some product, then I check the status, it shows the following message in the follow on documents, which I can not figure out.
    "Shopping cart 3nnnnnnnnn/1 Error in Process"  but if I deactivate the badi and do the same thing, the shopping cart status is successful.  I am having trouble debugging this badi and getting it to stop in the code to see what is happening.
    I would like suggestions regarding if I am using the correct badi for what I need, and if so, how can I see more details regarding my error.
    Thanks,
    Marty

    Hi
    Please read the BADI documenation provided by SAP, before making any coding.
    <b>Here is the SAP Documenattion of the BADI Definition - BBP_CREATE_PO_BACK</b>
    Short Text
    Purchase Order in Backend System
    You can use the Business Add-In BBP_CREATE_BE_PO_NEW to change all data transferred to the backend system to create a purchase order. This includes the item data, account assignment, and text.
    Standard settings
    The following changing parameters are available in the FILL_PO_INTERFACE method:
    Parameter   Transfer structure
    PO_ITEMS   Purchase order items
    PO_ITEMS_ADD_DATA   Additional purchase order item data
    PO_ITEM_SCHEDULES   Purchase order delivery schedule line
    PO_ITEM_ACCOUNT   Purchase order item account assignment
    PO_ITEM_TEXT   Purchase order item texts
    PO_LIMITS   Purchase order limits
    PO_CONTRACT_LIMITS   Purchase order limits - Contracts
    PO_SERVICES   Services for a purchase order item
    PO_SRV_ACCOUNT   Account assignment data for service
    PO_SRV_TEXTS   Texts for service line
    PO_HEADER   Purchase order header
    PO_HEADER_ADD_DATA   Purchase order header additional data
    PO_ADDRESS   Purchase order header address data
    You can use the following parameters for transferring the attachements to the backend system:
    CT_ATTACH_BE  KW attachments including document
    CV_ATTACH_BE_DOC_TYPE  Document type (standard is SRM)
    CV_ATTACH_BE_STORAGE_CAT  Storage type (standard is DMS_C1_ST)
    CV_ATTACH_TRANSFER_ACTIVE  Activate transfer of attachments
    CV_ATTACH_USE_URL  Transfer URL only
    Recommendation
    If you edit the PO_HEADER_ADD_DATA structure, you should check the settings of parameter HEADER_ADD_DATA_RELEVANT.
    Activities
    You are able to use the parameter HEADER_ADD_DATA_RELEVANT in the BAdI implementation. Assigning this parameter the value:
    '1'
    Means that the system only transfers the data of structure PO_HEADER_ADD_DATA to the purchase order in the backend system that is not empty (initial).
    'x'
    Means that the system transfers all data of structure PO_HEADER_ADD_DATA to the purchase order in the backend system regardless of whether individual fields are filled.
    Regards
    - Atul

  • PO Custom Field not getting filled from Shopping Cart

    Hi Gurus,
    I am new to SRM. The requirement I had was to add a new field to the SC. I read several posts and articles on this but couldn't find the solution to it. I managed to do this modifying the corresponding structures in SRM and making the necessary changes in R/3 so the new filed can be seen in ME21/22/23N.
    I checked Andreas Milbredt document to achieve it as mentioned:
    Document: How to transfer custom fields from SRM to Backend.
    http://www.sdn.sap.com/irj/sdn/index?rid=/library/uuid/20b36c12-685f-2c10-4fb4-ba2e0b969c27
    After that, when I create a Shopping Cart, the value in the New field is not transferred to the Back end.
    I coded the following BADIs and User Exits:
    In SRM:
    BBP_CUF_BADI_2 (MODIFY_SCREEN) ->To enable or disable the field depending on conditions. Works fine.
    BBP_DOC_CHECK_BADI (BBP_DOC_CHECK) -> To do some checks. Works Fine
    BBP_CREATE_BE_PO_NEW (FILL_PO_INTERFACE1) ->Here I fill structures BAPI_TE_MEPOITEM and BAPI_TE_MEPOITEMX. I added another u2018Xu2019 to indicate the new field to BAPI_TE_MEPOITEMX. But I think I am not doing it right. This structure BAPI_TE_MEPOITEM/X, does the order of the fields correspond to the order of the fields in any of these 3 structures (which I am using)?
    INCL_EEW_PD_HISTORY_CSF
    INCL_EEW_PD_ITEM_CSF
    INCL_EEW_PD_ITEM_CSF_SC
    I also checked the following link:
    Map a custom SRM field to a standard field in R/3
    In R/3 I populated the Exits Andreau2019s mentions on his article. Am I missing anything else?
    Thanks & Regards,
    Ernesto.

    Hi Ernesto,
    You can find out how your BAPI structure is being populated (by generating the test data ) using FBGENDAT program and activating the BAPI_PO_CREATE1 (and you will need to set the parameter for the specified user id)... This will provide you ability to execute the BAPI offline and figure out what is happening...
    Note 517767 - Generate test data for function modules
    Things to look for, Is any of your custom fields quantity fields or integer?
    Check out the following OSS note
    Note 509898 - BAPI enhancement concept and Unicode
    Also check out the following SDN Thread,
    problem using  BAPI_BUS2001_CREATE to create project definition
    Check out a similar thread that we are discussing (for PR)
    Custom Fileds Data Was Not Getting Updated In BAPI_PR_CREATE

  • How is the follow-on doc triggered from shopping cart in SRM 7.0?

    Hi!
    We are on SRM 7.0 and want to make a solution where we create a PM order (Work order) as a follow-on document in backend instead of a Requisition or PO. There are desciptions on how to change document type and function using BADI's for the older SRM solutions, but this does not seem to work in SRM 7.0.
    Right now we have customized the system so a Requistion is created in backend and that works fine.
    Next step is to find a BADI to replace the call to BAPI_REQUISITION_CREATE  with a Work order BAPI  call  (BAPI_ALM_ORDER_MAINTAIN),
    I have tried to debug the process in Web Dynpro from the Shopping Cart where I press the 'Order' button', but never get to a point where the BAPI is called. It only seems like the shopping cart is saved in SRM tables and that the Workflow for approval process is started. We do not use the approval Workflow and the SC gets the status 'Approved' immediately.
    When I monitor the shopping cart I can see that it gets the status 'Follow-on document created' about one minute after the Approved status, and that also makes me wonder if the transfer of the SC to backend is done in a batch job, from a Workflow program or anything like that - and not from the Web Dynpro method calls behind the Order button.
    Does anyone know the technical details of the solution of the follow-on document creation in SRM 7.0?
    Where is the triggering done??
    Regards, Tine

    Hi Ricardo!
    Thanks for you reply. So this means we have to create a kind of batch job with a program which runs FM BBP_PD_SC_TRANSFER  ? How can we avoid that the original backend document is not started in addition (the reqiusition which is set up in customizing) ? Is it possible to customize the shopping cart solution so it does not trigger any backend documents automatically - so we can take the complete control using this batch job mentioned?
    PS: Do you know exactly where the BAPI for the requisition is triggered in SRM 7.0? Would be nice to know after all my debugging with no results
    Regards, Tine

  • Copy fixed text values from shopping cart to PO in SRMSERVER 5.5

    Hi,
    We use SRMSERVER 5.5 and want to use text schemas with fixed values to allow the user to in the shopping cart select specific predefined texts that should be visible on the output of the PO.
    When looking at the IMG documentation for standard text schemas, there is one line saying "Note: The system can only copy the long texts for text types for which no fixed values have been defined in Customizing for the source text schema or for the text type in the follow-on document."
    Do you have any idea how we can copy the fixed values to the PO from the shopping cart? I have taken a look at BADI BBP_LONGTEXT_BADI but I am not sure how this badi coudl help for the transfer of fixed values.
    Thanks for any help,
    Christine Hammerströ

    Hi
    <b>Please go through this -></b>
    <u>SRM - SPRO Settings -></u>
    Text Types Menu Path : SPRO -> SAP Implementation Guide &#8594; Supplier Relationship Management &#8594; SRM Server &#8594; Cross- Application Basic Settings -> Text Schema -> Define Text Types
    Text Schema: Menu Path : SPRO -> SAP Implementation Guide &#8594; Supplier Relationship Management &#8594; SRM Server &#8594; Cross- Application Basic Settings -> Text Schema -> Define Text Schema
    Fixed Values: Menu Path : SPRO ->SAP Implementation Guide &#8594; Supplier Relationship Management &#8594; SRM Server &#8594; Cross- Application Basic Settings -> Text Schema -> Define Fixed Values for Texts
    <u>Please read note 425117 and 581594.</u>
    <b>Related links -></b>
    Re: Reason code required for movement type 122
    Re: Changing properties of long text box
    Hope this will help. Do let me know.
    Regards
    - Atul

  • Hide navigation area from Shopping Cart window

    Hi All,
    We are facing a strange issue in Shopping Cart Page..
    From the POWL screen when we are clicking on "Display" button it is opening  com.sap.pct.srm.core.iv_shopprof iview in a new window. But all the navigation are still showing in the page.
    We set Launch in New Window property as Display in Separate Headerless Portal Window but still it is showing navigation area in the scree.
    Can any one tell me how to hide navigation area from the screen.
    Regards,
    Sambaran Chakraborty

    Hi Yatin,
    Thanks for your reply.
    I just find a easy way to solve this issue. I changed the Launch in New Window property to Display in Separate Window and it works.
    But now i am facing the same problem for Purchasing iview under Operational Purchaser role. All links in that BI report (Purchasing iview) are opening in a new window with navigation area.
    I am not able to apply the same above idea in this case, as for all BI links there is no such specific iview present, they are jsut a application links coming from backend.
    Can you provide some input on this..?
    Regards
    Sambaran

  • Automatic Po creation from shopping cart

    Dear All,
    I found that this issue has been discussed many time, but all the messages are talking about split criteria.
    When I create a shopping cart with mulitple items (all the items are just copy of first item...... no question of split criteria) and without vendor, one held PO gets automatically created for each item once the shopping cart has been approved.
    As vendor is not there in the shopping cart, it is creating held POs. But one Po is getting created for one item.
    Recently we connected our development and sandbox system to new upgraded backend systems (4.6c to ECC 6). After that only, this issue is occuring in both the SRM systems. I am not sure how far upgrade is relevant to this issue. But before that, once the shopping cart has been approved, it will go to "Carryout sourcing" and buyer will assign a vendor and create one PO for all the items. Po will get replicated to backend system (extended classic). This is happening in our production system now.
    While connecting to a new system, I am not sure whether I have missed out any settings. Or the issue is with ECC 6 upgrade.
    Could you please help me asap as we are approaching the go-live date?
    Thanks,
    Arun

    Masa,
    There is no source of supply in the shopping cart. Beacuse of that held PO is getting created.
    But my question is, it should not even create the PO. Once the shopping cart has been approved, it should go to carry out sourcing where buyer will assign the vendor and creates the PO.
    Now, it is directly creating the PO.
    Thanks,
    Arun

Maybe you are looking for