Attachments with follow-on documents.

Hi SRM Gurus,
I am using SRM classic scenario.
I am creating a shopping cart. I am attaching a text file as an attachment to the Shopping cart.
Once the shopping cart is approved, a follow-on document ( pur.requisition) is created in the backend system but I am not able to get attachment with follow-on doc.
Please advice how can I get this ?
Regards.
Pras

Make sure you have the following configured in your system:
1. Create and Activate Implementation for BADI BBP_SC_TRANSFER_BE. Set CV_ATTCH_TRANSFER_ACTIVE paramater in SRM
2. Configure Document Type in R/3
  - Transaction DC10 - Add a New Document Type SRM (if not already exists). Set 'Use KPro', 'Version Assign' and 'Change Docs'. Set the Internal and External Number Range (02 and 01). Use MCDOKZNR as Number Exit. Ver No. Incr = 1 and Set the File Size (Usually 10000000 bytes).
Once the Document Type is created, define Object links to PO Item and Pur Req Item. Use - Screen Number 247 and Screen Number 248 with Valuation Object of EBAN and EKPO for Objects EBAN (PReq) and EKPO (PO) for Doc Type SRM.
3. Check whether you have all the workstation applications configured in R/3 (DOC, TXT, PDF, XLS etc) in Transaction DC30.
Additional Checks:
- If you are transferring attachments and not link - make sure you have Implemented OSS Note: 820897 in R/3.
If the above settings does not give you results - you may want to debug and find out the exact error message while creating the attachment.
- Check the R/3 Release and get the corresponding driver from BBP_FUNCTION_MAP table with Object Type as DOCUMENT and Method - CreateFromData.
- Set the Breakpoint at Function Module BAPI_DOCUMENT_CREATE2 and at CVAPI_DOC_CHECKIN in the above driver. These  Function Modules will return you the exact error message.
Thanks,
Ashish

