Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

parmeters of BAPI_DOCUMENT_CREATE2

Former Member
0 Kudos

could any one explain the parameters of  function module  'BAPI_DOCUMENT_CREATE2'

3 REPLIES 3

Former Member
0 Kudos

Hi,

Have you read the function module documentation first?  If you have any queries on usage of the parameters let us know?

Former Member
0 Kudos

Hi,

Can you please go through the below discussion.

http://scn.sap.com/thread/814190

Regards,

Santanu

Former Member
0 Kudos

Hello,


'BAPI_DOCUMENT_CREATE2' "

  EXPORTING

       documentdata              = " bapi_doc_draw2      Document Data

     * hostname                    = " bapi_doc_aux-hostname      Name of Frontend

     * docbomchangenumber  = " bapi_doc_draw2-ecnumber      Change Number

     * docbomvalidfrom          = " bapi_doc_draw2-validfromdate      Valid-From Date

     * docbomrevisionlevel     = " bapi_doc_draw2-revlevel      Revision level

     * cad_mode                  = SPACE " csdata-xfeld CAD FLag for Document Structure

     * pf_ftp_dest                 = SPACE " rfcdes-rfcdest Logical Destination (Specified in Function Call)

     * pf_http_dest               = SPACE " rfcdes-rfcdest Logical Destination (Specified in Function Call)

     * defaultclass                  = 'X' " bapi_doc_aux-flag Uses class maintained in customization

  IMPORTING

       documenttype            = " bapi_doc_aux-doctype Document Type

       documentnumber       = " bapi_doc_aux-docnumber Document Number

       documentpart            = " bapi_doc_aux-docpart Document Part

       documentversion        = " bapi_doc_aux-docversion Document Version

       return                        = " bapiret2 Return Structure

* TABLES

     * characteristicvalues      = " bapi_characteristic_values Characteristic Value Assignments

     * classallocations           = " bapi_class_allocation Classifications

     * documentdescriptions   = " bapi_doc_drat Descriptions

     * objectlinks                   = " bapi_doc_drad Object Links

     * documentstructure       = " bapi_doc_structure Document Structure

     * documentfiles              = " bapi_doc_files2 Originals

     * longtexts                     = " bapi_doc_text Long Texts

     * components                = " bapi_doc_comp Additional Files for Originals (in future development)

Best Regards,

Arun