Skip to Content
avatar image
Former Member

SD_SCDS_CREATE not working for defined FKART

Hello,

ls_object_range-rebel = gs_sel_line-tknum.
APPEND ls_object_range TO lt_object_range.

CALL FUNCTION 'SD_SCDS_CREATE'
EXPORTING
i_opt_package_size = gc_pack
* i_fkart = gc_fkart
i_opt_commit = 'X'
IMPORTING
e_refobj_range_locked = lt_refobj_range_locked[]
CHANGING
c_refobj_range = lt_object_range[].
COMMIT WORK AND WAIT.

I want to create with Z003 type, but if i give the paramater fkart to the Fm it doesn't work. It only works if i comment the parameter and automatically creates it with type Z001.

I dont want that, i want z003.

How can i do that?

Thank you,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers