cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to Create Object Type

Former Member
0 Likes
12,410

Hi.

I am Creating Task i found options ... Object Type and method .. i think we can use user define/Created .. my question is what T Code is to create New Object type and method ... and further help or suggestion about its development

Regards

Amamd

Accepted Solutions (0)

Answers (5)

Answers (5)

StephaneBailleu
Active Contributor
0 Likes

Hi

As everybody replied you can use SWO1, however if there is an already existing object type (per example BUS2012 for puchase order) you can create a subtype and then make a delegation of the BUS2012 to your object (starting with Z or Y)

That is better if there is an already existing object .

Although you can also create a class and from that class create a task

So standard transaction SE24 and you have to use interface IF_WORKFLOW  if you want to be able to use it in your workflow.

Class that will be used in task shall be public and instance related.

that is the options you have

Cheers

Stephane

Former Member
0 Likes

To create

Create Object Type

Goto  command line

type t-code sw01 .

Former Member
0 Likes

Hi Ammad ,

You can go to Tcode swo1 to create an Object.

If you want to create a Custom Object and

want to use the functionality of existing objs also

you can create a Z one and delegate the Z object to

Standard Object.

Thanks and Regards

Manjari

Former Member
0 Likes

Hi,

You should try to use Standard BO. Go to tcode SWO1 and you can do a search related to your requirements. If it exists a BO but it doesn't fullfill your requirements you can create a subtype of this BO by menu Settings > Delegate. In this way, you can inherit all of the BO and create your owns.

Regards,

bpawanchand
Active Contributor
0 Likes

You have to navigate to SWO1 txn inorder to create new business object and its relevant methods... For futher information search SDN