Application Development and Automation 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: 
Read only

Generate ABAP Package

851

Hi,

I am looking for a way to generate an abap package from code. I found SEO_CLASS_CREATE_COMPLETE to generate a class, is there anything similar for creating a package in %TMP ?

1 ACCEPTED SOLUTION
Read only

FredericGirod
Active Contributor
778

yep you have this

  call method cl_package=>create_new_package
    exporting
      i_reuse_deleted_object     = i_reuse_deleted_object
      i_suppress_dialog          = i_suppress_dialog
    importing
      e_package                  = e_package
    changing
      c_package_data             = c_package_data
2 REPLIES 2
Read only

FredericGirod
Active Contributor
778

Maybe have a look to the AbapGit program

Read only

FredericGirod
Active Contributor
779

yep you have this

  call method cl_package=>create_new_package
    exporting
      i_reuse_deleted_object     = i_reuse_deleted_object
      i_suppress_dialog          = i_suppress_dialog
    importing
      e_package                  = e_package
    changing
      c_package_data             = c_package_data