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

Tcode SWO1

Former Member
0 Likes
831

Hi All,

We are integrating livelink Enterprise Server - Document Management System (DMS) with SAP, In DMS we have a option to release any document from DMS and this released document gets attached to the document specified in SAP eg, for any FI document, or Sales order in SD. This functionality is only available to those transaction where GOS is available. In DMS we mentioned the SAP object name to which it is to be released Eg BKPF, VBAK, PREL, PAPL

The Problem I am facing is, The document which is released from SAP cant be attached to multiple SAP document (of FI or SO),

This is because when I have checked the object ( BKPF, VBAK ) in SWO1, its taking the key kields to identify the SAP document from DMS,

Can we do any modification or creating the Z object from the existing for having any select options here for the key fields so that the DMS will identify the same object as it , then i could be able to release to multiple document in SAP

waiting for u replies, helpful answers will be rewarded

thanks and regards,

4 REPLIES 4
Read only

Former Member
0 Likes
671

If you want to modify sap standard behaviour of business objects.

You should do the following:

1. create a subtype of the BO as a Z* BO

2. enhance the BO to suit your needs

3. delegate (option available in the SWO1 menu) the supertype with the subtype

Now you have altered the standard behaviour of business objects

Kind regards, Rob Dielemans

Read only

Former Member
0 Likes
671

Hi Sanjay,

We can create z objects in swo1 but what you are trying to do ie select-options in the key fields is not possible. Its same as primary key concept. You can not have duplicate entry in primary key of a table same as the case with business objects.

So you must follow some other approach to solve your problem.

Regards,

Aleem.

Read only

Former Member
0 Likes
671

Thanks Rob, Thanks Aleem.

But What should be the approach for getting the select options for the Business boject, unless and until I do have the option for Multiple selection My problem will not be resolved, cause this SAP object is identified in DMS

what could be the other approach for this

Read only

Former Member
0 Likes
671

My freind ,

in the Bussiness Objects migatration there is no select-options like

sending range of data or the multiple selections.

for this we need separate loop structure where in we can send the multiple data and everytime it calls the BAPI Obect evertime individaully ,

if you want the you have to define one new BOR object (Custom bapi)...then rignt one function module for select-options and attach it to you method in the BAPI .

So that your BAPI calls in the SAP function Module for range of data .

Reward points if it is usefull ....

Girish