메뉴 건너뛰기

SAP 한국 커뮤니티

doi_create

sapjoy 2008.12.26 05:36 조회 수 : 3049

MODULE doi_create OUTPUT.


 


  DATA: item_url(256).


  DATA: bds_instance TYPE REF TO cl_bds_document_set.


  DATA: doc_signature TYPE sbdst_signature,


        wa_doc_signature LIKE LINE OF doc_signature,


        doc_components TYPE sbdst_components,


        doc_uris TYPE sbdst_uri,


        wa_doc_uris LIKE LINE OF doc_uris.


  DATA: doc_classname TYPE sbdst_classname VALUE 'SOFFICEINTEGRATION',


        doc_classtype TYPE sbdst_classtype VALUE 'OT',


        doc_object_key TYPE sbdst_object_key VALUE 'TEST'.


 


  wa_doc_signature-prop_name = 'DESCRIPTION'.


  wa_doc_signature-prop_value = 'SAPDOI_001'.


 


  APPEND wa_doc_signature TO doc_signature.


 


  CREATE OBJECT bds_instance.


  CALL METHOD bds_instance->get_info


    EXPORTING


      classname  = doc_classname


      classtype  = doc_classtype


      object_key = doc_object_key


    CHANGING


      components = doc_components


      signature  = doc_signature.


 


  CALL METHOD bds_instance->get_with_url


    EXPORTING


      classname  = doc_classname


      classtype  = doc_classtype


      object_key = doc_object_key


    CHANGING


      uris       = doc_uris


      signature  = doc_signature.


 


  FREE bds_instance.


 


  READ TABLE doc_uris INTO wa_doc_uris INDEX 1.


 


item_url = wa_doc_uris-uri.


 


*--- 중 략 ---*


 

ENDMODULE.                 " DOI_CREATE  OUTPUT
번호 제목 글쓴이 날짜 조회 수
311 Sub DOI_EXCEL_MACRO() sapjoy 2008.12.26 3312
310 Sub DOI_MACRO() sapjoy 2008.12.26 2845
309 DOI_002.doc [3] file sapjoy 2008.12.26 2234
» doi_create [1] sapjoy 2008.12.26 3049
307 REPORT zsapdoi_001. [2] sapjoy 2008.12.20 3137
306 REPORT Z07_026 [3] sapjoy 2006.12.09 2632
305 Include ZXQEVU10 sapjoy 2008.12.17 2158
304 Include ZXCSAU05 sapjoy 2008.12.17 2166
303 FIELD_EXIT_STCD2_0 sapjoy 2008.12.16 2797
302 FIELD_EXIT_GSBER_I sapjoy 2008.12.16 2625
301 Include ZXCSAU05 sapjoy 2008.12.16 2587
300 INCLUDE ZXF04U01 sapjoy 2008.12.16 3698
299 INLUCDE ZXAISU02 sapjoy 2008.12.16 2962
298 REPORT z_userexit_01 sapjoy 2008.12.15 2656
297 REPORT ZSMARTFORMS_01. sapjoy 2008.11.26 2677
296 report zunicode_035. sapjoy 2008.11.22 2541
295 report zunicode_034. [1] sapjoy 2008.11.22 2737
294 report zunicode_032. sapjoy 2008.11.22 2634
293 report zunicode_031. sapjoy 2008.11.22 2684
292 report zunicode_030. sapjoy 2008.11.22 2416