Similar Messages

  • CRM_ORDER_DELETE does not delete salesorders with follow-up documents

    Hi All,
    in my CRM 5.2 i have to delte many sales orders exchanged in past from R/3 to CRM via middleware.
    There is report CRM_ORDER_DELETE to delete sales document filtering with transacion type and sales order code, and it is ok;
    but the problem is all the sales orders that have one or more follow-up documents (visbile in CRMD_ORDER transaction) are not deleted by the program and the message is as follow:
    The following document could not be deleted:                 8101167607
    Object ORDERADM_I cannot be deleted
    Number of documents deleted:                                      0
    Number of documents not deleted:                                1
    How can I delete them ?
    Thanks and Regards,

    Hi
    you should in first iteration delete last documents from documents' flows,
    and later your sales orders.
    You cannot delete documents that are in the middle or beginning of doc flow.
    Regards
    Radek

  • Error creating follow on documents for Shopping cart

    Hi expert
    we are on srm 701
    and we are  using classic scenario
    We are currently facing an issue with  follow-on documents are not created in R/3
    i  Define Objects in Backend System (Purch. Reqs, Reservations, Purch. Orders)
    when my manger approve Sc i havent any follow on doc in my back-end and i have this error in RZ20 :Shopping cart 0010000376: Error creating the follow-on document
    but when is  using FM : BBP_PD_SC_TRANSFER the reservation created (for which material that define on  Objects in Backend System (Purch. Reqs, Reservations, Purch. Orders as created reserve)
    but i cant create PO or PR
    Please help to resolve this issue.

    Hello,
    check this section:
    Shopping Cart Transfer
    Regards.
    Laurent.

  • Follow on document details not updating in shopping cart

    Hi Experts,
    I created a shopping cart  and created PO as a follow on document  from sourcing cockpit after assigning vendor.
    but Shopping cart is not updating with follow on document (PO)details even after running BBP_GET_STATUS_2 report also.
    Is there any other settings required to do for updating shopping cart with follow on document details.
    Thanks,
    Bhaskar.

    Hi ,
    Please check the repots ( jobs )  CLEAN_REQREQ_UP And BBP_GET_STATUS _2 are running..
    Check in RZ20 is there any error message for the follow on document.
    Thanks
    prasad.s

  • I have an issue with some PDF documents   some MS Office documents, notably MS Word when received in eMail as attachments not displaying on iPhones, iPad 2s

    Hi,
    I have an issue with some PDF documents & some MS Office documents, notably MS Word when received in eMail as attachments not displaying properly on iPhones, iPad 2s & new iPads?
    PDF docs - areas of the doc only show as grey splotches regardles of viewer
    MS Word Docs -
    inserted graphics don't display at all,
    tables & lists especially with borders are broken &
    tables & lists missing the borders &
    tables & lists missing the 1st 1-2 lines of the lists/tables.
    This is replicated on iPhone 4s, iPhone 4Ss, iPad 2s, iPad new (x2)
    It certainly happens in iOS 5.1.1 & iOS 5.1
    We believe it all worked aok in iOS 5.0.1(?) & prior
    There is no problems reading/seeing these PDF & Word docs on anything other than iDevices.
    This is rather critical for us & if not quickly fixed/rectified will prevent us from further purchases of these devices
    Rolling back to iOS 5.0.1 or prior I believe isn't possible because of the BaseBand update(?) & isn't much of an option because of the quite noticeable Battery/Charging/WiFi improvements in 5.1 & 5.1.1

    Hi,
    I logged a call with AppleCare & have since had explained why this occurs (some time ago)
    I'll try to explain what was indicated to me.
    iOS has a limited Font Set & this affects what PDFs can display. You need to use iOS supported fonts in your PDFs to see/read them properly  
    These supported fonts are indicated here => http://support.apple.com/kb/HT4980
    Regards MS office docs, iOS doesn't have much of an API to work with MS Office documents at all so is stuck with 3rd Party Apps to try to do it.
    Unfortunately Mail in/on iOS uses the API to attempt to open/use MS Office attachments unless you tell it to use an App to open the attachment.
    I have had success opening & reading MS office docs now with CloudOn, but find it slow & very awkward to use.
    Not too sure if this helps others, but at least it explains why this is occurring

  • List of PO's with no follow on documents

    Hi all,
    Is there any FM which gives the list of PO's for which the follow on documents are not created.?

    Hi,
    I am not aware of FM. But I know the tables which can give the required inforamtion to you.
    Pass item GUID of RFx response to CRM_JEST-OBJNR. If it has a record with STAT=I1113 then it means that the follow on document created.
    Further you can find the meaning of status in CRM_JEST, in TJ02T table.
    Hope it will help you.
    GH

  • Details of Follow-up documents at Table level

    Dear All,
    I want to know if there is any table(s) which contains the follow-up documents numbers that gets generated in CRM.
    For example,
    1. first IC ticket will be generated,
    2. then product complaint will be generated as a follow up transaction of IC ticket.
    3. Compensation request transaction will be generated as a follow up of product complaint.
    I am already able to get this follow up using BAPI but I want to know how to get this at Database level so as to make report to perform faster.
    regards,
    Amey Mogare

    Hi Amey,
    one possibility is to read doc flow using FM 'CRM_DOC_FLOW_READ_DB'.
    If you really want to use the tables, here's the description:
    1. Table 'SRRELROLES' with OBJKEY = GUID of order --> get the ROLE_ID
    2. With ROLE_ID go to table 'CRMD_BINREL' field ROLE_A / B (depends on predecessor / successor)
    3. With the other role ( ROLE_A / B) you can go back to table 'SRRELROLES' and get the GUID by the OBJKEY.
    Hope, this is useful.
    Best regards,
    Claudia

  • Delete  follow up  document recursive

    Hi folks,
    I' writing a report in order to delete orders but before deleteing these orders i have to delete the follow-up documents. in some cases follow-up document also have another follow up, so before delete the first on i have to delete the last one and the the Order. i wrote loop at lt_doc_flow into ls_doc_flow.
    lv_objects_to_delete = ls_doc_flow-REF_GUID.
    insert ls_doc_flow-REF_GUID into table lt_objects_to_delete.
    endloop.
    and the call function'crm-order_delete.
    in order to delte all  docflow, but it doesn't work.
    do u have any idea , how i can delete it recursive?
    thanks .

    Hello Liliane
    You have to define a recursive function in order to delete your documents.
    The following sample reports shows how to do that:
    *& Report  ZUS_SDN_RECURSIVE_CALLS
    REPORT  zus_sdn_recursive_calls.
    TYPE-POOLS: abap.
    TYPES: BEGIN OF ty_s_doc.
    TYPES:   guid(3)        TYPE n.
    TYPES:   ref_guid(3)    TYPE n.
    TYPES:   text(50)       TYPE c.
    TYPES:   deleted        TYPE abap_bool.
    TYPES: END OF ty_s_doc.
    TYPES: ty_t_doc    TYPE STANDARD TABLE OF ty_s_doc
                       WITH DEFAULT KEY.
    DATA:
      gs_doc    TYPE ty_s_doc,
      gt_doc    TYPE ty_t_doc.
    START-OF-SELECTION.
      PERFORM fill_docs.
      SORT gt_doc BY guid ref_guid.
      WRITE: / 'Flow of Documents:'.
      PERFORM write_docs.
      WRITE: / 'Deleted Documents:'.
      LOOP AT gt_doc INTO gs_doc
                     WHERE ( deleted = abap_false ).
        PERFORM delete_doc
                       USING gs_doc.
      ENDLOOP.
      write: / syst-uline.
      SKIP 2.
      " Reset delete flag
      gs_doc-deleted = abap_false.
      MODIFY gt_doc FROM gs_doc
          TRANSPORTING deleted
        WHERE ( deleted = abap_true ).
      " Change sorting
      SORT gt_doc BY ref_guid.
      WRITE: / 'Flow of Documents:'.
      PERFORM write_docs.
      WRITE: / 'Deleted Documents:'.
      LOOP AT gt_doc INTO gs_doc
                     WHERE ( deleted = abap_false ).
        PERFORM delete_doc
                       USING gs_doc.
      ENDLOOP.
    END-OF-SELECTION.
    *&      Form  FILL_DOCS
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM fill_docs .
    * define local data
      DATA:
        ls_doc    TYPE ty_s_doc.
      " Example: Doc_001 -> referenced by Doc_011 -> referenced by Doc_101
      "          Doc_002 -> Doc_012, Doc_013      -> Doc_112, Doc_113
      "          Doc_003 -> not referenced
      CLEAR: ls_doc.
      ls_doc-guid     = '001'.
      ls_doc-ref_guid = '000'. " no reference to other document
      ls_doc-text     = 'Document 001'.
      APPEND ls_doc TO gt_doc.
      CLEAR: ls_doc.
      ls_doc-guid     = '011'.
      ls_doc-ref_guid = '001'.
      ls_doc-text     = 'Document 011'.
      APPEND ls_doc TO gt_doc.
      CLEAR: ls_doc.
      ls_doc-guid     = '101'.
      ls_doc-ref_guid = '011'.
      ls_doc-text     = 'Document 101'.
      APPEND ls_doc TO gt_doc.
      CLEAR: ls_doc.
      ls_doc-guid     = '002'.
      ls_doc-ref_guid = '000'. " no reference to other document
      ls_doc-text     = 'Document 002'.
      APPEND ls_doc TO gt_doc.
      CLEAR: ls_doc.
      ls_doc-guid     = '012'.
      ls_doc-ref_guid = '002'.
      ls_doc-text     = 'Document 012'.
      APPEND ls_doc TO gt_doc.
      CLEAR: ls_doc.
      ls_doc-guid     = '013'.
      ls_doc-ref_guid = '002'.
      ls_doc-text     = 'Document 013'.
      APPEND ls_doc TO gt_doc.
      CLEAR: ls_doc.
      ls_doc-guid     = '112'.
      ls_doc-ref_guid = '012'.
      ls_doc-text     = 'Document 112'.
      APPEND ls_doc TO gt_doc.
      CLEAR: ls_doc.
      ls_doc-guid     = '113'.
      ls_doc-ref_guid = '013'.
      ls_doc-text     = 'Document 113'.
      APPEND ls_doc TO gt_doc.
      CLEAR: ls_doc.
      ls_doc-guid     = '004'.
      ls_doc-ref_guid = '000'.  " no reference to other document
      ls_doc-text     = 'Document 004'.
      APPEND ls_doc TO gt_doc.
    ENDFORM.                    " FILL_DOCS
    *&      Form  delete_doc
    *       text
    *      -->P_GS_DOC_GUID  text
    FORM delete_doc
                USING
                   value(us_doc)  TYPE ty_s_doc.
    * define local data
      DATA:
        ls_doc    TYPE ty_s_doc.
      LOOP AT gt_doc INTO ls_doc
                     WHERE ( ref_guid = us_doc-guid )
                     AND   ( deleted = abap_false ).
        PERFORM delete_doc
                       USING ls_doc.
      ENDLOOP.
      IF ( syst-subrc NE 0 ).
        us_doc-deleted = abap_true.
        MODIFY gt_doc FROM us_doc
            TRANSPORTING deleted
          WHERE ( guid = us_doc-guid ).
        WRITE: / us_doc-guid, us_doc-text+0(15), us_doc-ref_guid.
      ENDIF.
    ENDFORM.                    " delete_doc
    *&      Form  WRITE_DOCS
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM write_docs .
    * define local data
      DATA:
        ls_doc    TYPE ty_s_doc.
      LOOP AT gt_doc INTO ls_doc.
        WRITE: / ls_doc-guid, ls_doc-text+0(15), ls_doc-ref_guid.
      ENDLOOP.
      SKIP.
    ENDFORM.                    " WRITE_DOCS
    Regards
      Uwe

  • Deleting Limit Items on PO even though follow on documents exist

    Dear SRM Experts
    I am hoping someone can explain the below behaviour:
    Where PO's have follows on documents i.e. confirmation and /or invoice you cannot delete PO's items on a PO. This makes sense.
    However we also have PO's with Limit items(created via limit type shopping carts) and even though the PO's have been confirmed and invoiced we can still delete the items on the PO. Is this standard behavior or a bug?
    Why then can you not delete normal items but can delete limit type items where follow on documents have been posted for a PO?
    Thanks
    Nishad.

    Hi
    Which SRM version are you using ?
    Incase of Limit Items, it is a bug.
    We have raised a similar issue with SAP some time back and still waiting for SAP to get back on this.
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

  • Follow-on documents are not visible in MIRO in TEST server, awsys = PRD300.

    Dear Experts ,
    The Test Server was refreshed around mid-June 2011 with data of
    Production Server. The follow-on documents are not visible for the
    invoice documents in MIRO in TEST server due to value in tables
    BKPF,RBKP : field : AWSYS = PRD300 .
    The newly created Purchase Orders after the refresh, the accounting
    documents can be seen for the Goods Receipt (MIGO_GR-display) and
    Invoice documents (MIRO).
    we had already raised this issue in March & got the feedback from SAP
    as shown below.
    accordingly we have developed & run the program "zzlogsys2" which
    updates the Logsys/Awsys field from PRD300 ( of production server ) to
    that of the current server i.e. TST300 as required.
    after which the FI documents for the material documents are visible in
    MIGO,but follow-on documents are not visible for the invoice documents
    in MIRO.
    we have Checked notes 781498 and 28958 to see if the logical system is
    correctly assigned , where we found that in table RBKP after entering document number, Fiscal Year , the
    Field AWSYS is "PRD300" & not "TST300" as it should be. We will take up the activity of updating table RBKP
    also as we are currently doing for tables MKPF & BKPF.
    But to have clear picture as to what we are doing is correct , pl
    advise about the following :
    1) Is it a correct process done by our SAP-Basis team , that every time
    any Server ( e.g. Test or Quality ) is refreshed with Production server
    data, the Field AWSYS in various transaction tables gets value as
    "PRD300" which then is required to replaced by running program such as
    ZZlogsys.
    REPORT ZZLOGSYS.
    TABLES: T000, MKPF.
    DATA: NEW_SYS LIKE MKPF-AWSYS.
    PARAMETER: OLD_SYS LIKE MKPF-AWSYS.
    SELECT SINGLE * FROM T000 WHERE MANDT EQ SY-MANDT.
    NEW_SYS = T000-LOGSYS.
    CHECK NOT NEW_SYS IS INITIAL.
    UPDATE MKPF SET AWSYS = NEW_SYS
    WHERE AWSYS = OLD_SYS.
    WRITE:/ 'Number of updates: ', SY-DBCNT.
    2) if the above process is correct & normal , then which are the other
    tables in a particular server ,apart from tables MKPF,BKPF,RBKP , which
    needs to be updated the value of field "AWSYS" in the same way
    replacing value "PRD300".
    3) if the process in point no. 1 is not correct , then what is the
    correct process that the Basis team can do while refreshing any target
    server with production data so that target server retains its value in
    Field AWSYS & not showing "PRD300".
    With 3 servers TEST,DEV & Quality , recently refreshed with production
    server to bring all servers in Sync for a HR patch application, we have
    this situation now in all 3 servers .
    Thanks in advance ,
    Anil Shanbhag

    It is appropriate to move this thread from ERP-MM to [Enterprise Resource Planning (ERP)|Enterprise Resource Planning (SAP ERP);
    Edited by: Jeyakanthan A on Jul 7, 2011 4:56 PM

  • Call List and Creation of a Complaint as a follow-up document

    Hi Experts,
    I have a basic question in reference to the Call List Functionality of SAP CRM 7.0. We have to generate a list to measure the satisfaction of our customers. In this cases it is possible that the customer is very unsatisfied with the provided service and wants to open a complaint. Now my question is, if it is possible to open a complaint in the form of a follow-up document of the call list (so that the data of the customer is directly copied from the call list to the complaint - I am talking about data like Business Partner ID, etc.).
    Is that possible? What is the customizing I have to do to make this possible? What are the basic steps?
    Best Regards
    Oliver

    Hi Oliver,
    Don't know if I understand correctly the question, but if it helps, here's my opinion.
    Normally, we create every call of a call list associated with a document...  a contact/interaction record.
    So, for your scenario, I would try to create 'complaint' as follow-up document of that contact.
    Then the agent makes the call and:
    - If the customer don't answer or don't want to complaint, just close the contact with the respective reason
    - If want to answer and have a complaint, the agent create a follow-up document of complaint type, and fill with the respective information.
    Hope that helps you a little more.
    Kind regards,
    Garcia

  • Limitation on po line items and follow on documents

    Hi All,
    Greetings..
    Can any one let me know what is the cap limit for line items for an srm PO and even on the follow on documents.
    Currently wer arein 4.0 and are facing problems with these issues upgrade is planned next month.
    will this be an issue in SRM 7.0 also
    Regards
    Gopi

    Hi
    I dont think there is any cap limit for line items of a Purchase order in SRM. It must be something specific to your landscape. In that case , check what is developed to put a check on limit field in SRM 4.0.
    You will then need to evaluate if that developmnet is impacted in SRM 7.0 or not
    Regards
    Virender Singh

  • More than one Follow On documents for a single shopping cart

    Hi All,
    How can we determine if there will be more than one follow on document created for a single shopping cart.
    One reason could be if shopping cart items have different source of supply.
    What could be the other reasons. Also is there any way by which we can debug and find out the number of follow on documents created for a single shoppining cart.
    Thanking you all in advance.
    Thanks and Regards
    Manoj

    Hi  Manoj,
    <i>"Also is there any way by which we can debug and find out the number of follow on documents created for a single shoppining cart."</i>
    There's a FM to get all the follow on documents related to the SC and all the relations per item... use <b>BBP_PD_SC_GETDETAIL</b> and retrieve the <b>E_HEADER_REL</b> for the SC relations, and the <b>E_ITMLIM_REL</b> for each <b>item relations</b>.. there you will see:
    OBJECT_ID_A -> OBJECT_ID_B
    what it means is the relation between a SC and the PO, or the SC with a BID... you can identify the object types by taking a look in the 'BUS...'
    OBJTYPE_A -> OBJECTTYPE_B
    SC -> BUS2121
    PO-> BUS2201
    BID-> BUS2200
    etc...
    I hope this can help you to retrieve what you need....
    BR,
    Gerardo....
    PS: reward points please....

  • User exit to copy Manual pricing conditions with in sales documents

    Hi all,
    I have a situation where i have to copy the manual pricing conditions from inquiry to quotation.
    Problem: From VA21 when I try to do the same using the tab "create with reference" the document is being copied but the manually set pricing condition in the inquiry is not being copied into quotation. This is because in the copy controls the pricing type is set to 'B' which means "carry out new pricing". I can change it to 'C' or 'D' so that it copies manual pricing but i am not allowed to do so because other sales orgs in the company has a problem if i do so. Only our perticular sales org needs this config. I cannot even create another item catogory specific to this plant because it is against the rules of the company. So I am looking for a user exit in which i can change this pricing type during runtime so that i can plug in some code specific to this sales org to copy manual pricing. I have found one from the SAP note 24832 (MV61AFZA). It doesn't work as i think its obsolte. Can anyone suggest me a better way of solving this issue. Any quick response is appreciated.
    Thanks,
    Giridhar.

    Hi
    The following EXITS may help you
    Exit Name              Description                                                                               
    SDTRM001            Reschedule schedule lines without a new ATP check                 
    V45A0002            Predefine sold-to party in sales document                         
    V45A0003            Collector for customer function modulpool MV45A                   
    V45A0004            Copy packing proposal                                             
    V45E0001            Update the purchase order from the sales order                    
    V45E0002            Data transfer in procurement elements (PRreq., assembly)          
    V45L0001            SD component supplier processing (customer enhancements)          
    V45P0001            SD customer function for cross-company code sales                 
    V45S0001            Update sales document from configuration                          
    V45S0003            MRP-relevance for incomplete configuration                        
    V45S0004            Effectivity type in sales order                                   
    V45W0001            SD Service Management: Forward Contract Data to Item              
    V46H0001            SD Customer functions for resource-related billing                
    V60F0001            SD Billing plan (customer enhancement) diff. to billing plan      
    V45A0001            Determine alternative materials for product selection
    Regards
    PRabhu

  • SRM 7.0 PCW. Follow-on document creation

    Dear experts: we are in SRM 7.0 and have implemented PCW with approval at item level. Our end users want to have automatic follow-on document creation inmediatlly after SC item approval. However, as per standard SAP SRM, they have to wait untill all levels for all items have been approved.
    One example will illustrate: A shopping cart with two items. Due to the threshold, item1 requires only one level of approval, while item2 requires two levels. Both items will result in a dfferent purchaisng document in the backend system in a classic scenario: Item1 will result in a PReq, while item2 will result in a Purchase Order.
    Once first level for the two items have been approved, would it be possible to generate the follow-on document for the first item as no further approval for this item is needed is needed?
    Our end users are familiar with Preqs in MM, where item approval process is done at item level and the follow-on document can be created even when the other items in the PReq are not yet approved.
    Thanks in advance for your valuable  help.
    Regards
    Valentí

    Hi,
       No, this is not possible, once all the item in a SC approved, then only system will create a follow-on-documents. As per your scenario , item1 will still wait until item2 gets approved. This is standard.
    Saravanan

Maybe you are looking for

  • How can I link all Apple accounts to my Apple Id

    Over the years, I have aquired user and pass words fo iCloud, Apple.com, Apple id, Apple iPod, Apple iTouch and Apple iTunes. Can I link all of these to my new Apple ID?

  • Can I perform a Time Machine backup to a USB drive connected to the Time Capsule 3TB

    I would like to perform Time Machine backups to a portable USB drive, to use as an off-site backup copy.   However, when I plug the drive into the Time Capsule (3TB) it isn't seen by Time Machine from any of the computers on my network.  What do I ne

  • Does anyone know a workaround? ATI Radeon 4500 graphics card not recognised with Photoshop CC

    Hi Guys, I recently upgraded a few bits to my Dell studio 5 which is somewhat of it's age now. I put a solid state in, upped the RAM and also installed windows 8.1. The machine has been running a treat, almost as though it was a new beast, however th

  • Unable to insert image in editor

    When I try to insert images in the text editor, by clicking the "insert image icon", a black box appears with the "insert image" message in the top left corner of the box and the close button (X) in the top right hand corner. However, the "insert vid

  • Using .swc in Flash CS5

    I have a user who is having trouble using my library .swc in flash CS5. I do not have CS5 to help him out much; but the .swc does work fine with mxmlc from the Flex SDK, as well as under flashdevelop using the Flex SDK. And although not this exact ve