Skip to Content
author's profile photo Former Member
Former Member

Problem with attachments transfer to R/3 PO

Hi

SRM SERVER 550 SP 6 ECC 6

I'm in a classic scenario.

I used the old BADI BBP_CREATE_PO_BACK method with the following parameters I debugged and the flow stop so I think it should work:

move 'SRM' to CV_ATTACH_BE_DOC_TYPE.

move 'X' to CV_ATTACH_TRANSFER_ACTIVE.

move 'DMS_C1_ST' to CV_ATTACH_BE_STORAGE_CAT.

I did the customizing DC10, DC30 and the kpro customizing.

I tested to include attach in R/3 POs.

I debugged and the BAPI_DOCUMENT_CREATE2'

returns 0

lt_description & lt_objectlinks have content

lt_files blank

the importing parameter

doctype SRM

docnumber 0000000000000010000000004

But I can't see my attachment in ME23N.

Any idea

thanks

Regards

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 19, 2007 at 04:21 PM

    Hi & thanks

    I am looking in ME23 or ME23N (in the top left corner) the services object icon then expand menu and option attachment list. But my attachment doesn't appear.

    Disha I have done that you said (only differnce parameters CV_ATTACH_BE_DOC_TYPE and CV_ATTACH_BE_STORAGE_CAT but I think that my values were the default values)

    any other suggestion??

    THnks

    regards

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      The attachment will not appear through the services for object section. Underneath the item overview section of the PO are several icons. The last icon would look like an envelope with a paper clip. You will need to select the line item first, then click on the icon to get to the attachment.

  • author's profile photo Former Member
    Former Member
    Posted on May 18, 2007 at 03:52 PM

    Where are you looking in ME23N to find the attachment?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 19, 2007 at 07:28 AM

    Hi,

    You just need to set the indicator "CV_ATTACH_TRANSFER_ACTIVE" in the BADI for the atatchemnt to be trasnferred to the backend doc.

    Also do the settings in DC10 and DC30

    DC10 - create a Document type for SRM

    DC30 - Maintain all relevant extensions ,

    In DC30 for the required file type do the settings e.g.

    WS appln =XLS

    Description= MS excel

    Archieve Idn=*

    File suffix=xls

    file format=*.xls

    Mime type=application/msexcel

    appl icon=(select sxcel icon)

    BR,

    Disha.

    Pls reward points for useful answers.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 23, 2007 at 07:08 PM

    Hi

    SRM SERVER 550 SP 6 ECC 6

    I'm in a classic scenario.

    I used the <b>IF_EX_BBP_CREATE_BE_PO_NEW~FILL_PO_INTERFACE1</b> method with the following parameters I debugged and the flow stop so I think it should work:

    <b>CS_CTRL_ATT-TRANSFER_ACTIVE = 'X'.</b>

    I did the customizing DC10, DC30 and the kpro customizing.

    <b>Result of DC10 (record in TDWA table)</b>

    Document Type SRM

    Field selection -

    Status Change

    Rev. Assgmt

    VersNumIncr. 1

    Version Assgmt

    Number Assgmt 1

    IntNum range 03

    Ext.No.range 01

    Change Docs

    ArchAuth

    Alt screen 0

    AScEx.

    NumExit MCDOKZNR

    PRT

    File size 10000000

    Class

    Class Type

    Delete Original

    Transport origin.

    Use KPro X

    Display Class

    Default Appl.

    Dis. WS applic.

    Ignore originals

    CM Relevnce

    VersionSequence

    Description SRM Documents

    <b>DC30 with .xls values introduced</b>

    function module used B46C_ATTACHMENT_CREATE for my version

    <b>Customizing entries in DMS (R/3)</b>

    Under Cross Application Components --> Document management --> General Data --> Define Data Carrier

    --- data carrier type in the dialog structure 'Define data carrier type 'server, front end'' (PC with Path as C:\temp).

    --- Enter a default entry in the dialog structure 'Identify frontend computers'.

    <b>As a result of this table TDWD appear with this values</b>

    Data Carrier Default

    DataCar.type PC

    Net.adr DEFAULT

    Description Default for local PC

    Vault path

    DVA computer

    Inactive

    And TDWE

    <b>DataCar.type PC</b>

    Online X

    Printer

    Archive

    Address type

    CAD system

    Description PC mit Windows

    Path c:\temp

    Vault

    Ex

    <b>Runtime debugging.</b> B46C_ATTACHMENT_CREATE

    • Attention it could be this *****

    Call to BAPI_DOCUMENT_CREATE2

    exporting ls_document_data (ls_document data only has the description with value)

    ...

    tables

    lt_description (1 record with description)

    lt_objectlinks (OBJECTTYPE EKPO

    OBJECTKEY 620000010100010 )

    lt_files (no values)

    No entries in R/3 SOFFPHIO tables for example are created for WF-batch

    Any suggestion.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.