This website is not affiliated with, sponsored by, or approved by SAP AG.

Default Method display in BUS2089

Business WorkFlow

Moderators: Snowy, thx4allthefish

Default Method display in BUS2089

Postby mganda » Wed Oct 22, 2008 11:54 pm

The default method DISPLAY in BUS2089 (Employee Trip) at our place does not display generic object services. Please help. I have copied the object type BUS2089 and have a subtype YBUS2089 and created a displayatt method which is similar to the default method DISPLAY only that I have added FMs SWU_OBJECT_PUBLISH and SWU_OBJECT_RESTORE but when I test the subtype displayatt method the generic object services do not appear but only appear after I leave the displayatt method screen.

regards,
Omar
mganda
 
Posts: 7
Joined: Wed Oct 22, 2008 11:39 pm

Re: Default Method display in BUS2089

Postby mganda » Mon Nov 10, 2008 3:16 am

I use SAP version 4.6C and I have changed the displayatt method slightly with the following code:

BEGIN_METHOD DISPLAYATT CHANGING CONTAINER.
DATA: objkey LIKE sweinstcou-objkey.
CLEAR objkey.
CONCATENATE object-key-employeenumber object-key-tripnumber INTO objkey.
DATA:
borident TYPE borident,
gos_manager TYPE REF TO cl_gos_manager.
borident-objtype = 'BUS2089'.
borident-objkey = objkey.
CREATE OBJECT gos_manager
EXPORTING is_object = borident
EXCEPTIONS
OTHERS = 1.

CALL FUNCTION 'TRIP_DISPLAY_INTERACTIVE'
EXPORTING
employeenumber = object-key-employeenumber
tripnumber = object-key-tripnumber.
END_METHOD.

But still when I test, the generic object service is displayed after I exit the display screen. Please help or respond.
mganda
 
Posts: 7
Joined: Wed Oct 22, 2008 11:39 pm


Return to Business WorkFlow

Who is online

Users browsing this forum: No registered users and 2 guests





loading...


This website is not affiliated with, sponsored by, or approved by SAP AG.