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

Relation between idoc and bus. obj.

Former Member
0 Likes
2,236

Hello,

I try to customise the sap standard relations between

idoc field and object key(of bus. obj.) for nonsap

idoc in order that for example in BD87 i will be able

to select idocs by obj. type and obj. key.

The function used by sap for the relations is

srel_get_next_neighbour and it doesnt return

any records of my idoc relation.

I have already customized the relations settings

transactions bd95 bd57 bd59 and bda4.

Thanks in advance,

Roy Lerner.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,616

Kadosh,

You`ll have to necessary entry in transaction we57.

Reward points if helpful.

Regards

Hello,

I try to customise the sap standard relations between

idoc field and object key(of bus. obj.) for nonsap

idoc in order that for example in BD87 i will be able

to select idocs by obj. type and obj. key.

The function used by sap for the relations is

srel_get_next_neighbour and it doesnt return

any records of my idoc relation.

I have already customized the relations settings

transactions bd95 bd57 bd59 and bda4.

Thanks in advance,

Roy Lerner.

6 REPLIES 6
Read only

Former Member
0 Likes
1,617

Kadosh,

You`ll have to necessary entry in transaction we57.

Reward points if helpful.

Regards

Read only

0 Likes
1,616

Hi,

Thanks for the help, but I have already done this

customization. maybe there are more customization or

setting we should set for a new IDoc to work with these

relations? maybe even bussiness object settings.

Thanks again,

Roy Lerner.

Read only

Former Member
0 Likes
1,616

Hi,

Go to transaction SWO1, create a zobject with supertype as IDOCAPPL. Do the following steps :

Create the new object type as a subtype of IDOCAPPL. 
You should therefore enter IDOCAPPL in the field and choose  Subtype. 
Enter the attributes for the new object type (name, short description and so on) and a new program name the implementation program.
The implementation program is partly generated and describes the attributes and methods of the object type. 
Select  and save the object. 
Choose GENERATE. 
Before you can use the object type, the release status must at least be set to implemented. In the initial screen of the Business Object Builder Object type ® Change release status to ® Implemented.

Once you do this, link this zobject with your idoc in transacton we57.

Hope this would help you, reward if helpful.

Note : Thanks for ur points.

Regards

Read only

Former Member
0 Likes
1,616

Hi,

Thanks again for the help but theres problem with

creating bus. obj. with sub type idocappl because it

contains idoc number as attribute and not object key.

Anyway, do you know bout any documentation of this

subject cause I could'nt find any.

Thanks,

Roy Lerner.

Read only

Former Member
0 Likes
1,616

I'd like to add that I think the last message you sent

is the direction I thought of yesterday. so I think

that you can realy help me with this topic.

Read only

Former Member
0 Likes
1,616

Ofir,

what`s exactly the problem in creating your zobject?

let me try my luck

Regards