‎2006 Oct 27 2:48 PM
Hello.
i am working with a zbapi.
i called a external email program in this bapi,everything is working fine over here.
In webdynpro they mapped my bapi and starting working from there.
every functionality is working fine but regarding this email stuff it is showing an error as access not possible using null objects reference.
where could be the possible error.
‎2006 Oct 27 2:50 PM
You are trying to access an object which has not been created. The ABAP dump should tell you the name of the object.
‎2006 Oct 27 2:52 PM
Hi,
Looks like you have just defined the object, but not instantiated.
Use constructor (Create object <obj>) to instantiate the object.
Thanks,
Ramakrishna
‎2006 Oct 27 2:56 PM
Hi Raghu,
is your BAPI contains some table parameters,
if yes,then tell your webdynpro guys to mapp it properly.
there they have to create a object even if they are not using that parameter.
objects should be created for every tables parameters even if they are not usnig that like
in webdynpro
BAPI structure name nam = new BAPI structure[0].
like this one
if helpful reward points
Regs
Manas Ranjan Panda
‎2006 Oct 27 3:19 PM
Thanks for your quick replies..
marthin when i am running bapi from my side it is working well..there is no abap dump..
but it is showing error only while running form webdynpro..
Rama krishna and manas surely i will check what u have said ..let u know asp..
regards.
raghu