2012 Oct 17 8:16 PM
Dear SAP Community,
I am looking for a help in adding a Business Object Service for a standard Tcode for WAM02 Tcode. The SCN search resulted in adding the GOS for custom program but not for standard T code. I have identified a BADI for WAM02 and added the following code, on the save event.
DATA: lo_manager TYPE REF TO cl_gos_manager,
la_obj TYPE borident.
CREATE OBJECT lo_manager
EXPORTING
is_object = la_obj
ip_no_commit = space
EXCEPTIONS
OTHERS = 1.
The debugger comes to my BADI, but I still dont see the GOS Toolbar in the Tcode. Appreciate your pointers on this.
Thanks!
Dear SAP Community,
I am looking for a help in adding a Business Object Service for a standard Tcode for WAM02 Tcode. The SCN search resulted in adding the GOS for custom program but not for standard T code. I have identified a BADI for WAM02 and added the following code, on the save event.
DATA: lo_manager TYPE REF TO cl_gos_manager,
la_obj TYPE borident.
CREATE OBJECT lo_manager
EXPORTING
is_object = la_obj
ip_no_commit = space
EXCEPTIONS
OTHERS = 1.
The debugger comes to my BADI, but I still dont see the GOS Toolbar in the Tcode. Appreciate your pointers on this.
Thanks!
2012 Oct 18 8:03 AM
- Was your reference the How to Attach Documents to Any Custom Program Using Generic Object Services of Manuel Bassani?
- Does you perform all the "preliminary steps" from creation/identifcation of a business object with method GOSAddObjects of interface IFGOSASERV?
- Does the BAdI executes during PBO of the screen ?
- Did you add a call method cl_gui_cfw=>flush after creation of the instance.?
Regards,
Raymond
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |