cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI not working when called from Portal/Web Dynpro

0 Kudos
153

Hi,

I am having a strange issue while posting using BAPI_ACC_DOCUMENT_POST.

I am calling this BAPI inside an FM which in turn is called from a web dynpro program.

Please note that i have no import parameters to this FM. All values are hardcoded.

Now if i run this FM independently, BAPI works fine; document gets posted.

But if i call the same via portal/web dynpro, BAPI is returning an error; eventhough all data passed to BAPI remains the same(hardcoded).

Any pointers would be extremely helpful.

Thanks,

Meera

View Entire Topic
0 Kudos

Thanks Thomas for your reply.

I had infact posted this in the ABAP Development section as well; wanted to know if this had something to do with webdynpro, hence the repeat here.

I am guessing it has something to do with the BAPI call from webdynpro. Will update once resolved.

Former Member
0 Kudos

Hi Meera,

Please check the conversions of G/L Account numbers or value comparisons. This will happen if there is any issue with the data or calling at wrong interval.

Regards

-Syed.