2007 Jun 15 7:46 AM
Hi all,
i like to add an additional function to the BDT. The point of time doesn't matter.
When i debugg the SAP Code i alway see the GO_BUSOBJ.
After running the SAP function it's up to my function but i don't see the object there.
how can i access it? The sap function RERO_RERO_EVENT_DTAKE doesn't hav any relevant importing parameters
Thank you
Best regards
Stefan
Hi all,
i like to add an additional function to the BDT. The point of time doesn't matter.
When i debugg the SAP Code i alway see the GO_BUSOBJ.
After running the SAP function it's up to my function but i don't see the object there.
how can i access it? The sap function RERO_RERO_EVENT_DTAKE doesn't hav any relevant importing parameters
Thank you
Best regards
Stefan
2007 Jun 15 7:50 AM
Hi,
may be this link will helps you
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/customerEnhancementswith+BDT&
Regards
Sudheer
2007 Jun 15 8:29 AM
Hi,
i don't think that's a BDT problem - i think it's more general.
why is the Objekt go_busobj in function RERO_RERO_EVENT_DTAKE available and not in my own function?
2007 Jun 15 8:35 AM
Hi,
RERO_RERO_EVENT_DTAKE --> This is a Event function module in BDT, Before pressing the SAVE button this Event will be triggered and take the data from the screen, and once you press the SAVE then the DSAVE frunction module will be triggerd,
if you want to see your cdoe here, you need to write the code accoring to the BDT, for Bussiness Partners see the BUS007 for events,
Regards
Sudheer
2007 Jun 15 8:39 AM
That's known so far. but in the function module DSAVE and all the other SAP modules can i see the object (GO_BUSOBJ) handled by the BDT.
When i add another function module to an event after the sap module i don't see the object in the debugger.
and that is my problem.
2007 Jun 16 6:13 AM
Hi,
Call the function module 'BUS_PARAMETERS_ISSTA_GET' to get the object in your event function module.Declare GV_OBJAP as a global varaible in your function group in which you have created your own function module Like below.
CALL FUNCTION 'BUS_PARAMETERS_ISSTA_GET'
IMPORTING
E_OBJAP = GV_OBJAP.
Reward with points if it helps.
Thanks and warm regards,
Smita.
2007 Jun 18 7:58 AM
Hi,
this function module only returns the object type parameters, not the objetct itself.
so it returns the value "RERO" but not the parameters from the instance or the whole instance.
2007 Jun 18 8:03 AM
Hi,
my Problem is solved.
I just searched the rero function modules and found the one i need. now it works.
CALL FUNCTION 'RERO_GET_BUSOBJ'
IMPORTING
EO_BUSOBJ = go_busobj
ED_ACTIVITY =
.
Message was edited by:
Stefan Mett
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |