ME53N Purchase Requisition attachment tables

Hi,
Good day guys
I got a doubt on ME53n[Purchase Requisition ]. we got  icon  for services for  object. If you click it then its show the tab where and which can create the ATTACHMENTS LIST  or else Create the Attachment.
I want know the which Tables are storing the attchment document ?
REgards
KK

Hi All,
I got the solution.
We can use function module ARCHIV_GET_CONNECTIONS which gives the list of attachments.
We just need to pass PR Number as OBJECT_ID. The table  CONNECTIONS will populate with the list of attachment.
Please refer below snapshot.
The count variable also gives the the number attachment in PR and I_connection internal table gives list of attachment in details with type of attachments.

Similar Messages

  • Purchase Requisition fields & table

    hi experts,
                    I have a requirement to make Purchase Requisition report. Is there any standard report so i can copy and modify it. Or u guys have made some report of the same. its urgent.
    Or plz tell the table & field names of the following requirement. also help me on what fields I can join that tables.
    Purchase Requisition (PR) date
    Delivery date
    PR No.
    PR Material No.
    PR Quantity
    STO date
    STO No.
    STO material
    STO Qty.
    Supplying Plant
    Delivery Plant
    Delivery No.
    Delivery Date ( when delivery created)
    Delivery material
    Delivery Qty.
    PGI
    thanks. alot.
    Khan

    REPORT  ZPurchase_alvsample                 .
    TABLES:     ekko.
    type-pools: slis.                                 "ALV Declarations
    *Data Declaration
    TYPES: BEGIN OF t_ekko,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      statu TYPE ekpo-statu,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
      menge TYPE ekpo-menge,
      meins TYPE ekpo-meins,
      netpr TYPE ekpo-netpr,
      peinh TYPE ekpo-peinh,
    END OF t_ekko.
    DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_ekko TYPE t_ekko.
    *ALV data declarations
    data: fieldcatalog type slis_t_fieldcat_alv with header line,
          gd_tab_group type slis_t_sp_group_alv,
          gd_layout    type slis_layout_alv,
          gd_repid     like sy-repid,
          gt_events     type slis_t_event,
          gd_prntparams type slis_print_alv.
    *Start-of-selection.
    START-OF-SELECTION.
    perform data_retrieval.
    perform build_fieldcatalog.
    perform build_layout.
    perform build_events.
    perform build_print_params.
    perform display_alv_report.
    *&      Form  BUILD_FIELDCATALOG
          Build Fieldcatalog for ALV Report
    form build_fieldcatalog.
    There are a number of ways to create a fieldcat.
    For the purpose of this example i will build the fieldcatalog manualy
    by populating the internal table fields individually and then
    appending the rows. This method can be the most time consuming but can
    also allow you  more control of the final product.
    Beware though, you need to ensure that all fields required are
    populated. When using some of functionality available via ALV, such as
    total. You may need to provide more information than if you were
    simply displaying the result
                  I.e. Field type may be required in-order for
                       the 'TOTAL' function to work.
      fieldcatalog-fieldname   = 'EBELN'.
      fieldcatalog-seltext_m   = 'Purchase Order'.
      fieldcatalog-col_pos     = 0.
      fieldcatalog-outputlen   = 10.
      fieldcatalog-emphasize   = 'X'.
      fieldcatalog-key         = 'X'.
    fieldcatalog-do_sum      = 'X'.
    fieldcatalog-no_zero     = 'X'.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'EBELP'.
      fieldcatalog-seltext_m   = 'PO Item'.
      fieldcatalog-col_pos     = 1.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'STATU'.
      fieldcatalog-seltext_m   = 'Status'.
      fieldcatalog-col_pos     = 2.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'AEDAT'.
      fieldcatalog-seltext_m   = 'Item change date'.
      fieldcatalog-col_pos     = 3.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'MATNR'.
      fieldcatalog-seltext_m   = 'Material Number'.
      fieldcatalog-col_pos     = 4.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'MENGE'.
      fieldcatalog-seltext_m   = 'PO quantity'.
      fieldcatalog-col_pos     = 5.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'MEINS'.
      fieldcatalog-seltext_m   = 'Order Unit'.
      fieldcatalog-col_pos     = 6.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'NETPR'.
      fieldcatalog-seltext_m   = 'Net Price'.
      fieldcatalog-col_pos     = 7.
      fieldcatalog-outputlen   = 15.
      fieldcatalog-do_sum      = 'X'.
      fieldcatalog-datatype     = 'CURR'.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'PEINH'.
      fieldcatalog-seltext_m   = 'Price Unit'.
      fieldcatalog-col_pos     = 8.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
    endform.                    " BUILD_FIELDCATALOG
    *&      Form  BUILD_LAYOUT
          Build layout for ALV grid report
    form build_layout.
      gd_layout-no_input          = 'X'.
      gd_layout-colwidth_optimize = 'X'.
      gd_layout-totals_text       = 'Totals'(201).
    gd_layout-totals_only        = 'X'.
    gd_layout-f2code            = 'DISP'.  "Sets fcode for when double
                                            "click(press f2)
    gd_layout-zebra             = 'X'.
    gd_layout-group_change_edit = 'X'.
    gd_layout-header_text       = 'helllllo'.
    endform.                    " BUILD_LAYOUT
    *&      Form  DISPLAY_ALV_REPORT
          Display report using ALV grid
    form display_alv_report.
      gd_repid = sy-repid.
      call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                i_callback_program      = gd_repid
                i_callback_top_of_page   = 'TOP-OF-PAGE'  "see FORM
                i_callback_user_command = 'USER_COMMAND'
               i_grid_title           = outtext
                is_layout               = gd_layout
                it_fieldcat             = fieldcatalog[]
               it_special_groups       = gd_tabgroup
                it_events               = gt_events 
                is_print                = gd_prntparams 
                i_save                  = 'X'
               is_variant              = z_template
           tables
                t_outtab                = it_ekko
           exceptions
                program_error           = 1
                others                  = 2.
      if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    endform.                    " DISPLAY_ALV_REPORT
    *&      Form  DATA_RETRIEVAL
          Retrieve data form EKPO table and populate itab it_ekko
    form data_retrieval.
    select ebeln ebelp statu aedat matnr menge meins netpr peinh
    up to 10 rows
      from ekpo
      into table it_ekko.
    endform.                    " DATA_RETRIEVAL
    Form  TOP-OF-PAGE                                                 *
    ALV Report Header                                                 *
    Form top-of-page.
    *ALV Header declarations
    data: t_header type slis_t_listheader,
          wa_header type slis_listheader,
          t_line like wa_header-info,
          ld_lines type i,
          ld_linesc(10) type c.
    Title
      wa_header-typ  = 'H'.
      wa_header-info = 'EKKO Table Report'.
      append wa_header to t_header.
      clear wa_header.
    Date
      wa_header-typ  = 'S'.
      wa_header-key = 'Date: '.
      CONCATENATE  sy-datum+6(2) '.'
                   sy-datum+4(2) '.'
                   sy-datum(4) INTO wa_header-info.   "todays date
      append wa_header to t_header.
      clear: wa_header.
    Total No. of Records Selected
      describe table it_ekko lines ld_lines.
      ld_linesc = ld_lines.
      concatenate 'Total No. of Records Selected: ' ld_linesc
                        into t_line separated by space.
      wa_header-typ  = 'A'.
      wa_header-info = t_line.
      append wa_header to t_header.
      clear: wa_header, t_line.
      call function 'REUSE_ALV_COMMENTARY_WRITE'
           exporting
                it_list_commentary = t_header.
               i_logo             = 'Z_LOGO'.
    endform.
          FORM USER_COMMAND                                          *
          --> R_UCOMM                                                *
          --> RS_SELFIELD                                            *
    FORM user_command USING r_ucomm LIKE sy-ucomm
                      rs_selfield TYPE slis_selfield.
    Check function code
      CASE r_ucomm.
        WHEN '&IC1'.
      Check field clicked on within ALVgrid report
        IF rs_selfield-fieldname = 'EBELN'.
        Read data table, using index of row user clicked on
          READ TABLE it_ekko INTO wa_ekko INDEX rs_selfield-tabindex.
        Set parameter ID for transaction screen field
          SET PARAMETER ID 'BES' FIELD wa_ekko-ebeln.
        Sxecute transaction ME23N, and skip initial data entry screen
          CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
        ENDIF.
      ENDCASE.
    ENDFORM.
    *&      Form  BUILD_EVENTS
          Build events table
    form build_events.
      data: ls_event type slis_alv_event.
      call function 'REUSE_ALV_EVENTS_GET'
           exporting
                i_list_type = 0
           importing
                et_events   = gt_events[].
      read table gt_events with key name =  slis_ev_end_of_page
                               into ls_event.
      if sy-subrc = 0.
        move 'END_OF_PAGE' to ls_event-form.
        append ls_event to gt_events.
      endif.
        read table gt_events with key name =  slis_ev_end_of_list
                               into ls_event.
      if sy-subrc = 0.
        move 'END_OF_LIST' to ls_event-form.
        append ls_event to gt_events.
      endif.
    endform.                    " BUILD_EVENTS
    *&      Form  BUILD_PRINT_PARAMS
          Setup print parameters
    form build_print_params.
      gd_prntparams-reserve_lines = '3'.   "Lines reserved for footer
      gd_prntparams-no_coverpage = 'X'.
    endform.                    " BUILD_PRINT_PARAMS
    *&      Form  END_OF_PAGE
    form END_OF_PAGE.
      data: listwidth type i,
            ld_pagepos(10) type c,
            ld_page(10)    type c.
      write: sy-uline(50).
      skip.
      write:/40 'Page:', sy-pagno .
    endform.
    *&      Form  END_OF_LIST
    form END_OF_LIST.
      data: listwidth type i,
            ld_pagepos(10) type c,
            ld_page(10)    type c.
      skip.
      write:/40 'Page:', sy-pagno .
    endform.
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • Purchase Requisition Attachement Should not be Modified when it is released

    Hi Experts,
    I've a requirement that, In ME52N, if the Purchase Requisition is Released then, the user should not add or delete or change the Attachments. Pl help me in this how to do.
    Regards
    Rajiv.

    Thanks giri.
    For the following reasons, the billing documents are not released to accounting.
    1. If the user wrongly chosen the billing type for the delivery.
    2. After creating condition type, it has to be assigned in COPA. If we forgot to do it, billing doc will not released.
    Our requirement is that if the billing document is not able create accounting document, the billing document itself should not be generated.
    Hope this will be suffice to understand my issue and suggest a suitable solution.
    Points will be rewarded.
    Regards,
    Kumar.

  • Purchase Requisition with mat-nr and without mat-nr

    Hi,
    if I create a Purchase Requisition with a material number it will be transfered into the EPRTRANS,
    but if I create a Purchase Requisition without a materialnumber (only with account assignment)
    then it will be not transfered into EPRTRANS .
    Do you have an idea why this strange behaivour happens.
    Maybe there must be made some changes in Function Module BBP_EPRTRANS_MAINTAIN ?
    Regards
    ilhan

    in order to perform a Purchase Requisition-Upload from R/3 Backend system into another system there
    are several steps necessary.
    When I am creating a Purchase Requisition at the Backend regarding a valid material-number,
    the Purchase Requisition will be automatically inserted into the table EPRTRANS.
    But not in case of if you create a Purchase Requisition without a Material-Numnber.
    e.g. Purchase Requisition with free text and account assignment.
    Function Module BBP_EPRTRANS_MAINTAIN is reposible for transfering of Purchase Requisition
    into table EPRTRANS.
    I need these PR in the EPRTRANS in order to perform the report BBP_EXTREQ_TRANSFER finally.
    It trnasfers all Purchase Requisition from EPRTTANS to the external system.
    I hope it clarifys some of the confusion .
    regds
    ertas

  • Copy purchase requisition with me51n

    Hi,
    I have a problem when I want copy a purchase requisition in me51n.
    I have two documents types in specific and I use a variant of transaction who fixed the document type.
    I execute me51N
    I search a purchase requisition with other types.
    I do a drag & drop to copy the purchase requisition.
    But in the first copy, there is a document type present on header level was copied and in the second copy it is a document type comes from reference that is copied.
    I want for the first copy, the document type comes from reference in the copy.
    What am I doing ?
    Thanks.

    in order to perform a Purchase Requisition-Upload from R/3 Backend system into another system there
    are several steps necessary.
    When I am creating a Purchase Requisition at the Backend regarding a valid material-number,
    the Purchase Requisition will be automatically inserted into the table EPRTRANS.
    But not in case of if you create a Purchase Requisition without a Material-Numnber.
    e.g. Purchase Requisition with free text and account assignment.
    Function Module BBP_EPRTRANS_MAINTAIN is reposible for transfering of Purchase Requisition
    into table EPRTRANS.
    I need these PR in the EPRTRANS in order to perform the report BBP_EXTREQ_TRANSFER finally.
    It trnasfers all Purchase Requisition from EPRTTANS to the external system.
    I hope it clarifys some of the confusion .
    regds
    ertas

  • Purchase Requisition Origin

    Hello,
    Is there any table or transaction which indicates the origin of a purchase requisition?
    Table EBAN provides the relation between purchase requisition & purchase order, but I couldn't localize the original requirement (ex. sales order, safety stock etc...)
    Thanks in advance for your feedback

    this is the third time in 2 weeks that this question is asked.
    Please read the answers in Re: How to find parent ITEM in pr generated by MRP?

  • Customised Field in Purchase Requisition

    Our requirement is to have a 4 digit departmental section (0001 - Finance dept, 0002 - HR dept, etc) in the Purchase Requisition line item (Table EBAN), there is no such field in standard SAP.
    How to add this addiitonal customised field to Purchase Requisition document (table eban) so that we can enter the data in create/change PR transaction  - ME51N or ME52N??

    hi,
    check these USER EXITS:
    MEQUERY1 - Enhancement for document overview ME21N / ME51N
    MM06E005 - Customer fields in purchasing documents
    MEREQ001 - Customer's own data in purchase requisitions
    Hope it helps..
    Regards
    Priyanka.P

  • To find Purchase Requisition value

    Hi Workflow gurus,
    I have an issue with respect to workflow, where I need to send an external mail to MS outlook, once the Purchase requisition is saved (created). Based on Purchase requisition value, a different person like Manger, Director, President or Vice president has to approve the requisition. Mail has to go any one of these.
    Here I can use the business object BU2105 and incorporate a task which contains the function module ''SO_DOCUMENT_SEND_API1' to send the external mail.
    However I don't know how to get the value of Purchase requisition and mail id of these people.
    I request your valuable suggestion.
    Regards
    Harikrishna

    Hi,
    You can chek the Value of the  Purchase requisition in
    Table EBAN
    and mail id will be triggered through the User Id of  these people (SU01 trx)...
    Thx
    Raju

  • Purchase Requisition number : In which table the PR currency field stored?

    When we raise a Purchase requisition nr : t codes ME53N / ME21N
    the PR nr, item nr, PR doc type, PR group, plant etc are stored in EBAN table.
    PR amount can be calculated based on MENGE * PREIS / PEINH from the table EBAN.
    Where will be the PR amount currencies like 'EUR' or 'GBP' stored?
    How can we relate those Table with EBAN/EBKN?
    Please let me know the exact TABLE for this.

    Hi,
    currency keys will be stored in
    TCURC table..  ( all currency keys will be available )
    eban - waers is the field where the currency key value stored
    regards,
    Venkatesh

  • Purchase Requisition number : In which table the currency field stored?

    When we raise a Purchase requisition nr : t codes ME53N / ME21N
    the PR nr, item nr, PR doc type, PR group, plant etc are stored in EBAN table.
    PR amount can be calculated based on MENGE * PREIS / PEINH from the table EBAN.
    Where will be the PR amount currencies like 'EUR' or 'GBP' stored?
    How can we relate those Table with EBAN?
    Please let me know the exact TABLE for this.

    hi kpreddy
    before going to raise purchage order u must give the purchage requisition plan
    why we r going to purchage the material??? so many things to approve to purchage a material
    menge - purchage order quntity
          preis -
    that currencies depend upon the country wise purchage order..........

  • Table Name of Purchase Requisition Grid Line Item (SAP-AFS)

    Dear All,
    As im in the midst of preparing a report on the purchase requisitions with grid value and its respective quantity for those which are not converted as POs.
    im not able to find the table which holds the AFS grid details related to the PR. im using EBAN to fetch the PR header and line item details and i tried joining with the EKET table, but resulting with the list of PR details those which are converted as POs, since EKET holds the PO sheduled line item details.
    Reference Transaction - me53n - Item details table control.
    Kindly help me to find the table which hold the above said data.
    thanks in advance.Rating assured.
    Message was edited by: Raja K.P

    Hi Raja
       The tables you have mentioned are enough for extracting the details you need. Hope the below code helps you.
    tables: eban, eket.
    parameters: p_werks like eban-werks.
    select-options: s_bsart for eban-bsart,
                    s_erdat for eban-erdat obligatory,
                    s_matnr for eban-matnr.
    data: begin of itab occurs 0,
             banfn like eban-banfn,
             bnfpo like eban-bnfpo,
             bsart like eban-bsart,
             matnr like eban-matnr,
             menge like eban-menge,
             ebeln like eban-ebeln,
             ebelp like eban-ebelp,
             menge1 like eket-menge1,
           end of itab.
    start-of-selection.
      select a~banfn a~bnfpo a~bsart a~matnr
             a~menge a~ebeln a~ebelp b~menge
             into table itab
             from eban as a
             inner join eket as b
             on b~ebeln = a~ebeln
             and b~ebelp = a~ebelp
             where a~werks = p_werks
             and   a~bsart in s_bsart
             and   a~erdat in s_erdat
             and   a~matnr in s_matnr
             and   ( a~ebeln eq space  or
                     a~menge ne b~menge ).
    Now internal table itab will have all the open PR Numbers, for partially open PR's you will have itab-ebeln populated. For these entries subtract itab-menge1 from itab-menge to get the open qty.
    Kind Regards
    Eswar

  • Attach a file to purchase requisition

    Hi Experts,
    We have a requirement of attaching a file of any type(Doc,PDF,TXT,PPT) to the purchase requisition, We are able to attach a document through transaction(ME51n). Can any one please suggest are there any function modules or classes to do the same through coding.
    Thanks in advance,
    Regards,
    Praveen

    Difference between DMS and GOS attachement
    GOS Attachment list:
    This attachment list can be found for nearly all object (document info record, material master,euqipments,...) and allows you to add specific files to the object and store them by archivelink technique.
    Original tab in DMS:
    This area is something DMS specific and allows you to store original files to the document info records. This original files are normally stored in a content server and from DMS point of view you will have more functionalities as when you add the files to the attachment list.
    How to create DMS attachment master?
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/30bba04a-0114-2d10-6696-9898522c97df]
    Important tables and FM related to DMS
    [http://forums.sdn.sap.com/thread.jspa?threadID=1366084&tstart=2355]
    With the tables and FMs you can work with ABAPER to achieve your requirement

  • Create attachment document XLS for Purchase Requisition

    Hi.
    I need to add attachment to my Purchase Requisition usig a FM.
    I found some topics on SDN where BAPI_DOCUMENT_CREATE2 is used.
    I placed it in my code and run it. Return gives me nothing.
    I get a new document number each time I run my program, but when I go to ME53n and look at attachment list no documents there.
    Can You tell me what parameters with which values should I pass to BAPI_DOCUMENT_CREATE2 to add attachment to a purchase requisition. Mayby I didn't set a good configuration somewhere. Please HLP
    Thx in advance
    Tom

    Hi,
    Did you check the function module documentation. It contains one example also. Please check that.
    BAPI fm BAPI_DOCUMENT_CREATE is internally calling this BAPI. Please check how it is calling.
    Please alos check program LWPLGF06. I think it has similar code.
    Thanks,
    Ramakrishna
    Message was edited by: Ramakrishna Prasad Ramisetti

  • Attach the file for purchase requisition using BSP service

    Hi All,
    I have Requirement Attach the any file like(PDF,TXT,PPT) to Purchase requisition using BSP service.Could please provide me any function module or BAPI for this functionality.
    Thanks in advance.
    Regards,
    Rajesh.

    Hi All,
    REPORT ZTESTJLG3 . .
    parameter p_mandt like sy-mandt default '120' .
    parameter p_equi type equnr default '1000007' .
    parameter p_path like IBIPPARMS-path memory id AD_LOCAL_PATH .
    parameter p_name(30) default 'Test attach 100007' lower case .
    " nom attachement .
    data w_prog like sy-repid .
    data w_dynnr like sy-dynnr .
    data w_attachement type borident .
    initialization .
    w_prog = sy-repid .
    w_dynnr = sy-dynnr .
    " test jean luc recuperer le code de
    fucntion module 'GOS_EXECUTE_SERVICE'
    data lo_container TYPE REF TO cl_gui_container .
    *call method lo_container->get_container_type .
    at selection-screen on value-request for p_path .
    CALL FUNCTION 'F4_FILENAME'
    EXPORTING
    PROGRAM_NAME = w_prog
    DYNPRO_NUMBER = w_dynnr
    FIELD_NAME = 'P_PATH'
    IMPORTING
    FILE_NAME = p_path .
    start-of-selection .
    if sy-mandt ne p_mandt .
    write 'Erreur mandt ' .
    exit .
    endif .
    data ws_borident like borident .
    ws_borident-OBJKEY = p_equi.
    ws_borident-OBJTYPE = 'EQUI'.
    data w_document like SOOD4 .
    data : begin of wt_files occurs 0 .
    data fname(128) .
    data end of wt_files.
    wt_files-fname = p_path .
    append wt_files .
    data folder_id like SOODK .
    call function 'SO_FOLDER_ROOT_ID_GET'
    EXPORTING
    region = 'B'
    IMPORTING
    folder_id = folder_id
    EXCEPTIONS
    others = 1.
    w_document-foltp = folder_id-objtp .
    w_document-folyr = folder_id-objyr .
    w_document-folno = folder_id-objno .
    append document to documents.
    w_document-objdes = p_name .
    w_document-objnam = p_name .
    data w_h_data like sooD2 ..
    data w_fol_data like sofm2.
    data w_rec_data like soos6 .
    w_h_data-objdes = p_name .
    CALL FUNCTION 'SO_DOCUMENT_REPOSITORY_MANAGER'
    EXPORTING
    METHOD = 'IMPORTFROMPC'
    OFFICE_USER =
    REF_DOCUMENT = w_document
    NEW_PARENT =
    IMPORTING
    AUTHORITY =
    TABLES
    OBJCONT =
    OBJHEAD =
    OBJPARA =
    OBJPARB =
    RECIPIENTS =
    ATTACHMENTS =
    REFERENCES =
    FILES = wt_files
    CHANGING
    DOCUMENT = w_document
    HEADER_DATA = w_h_data
    FOLMEM_DATA = w_fol_data
    RECEIVE_DATA = w_rec_data .
    if w_document-okcode = 'CREA' or w_document-okcode = 'CHNG'.
    w_attachement-objtype = 'MESSAGE'.
    w_attachement-objkey = w_document(34).
    CALL FUNCTION 'BINARY_RELATION_CREATE_COMMIT'
    EXPORTING
    OBJ_ROLEA = ws_borident
    OBJ_ROLEB = w_attachement
    RELATIONTYPE = 'ATTA'
    IMPORTING
    BINREL =
    TABLES
    BINREL_ATTRIB =
    EXCEPTIONS
    NO_MODEL = 1
    INTERNAL_ERROR = 2
    UNKNOWN = 3
    OTHERS = 4
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endif .
    For above requirement i am trying like above code.
    working fine but which transaction i can find the attach file.I am trying to fine using ME52N transaction but i c't find this file.
    Please suggest me how can i find this one
    Thanks in advance,
    RajeshV.

  • Table for Purchase Requisition Item Text

    I would like to know, what is the table which stores the item text in tab texts for Purchase Requisition?

    Hai,
    the table is STXH.
    CALL FUNCTION 'READ_TEXT'
          EXPORTING
      CLIENT                        = SY-MANDT
            ID                            = IT_STXH-TDID "ID
            LANGUAGE                      = IT_STXH-TDSPRAS " LANGUAGE
            NAME                          = IT_STXH-TDNAME
            OBJECT                        = IT_STXH-TDOBJECT
      ARCHIVE_HANDLE                = 0
      LOCAL_CAT                     = ' '
    IMPORTING
      HEADER                        =
          TABLES
            LINES                         = L_LINES
    Regards,
    Venkat

Maybe you are looking for